Exploring the Robustness of In-Context Learning with Noisy Labels
Not on the map. Why?
Abstract (arXiv)
Recently, the mysterious In-Context Learning (ICL) ability exhibited by Transformer architectures, especially in large language models (LLMs), has sparked significant research interest. However, the resilience of Transformers' in-context learning capabilities in the presence of noisy samples, prevalent in both training corpora and prompt demonstrations, remains underexplored. In this paper, inspired by prior research that studies ICL ability using simple function classes, we take a closer look at this problem by investigating the robustness of Transformers against noisy labels. Specifically, we first conduct a thorough evaluation and analysis of the robustness of Transformers against noisy labels during in-context learning and show that they exhibit notable resilience against diverse types of noise in demonstration labels. Furthermore, we delve deeper into this problem by exploring whether introducing noise into the training set, akin to a form of data augmentation, enhances such robustness during inference, and find that such noise can indeed improve the robustness of ICL. Overall, our fruitful analysis and findings provide a comprehensive understanding of the resilience of Transformer models against label noises during ICL and provide valuable insights into the research on Transformers in natural language processing. Our code is available at https://github.com/InezYu0928/in-context-learning.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 55 of its 68 references that are in the map. First posted on arXiv 28 Apr 2024.
Builds on
55 of 68 references.
References · 55
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
38 more
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,239
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2016Making Deep Neural Networks Robust to Label Noise: a Loss Correction Approachcited by 663
- 2017MentorNet: Learning Data-Driven Curriculum for Very Deep Neural Networks on Corrupted Labelscited by 652
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2020Learning from Noisy Labels with Deep Neural Networks: A Surveycited by 580
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
- 2023The Falcon Series of Open Language Modelscited by 526
- 2019Symmetric Cross Entropy for Robust Learning with Noisy Labelscited by 499
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023How Robust is Google's Bard to Adversarial Image Attacks?cited by 177
- 2018Learning to Learn from Noisy Labeled Datacited by 160
- 2023Fundamental Limitations of Alignment in Large Language Modelscited by 152
- 2019NLNL: Negative Learning for Noisy Labelscited by 151
- 2023What Makes Good Examples for Visual In-Context Learning?cited by 150
- 2018CurriculumNet: Weakly Supervised Learning from Large-Scale Web Imagescited by 126
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 126
- 2023The Learnability of In-Context Learningcited by 126
- 2023Are Emergent Abilities in Large Language Models just In-Context Learning?cited by 109
- 2018Iterative Learning with Open-set Noisy Labelscited by 108
- 2019Meta Label Correction for Noisy Label Learningcited by 108
- 2023Combating Misinformation in the Age of LLMs: Opportunities and Challengescited by 94
- 2023Rethinking Model Ensemble in Transfer-based Adversarial Attackscited by 88
- 2020A Unified Approach to Interpreting and Boosting Adversarial Transferabilitycited by 71
- 2023Understanding In-Context Learning in Transformers and LLMs by Learning to Learn Discrete Functionscited by 62
- 2023Adversarial Demonstration Attacks on Large Language Modelscited by 58
- 2023CFA: Class-wise Calibrated Fair Adversarial Trainingcited by 53
- 2022Practical Evaluation of Adversarial Robustness via Adaptive Auto Attackcited by 44
- 2021Explainable Artificial Intelligence Approaches: A Surveycited by 40
- 2023Towards Trustworthy and Aligned Machine Learning: A Data-centric Survey with Causality Perspectivescited by 30
- 2020A Survey on Deep Learning with Noisy Labels: How to train your model when you cannot trust on the annotations?cited by 25
- 2024On the Duality Between Sharpness-Aware Minimization and Adversarial Trainingcited by 24
- 2019An Effective Label Noise Model for DNN Text Classificationcited by 22
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2024: 4; 2025: 5; 2026: 4.
13 papers.
Sort:
By area:
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
- 2024Characterizing stable regions in the residual stream of LLMscited by 3
- 2025Provable Low-Frequency Bias of In-Context Learning of Representationscited by 3
- 2024MILE: A Mutation Testing Framework of In-Context Learning Systemscited by 2
- 2025Incomplete In-context Learningcited by 2
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Boundscited by 2
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modescited by 1
- 2026Transformers Learn Robust In-Context Regression under Distributional Uncertaintycited by 1
- 2025Robust In-Context Reinforcement Learning Under Reward Poisoning Attackscited by 0
- 2025Not All Pixels Are Equal: Pixel-wise Meta-Learning for Medical Segmentation with Noisy Labelscited by 0
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classificationcited by 0
- 2026Model-agnostic information transfer and fusion for classification with label noise28 Apr 2026
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classification13 Apr 2026
- 2026Transformers Learn Robust In-Context Regression under Distributional Uncertainty19 Mar 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2025Not All Pixels Are Equal: Pixel-wise Meta-Learning for Medical Segmentation with Noisy Labels24 Nov 2025
- 2025Provable Low-Frequency Bias of In-Context Learning of Representations17 Jul 2025
- 2025Robust In-Context Reinforcement Learning Under Reward Poisoning Attacks7 Jun 2025
- 2025Retrieval-Augmented Generation as Noisy In-Context Learning: A Unified Theory and Risk Bounds3 Jun 2025
- 2025Incomplete In-context Learning12 May 2025
- 2024Characterizing stable regions in the residual stream of LLMs25 Sep 2024
- 2024MILE: A Mutation Testing Framework of In-Context Learning Systems7 Sep 2024
- 2024A Theoretical Understanding of Self-Correction through In-context Alignment28 May 2024
1 more
- 2025Incomplete In-context Learningcited by 2
- 2025Incomplete In-context Learning12 May 2025
- 2024On the Noise Robustness of In-Context Learning for Text Generationcited by 15
- 2024Characterizing stable regions in the residual stream of LLMscited by 3
- 2025Provable Low-Frequency Bias of In-Context Learning of Representationscited by 3
- 2024MILE: A Mutation Testing Framework of In-Context Learning Systemscited by 2
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modescited by 1
- 2026Transformers Learn Robust In-Context Regression under Distributional Uncertaintycited by 1
- 2025Robust In-Context Reinforcement Learning Under Reward Poisoning Attackscited by 0
- 2025Not All Pixels Are Equal: Pixel-wise Meta-Learning for Medical Segmentation with Noisy Labelscited by 0
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classificationcited by 0
- 2026Model-agnostic information transfer and fusion for classification with label noisecited by 0
- 2026Model-agnostic information transfer and fusion for classification with label noise28 Apr 2026
- 2026Symmetry Reveals Layerwise Dynamics: How Transformers Perform In-Context Classification13 Apr 2026
- 2026Transformers Learn Robust In-Context Regression under Distributional Uncertainty19 Mar 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2025Not All Pixels Are Equal: Pixel-wise Meta-Learning for Medical Segmentation with Noisy Labels24 Nov 2025
- 2025Provable Low-Frequency Bias of In-Context Learning of Representations17 Jul 2025
- 2025Robust In-Context Reinforcement Learning Under Reward Poisoning Attacks7 Jun 2025
- 2024Characterizing stable regions in the residual stream of LLMs25 Sep 2024
- 2024MILE: A Mutation Testing Framework of In-Context Learning Systems7 Sep 2024
- 2024On the Noise Robustness of In-Context Learning for Text Generation27 May 2024