svd-safety-l2_svdllmjbbsep48_r50
A Llama-2-7b-chat checkpoint compressed with SVD-LLM with a pooled utility + safety calibration set 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/Llama-2-7b-chat-hf |
| compression | SVD-LLM with a pooled utility + safety calibration set, 50.00% of parameters removed |
| resulting parameter fraction | 0.4999 |
| seed | 42 |
| estimator | authors' SVD-LLM whitened SVD (AIoT-MLSys-Lab/SVD-LLM) on one pooled calibration set: S S^T = sum_WikiText x x^T + sum_safety x x^T |
| calibration | wikitext2:256 + jbb_harm_resp_sep:48 |
| utility part | WikiText-2 train, 255 x 2048-token windows (SVD-LLM sampler, seed 42), every position; authors' profiler, cached factor |
| safety part | first 48 of 96 JailbreakBench goals with Llama-2-7b-chat's own refusals (seed 42 order), one conversation per sample (unpacked, 12817 positions, every position) |
| effective safety share | 0.0240 of positions |
Measured
| metric | value |
|---|---|
| AdvBench ASR (HarmBench judge) | 0.0231 |
| StrongREJECT ASR (HarmBench judge) | 0.0256 |
| Macro over-refusal (WildGuard) | 0.5660 |
| WikiText-2 perplexity | 13.7031 |
| Zero-shot mean accuracy (7 tasks, acc_norm where reported) | 0.4482 |
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-2-7b-chat: 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
Llama 2 Community License. LICENSE.txt and USE_POLICY.md are included in this repository, and use of this derivative is bound by them. Built with Llama 2.