mlsanityData to 7 Oct 2026

Generalization or Memorization: Dynamic Decoding for Mode Steering

arXiv 2510.22099 ↗First posted 25 Oct 2025cs.CLcited by 3

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

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  4. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  5. 2023Steering Language Models With Activation Engineeringcited by 824
  6. 2015Deep Learning and the Information Bottleneck Principlecited by 793
  7. 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 655
  8. 2023A Comprehensive Overview of Large Language Modelscited by 639
  9. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  10. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  11. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 229
  12. 2025Open Problems in Mechanistic Interpretabilitycited by 173
23 more
  1. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
  2. 2024On Memorization of Large Language Models in Logical Reasoningcited by 114
  3. 2024A Thorough Examination of Decoding Methods in the Era of LLMscited by 112
  4. 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
  5. 2019Meta-Learning without Memorizationcited by 92
  6. 2023How Does Information Bottleneck Help Deep Learning?cited by 92
  7. 2024Steering Language Model Refusal with Sparse Autoencoderscited by 89
  8. 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 86
  9. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 83
  10. 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
  11. 2024EvoCodeBench: An Evolving Code Generation Benchmark Aligned with Real-World Code Repositoriescited by 71
  12. 2024Semantics-Adaptive Activation Intervention for LLMs via Dynamic Steering Vectorscited by 61
  13. 2023Generalization Bounds: Perspectives from Information Theory and PAC-Bayescited by 60
  14. 2024Knowledge Mechanisms in Large Language Models: A Survey and Perspectivecited by 50
  15. 2024What Do Learning Dynamics Reveal About Generalization in LLM Reasoning?cited by 22
  16. 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 16
  17. 2024Deep Grokking: Would Deep Neural Networks Generalize Better?cited by 13
  18. 2025"Well, Keep Thinking": Enhancing LLM Reasoning with Adaptive Injection Decodingcited by 12
  19. 2025MetaMind: Modeling Human Social Thoughts with Metacognitive Multi-Agent Systemscited by 12
  20. 2025AdaDecode: Accelerating LLM Decoding with Adaptive Layer Parallelismcited by 7
  21. 2025LH-Deception: Simulating and Understanding LLM Deceptive Behaviors in Long-Horizon Interactionscited by 6
  22. 2025A Generalized Information Bottleneck Theory of Deep Learningcited by 4
  23. 2025Cognition-of-Thought Elicits Social-Aligned Reasoning in Large Language Modelscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 3.

3 papers.