paper-with-me

Papers

Unveiling Over-Memorization in Finetuning LLMs for Reasoning Tasks

2025-08-06 · Zhiwen Ruan, Yun Chen, Yutao Hou, Peng Li, Yang Liu, Guanhua Chen arxiv

The pretrained large language models (LLMs) are finetuned with labeled data for better instruction following ability and alignment with human values. In this paper, we study the learning dynamics of LLM finetuning on reasoning tasks and reveal the uncovered over-memorization phenomenon during a specific stage of LLM finetuning. At this stage, the LLMs have excessively memorized training data and exhibit high test perplexity while maintaining good test accuracy. We explore the conditions that contribute to over-memorization and discover that this issue is prevalent across various tasks, models, and fine-tuning methods, with prolonged training and large learning rates exacerbating the problem. Although models with over-memorization demonstrate comparable test accuracy to normal models, they suffer from reduced robustness, poor out-of-distribution generalization, and decreased generation diversity. In light of our findings on over-memorization, we offer recommendations for checkpoint selection and propose techniques such as checkpoint merging and memorization-aware reweighting to mitigate this effect.

📄 PDF Abstract BibTeX arXiv:2508.04117

Code (0)

등록된 구현이 없습니다.

Tasks

Instruction Following

Similar Papers 제목 키워드 기반

What Do Learning Dynamics Reveal About Generalization in LLM Reasoning?

2024-11-12 · Katie Kang, Amrith Setlur, Dibya Ghosh, Jacob Steinhardt 외

Despite the remarkable capabilities of modern large language models (LLMs), the mechanisms behind their problem-solving abilities remain elusive. In this work, we aim to better understand how the learning dynamics of LLM…

GSM8KMathMemorization

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

Benchmarking Chinese Commonsense Reasoning of LLMs: From Chinese-Specifics to Reasoning-Memorization Correlations

2024-03-21 · Jiaxing Sun, Weiquan Huang, Jiang Wu, Chenya Gu 외

We introduce CHARM, the first benchmark for comprehensively and in-depth evaluating the commonsense reasoning ability of large language models (LLMs) in Chinese, which covers both globally known and Chinese-specific comm…

BenchmarkingMemorization

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

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

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

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 exam…

Answer GenerationMemorizationText Generation