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.
Calibrating Pre-trained Language Classifiers on LLM-generated Noisy Labels via Iterative Refinement
School of Computational Science \& Engineering Georgia Institute of Technology Atlanta GA USA;Scheller College of Business Georgia Institute of Technology Atlanta GA USA;Georgia Institute of Technology
Beihang University(北京航空航天大学);Beijing Advanced Innovation Center for Big Data and Brain Computing(北京大数据与脑计算高精尖创新中心);China’s Aviation System Engineering Research Institute(中国航空系统工程研究所)
Are Noisy Sentences Useless for Distant Supervised Relation Extraction?
Beijing Institute of Technology(北京理工大学);CETC Big Data Research Institute Co., Ltd.(中电科大数据研究院有限公司);Huazhong University of Science and Technology(华中科技大学)