Generalization or Memorization: Dynamic Decoding for Mode Steering
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) exhibit a troubling duality, capable of both remarkable generalization and brittle, verbatim memorization of their training data. This unpredictability undermines their reliability in high-stakes applications. In this work, we propose a unified framework to understand, identify, and control these distinct reasoning modes. First, we introduce a theoretical model based on the Information Bottleneck (IB) principle, formalizing generalization as the learning of a compressed, task-relevant representation and memorization as a failure to compress. Building on this theory, we develop Dynamic Mode Steering (DMS), a novel inference-time algorithm which comprises two components: (1) a lightweight, causally-grounded linear probe that identifies the model's instantaneous reliance on memorization, and (2) a dynamic activation steering mechanism that nudges the model's computation towards pre-identified generalization circuits. We frame DMS as a form of adaptive, self-contrastive decoding. Experiments on reasoning and faithfulness tasks demonstrate that DMS significantly improves logical consistency and factual accuracy, thereby offering a principled approach to enhancing LLM reliability.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 35 of its 38 references that are in the map. First posted on arXiv 25 Oct 2025.
Builds on
35 of 38 references.
References · 35
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2023Steering Language Models With Activation Engineeringcited by 824
- 2015Deep Learning and the Information Bottleneck Principlecited by 793
- 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 655
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
- 2025Open Problems in Mechanistic Interpretabilitycited by 173
23 more
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
- 2024On Memorization of Large Language Models in Logical Reasoningcited by 114
- 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 112
- 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
- 2019Meta-Learning without Memorizationcited by 92
- 2023How Does Information Bottleneck Help Deep Learning?cited by 92
- 2024Steering Language Model Refusal with Sparse Autoencoderscited by 89
- 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 86
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
- 2024EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 71
- 2024Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectorscited by 61
- 2023Generalization Bounds: Perspectives from Information Theory and PAC-Bayescited by 60
- 2024Knowledge Mechanisms in Large Language Models: A Survey and Perspectivecited by 50
- 2024What Do Learning Dynamics Reveal About Generalization in LLM Reasoning?cited by 22
- 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 16
- 2024Deep Grokking: Would Deep Neural Networks Generalize Better?cited by 13
- 2025"Well, Keep Thinking": Enhancing LLM Reasoning with Adaptive Injection Decodingcited by 12
- 2025MetaMind: Modeling Human Social Thoughts with Metacognitive Multi-Agent Systemscited by 12
- 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelismcited by 7
- 2025LH-Deception: Simulating and Understanding LLM Deceptive Behaviors in Long-Horizon Interactionscited by 6
- 2025A Generalized Information Bottleneck Theory of Deep Learningcited by 4
- 2025Cognition-of-Thought Elicits Social-Aligned Reasoning in Large Language Modelscited by 3
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026One Sample to Rule Them All: Extreme Data Efficiency in Multidiscipline Reasoning with Reinforcement Learningcited by 2
- 2026Deeper is Not Always Better: Mitigating the Alignment Tax via Confident Layer Decodingcited by 2
- 2026Metacognitive Steering: Learning the Structure of Scientific Judgmentcited by 0
- 2026Metacognitive Steering: Learning the Structure of Scientific Judgment14 Sep 2026
- 2026Deeper is Not Always Better: Mitigating the Alignment Tax via Confident Layer Decoding20 Jun 2026
- 2026One Sample to Rule Them All: Extreme Data Efficiency in Multidiscipline Reasoning with Reinforcement Learning6 Jan 2026