How to Cure Newton for Unlearning Neural Networks? An Empirical Study from the Hessian Perspective

Nhung Bui, Xinyang Lu, Rachael Hwee Ling Sim, See-Kiong Ng, Bryan Kian Hsiang LowICLR 2026

TL;DR

Machine unlearning allows practitioners to remove specific data from trained models without the prohibitive cost of full retraining. While rigorous second-order methods (like Newton unlearning) are theoretically appealing, they often fail on deep neural networks due to problematic, "degenerate" Hessians. This paper introduces CuReNU and its highly scalable stochastic variant, CuReNUS (referred to in the study as StoCuReNU). By leveraging cubic regularization to automatically stabilize second-order updates, the authors provide a mathematically grounded, efficient unlearning algorithm that performs competitively on both batch and sequential unlearning tasks.

The Roadblock: Hessian Degeneracy

Thanks to privacy frameworks like the GDPR, users have the "right to be forgotten," meaning organizations must be able to remove a user's data from trained machine learning models. Retraining massive models like GPT-4 from scratch every time a user deletes their account is financially and computationally impossible.

Machine unlearning attempts to approximate the result of retraining efficiently. One of the most rigorous approaches is second-order unlearning (such as Newton unlearning), which uses the Hessian matrix—the second derivative of the loss function—to smartly adjust the model's weights.

However, there is a massive roadblock: Newton unlearning assumes the Hessian is invertible. In trained deep neural networks, the Hessian is highly "degenerate," meaning it is packed with zero and near-zero eigenvalues.

Eigenvalue distributions showing severe Hessian degeneracy in trained neural networks, including Llama-2.

If you try to force standard Newton unlearning on a neural network using common tricks (like pseudo-inverses or manually adding a small damping factor), the math breaks down. The model takes excessively large update steps, completely destroying its performance. This problem compounds disastrously during batch or sequential unlearning.

The Solution: Cubic Regularization

To fix the exploding update problem, the authors adapt cubic regularization from optimization theory to create two new algorithms:

  1. CuReNU (Cubic-Regularized Newton's Unlearning): Instead of manually guessing a "damping factor" to stabilize the degenerate Hessian, CuReNU frames finding the optimal damping factor as a convex optimization problem. It automatically calculates the perfect regularization dynamically, preventing the update steps from exploding.
  2. CuReNUS (Stochastic CuReNU): Exact CuReNU requires calculating and storing the full Hessian matrix, which takes $O(d^2)$ memory—an impossible requirement for large models with billions of parameters. CuReNUS is a Hessian-free, stochastic variant. It uses mini-batches and Hessian-Vector Products (HVPs) to approximate the updates. This drops the memory requirement to $O(d)$ (scaling linearly with the model size), making it highly efficient and applicable to Large Language Models (LLMs).

Experimental Setup

The authors evaluated their methods across a mix of vision and language tasks:

  • FashionMNIST (FMNIST): Used with a simple CNN for foundational testing.
  • CIFAR-10: Used with ResNet-18 for image classification.
  • AG-News: Used with a LoRA-finetuned Llama-2-7B for text classification.
  • TOFU (Task of Fictitious Unlearning): A benchmark containing fictitious QA pairs generated by GPT-4, used with a LoRA-finetuned Llama-2-7B to test unlearning in generative LLMs.

Key Insights and Results

  • Theoretical Guarantees for Non-Convex Models: Unlike many empirical unlearning "hacks" (like simply training on random labels to induce forgetting), CuReNUS comes with mathematical guarantees. It is proven to converge to a "second-order stationary point" (a good local minimum) even in the highly non-convex loss landscapes of deep neural networks.
  • Prevents Exploding Updates: In batch unlearning tests on FMNIST, standard Newton fixes caused update norms to spike to ~3,700, destroying the model. CuReNUS kept the update norm at a stable ~0.38, successfully forgetting the data while preserving model accuracy.
  • Excels at Sequential Unlearning: When unlearning data over 5 sequential rounds on Llama-2 (TOFU) and ResNet-18 (CIFAR-10), CuReNUS maintained performance incredibly close to full retraining. It avoided the "over-forgetting" (model collapse) that plagued baselines like Gradient Ascent or Random Labeling.
Performance comparison of unlearning methods, highlighting CuReNU and CuReNUS achieving competitive results.
  • Highly Efficient: CuReNUS requires less than 2x the memory of standard retraining. On large models, it is significantly faster than state-of-the-art empirical methods like SCRUB (e.g., taking ~85 seconds vs. ~6,796 seconds for Llama-2 on AG-News).

Limitations and Future Work

While CuReNU provides a strong theoretical foundation, its $O(d^2)$ memory requirement makes it practically unusable for anything larger than a tiny CNN. CuReNUS serves as the practical contribution for modern architectures.

Furthermore, CuReNUS relies heavily on calculating Hessian-Vector Products. The authors note that current PyTorch implementations of HVPs (which use a backward-over-backward automatic differentiation approach) have a larger memory footprint than ideal. Future work implementing forward-over-backward AD could make CuReNUS even faster and more memory-efficient.

Summary updated

BibTeX
@inproceedings{bui2026how,
  author = {Nhung Bui and Xinyang Lu and Rachael Hwee Ling Sim and See-Kiong Ng and Bryan Kian Hsiang Low},
  title = {{How to Cure Newton for Unlearning Neural Networks? An Empirical Study from the Hessian Perspective}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=dHz2LBCyTh},
}
Figure