In-context learning (ICL) is the ability of a large language model (LLM) to learn a new task from a few demonstrations presented as part of the context. Past studies have attributed a large portion of the success of ICL to the way these in-context demonstrations are represented, particularly to how labels are represented in classification tasks. On the other hand, observations of the learning capacity of ICL (i.e., the extent to which more in-context demonstrations can lead to higher performance) have been mixed, and ICL is often thought to occur only under specific conditions. The interaction between these two aspects in ICL, representation and learning, has not been studied in depth until now. We hypothesize that they are largely independent of one another, such that the representation of demonstrations determines the baseline accuracy of ICL, while learning from additional demonstrations improves only on top of this baseline. We validate this hypothesis by developing an optimization algorithm that can enumerate a spectrum of possible label sets (representations) varying in semantic relevance. We then perform ICL with varying numbers of in-context demonstrations for each of these label sets. We observed that learning happens regardless of the quality of the label set itself, although its efficiency, measured by the slope of improvement over in-context demonstrations, is conditioned on both the label set quality and the parameter count of the underlying language model. Despite the emergence of learning, the relative quality (accuracy) of the choice of a label set (representation) is largely maintained throughout learning, confirming our hypothesis and implying their orthogonality. Our work reveals a previously underexplored aspect of ICL: the independent effects of learning from demonstrations and their representations on ICL performance.
Context Modeling with Evidence Filter for Multiple Choice Question Answering
Singapore Management University(新加坡管理大学);Nanyang Technological University(南洋理工大学);Institute for Infocomm Research, A*STAR(新加坡科技研究局资讯通信研究院);Institute of High Performance Computing, A*STAR(新加坡科技研究局高性能计算研究院)
Differentiating Choices via Commonality for Multiple-Choice Question Answering
School of Information and Communication Technology, Griffith University(格里菲斯大学信息与通信技术学院);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学院)
A Case Study on Context-Aware Neural Machine Translation with Multi-Task Learning
Indian Institute of Technology Patna(印度巴特那理工学院);Wipro AI(威普罗人工智能公司);Indian Institute of Technology Jodhpur(印度焦特布尔理工学院);Indian Institute of Technology Bombay(印度孟买理工学院)
DSC-IITISM at FinCausal 2021: Combining POS tagging with Attention-based Contextual Representations for Identifying Causal Relationships in Financial Documents
Indian Institute of Technology (ISM), Dhanbad(印度理工学院(ISM)达巴德分校)
Massive Choice, Ample Tasks (MaChAmp): A Toolkit for Multi-task Learning in NLP
IT University of Copenhagen(哥本哈根信息技术大学);University of Groningen(格罗宁根大学);University of Trento(特伦托大学);Factmata(Factmata公司);Microsoft Research - University of Trento(微软研究院-特伦托大学)