Lune

EMNLP Findings2024

Logits Reranking via Semantic Labels for Hard Samples in Text Classification

Peijie Huang, Junbao Huang, Yuhong Xu, Weizhen Li, Xisheng Xiao

Abstract

Pre-trained Language Models (PLMs) have achieved significant success in text classification. However, they still face challenges with hard samples, which refer to instances where the model exhibits diminished confidence in distinguishing new samples. Existing research has addressed related issues, but often overlooks the semantic information inherent in the labels, treating them merely as one-hot vectors. In this paper, we propose Logits Reranking via Semantic Labels (LRSL), a model-agnostic post-processing method that leverages label semantics and auto detection of hard samples to improve classification accuracy. LRSL automatically identifies hard samples, which are then jointly processed by MLP-based and Similarity-based approaches. Applied only during inference, LRSL operates solely on classification logits, reranking them based on semantic similarities without interfering with the model's training process. The experiments demonstrate the effectiveness of our method, showing significant improvements across different PLMs. Our codes are publicly available at https://github.com/SIGSDSscau/LRSL.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on5

  1. QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 citations
  2. Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text ModelsJianmo Ni, Gustavo Hernández Ábrego, Noah Constant, Ji Ma et al.ACL Findings 2022 · 358 citations
  3. Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!Yubo Ma, Yixin Cao, Yong Hong, Aixin SunEMNLP Findings 2023 · 125 citations
  4. Label Semantic Aware Pre-training for Few-shot Text ClassificationAaron Mueller, Jason Krone, Salvatore Romeo, Saab Mansour et al.ACL 2022 · 41 citations
  5. ConvFiT: Conversational Fine-Tuning of Pretrained Language ModelsIvan Vulic, Pei-Hao Su, Samuel Coope, Daniela Gerz et al.EMNLP 2021 · 30 citations

Related papers

  1. Don't Miss the Labels: Label-semantic Augmented Meta-Learner for Few-Shot Text ClassificationQiaoyang Luo, Lingqiao Liu, Yuhao Lin, Wei ZhangACL Findings 2021 · 52 citations
  2. Improving Bilingual Lexicon Induction with Cross-Encoder RerankingYaoyiran Li, Fangyu Liu, Ivan Vulic, Anna KorhonenEMNLP Findings 2022 · 6 citations
  3. Distance-aware Calibration for Pre-trained Language ModelsAlberto Gasparin, Gianluca DetommasoEMNLP Findings 2024 · 2 citations
  4. Exploring Ordinality in Text Classification: A Comparative Study of Explicit and Implicit TechniquesSiva Rajesh Kasa, Aniket Goel, Karan Gupta, Sumegh Roychowdhury et al.ACL Findings 2024 · 5 citations
  5. "That Is a Suspicious Reaction!": Interpreting Logits Variation to Detect NLP Adversarial AttacksEdoardo Mosca, Shreyash Agarwal, Javier Rando-Ramirez, Georg GrohACL 2022 · 43 citations
Dusk over the sea between two cliffs drawn in fine vertical lines