SHRED Benchmark Dashboard

Comprehensive evaluation across TOFU, MUSE, and WMDP benchmarks

Token-level softmax probabilities on forget sets — how well does each model memorize its training data?
Pretrained knowledge (forget data in pretraining only)
Knowledge injected via fine-tuning
Mean token probability by position — 100 examples per category shaded = ±1 std  ·  QA: position 0 = first answer token
Token probability density + average vocabulary rank per bin colored curve = KDE density (left axis)  ·  white bars + curve = avg rank (right axis, needs rerun)  ·  gold dashed = mean  ·  purple dotted = median
Domain
Task
Color mode
low
high
Mean token probability vs duplication level —

MUSE News — Token Probability Analysis

Llama-2-7b-hf continued-pretrained on 300 news articles. The "full model" stores high verbatim memory for these articles — this view would show per-token softmax probabilities on forget set texts.

Model
muse-bench/MUSE-News (Llama-2-7b-hf)
Forget set
300 news articles · verbmem split
Memorization
Continued pretraining · ~10k steps
Compute command (cluster)
python experiments/analysis/compute_bench_token_probs.py --bench muse-news --output experiments/analysis/muse_news_token_probs.json

MUSE Books — Token Probability Analysis

Llama-2-7b-hf continued-pretrained on book excerpts. High verbatim memorization of extended narrative text, unlike shorter news snippets.

Model
muse-bench/MUSE-Books (Llama-2-7b-hf)
Forget set
Book excerpts · verbmem split
Memorization
Continued pretraining · ~13k steps
Compute command (cluster)
python experiments/analysis/compute_bench_token_probs.py --bench muse-books --output experiments/analysis/muse_books_token_probs.json

TOFU — Token Probability Analysis

Models fine-tuned on 200 fictional author biographies and Q&A pairs. The forget set (forget10 = 200 authors, 10% of all) is memorized via SFT. Q&A format means individual answer tokens carry very high probability.

Models
open-unlearning/tofu_Llama-3.2-1B-Instruct_full (+ 3B, 8B)
Forget set
forget10 · 200 fictional authors · 4000 Q&A pairs
Memorization
SFT · 5 epochs on Q&A pairs
Compute command (cluster)
python experiments/analysis/compute_bench_token_probs.py --bench tofu --output experiments/analysis/tofu_token_probs.json

RWKU — Token Probability Analysis

Real-World Knowledge Unlearning benchmark. 200 Wikipedia entities (people, organizations) the model knows from pretraining. Unlike TOFU, memorization comes from pretraining data, not explicit fine-tuning.

Model
Llama-2-7b-chat-hf (pretrained)
Forget set
200 Wikipedia entities · fill-in-blank + QA tasks
Memorization
Pretraining (factual recall)
Compute command (cluster)
python experiments/analysis/compute_bench_token_probs.py --bench rwku --output experiments/analysis/rwku_token_probs.json

WMDP — Token Probability Analysis

Weapons of Mass Destruction Proxy benchmark. Hazardous biosecurity and chemistry knowledge from pretraining. Measured as MCQ accuracy; token probs on answer choices reflect the model's "confidence" in dangerous knowledge.

Model
Zephyr-7b-beta (pretrained)
Forget set
~3500 MCQ questions · bio + chem hazard knowledge
Memorization
Pretraining (factual/procedural knowledge)
Compute command (cluster)
python experiments/analysis/compute_bench_token_probs.py --bench wmdp --output experiments/analysis/wmdp_token_probs.json
P ∈ {10, 25, 50, 75, 100} × BS ∈ {1, 2, 4, 8, 20, 40} × LR ∈ {5e-6, 1e-5, 2e-5, 5e-5, 1e-4}  |  Llama-3.2-1B-Instruct, forget10

Llama-3.2-1B-Instruct — Baseline Comparison

Method Forget Prob ↓ Forget ROUGE ↓ Forget Truth Ratio Model Utility ↑ Extraction ↓ PrivLeak

Llama-2-7b-chat-hf — Baseline Comparison 8/8

