Large language models (LLM) have emerged as a powerful tool for AI, with the key ability of in-context learning (ICL), where they can perform well on unseen tasks based on a brief series of task examples without necessitating any adjustments to the model parameters. One recent interesting mysterious observation is that models of different scales may have different ICL behaviors: larger models tend to be more sensitive to noise in the test context. This work studies this observation theoretically aiming to improve the understanding of LLM and ICL. We analyze two stylized settings: (1) linear regression with one-layer single-head linear transformers and (2) parity classification with two-layer multiple attention heads transformers (non-linear data and non-linear model). In both settings, we give closed-form optimal solutions and find that smaller models emphasize important hidden features while larger ones cover more hidden features; thus, smaller models are more robust to noise while larger ones are more easily distracted, leading to different ICL behaviors. This sheds light on where transformers pay attention to and how that affects ICL. Preliminary experimental results on large base and chat models provide positive support for our analysis.
The Grounding Gap: How LLMs Anchor the Meaning of Abstract Concepts Differently from Humans
Department of Informatics(信息学院);Athens University of Economics and Business(雅典经济与商业大学);Archimedes, Athena Research Center(阿基米德·雅典研究中心);Instituto de Telecomunicações(电信研究所);Department of Computer Science(计算机科学系);Columbia University(哥伦比亚大学)
School of Economics and Finance, Shanghai International Studies University(经济金融学院,上海国际问题研究大学);School of AI and Advanced Computing, Xi’an Jiaotong-Liverpool University(人工智能与先进计算学院,西安交通大学利物浦大学);School of Foreign Studies, Shanghai University of Finance and Economics(外国语言学院,上海金融学院)