svd-safety-l3_dualk_dual_trace_r50
A Llama-3-8B-Instruct checkpoint compressed with dual-domain K-FAC whitened SVD (utility + safety curvature, SVD-LLM rank budget) to 50.0% of dense parameters, then recovered with SVD-LLM's stage-2 LoRA (sequential U then V, alpaca-cleaned, r=8, alpha=16, 2 epochs, lr 1e-4, batch 64, cutoff 256, bf16).
This is a research artifact from a study of how SVD compression damages safety behaviour and which component-selection rule best repairs it. It is one cell of a grid over selection rules and budgets; it is not a general-purpose chat model.
Provenance
| field | value |
|---|---|
| base (uncompressed) | meta-llama/Meta-Llama-3-8B-Instruct |
| compression | dual-domain K-FAC whitened SVD (utility + safety curvature, SVD-LLM rank budget), 50.00% of parameters removed |
| resulting parameter fraction | 0.4997 |
| seed | 42 |
| solver | dual: low-rank optimum of F_dual = (1-a) G_u (x) A_u + a G_s (x) A_s (per-domain K-FAC), joint-basis ALS started from the mix solution |
| safety weight a | 0.1238 (--alpha tok) |
| curvature normalisation | trace: A / positions, G / loss tokens (summed CE), per domain; then every factor / its trace |
| utility calibration | wikitext-2-raw-v1 train, SVD-LLM sampler, 255 x 2048-token windows, seed 42, next-token CE |
| safety calibration | results/dual_kfac_wj/wj_safe_l3.jsonl (512 samples, loss on response tokens) |
| rank budget | SVD-LLM's per-matrix rank at the same removal ratio |
| ALS | up to 300 sweeps, rtol 1e-07, ridge 1e-06 |
Measured
| metric | value |
|---|---|
| AdvBench ASR (HarmBench judge) | 0.0115 |
| StrongREJECT ASR (HarmBench judge) | 0.0383 |
| Macro over-refusal (WildGuard) | 0.3724 |
| WikiText-2 perplexity | 22.8540 |
Intended use and limitations
This checkpoint exists to measure safety/utility trade-offs under compression. Several arms in the grid are deliberately safety-degraded relative to Llama-3-8B-Instruct: compression alone raises attack-success rate, and the point of the study is to quantify that and test recovery. Treat any given cell as an experimental subject, not as a deployable assistant, and evaluate it yourself before drawing conclusions from it.
Licence
Meta Llama 3 Community License. LICENSE and USE_POLICY.md are included in this repository, and use of this derivative is bound by them. Built with Meta Llama 3.