mlsanityData to 14 Oct 2026

Mitigating Label Biases for In-context Learning

arXiv 2305.19148 ↗First posted 28 May 2023cs.CL cs.AI cs.LGcited by 89

Not on the map. Why?

Abstract (arXiv)

Various design settings for in-context learning (ICL), such as the choice and order of the in-context examples, can bias a model toward a particular prediction without being reflective of an understanding of the task. While many studies discuss these design choices, there have been few systematic investigations into categorizing them and mitigating their impact. In this work, we define a typology for three types of label biases in ICL for text classification: vanilla-label bias, context-label bias, and domain-label bias (which we conceptualize and detect for the first time). Our analysis demonstrates that prior label bias calibration methods fall short of addressing all three types of biases. Specifically, domain-label bias restricts LLMs to random-level performance on many tasks regardless of the choice of in-context examples. To mitigate the effect of these biases, we propose a simple bias calibration method that estimates a language model's label bias using random in-domain words from the task corpus. After controlling for this estimated bias when making predictions, our novel domain-context calibration significantly improves the ICL performance of GPT-J and GPT-3 on a wide range of tasks. The gain is substantial on tasks with large domain-label bias (up to 37% in Macro-F1). Furthermore, our results generalize to models with different scales, pretraining methods, and manually-designed task instructions, showing the prevalence of label biases in ICL.

Key facts. Cited by 89 papers in the map (data through 14 Oct 2026). Builds on 25 of its 44 references that are in the map. First posted on arXiv 28 May 2023.

Builds on

25 of 44 references.

References · 25

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  7. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  8. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  9. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
  10. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
  11. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  12. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
13 more
  1. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
  2. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
  3. 2022Out of One, Many: Using Language Models to Simulate Human Samplescited by 752
  4. 2021Datasets: A Community Library for Natural Language Processingcited by 530
  5. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
  6. 2023Larger language models do in-context learning differentlycited by 394
  7. 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
  8. 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
  9. 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
  10. 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
  11. 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
  12. 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
  13. 2020Investigating Societal Biases in a Poetry Composition Systemcited by 48

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 16; 2024: 34; 2025: 28; 2026: 11.

89 papers.

Sort:

By area:

  1. 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
  2. 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 256
  3. 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 244
  4. 2023SeaEval for Multilingual Foundation Models: From Cross-Lingual Alignment to Cultural Reasoningcited by 94
  5. 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
  6. 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
  7. 2023Sensitivity, Performance, Robustness: Deconstructing the Effect of Sociodemographic Promptingcited by 81
  8. 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 75
  9. 2023Large Language Models are Temporal and Causal Reasoners for Video Question Answeringcited by 51
  10. 2025LLMs for Explainable AI: A Comprehensive Surveycited by 45
  11. 2024CalibraEval: Calibrating Prediction Distribution to Mitigate Selection Bias in LLMs-as-Judgescited by 34
  12. 2024On the Challenges and Opportunities in Generative AIcited by 31
38 more
  1. 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 31
  2. 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustmentcited by 30
  3. 2023Primacy Effect of ChatGPTcited by 27
  4. 2024Beyond Performance: Quantifying and Mitigating Label Bias in LLMscited by 25
  5. 2023Mitigating Biases for Instruction-following Language Models via Bias Neurons Eliminationcited by 23
  6. 2024Nudging: Inference-time Alignment of LLMs via Guided Decodingcited by 23
  7. 2024On Calibration of LLM-based Guard Models for Reliable Content Moderationcited by 23
  8. 2023A Study on the Calibration of In-context Learningcited by 22
  9. 2023Generative Calibration for In-context Learningcited by 20
  10. 2024Unveiling Selection Biases: Exploring Order and Token Sensitivity in Large Language Modelscited by 20
  11. 2024Position: Towards Bidirectional Human-AI Alignmentcited by 18
  12. 2024Self-Recognition in Language Modelscited by 18
  13. 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 16
  14. 2024Retrieval-style In-Context Learning for Few-shot Hierarchical Text Classificationcited by 16
  15. 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
  16. 2024Take Care of Your Prompt Bias! Investigating and Mitigating Prompt Bias in Factual Knowledge Extractioncited by 13
  17. 2023Large Language Models are Miscalibrated In-Context Learnerscited by 12
  18. 2023Gen-Z: Generative Zero-Shot Text Classification with Contextualized Label Descriptionscited by 9
  19. 2024Rectifying Demonstration Shortcut in In-Context Learningcited by 9
  20. 2024Token-based Decision Criteria Are Suboptimal in In-context Learningcited by 9
  21. 2023POE: Process of Elimination for Multiple Choice Reasoningcited by 8
  22. 2024Se2: Sequential Example Selection for In-Context Learningcited by 8
  23. 2024Shortcut Learning in In-Context Learning: A Surveycited by 8
  24. 2024Understanding Token Probability Encoding in Output Embeddingscited by 6
  25. 2024When Parts Are Greater Than Sums: Individual LLM Components Can Outperform Full Modelscited by 6
  26. 2024Enhancing In-Context Learning via Implicit Demonstration Augmentationcited by 6
  27. 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Frameworkcited by 6
  28. 2024LAMPO: Large Language Models as Preference Machines for Few-shot Ordinal Classificationcited by 5
  29. 2024Mixtures of In-Context Learnerscited by 5
  30. 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Modelscited by 5
  31. 2025Evaluating and Improving Robustness in Large Language Models: A Survey and Future Directionscited by 5
  32. 2024Promptly Predicting Structures: The Return of Inferencecited by 4
  33. 2024NoisyICL: A Little Noise in Model Parameters Calibrates In-context Learningcited by 4
  34. 2025Corrective In-Context Learning: Evaluating Self-Correction in Large Language Modelscited by 4
  35. 2026Bias Beyond Borders: Political Ideology Evaluation and Steering in Multilingual LLMscited by 4
  36. 2023Positional Information Matters for Invariant In-Context Learning: A Case Study of Simple Function Classescited by 3
  37. 2025In-Context Learning (and Unlearning) of Length Biasescited by 3
  38. 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3

50 most cited of 89 All 89 (JSON)