paper-with-me

Papers

The Reasoning-Memorization Interplay in Language Models Is Mediated by a Single Direction

2025-03-29 · Yihuai Hong, Dian Zhou, Meng Cao, Lei Yu, Zhijing Jin

Large language models (LLMs) excel on a variety of reasoning benchmarks, but previous studies suggest they sometimes struggle to generalize to unseen questions, potentially due to over-reliance on memorized training examples. However, the precise conditions under which LLMs switch between reasoning and memorization during text generation remain unclear. In this work, we provide a mechanistic understanding of LLMs' reasoning-memorization dynamics by identifying a set of linear features in the model's residual stream that govern the balance between genuine reasoning and memory recall. These features not only distinguish reasoning tasks from memory-intensive ones but can also be manipulated to causally influence model performance on reasoning tasks. Additionally, we show that intervening in these reasoning features helps the model more accurately activate the most relevant problem-solving capabilities during answer generation. Our findings offer new insights into the underlying mechanisms of reasoning and memory in LLMs and pave the way for the development of more robust and interpretable generative AI systems.

📄 PDF Abstract BibTeX arXiv:2503.23084

Code (0)

등록된 구현이 없습니다.

Tasks

Answer GenerationMemorizationText Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

On Memorization of Large Language Models in Logical Reasoning

2024-10-30 · Chulin Xie, Yangsibo Huang, Chiyuan Zhang, Da Yu 외

Large language models (LLMs) achieve good performance on challenging reasoning benchmarks, yet could also make basic reasoning mistakes. This contrasting behavior is puzzling when it comes to understanding the mechanisms…

Logical ReasoningMemorization

Memorization or Reasoning? Exploring the Idiom Understanding of LLMs

2025-05-22 · Jisu Kim, Youngwoo Shin, Uiji Hwang, Jihun Choi 외

Idioms have long posed a challenge due to their unique linguistic properties, which set them apart from other common expressions. While recent studies have leveraged large language models (LLMs) to handle idioms across v…

Machine TranslationMemorizationSentence

PreCog: Exploring the Relation between Memorization and Performance in Pre-trained Language Models

2023-05-08 · Leonardo Ranaldi, Elena Sofia Ruzzetti, Fabio Massimo Zanzotto

Pre-trained Language Models such as BERT are impressive machines with the ability to memorize, possibly generalized learning examples. We present here a small, focused contribution to the analysis of the interplay betwee…

MemorizationRelation

ZEBRAARENA: A Diagnostic Simulation Environment for Studying Reasoning-Action Coupling in Tool-Augmented LLMs

2026-03-19 · Wanjia Zhao, Ludwig Schmidt, James Zou, Vidhisha Balachandran 외 arxiv

Tool-augmented large language models (LLMs) must tightly couple multi-step reasoning with external actions, yet existing benchmarks often confound this interplay with complex environment dynamics, memorized knowledge or …

Reason to Rote: Rethinking Memorization in Reasoning

2025-07-07 · Yupei Du, Philipp Mondorf, Silvia Casola, Yuekun Yao 외 arxiv

Large language models readily memorize arbitrary training instances, such as label noise, yet they perform strikingly well on reasoning tasks. In this work, we investigate how language models memorize label noise, and wh…

Relational Reasoning