Method Forget Prob ↓ Forget ROUGE ↓ Forget Truth Ratio Model Utility ↑ Extraction ↓ PrivLeak
7B Model Utility Breakdown — Per-Split Comparison
Full Model vs Retain90 (gold) vs SHRED P=50 — why SHRED achieves higher MU

Key Insight

SHRED P=50 achieves MU=0.637 — higher than the full model (0.627).

Truth Ratio = P(correct) / (P(correct) + P(perturbed))
Measures calibration: can the model distinguish real answers from paraphrased versions? 0.5 = random, higher = better.

Why MU is higher: The full model is over-memorized. SHRED redistributes logits, improving calibration:

• Truth Ratio ↑ across all splits — especially ra (+0.04) and wf (+0.09)

• Probability ↑ on ra/wf — model becomes more confident on retain knowledge

• ROUGE ↓ on retain (0.769 vs 0.982) — less verbatim memorization

MU = harmonic mean across splits. SHRED's better calibration compensates for lower raw ROUGE, yielding a higher overall MU.

Training Convergence — P=50%, LR=1e-5, by Batch Size
Wall-clock time vs metrics at each checkpoint
Training step vs metrics at each checkpoint

Privacy Leak (MIA) vs Step — TOFU ShredFF (P=50%, LR=1e-5)

Fixed slice P=50%, LR=1e-5 across BS ∈ {1,2,4,8,20,40}. Each line = one config. Optimal = 0. Negative = under-unlearned, Positive = over-unlearned. Dashed lines = baselines.
Llama-2-7b-hf  |  News & Books corpora  |  Baselines from open-unlearning repro.md

News Llama-2-7b-hf

MethodVerbMem ↓KnowMem ↓Retain ↑PrivLeak

Books Llama-2-7b-hf

MethodVerbMem ↓KnowMem ↓Retain ↑PrivLeak

News — Pareto (VerbMem ↓ vs Retain ↑)

VerbMem ↓ vs Retain ↑
KnowMem ↓ vs Retain ↑

ShredLong Grid — Pareto by Hyperparameter (Books)

Books is harder to unlearn (denser memorization). Latest epoch per config; many configs still in progress.
VerbMem ↓ vs Retain ↑
KnowMem ↓ vs Retain ↑

Privacy Leak (MIA) vs Epoch

MIA-based privacy leakage over training. Optimal = 0 (indistinguishable from retrained model). Negative = under-unlearned (still leaks membership). Positive = over-unlearned (model behavior on forget data diverges detectably). Horizontal lines = baseline methods.

ShredLong — Optimizer Comparison paged_adamw_32bit (2×GPU) vs adamw_bnb_8bit (1×GPU) · P=25%

Split Optimizer Step time Forget VerbMem ↓ Forget KnowMem ↓ Retain KnowMem ↑ Extraction ↓ PrivLeak
WMDP-Cyber  |  zephyr-7b-beta  |  1273 MCQA  |  Utility = MMLU

WMDP Cyber — current runs

Methodwmdp_cyber ↓mmlu ↑notes
Real-World Knowledge Unlearning  |  200 famous people, zero-shot entity removal  |  LLaMA-3-8B-Instruct  |  Baselines from RWKU paper (Jin et al. 2024)

Baseline Performance — Meta-Llama-3-8B-Instruct — "Before (ours)" = our eval pipeline on the base model; other rows are from the RWKU paper (different eval protocol, not directly comparable)

Method Forget ↓ Neighbor ↑ MIA Utility ↑
FBQAAAAll FBQAAll FM↑RM↓ GenReaTruFacFlu

Key Observations

• ICU best forget (All: 12.8) but destroys neighbors (55.7 vs 90.7)

• NPO (Full) best trainable method (All: 26.2) with decent neighbors (72.6)

• RT (Full) excellent QA forget (13.4) but poor FB (72.7) — refusal surface-level

• GA* catastrophic MIA scores (1640.9) — over-optimization

• LoRA variants consistently underperform Full across all methods

• All methods trade neighbor quality for forgetting — SHRED may offer better locality

Benchmark Comparison

CriteriaTOFUMUSERWKU
Targets—2200
Forget Probes4,00022013,131
Real-World✗✓✓
Zero-Shot✗✗✓
Adversarial✗✗✓
Neighbor✓✗✓
MIA✗✗✓
Multi-scenario memorization benchmark — Copyright, Privacy, Test contamination

Hubble(C) — Copyright

passages_gutenberg_popular • paraphrases_paws
⏳ Not yet started

Hubble(P) — Privacy

biographies_yago • chats_personachat
⏳ Not yet started

Hubble(T) — Test Contamination

testset_MMLU • testset_ellie
⏳ Not yet started
Robustness to relearning — can the unlearned model recover forgotten knowledge via fine-tuning?

Relearning Attack Protocol

  1. Take unlearned model (SHRED, GradAscent, GradDiff, NPO, RMU)
  2. Fine-tune on forget set with LR ∈ {1e-6, 5e-6, 1e-5} for 1–5 epochs
  3. Eval forget_prob at each epoch → recovery curve
  4. Steeper recovery = weaker unlearning
⏳ Not yet started
⏳ Relearning curve — epochs vs forget_prob recovery
Continual learning after unlearning — does forgetting persist when the model learns new knowledge?

Continual Learning Protocol

  1. Unlearn with SHRED (P=50, best config) on forget10
  2. Continue training on retain/holdout data
  3. Measure: forget_prob stays low, MU doesn’t degrade
  4. Compare: do baselines retain unlearning after new learning?
⏳ Not yet started
⏳ Continual learning — training steps vs forget_prob / MU
DESIGN
Document tiled into non-overlapping [T context] + [C target] windows, stride = T+C (no overlap, no wasted tokens). Loss and SHRED demotion applied only to target. Standard causal attention — no custom mask needed. Currently running: T=128, C=256 (stride=384).
sample 1
Attention mask — sample window (rows = query, cols = key)
Token probability by position — context size comparison
How much context each token sees determines prediction confidence and SHRED signal strength. Autoregressive = full causal (growing context, position bias). Sliding window-8 = every token sees exactly 8 prior tokens. T=128 ShredLong = every target token sees exactly 128 prior tokens (data pending).
Attention mask grid
Rows = query token, Columns = key token. Each cell: attended (filled) or blocked (−∞).
Cell meaning
Attends (0 in additive mask)
Blocked (−∞ in additive mask)
Token regions
Context (T tokens) — no loss
Target (C tokens) — SHRED demotion
Key property: every target token attends to exactly T prior tokens — eliminating the position bias that would otherwise make early tokens appear harder to predict.
Context rows use standard causal attention (growing window). Target rows use a fixed T-wide sliding window.
SHRED Unlearning — Resource requirements

GPU requirements per training run

One SHRED run = 50 epochs on MUSE News forget set (~2K sequences). Lower bound: QLoRA (4-bit base + LoRA r=32) + 8-bit Adam. Upper bound: full BF16 fine-tune with AdamW FP32 master states + FSDP.
Model Params Lower bound (LoRA + 8-bit) Upper bound (Full BF16)
GPUMemHours GPUMemHours
Llama 2 7B6.7 B 1× A100 40G~10 GB~8h 1× A100 80G~75 GB~20h
Gemma 4 31B31 B 1× A100 80G~32 GB~28h 4× H100 80G (FSDP)~370 GB~70h
Llama 3.3 70B70.6 B 1× H100 80G~52 GB~60h 8× H100 80G (FSDP+offload)~840 GB~160h

Total compute ask — scaling study

ModelRunsLoRA GPU-hFull BF16 GPU-h
Gemma 4 31B205601,400
Llama 3.3 70B106001,600
Total30 ~1,160 GPU-h ~3,000 GPU-h

Software stack

FrameworkHuggingFace Transformers + Accelerate + PEFT + bitsandbytes
Multi-GPUFSDP2 (full shard) or DeepSpeed ZeRO-3 with CPU offload
AttentionFlashAttention-2
Optimizeradamw_bnb_8bit (LoRA) or AdamW FP32 master (full BF16)
PrecisionBF16 forward/backward, optional FP8 on H100 via TransformerEngine