NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Mitigating Memorization Where It Happens

Xuanqi Zhang, HaoYang Shang, Xiaoxiao Li

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Activation Steering for LLM Control · Type: new method · Keywords: memorization mitigation, language model privacy, token-level intervention, probe-steer framework, efficient LLM defense

Summary

Gated Subspace Steering (GSS) localizes memorization mitigation to token-level activations, achieving state-of-the-art reduction while requiring 10-100× less compute than optimization-based alternatives.

Explained to a 5-year-old

Big computer programs called language models can memorize everything they read. Sometimes this is bad because they might share secret stuff or not think of new ideas. The problem happens only on a few special words, not all words. Scientists made a new plan that looks for those special words and fixes them only when needed. This helps keep the program safe and smart without making it slow.

Explained to a 5-year-old, longer

Big computer programs called language models can memorize everything they read, like a perfect memory. Sometimes this is okay, but it can also be dangerous because they might repeat private or secret information. Usually, people try to stop memorization by changing the whole program, but that makes the program slower and less useful. The researchers noticed that only a few special words cause most of the memorization problem. They realized that trying to fix everything is wasteful because most words are fine. So they created a new idea that looks for those special words and only changes them when needed. First, a detector watches the program’s thinking to see if a word is likely to be memorized. Then, a corrector steps in only when the detector says the word is risky. This way, the program keeps learning normally but avoids copying secret stuff. The new method is simple and fast, so it does not need a lot of computer power. It works on many different tests and is as good as the best methods before. Overall, it helps keep language models safe while staying efficient and smart.

For a technical reader

The paper observes that large language models sometimes memorize exact training examples, which can leak private data and hurt generalization. Existing defenses apply uniform changes across all tokens, which degrades performance on the majority of normal tokens. The authors find that memorization is sparse and follows a heavy-tailed distribution, so a targeted approach is more efficient. They propose a probe-steer framework that detects memorization-relevant activations and applies corrections only when a threshold is exceeded, derived in closed form using singular vectors. Experiments on four benchmarks show the approach matches state-of-the-art reduction while using 10-100× less compute than prior optimization-based methods.

Problem

Large language models can memorize and reproduce training sequences verbatim, harming generalization and privacy. Existing mitigation methods apply uniform interventions, degrading performance on the majority of tokens that generalize normally.

Method

The approach decomposes intervention into a probe that detects memorization-relevant activations and a steer that applies targeted correction only when the probe exceeds a threshold. It derives a closed-form solution for the optimal probe-steer pair using leading singular vectors of a gradient-weighted activation matrix, enabling efficient token-level mitigation.

Results

The approach matches or exceeds state-of-the-art memorization reduction across four benchmarks while requiring 10-100 times less compute than optimization-based alternatives.

Contributions

It identifies token-level sparsity in memorization and proposes a probe-steer framework that localizes mitigation to where memorization occurs, providing an efficient closed-form solution for practical deployment.

Practical relevance

Enables efficient memorization mitigation for large language models, reducing computational cost and preserving model performance on normal tokens.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction