Abstract
Machine unlearning (MU) seeks to eliminate the influence of specific training examples from deployed models. As large language models (LLMs) become widely used, managing risks arising from insufficient forgetting or utility loss is increasingly crucial. Current MU techniques lack effective mechanisms for evaluating and controlling these risks, hindering the selection of strategies that appropriately balance safety and utility, and raising trust concerns surrounding the "right to be forgotten." To address these issues, we propose FROC, a unified framework with Risk-Optimized Control for machine unlearning in LLMs. FROC is built around a conformal-style risk-control formulation that expresses a user-specified risk budget on unlearning behavior. This probability-based constraint enables FROC to compare MU strategies, identify feasible operating regions, and guide hyperparameter selection according to desired trade-offs between forgetting sufficiency and utility preservation. To operationalize this constraint, FROC introduces a smoothly varying continuous risk model that aggregates forgetting deficiency and utility degradation into a single configuration-level score. Building on conformal risk analysis, FROC computes (1) the Conformal Unlearning Risk (CUR), a data-driven estimated value on the probability that forgotten samples continue to influence model predictions, and (2) risk-controlled configuration sets, which identify unlearning hyperparameters that are valid under the specified risk budget. Experiments across multiple LLM MU methods demonstrate that FROC produces stable, interpretable risk landscapes and reveals consistent relationships between unlearning configurations, semantic shift, and utility impact. FROC reframes MU as a controllable, risk-aware process and offers a practical foundation for managing unlearning behavior in large-scale LLM deployments.
Introduction: The Challenge of Machine Unlearning in LLMs
Machine Unlearning (MU) is the process of removing the influence of specific training data from a model—essential for privacy (the "right to be forgotten") and copyright compliance. However, unlearning in LLMs is notoriously complex. If the unlearning process is too "soft," the model might still leak sensitive information; if it is too "aggressive," it risks "catastrophic forgetting," where the model’s general intelligence and utility degrade significantly.
Currently, unlearning strategies (such as Gradient Ascent or Model Editing) are often chosen without a unified metric to measure if a model has "forgotten enough" while "breaking as little as possible." FROC addresses this gap by providing a mathematical framework to quantify and control these competing risks.
The FROC Framework
The core of FROC is a conformal-style risk-control formulation designed to manage the trade-offs inherent in machine unlearning.
The framework operates through several key components:
- Unified Risk Function: FROC defines a continuous, "softplus-smoothed" risk function $R(\lambda)$ that jointly penalizes forgetting deficiency (residual knowledge of the forget set) and utility degradation (performance drop on the retain set).
- Conformal Analysis: Borrowing from conformal prediction, FROC calculates a Conformal Unlearning Risk (CUR). This provides a probabilistic upper bound on the risk. By specifying a risk budget (target risk level $\alpha$ and tolerance $\delta$), practitioners can identify configurations that stay within safe bounds.
- Two-Way Controller: The system allows for both Configuration Selection (finding valid hyperparameters for a given budget) and Risk Estimation (predicting the risk of a specific configuration) using a pre-computed lookup table.
- Smoothness: The use of a softplus-smoothed model creates a continuous "risk landscape," making it easier to navigate than traditional discrete metrics.
Experimental Setup
The researchers evaluated FROC using three prominent LLMs: LLaMA3.1-8B, RedPajama-7B, and Amber Chat. The experiments utilized the RedPajama benchmark, specifically subsets containing over 73M tokens. The evaluation set comprised 12,000 samples, split evenly between a "forget set" and a "retain set" to accurately measure the trade-offs between forgetting and utility preservation.
Key Insights
- MU as Risk Management: FROC treats unlearning as a controllable process where safety and utility are traded off according to a user-defined budget, rather than a binary success/fail task.
- Model-Agnostic Control: The unified risk variable $R$ acts as a consistent control signal across different model architectures, even though the specific "safe zones" for those models vary.
- The Importance of the Reference Set: The size of the reference set ($N_{ref}$) used for evaluation significantly impacts the strictness of the risk assessment. Larger reference sets provide more robust evaluations of unlearning quality.
- Algorithm Variability: No single unlearning algorithm is universally superior. For instance, LLaMA3.1-8B performed best with GA+Descent, while RedPajama-7B favored GA+KL.
Key Results
FROC successfully mapped monotonic relationships between unlearning aggressiveness and risk. Empirical tests confirmed that post-unlearning risks consistently fell below the conformal upper bounds, validating the framework's probabilistic guarantees.
As shown in the results, as the "unified risk" increases, accuracy on forgotten samples drops sharply (indicating successful forgetting), while accuracy on retained samples remains relatively stable or drops much more slowly. This visualization allows engineers to pick hyperparameters that satisfy specific regulatory or application-driven requirements.
Limitations and Future Work
While FROC provides a robust foundation, several areas for improvement remain:
- Distribution Shift: The framework currently assumes the reference set is representative. Future work will focus on enhancing stability when there is a significant "semantic shift" between evaluation and deployment data.
- Provable Guarantees: The authors aim to move from high-probability probabilistic control toward "provable guarantees" of unlearning.
- Computational Overhead: Building the pre-computed lookup table requires evaluating multiple configurations, which may be computationally intensive for extremely large-scale deployments.
Summary updated