TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Text Classification in the Wild: a Large-scale Long-tailed...

Text Classification in the Wild: a Large-scale Long-tailed Name Normalization Dataset

Jiexing Qi, Shuhao Li, Zhixin Guo, Yusheng Huang, Chenghu Zhou, Weinan Zhang, Xinbing Wang, Zhouhan Lin

2023-02-19Text ClassificationLong-tail Learningopen-set classificationtext-classificationZero-Shot LearningOut-of-Distribution Generalization
PaperPDFCode(official)

Abstract

Real-world data usually exhibits a long-tailed distribution,with a few frequent labels and a lot of few-shot labels. The study of institution name normalization is a perfect application case showing this phenomenon. There are many institutions worldwide with enormous variations of their names in the publicly available literature. In this work, we first collect a large-scale institution name normalization dataset LoT-insts1, which contains over 25k classes that exhibit a naturally long-tailed distribution. In order to isolate the few-shot and zero-shot learning scenarios from the massive many-shot classes, we construct our test set from four different subsets: many-, medium-, and few-shot sets, as well as a zero-shot open set. We also replicate several important baseline methods on our data, covering a wide range from search-based methods to neural network methods that use the pretrained BERT model. Further, we propose our specially pretrained, BERT-based model that shows better out-of-distribution generalization on few-shot and zero-shot test sets. Compared to other datasets focusing on the long-tailed phenomenon, our dataset has one order of magnitude more training data than the largest existing long-tailed datasets and is naturally long-tailed rather than manually synthesized. We believe it provides an important and different scenario to study this problem. To our best knowledge, this is the first natural language dataset that focuses on long-tailed and open-set classification problems.

Results

TaskDatasetMetricValueModel
Text ClassificationLot-instsAccuracy83.73Character-BERT+RS
Text ClassificationLot-instsMacro-F165.9Character-BERT+RS
Text ClassificationLot-instsAccuracy79.97CD-V1
Text ClassificationLot-instsMacro-F159.64CD-V1
Text ClassificationLot-instsAccuracy76.72sCool
Text ClassificationLot-instsMacro-F152.41sCool
Text ClassificationLot-instsAccuracy74.93FastText
Text ClassificationLot-instsMacro-F144.38FastText
Text ClassificationLot-instsAccuracy72.2Naive Bayes
Text ClassificationLot-instsMacro-F150.2Naive Bayes
Image ClassificationLot-insts Macro-F165.9Character-BERT+RS
Few-Shot Image ClassificationLot-insts Macro-F165.9Character-BERT+RS
Generalized Few-Shot ClassificationLot-insts Macro-F165.9Character-BERT+RS
Long-tail LearningLot-insts Macro-F165.9Character-BERT+RS
Generalized Few-Shot LearningLot-insts Macro-F165.9Character-BERT+RS
ClassificationLot-instsAccuracy83.73Character-BERT+RS
ClassificationLot-instsMacro-F165.9Character-BERT+RS
ClassificationLot-instsAccuracy79.97CD-V1
ClassificationLot-instsMacro-F159.64CD-V1
ClassificationLot-instsAccuracy76.72sCool
ClassificationLot-instsMacro-F152.41sCool
ClassificationLot-instsAccuracy74.93FastText
ClassificationLot-instsMacro-F144.38FastText
ClassificationLot-instsAccuracy72.2Naive Bayes
ClassificationLot-instsMacro-F150.2Naive Bayes

Related Papers

Making Language Model a Hierarchical Classifier and Generator2025-07-17GLAD: Generalizable Tuning for Vision-Language Models2025-07-17DEARLi: Decoupled Enhancement of Recognition and Localization for Semi-supervised Panoptic Segmentation2025-07-14GNN-CNN: An Efficient Hybrid Model of Convolutional and Graph Neural Networks for Text Representation2025-07-10The Trilemma of Truth in Large Language Models2025-06-30Robustness of Misinformation Classification Systems to Adversarial Examples Through BeamAttack2025-06-30EVA: Mixture-of-Experts Semantic Variant Alignment for Compositional Zero-Shot Learning2025-06-26Zero-Shot Learning for Obsolescence Risk Forecasting2025-06-26