paper-with-me

홈 › Papers

Memorization in In-Context Learning

2024-08-21 · Shahriar Golchin, Mihai Surdeanu, Steven Bethard, Eduardo Blanco, Ellen Riloff

In-context learning (ICL) has proven to be an effective strategy for improving the performance of large language models (LLMs) with no additional training. However, the exact mechanism behind this performance improvement remains unclear. This study is the first to show how ICL surfaces memorized training data and to explore the correlation between this memorization and performance on downstream tasks across various ICL regimes: zero-shot, few-shot, and many-shot. Our most notable findings include: (1) ICL significantly surfaces memorization compared to zero-shot learning in most cases; (2) demonstrations, without their labels, are the most effective element in surfacing memorization; (3) ICL improves performance when the surfaced memorization in few-shot regimes reaches a high level (about 40%); and (4) there is a very strong correlation between performance and memorization in ICL when it outperforms zero-shot learning. Overall, our study uncovers memorization as a new factor impacting ICL, raising an important question: to what extent do LLMs truly generalize from demonstrations in ICL, and how much of their success is due to memorization?

📄 PDF Abstract BibTeX arXiv:2408.11546

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context LearningMemorizationZero-Shot Learning

Similar Papers 제목 키워드 기반

Rethinking Memorization Measures and their Implications in Large Language Models

2025-07-20 · Bishwamittra Ghosh, Soumi Das, Qinyuan Wu, Mohammad Aflah Khan 외 arxiv

Concerned with privacy threats, memorization in LLMs is often seen as undesirable, specifically for learning. In this paper, we study whether memorization can be avoided when optimally learning a language, and whether th…

Quantifying In-Context Reasoning Effects and Memorization Effects in LLMs

2024-05-20 · Siyu Lou, Yuntian Chen, Xiaodan Liang, Liang Lin 외

In this study, we propose an axiomatic system to define and quantify the precise memorization and in-context reasoning effects used by the large language model (LLM) for language generation. These effects are formulated …

DisentanglementLanguage ModelingLanguage ModellingLarge Language Model+2

Probing Memorization of Tabular In-Context Learning

2026-06-30 · Francesco Capano, Jonas Böhler arxiv

Large tabular models (LTMs), i.e., tabular foundation models leveraging in-context learning (ICL), achieve state-of-the-art performance on tabular tasks. While LLMs are known to unintentionally memorize training data, th…

Memorization in Attention-only Transformers

2024-11-15 · Léo Dana, Muni Sreenivas Pydi, Yann Chevaleyre

Recent research has explored the memorization capacity of multi-head attention, but these findings are constrained by unrealistic limitations on the context size. We present a novel proof for language-based Transformers …

Memorization

A Multi-Perspective Analysis of Memorization in Large Language Models

2024-05-19 · Bowen Chen, Namgi Han, Yusuke Miyao

Large Language Models (LLMs), trained on massive corpora with billions of parameters, show unprecedented performance in various fields. Though surprised by their excellent performances, researchers also noticed some spec…

Memorization