Mitigating Label Biases for In-context Learning
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
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
13 more
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,135
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 938
- 2022Out of One, Many: Using Language Models to Simulate Human Samplescited by 752
- 2021Datasets: A Community Library for Natural Language Processingcited by 530
- 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
- 2023Larger language models do in-context learning differentlycited by 394
- 2013Good Debt or Bad Debt: Detecting Semantic Orientations in Economic Textscited by 310
- 2021Surface Form Competition: Why the Highest Probability Answer Isn't Always Rightcited by 263
- 2018Hate Speech Dataset from a White Supremacy Forumcited by 198
- 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
- 2022Impact of Pretraining Term Frequencies on Few-Shot Reasoningcited by 142
- 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
- 2020Investigating Societal Biases in a Poetry Composition Systemcited by 48
Built on by
Citing papers per year: 2023: 16; 2024: 34; 2025: 28; 2026: 11.
89 papers.
Sort:
By area:
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 256
- 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 244
- 2023SeaEval for Multilingual Foundation Models: From Cross-Lingual Alignment to Cultural Reasoningcited by 94
- 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
- 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
- 2023Sensitivity, Performance, Robustness: Deconstructing the Effect of Sociodemographic Promptingcited by 81
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 75
- 2023Large Language Models are Temporal and Causal Reasoners for Video Question Answeringcited by 51
- 2025LLMs for Explainable AI: A Comprehensive Surveycited by 45
- 2024CalibraEval: Calibrating Prediction Distribution to Mitigate Selection Bias in LLMs-as-Judgescited by 34
- 2024On the Challenges and Opportunities in Generative AIcited by 31
38 more
- 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 31
- 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustmentcited by 30
- 2023Primacy Effect of ChatGPTcited by 27
- 2024Beyond Performance: Quantifying and Mitigating Label Bias in LLMscited by 25
- 2023Mitigating Biases for Instruction-following Language Models via Bias Neurons Eliminationcited by 23
- 2024Nudging: Inference-time Alignment of LLMs via Guided Decodingcited by 23
- 2024On Calibration of LLM-based Guard Models for Reliable Content Moderationcited by 23
- 2023A Study on the Calibration of In-context Learningcited by 22
- 2023Generative Calibration for In-context Learningcited by 20
- 2024Unveiling Selection Biases: Exploring Order and Token Sensitivity in Large Language Modelscited by 20
- 2024Position: Towards Bidirectional Human-AI Alignmentcited by 18
- 2024Self-Recognition in Language Modelscited by 18
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 16
- 2024Retrieval-style In-Context Learning for Few-shot Hierarchical Text Classificationcited by 16
- 2023A Survey on Stability of Learning with Limited Labelled Data and its Sensitivity to the Effects of Randomnesscited by 14
- 2024Take Care of Your Prompt Bias! Investigating and Mitigating Prompt Bias in Factual Knowledge Extractioncited by 13
- 2023Large Language Models are Miscalibrated In-Context Learnerscited by 12
- 2023Gen-Z: Generative Zero-Shot Text Classification with Contextualized Label Descriptionscited by 9
- 2024Rectifying Demonstration Shortcut in In-Context Learningcited by 9
- 2024Token-based Decision Criteria Are Suboptimal in In-context Learningcited by 9
- 2023POE: Process of Elimination for Multiple Choice Reasoningcited by 8
- 2024Se2: Sequential Example Selection for In-Context Learningcited by 8
- 2024Shortcut Learning in In-Context Learning: A Surveycited by 8
- 2024Understanding Token Probability Encoding in Output Embeddingscited by 6
- 2024When Parts Are Greater Than Sums: Individual LLM Components Can Outperform Full Modelscited by 6
- 2024Enhancing In-Context Learning via Implicit Demonstration Augmentationcited by 6
- 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Frameworkcited by 6
- 2024LAMPO: Large Language Models as Preference Machines for Few-shot Ordinal Classificationcited by 5
- 2024Mixtures of In-Context Learnerscited by 5
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Modelscited by 5
- 2025Evaluating and Improving Robustness in Large Language Models: A Survey and Future Directionscited by 5
- 2024Promptly Predicting Structures: The Return of Inferencecited by 4
- 2024NoisyICL: A Little Noise in Model Parameters Calibrates In-context Learningcited by 4
- 2025Corrective In-Context Learning: Evaluating Self-Correction in Large Language Modelscited by 4
- 2026Bias Beyond Borders: Political Ideology Evaluation and Steering in Multilingual LLMscited by 4
- 2023Positional Information Matters for Invariant In-Context Learning: A Case Study of Simple Function Classescited by 3
- 2025In-Context Learning (and Unlearning) of Length Biasescited by 3
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
50 most cited of 89 All 89 (JSON)
- 2026Label Collapse in Diffusion Language Model In-Context Learning12 Oct 2026
- 2026More Choices, Fewer Decisions: Ordinal-Scale Bias in JEV-like Direct-Decision Models30 Sep 2026
- 2026Are LLMs Positionally Consistent Ordinal Classifiers? A Systematic Evaluation9 Aug 2026
- 2026Benchmarking LLM Competence on Logical Inference over Probability Operators29 Jul 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026In-Context Fixation: When Demonstrated Labels Override Semantics in Few-Shot Classification8 May 2026
- 2026ImplicitBBQ: Benchmarking Implicit Bias in Large Language Models through Characteristic Based Cues2 Apr 2026
- 2026PLR: Plackett-Luce for Reordering In-Context Learning Examples22 Mar 2026
- 2026RBCorr: Response Bias Correction in Language Models12 Feb 2026
- 2026Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification4 Feb 2026
- 2026Bias Beyond Borders: Political Ideology Evaluation and Steering in Multilingual LLMs30 Jan 2026
- 2025Semantic Anchors in In-Context Learning: Why Small LLMs Cannot Flip Their Labels26 Nov 2025
38 more
- 2025Mitigating Label Length Bias in Large Language Models18 Nov 2025
- 2025Large Language Models Develop Novel Social Biases Through Adaptive Exploration8 Nov 2025
- 2025Fairness Evaluation and Inference Level Mitigation in LLMs21 Oct 2025
- 2025Assessing Algorithmic Bias in Language-Based Depression Detection: A Comparison of DNN and LLM Approaches30 Sep 2025
- 2025Binary Autoencoder for Mechanistic Interpretability of Large Language Models25 Sep 2025
- 2025Quantifying LLM Biases Across Instruction Boundary in Mixed Question Forms24 Sep 2025
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining8 Sep 2025
- 2025Prosocial Behavior Detection in Player Game Chat: From Aligning Human-AI Definitions to Efficient Annotation at Scale8 Aug 2025
- 2025Grammar-Guided Evolutionary Search for Discrete Prompt Optimisation14 Jul 2025
- 2025Leveraging In-Context Learning for Political Bias Testing of LLMs27 Jun 2025
- 2025Surprise Calibration for Better In-Context Learning15 Jun 2025
- 2025Evaluating and Improving Robustness in Large Language Models: A Survey and Future Directions8 Jun 2025
- 2025Dual Debiasing for Noisy In-Context Learning for Text Generation31 May 2025
- 2025Spatial Knowledge Graph-Guided Multimodal Synthesis28 May 2025
- 2025Boosting In-Context Learning in LLMs Through the Lens of Classical Supervised Learning22 May 2025
- 2025Large Language Models Are Still Misled by Simple Bias Ensembles22 May 2025
- 2025Mechanistic Fine-tuning for In-context Learning20 May 2025
- 2025Spoken Language Understanding on Unseen Tasks With In-Context Learning12 May 2025
- 2025Incomplete In-context Learning12 May 2025
- 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Framework14 Apr 2025
- 2025LLMs for Explainable AI: A Comprehensive Survey31 Mar 2025
- 2025Corrective In-Context Learning: Evaluating Self-Correction in Large Language Models20 Mar 2025
- 2025In-Context Learning (and Unlearning) of Length Biases10 Feb 2025
- 2025Aligning Black-box Language Models with Human Judgments7 Feb 2025
- 2025Exploring Imbalanced Annotations for Effective In-Context Learning6 Feb 2025
- 2025StaICC: Standardized Evaluation for Classification Task in In-context Learning27 Jan 2025
- 2025Can open source large language models be used for tumor documentation in Germany? -- An evaluation on urological doctors' notes21 Jan 2025
- 2024Let the Fuzzy Rule Speak: Enhancing In-context Learning Debiasing with Interpretability26 Dec 2024
- 2024PICLe: Pseudo-Annotations for In-Context Learning in Low-Resource Named Entity Detection16 Dec 2024
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Models10 Dec 2024
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methods7 Dec 2024
- 2024Mixtures of In-Context Learners5 Nov 2024
- 2024Shortcut Learning in In-Context Learning: A Survey4 Nov 2024
- 2024An LLM-based Simulation Framework for Embodied Conversational Agents in Psychological Counseling29 Oct 2024
- 2024CalibraEval: Calibrating Prediction Distribution to Mitigate Selection Bias in LLMs-as-Judges20 Oct 2024
- 2024On Calibration of LLM-based Guard Models for Reliable Content Moderation14 Oct 2024
- 2024Nudging: Inference-time Alignment of LLMs via Guided Decoding11 Oct 2024
- 2024LAMPO: Large Language Models as Preference Machines for Few-shot Ordinal Classification6 Aug 2024
50 newest of 89 All 89 (JSON)
- 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineeringcited by 94
- 2023Large Language Models are Temporal and Causal Reasoners for Video Question Answeringcited by 51
- 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustmentcited by 30
- 2023POE: Process of Elimination for Multiple Choice Reasoningcited by 8
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Modelscited by 5
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining8 Sep 2025
- 2024MM-PoE: Multiple Choice Reasoning via. Process of Elimination using Multi-Modal Models10 Dec 2024
- 2024Causal Prompting: Debiasing Large Language Model Prompting based on Front-Door Adjustment5 Mar 2024
- 2023Large Language Models are Temporal and Causal Reasoners for Video Question Answering24 Oct 2023
- 2023POE: Process of Elimination for Multiple Choice Reasoning24 Oct 2023
- 2023Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering29 Sep 2023
- 2025Incomplete In-context Learningcited by 2
- 2025Spatial Knowledge Graph-Guided Multimodal Synthesiscited by 0
- 2025Spatial Knowledge Graph-Guided Multimodal Synthesis28 May 2025
- 2025Incomplete In-context Learning12 May 2025
- 2024Position: Towards Bidirectional Human-AI Alignmentcited by 18
- 2024Position: Towards Bidirectional Human-AI Alignment13 Jun 2024
- 2024LLMs-as-Judges: A Comprehensive Survey on LLM-based Evaluation Methodscited by 465
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 256
- 2023SeaEval for Multilingual Foundation Models: From Cross-Lingual Alignment to Cultural Reasoningcited by 94
- 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 83
- 2023Sensitivity, Performance, Robustness: Deconstructing the Effect of Sociodemographic Promptingcited by 81
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 75
- 2025LLMs for Explainable AI: A Comprehensive Surveycited by 45
- 2024CalibraEval: Calibrating Prediction Distribution to Mitigate Selection Bias in LLMs-as-Judgescited by 34
- 2024On the Challenges and Opportunities in Generative AIcited by 31
- 2024UniBias: Unveiling and Mitigating LLM Bias through Internal Attention and FFN Manipulationcited by 31
- 2023Primacy Effect of ChatGPTcited by 27
- 2024Beyond Performance: Quantifying and Mitigating Label Bias in LLMscited by 25
12 most cited of 72 All 72 (JSON)
- 2026More Choices, Fewer Decisions: Ordinal-Scale Bias in JEV-like Direct-Decision Models30 Sep 2026
- 2026Are LLMs Positionally Consistent Ordinal Classifiers? A Systematic Evaluation9 Aug 2026
- 2026Benchmarking LLM Competence on Logical Inference over Probability Operators29 Jul 2026
- 2026Self-Improving In-Context Learning22 May 2026
- 2026ImplicitBBQ: Benchmarking Implicit Bias in Large Language Models through Characteristic Based Cues2 Apr 2026
- 2026PLR: Plackett-Luce for Reordering In-Context Learning Examples22 Mar 2026
- 2026RBCorr: Response Bias Correction in Language Models12 Feb 2026
- 2026Revisiting Prompt Sensitivity in Large Language Models for Text Classification: The Role of Prompt Underspecification4 Feb 2026
- 2026Bias Beyond Borders: Political Ideology Evaluation and Steering in Multilingual LLMs30 Jan 2026
- 2025Semantic Anchors in In-Context Learning: Why Small LLMs Cannot Flip Their Labels26 Nov 2025
- 2025Mitigating Label Length Bias in Large Language Models18 Nov 2025
- 2025Large Language Models Develop Novel Social Biases Through Adaptive Exploration8 Nov 2025
12 newest of 72 All 72 (JSON)