                     Invariance Makes LLM Unlearning Resilient Even to Unanticipated Downstream Fine-Tuning





Table 2. Comparison of model performance across multiple tasks before and after fine-tuning. Pre-Finetune columns display the forget

quality (FQ) and MMLU scores. Post-Finetune columns include robust accuracy (RA) and fine-tuning accuracy (FA) for six downstream

tasks (GSM8K, AGNews, SST-2, WinoGrande, MNLI, and QQP). Different unlearning methods (including the original model before

unlearning) are evaluated. ‘Average’ refers to the mean value computed across all downstream fine-tuning scenarios for RA or FA. The

best performance under each metric for each unlearning scenario is highlighted in bold.

                        Pre-Finetune                                                Post-Finetune

       Method

                                        GSM8K          AGNews          SST-2        WinoGrande        MNLI           QQP            Average

                       FQ ↑   MMLU ↑

                                       RA   FA        RA   FA        RA    FA       RA    FA        RA   FA        RA   FA        RA ↑ FA ↑

    Original Model     0.36    58.15   0.37   41.25   0.36   93.20   0.37   95.20   0.37   87.28    0.37   85.26   0.37   92.80   0.37   82.50

        RMU            0.68    57.46   0.41   42.41   0.42   93.20   0.42   94.80   0.42   87.30    0.41   84.24   0.41   92.60   0.42   82.43

     +ILU(Multi)       0.67    57.41   0.63   41.17   0.63   92.40   0.65   95.20   0.62   86.24    0.66   83.48   0.64   92.80   0.64   81.88

    +ILU(GSM8K)        0.68    57.64   0.64   42.04   0.67   91.80   0.62   96.20   0.67   85.68    0.65   85.20   0.66   93.00   0.65   82.32

        NPO            0.52    56.69   0.47   40.03   0.48   91.80   0.47   93.80   0.48   85.24    0.45   81.24   0.47   89.70   0.47   80.30

     +ILU(Multi)       0.53    51.65   0.53   40.14   0.52   92.20   0.51   93.60   0.53   85.68    0.51   83.38   0.52   90.80   0.52   80.97

    +ILU(GSM8K)        0.56    55.50   0.57   40.26   0.57   92.60   0.59   93.80   0.58   86.77    0.52   82.44   0.58   91.20   0.56   81.18



ther the multi-fine-tuning set formulation (4) or the single                utility performance of ILU against NPO, RMU, and the orig-

fine-tuning set formulation (5). As illustrated by Figs. 2-                 inal model (without unlearning) on WMDP, before and after

3, by default, we specify ILU as ILU(GSM8K), where                          downstream fine-tuning. Recall that ILU is implemented

GSM8K serves as the fine-tuning set for invariance regu-                    as ILU(GSM8K), with ILU(Multi) (utilizing GSM8K, AG-

larization. For the ILU variant (4), the datasets GSM8K,                    News, and WinoGrande) included for comparison. The

AGNews, WinoGrande are used, termed ILU(Multi). See                         performance for an unlearned model is measured by FQ and

Appendix A for more experiment setups.                                      MMLU before fine-tuning, and by RA and FA when facing

                                                                            downstream fine-tuning.

Fine-tuning tasks. We use six fine-tuning datasets cov-

ering a broad range of task categories, as summarized in                    First, without downstream fine-tuning (i.e., pre-finetune in

Table 1. This includes: ① GSM8K (grade school math prob-                    Table 2), all the proposed ILU methods and the baselines

lems) for mathematical reasoning; ② AGNews (news topic                      (NPO and RMU) demonstrate effective unlearning, with

classification) and ③ SST-2 (sentiment analysis) for text                   higher FQ values indicating better performance. Addition-

classification; ④ MNLI (multi-genre entailment classifica-                  ally, RMU-based methods outperform NPO-based meth-

tion) for natural language inference; ⑤ WinoGrande (com-                    ods in both FQ and model utility (measured by MMLU).

monsense coreference resolution) for linguistic reasoning;                  Compared to NPO or RMU, the incorporation of invariance

And ⑥ QQP (paraphrase detection) for semantic similar-                      regularization (i.e., NPO+ILU or RMU+ILU) maintains sim-

ity. During ILU training, the datasets GSM8K, AGNews,                       ilar FQ and MMLU performance before fine-tuning. How-

WinoGrande might be used. When evaluating unlearning                        ever, NPO+ILU(Multi) appears less stable in MMLU, likely

robustness against fine-tuning, all datasets listed in Tab. 1               due to the increased optimization complexity introduced

can be utilized. We perform fine-tuning until convergence,                  by incorporating multiple fine-tuning sets for invariance

defined as a less than 1% change in fine-tuning accuracy                    regularization. This aligns with Fig. 2, where ILU(Multi)

over three consecutive epochs.                                              underperforms ILU(GSM8K).

Evaluation metrics. To evaluate the unlearning effective-                   Second, under downstream fine-tuning (i.e., post-finetune in

ness on WMDP, we consider FO (forget quality) given by                      Table 2), ILU significantly outperforms its baselines in RA

(1 − Accuracy on forget evaluation set), as used in Fig. 1.                 (robust accuracy) across various fine-tuning scenarios. This

For an unlearned model, we also evaluate model utility us-                  is evidenced by the averaged RA of 0.65 for RMU+ILU com-

ing zero-shot accuracy on MMLU (Hendrycks et al., 2020),                    pared to 0.42 for RMU, and 0.56 for NPO+ILU compared

ensuring the preservation of the unlearned model’s general                  to 0.47 for NPO. We emphasize that the robustness achieved

capabilities before downstream fine-tuning. In the presence                 by ILU (using only GSM8K for invariance regularization)

of fine-tuning, we introduce robust accuracy (RA) for LLM                   demonstrates strong generalization to other downstream

unlearning, defined as the average FQ values across three                   fine-tuning cases. Also, FA (fine-tuning accuracy) is im-

key fine-tuning milestones: first quartile, median, and final               proved when fine-tuning is performed on the ILU-obtained

epochs. Additionally, we measure fine-tuning accuracy                       unlearned model compared to the NPO or RMU-obtained

(FA) on the downstream task throughout fine-tuning.                         model. This is expected, as the invariance promotion in

                                                                            ILU likely enhances the smoothness of the loss landscape,

6.2. Experiments results                                                    which can improve transfer learning performance during

Overview performance of ILU vs. NPO before and after                        fine-tuning (Liu et al., 2019). Furthermore, ILU(Multi) does

fine-tuning. In Table 2, we compare the unlearning and



                                                                       7

