paper-with-me

홈 › Papers

Understanding In-Context Learning from Repetitions

2023-09-30 · Jianhao Yan, Jin Xu, Chiyu Song, Chenming Wu, Yafu Li, Yue Zhang

This paper explores the elusive mechanism underpinning in-context learning in Large Language Models (LLMs). Our work provides a novel perspective by examining in-context learning via the lens of surface repetitions. We quantitatively investigate the role of surface features in text generation, and empirically establish the existence of \emph{token co-occurrence reinforcement}, a principle that strengthens the relationship between two tokens based on their contextual co-occurrences. By investigating the dual impacts of these features, our research illuminates the internal workings of in-context learning and expounds on the reasons for its failures. This paper provides an essential contribution to the understanding of in-context learning and its potential limitations, providing a fresh perspective on this exciting capability.

📄 PDF Abstract BibTeX arXiv:2310.00297

Code (1)

elliottyan/understand-icl-from-repetition 공식 구현 pytorch

Tasks

In-Context LearningText Generation

Similar Papers 제목 키워드 기반

Boli: A dataset for understanding stuttering experience and analyzing stuttered speech

2025-01-27 · Ashita Batra, Mannas narang, Neeraj Kumar Sharma, Pradip K Das

There is a growing need for diverse, high-quality stuttered speech data, particularly in the context of Indian languages. This paper introduces Project Boli, a multi-lingual stuttered speech dataset designed to advance s…

Image Description

What Matters for In-Context Learning: A Balancing Act of Look-up and In-Weight Learning

2025-01-09 · Jelena Bratulić, Sudhanshu Mittal, Christian Rupprecht, Thomas Brox

Large Language Models (LLMs) have demonstrated impressive performance in various tasks, including In-Context Learning (ICL), where the model performs new tasks by conditioning solely on the examples provided in the conte…

In-Context Learning

It's my Job to be Repetitive! My Job! My Job! -- Linking Repetitions to In-Context Learning in Language Models

2021-10-16 · ACL ARR October 2021 10 · Anonymous

Recent studies have shown that large language models can display surprising accuracy at learning tasks from few examples presented in the input context, which goes under the name of in-context learning. Other studies hav…

In-Context Learning

Learning to Break the Loop: Analyzing and Mitigating Repetitions for Neural Text Generation

2022-06-06 · Jin Xu, Xiaojiang Liu, Jianhao Yan, Deng Cai 외

While large-scale neural language models, such as GPT2 and BART, have achieved impressive results on various text generation tasks, they tend to get stuck in undesirable sentence-level loops with maximization-based decod…

SentenceText GenerationText Summarization

Repetition Facilitates Processing: The Processing Advantage of Construction Repetition in Dialogue

2021-11-16 · ACL ARR November 2021 11 · Anonymous

Repetitions occur frequently in dialogue. This study focuses on the repetition of lexicalised constructions—i.e., recurring multi-word units—in English open domain spoken dialogues. We hypothesise that construction repet…

Language ModelingLanguage Modelling