mlsanityData to 7 Oct 2026

Distinguishability Calibration to In-Context Learning

arXiv 2302.06198 ↗First posted 13 Feb 2023cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent years have witnessed increasing interests in prompt-based learning in which models can be trained on only a few annotated instances, making them suitable in low-resource settings. When using prompt-based learning for text classification, the goal is to use a pre-trained language model (PLM) to predict a missing token in a pre-defined template given an input text, which can be mapped to a class label. However, PLMs built on the transformer architecture tend to generate similar output embeddings, making it difficult to discriminate between different class labels. The problem is further exacerbated when dealing with classification tasks involving many fine-grained class labels. In this work, we alleviate this information diffusion issue, i.e., different tokens share a large proportion of similar information after going through stacked multiple self-attention layers in a transformer, by proposing a calibration method built on feature transformations through rotation and scaling to map a PLM-encoded embedding into a new metric space to guarantee the distinguishability of the resulting embeddings. Furthermore, we take the advantage of hyperbolic embeddings to capture the hierarchical relations among fine-grained class-associated token embedding by a coarse-to-fine metric learning strategy to enhance the distinguishability of the learned output embeddings. Extensive experiments on the three datasets under various settings demonstrate the effectiveness of our approach. Our code can be found at https://github.com/donttal/TARA.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 38 references that are in the map. First posted on arXiv 13 Feb 2023.

Builds on

31 of 38 references.

References · 31

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  6. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  7. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  8. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  9. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  10. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
  11. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  12. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
19 more
  1. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
  2. 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 674
  3. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  4. 2020GoEmotions: A Dataset of Fine-Grained Emotionscited by 479
  5. 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
  6. 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
  7. 2017No Fuss Distance Metric Learning using Proxiescited by 225
  8. 2021WARP: Word-level Adversarial ReProgrammingcited by 220
  9. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  10. 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 147
  11. 2022Domain Adaptation via Prompt Learningcited by 128
  12. 2017HDLTex: Hierarchical Deep Learning for Text Classificationcited by 105
  13. 2020Automatically Identifying Words That Can Serve as Labels for Few-Shot Text Classificationcited by 98
  14. 2022On the Effect of Pretraining Corpora on In-context Learning by a Large-scale Language Modelcited by 78
  15. 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
  16. 2021A Closer Look at How Fine-tuning Changes BERTcited by 42
  17. 2021Hierarchical Proxy-based Loss for Deep Metric Learningcited by 18
  18. 2022Addressing Token Uniformity in Transformers via Singular Value Transformationcited by 14
  19. 2022Doubly Robust Augmented Model Accuracy Transfer Inference with High Dimensional Featurescited by 12

Built on by

Not cited yet.