svd-safety-l3_swift_jbbresp13_remove40
Built with Meta Llama 3.
Swift-SVD compression of meta-llama/Meta-Llama-3-8B-Instruct, targeting 40% parameter removal.
Calibration: 256 WikiText sequences + 13 JBB harmful-prompt/refusal sequences, 2048 tokens each, seed 42. The extra corpus is jbb_harm_resp:13 (26,624 tokens). Both model families use the existing Llama-2 refusal texts, packed with each family's own tokenizer. This is prompt-plus-response calibration, not prompt-only.
Recovery: SVD-LLM recovery: sequential LoRA on U then V factors, plain Alpaca-cleaned data, two epochs per training pass.
Dynamic rank allocation uses alpha 0.6; layer importance remains WikiText-based.
The checkpoint is folded to standard dense Transformers weights: the compression
ratio describes the factorized parameter budget, not a reduction in download size.
Realized parameter counts and recovery details are recorded in compression.json.
Evaluation
Full WikiText-2 perplexity; seven-task zero-shot ARC-Easy/Challenge, HellaSwag, WinoGrande, OpenBookQA, PIQA and MathQA; XSTest-safe and OR-Bench over-refusal judged by WildGuard; full AdvBench and StrongREJECT prompt sets judged by HarmBench. StrongREJECT uses the HarmBench judge, not its native scorer. Generation limit: 512 tokens; no smoke-test sample caps.
| Metric | Value |
|---|---|
| WikiText-2 perplexity | 21.9861 |
| AdvBench ASR (HarmBench) | 0.0903846 |
| StrongREJECT ASR (HarmBench) | 0.182109 |
| Macro over-refusal (WildGuard) | 0.128887 |
All raw evaluation files, including per-prompt generations, judge records,
zero-shot sample logs and summaries, are included in utility/ and safety/.
Read these files for coverage and judge reliability. This research checkpoint
is intended for measuring safety/utility under compression; these measurements
do not establish suitability for deployment.