[Paper Review] Quantization-Robust LLM Unlearning via Low-Rank Adaptation
The paper proposes a LoRA-based unlearning framework that freezes base LLM weights and concentrates forgetting updates in trainable low-rank adapters, enabling robust unlearning under 4-bit post-training quantization (PTQ).
Large Language Model (LLM) unlearning aims to remove targeted knowledge from a trained model, but practical deployments often require post-training quantization (PTQ) for efficient inference. However, aggressive low-bit PTQ can mask or erase unlearning updates, causing quantized models to revert to pre-unlearning behavior. We show that standard full-parameter fine-tuning often induce parameter changes that are too small to survive 4-bit quantization. We propose quantization-robust unlearning via low-rank adaptation (LoRA): we freeze the base model and concentrate unlearning into trainable adapters so that the effective update is preserved after quantization. On Llama-2-7B evaluated with MUSE dataset (BOOKS and NEWS), LoRA improves 4-bit utility by up to 7.93 points (NPO+GDR on BOOKS: 50.17 to 58.10) and yields higher 4-bit utility on NEWS for GA+GDR (40.06 to 44.82, increase of 4.76). LoRA also substantially reduces privacy leakage under 4-bit PTQ, e.g., for GA+KLR on BOOKS, PrivLeak moves from -25.68 to -5.86 (closer to ideal 0), while maintaining strong forgetting (VerMem and KnowMem near 0). Thus, using LoRA for Machine Unlearning is beneficial for scenarios where quantization is necessary for model deployment.
Motivation & Objective
- Motivate the problem of unlearning sensitive knowledge in LLMs deployed with post-training quantization.
- Show that full-parameter unlearning updates often fail under aggressive 4-bit PTQ due to tiny weight changes.
- Propose a Low-Rank Adaptation (LoRA) based unlearning method that concentrates updates and stays robust to quantization.
- Demonstrate that LoRA-based unlearning preserves forgetting and reduces privacy leakage after PTQ compared to full fine-tuning.
Proposed method
- Freeze the base model weights and introduce trainable low-rank adapters (B in R^{d×r}, A in R^{r×k}) per linear layer.
- Apply unlearning updates through the LoRA term: h = W0 x + (α/r) B A x with α as a scaling factor.
- Optimize only over adapters Φ={A,B} while merging adapters into the base model before PTQ.
- Use larger effective updates via LoRA to cross PTQ quantization boundaries, enabled by higher learning rates in the constrained subspace.
- Target specific modules (e.g., MLPs, attention) to preserve utility while concentrating forgetting updates.
- Compare LoRA-based unlearning with full-parameter fine-tuning under BF16, 8-bit, and 4-bit PTQ on Llama-2-7B using the MUSE benchmark.
Experimental results
Research questions
- RQ1Does quantization, especially 4-bit PTQ, erase unlearning updates produced by standard full-parameter fine-tuning?
- RQ2Can restricting unlearning to a low-rank subspace (LoRA) preserve forgetting signals under aggressive quantization?
- RQ3How does LoRA-based unlearning compare to full-parameter fine-tuning in terms of forgetting, privacy leakage, and utility under PTQ?
- RQ4Which data settings (BOOKS vs NEWS) and which regularization strategies (GDR, KLR) show the strongest quantization-robust benefits when using LoRA?
- RQ5What are practical hyperparameters (rank, scaling, learning rate) that maximize quantization robustness for LoRA unlearning?
Key findings
- Full-precision unlearning often degrades under 4-bit PTQ due to small updates being masked by quantization.
- LoRA-based unlearning, with adapters merged before PTQ, preserves forgetting signals after 4-bit quantization.
- On BOOKS, LoRA improves forgetting and reduces privacy leakage for several configurations (e.g., GA+GDR, GA+KLR) under 4-bit PTQ.
- On NEWS, LoRA yields higher 4-bit utility for GA+GDR and reduces utility drop for GA+KLR compared to full-parameter fine-tuning.
- LoRA strengthens forgetting in NPO setups and shows PTQ stability in multiple configurations, with some settings achieving near-invariance of metrics between full precision and Int4.
- Overall, LoRA provides quantization-robust unlearning, often improving the balance between forgetting, privacy, and utility over Full-FT.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.