Mitigating Memorization in LLMs using Activation Steering

Manan Suri, Nishit Anand, Amisha Bhaskar
3/8/2025
cs.CL

No confident code implementation found for this paper.

Abstract

The memorization of training data by Large Language Models (LLMs) poses significant risks, including privacy leaks and the regurgitation of copyrighted content. Activation steering, a technique that directly intervenes in model activations, has emerged as a promising approach for manipulating LLMs. In this work, we explore the effectiveness of activation steering in reducing memorization while preserving generalization capabilities. We conduct empirical evaluations using a controlled memorization benchmark of literary material and demonstrate that our method successfully suppresses memorized content with minimal degradation in model performance in Gemma. Additionally, we analyze the trade-offs between suppression effectiveness and linguistic fluency, highlighting the advantages and limitations of activation-based interventions. Our findings contribute to ongoing efforts in developing safer and more privacy-preserving LLMs by providing a practical and efficient mechanism to mitigate unintended memorization.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{suri2025mitigating,
  title  = {Mitigating Memorization in LLMs using Activation Steering},
  author = {Manan Suri and Nishit Anand and Amisha Bhaskar},
  year   = {2025},
  eprint = {2503.06040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.06040v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06040.svg)](https://codeofpaper.com/paper/2503.06040)

Discussion