Llama-3.1-8B-Instruct-DUET-film-AdaPop-popular-s2
AnniBori/Llama-3.1-8B-Instruct-DUET-film-ft (Llama-3.1-8B-Instruct fine-tuned on the DUET film set, epoch 6) after unlearning the popular film forget set with AdaPop, seed 2. These are the weights of the selected epoch.
Data
- Forget: HF
SwetieePawsss/DUET_LLM, configfilm(commit2c2b047bb569b205ea57f924b36e818d4e3f3903),forget_popular_film, rows withsplit_role = train(411 film-director facts). - Retain:
retain_film(546).
Unlearning recipe (film PREREG §3)
- open-unlearning
src/train.py --config-name=unlearn.yaml experiment=revival_mechanism/unlearn/duet_8B_AdaPop. - AdaPop (open-unlearning
src/trainer/unlearn/ada_pop.py): WGA-type forget loss with a per-fact beta = clip(58.7 · p^-0.796, 0.05, 2) from the fact's popularity p, plus a retain NLL term whose weight alpha = alpha0 + lambda rises by dual ascent (alpha0 0.5, eps 0.1, dual_lr 0.1, lambda_max 5, retain EMA 0.9), gamma 1. Popularity input p =pop_subject(film popularity only: Wikidata sitelinks + identifiers + statements of the film item; data folderhf_local_popsubject), the primary AdaPop input of the film study. - lr 1e-5, 8 epochs, batch 4 x gradient accumulation 4, warmup 1 epoch, weight decay 0.01,
paged_adamw_8bit, bf16,trainer.args.seed = 2, a checkpoint after every epoch (26 steps each).
Selected epoch
- Qualified = free-generation ROUGE-L recall (greedy, 64 new tokens) on the forget set <= 0.15 and retain recall >= base retain recall − 0.30, absolute (base retain 0.842, floor 0.542).
- Among qualified epochs, the largest retain − forget gap is selected.
- Selected epoch 7: forget recall 0.011, retain recall 0.975.
| epoch | forget recall | retain recall |
|---|---|---|
| 1 | 0.947 | 0.887 |
| 2 | 0.185 | 0.761 |
| 3 | 0.053 | 0.850 |
| 4 | 0.020 | 0.909 |
| 5 | 0.023 | 0.935 |
| 6 | 0.013 | 0.966 |
| 7 | 0.011 | 0.975 |
| 8 | 0.013 | 0.977 |
Prompt format (training and evaluation)
- Template: Llama 3.1 chat template of the tokenizer (system turn = the prompt below, then the user question).
- System prompt:
You are terse and fact-only QA assistant. Reply to the question clearly with few-words correct answer.
Code
- Part C evaluation (greedy generation, ROUGE-L recall, paraphrase and attack sets):
film_unlearning/scripts/film_gate.py(gen_eval), driven byfilm_unlearning/scripts/partc_job.sh; hidden metricsfilm_unlearning/scripts/film_forget_metrics.py. - EI relearning probe:
revival_mechanism/src/stage4_revival_sweep.py(rank-4 LoRA, probe seed 42, steps 1-256). - EI subspace ablation:
revival_mechanism/src/stage5_interp/stage9_gate_anatomy.py, with its selection-matched nullrevival_mechanism/post_cr/scripts/ei_close_subspace_null.py. - Paths are relative to
open-unlearning/experiments/in the project repository.