paper-with-me

Papers

Quantifying In-Context Reasoning Effects and Memorization Effects in LLMs

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

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 as non-linear interactions between tokens/words encoded by the LLM. Specifically, the axiomatic system enables us to categorize the memorization effects into foundational memorization effects and chaotic memorization effects, and further classify in-context reasoning effects into enhanced inference patterns, eliminated inference patterns, and reversed inference patterns. Besides, the decomposed effects satisfy the sparsity property and the universal matching property, which mathematically guarantee that the LLM's confidence score can be faithfully decomposed into the memorization effects and in-context reasoning effects. Experiments show that the clear disentanglement of memorization effects and in-context reasoning effects enables a straightforward examination of detailed inference patterns encoded by LLMs.

📄 PDF Abstract BibTeX arXiv:2405.11880

Code (0)

등록된 구현이 없습니다.

Tasks

DisentanglementLanguage ModelingLanguage ModellingLarge Language ModelMemorizationText Generation

Similar Papers 제목 키워드 기반

Investigating LLM Capabilities on Long Context Comprehension for Medical Question Answering

2025-10-21 · Feras AlMannaa, Talia Tseriotou, Jenny Chim, Maria Liakata arxiv

This study is the first to investigate LLM comprehension capabilities over long-context (LC), clinically relevant medical Question Answering (QA) beyond MCQA. Our comprehensive approach considers a range of settings base…

Question Answering

Towards Learning and Explaining Indirect Causal Effects in Neural Networks

2023-03-24 · Abbavaram Gowtham Reddy, Saketh Bachu, Harsharaj Pathak, Benin L Godfrey 외

Recently, there has been a growing interest in learning and explaining causal effects within Neural Network (NN) models. By virtue of NN architectures, previous approaches consider only direct and total causal effects as…

Quantifying the Effect of Test Set Contamination on Generative Evaluations

2026-01-07 · Rylan Schaeffer, Joshua Kazdan, Baber Abbasi, Ken Ziyu Liu 외 arxiv

As frontier AI systems are pretrained on web-scale data, test set contamination has become a critical concern for accurately assessing their capabilities. While research has thoroughly investigated the impact of test set…

Finding Memo: Extractive Memorization in Constrained Sequence Generation Tasks

2022-10-24 · Vikas Raunak, Arul Menezes

Memorization presents a challenge for several constrained Natural Language Generation (NLG) tasks such as Neural Machine Translation (NMT), wherein the proclivity of neural models to memorize noisy and atypical samples r…

counterfactualMachine TranslationMemorizationNMT+1

Undesirable Memorization in Large Language Models: A Survey

2024-10-03 · Ali Satvaty, Suzan Verberne, Fatih Turkmen

While recent research increasingly showcases the remarkable capabilities of Large Language Models (LLMs), it's vital to confront their hidden pitfalls. Among these challenges, the issue of memorization stands out, posing…

MemorizationRetrieval-augmented GenerationSurvey