RepSelect: Robust LLM Unlearning via Representation Selectivity

· Source: Computation and Language · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy · Depth: Expert, quick

Summary

RepSelect (Representation Selectivity) is a novel method designed to enable large language models (LLMs) to deeply forget specific knowledge and values without compromising general capabilities. It addresses the limitation of current unlearning methods, which are easily reversed by fine-tuning or few-shot prompting due to targeting representations shared with both retain sets and attacker-recovered subspaces. RepSelect isolates forget-set-specific representations by collapsing the top principal components of weight gradients before each update. This approach preserves general capabilities while limiting what fine-tuning can recover. Evaluated across biohazardous knowledge and abusive tendencies, and four model families (Llama 3, Qwen 3.5, Gemma 4 E4B, DeepSeek V2 Lite), RepSelect achieved a 4-50x larger reduction in post-relearning answer accuracy compared to five popular baselines (GradDiff, NPO, SimNPO, RMU, UNDIAL), demonstrating near-perfect robustness to few-shot prompting attacks.

Key takeaway

For AI Security Engineers or ML practitioners focused on model safety, RepSelect offers a critical advancement in achieving deep and robust LLM unlearning. If you are struggling with unlearning methods that are easily reversed by fine-tuning or few-shot prompting, consider implementing RepSelect to ensure more permanent knowledge removal. This method significantly improves resistance to relearning attacks, providing a more reliable approach to mitigating harmful content or biases in your deployed models.

Key insights

RepSelect achieves robust LLM unlearning by selectively targeting forget-set-specific representations, preventing easy reversal.

Principles

Method

RepSelect collapses top principal components of weight gradients before each update to isolate and remove forget-set-specific representations, preserving general capabilities.

In practice

Topics

Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computation and Language.