Learning to Be Truncated: Preparing LLM Checkpoints for SVD Compression
Organizations: EcoCloud, EPFL
Abstract
Compression based on singular value decomposition (SVD) often requires subsequent fine-tuning or weight correction to mitigate performance degradation. Budget-specific optimization must be repeated for different compression ratios. We introduce LLift, which prepares a pretrained model for SVD compression across ratios without further fine-tuning. LLift fine-tunes a low-rank approximation at a single ratio using the original model as a teacher. We merge the learned updates into the original weights while preserving the complementary components excluded from the training forward pass. We apply SVD to the prepared model's target matrices and reuse the decompositions at different truncation ranks. On LLaMA-7B, we demonstrate accuracy gains across three compression ratios using a single prepared model. The gains extend across model families, model sizes, and SVD compression operators. We analyze gradients and an early training update to provide local evidence that updates learned at one ratio can benefit compression at other ratios. These results show that LLift can improve compression across deployment budgets without fine-tuning each compressed model separately.
Figures & tables
| Method | WT2 | PTB | C4 | OBQA | ARC-e | ARC-c | WinoG | HellaS | PIQA | MathQA | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Uncompressed | 5.68 | 8.35 | 7.34 | 0.31 | 0.75 | 0.42 | 0.69 | 0.56 | 0.78 | 0.26 | 0.54 | |
| 0.8 | ASVD | 11.14 | 16.55 | 15.93 | 0.25 | 0.53 | 0.27 | 0.64 | 0.41 | 0.68 | 0.24 | 0.43 |
| SVD-LLM | 7.94 | 16.22 | 15.84 | 0.22 | 0.58 | 0.29 | 0.63 | 0.43 | 0.69 | 0.24 | 0.44 | |
| Dobi-SVD † | 8.54 | 14.83 | 10.01 | 0.26 | 0.59 | 0.31 | 0.66 | 0.44 | 0.70 | 0.23 | 0.46 | |
| SAES-SVD † | 7.17 | 15.16 | 13.77 | 0.29 | 0.68 | 0.36 | 0.65 | 0.45 | 0.75 | 0.25 | 0.49 | |
| ZS-SVD | 6.74 | 11.87 | 10.74 | 0.31 | 0.70 | 0.37 | 0.68 | 0.49 | 0.74 | 0.24 | 0.50 | |
| Compressor | Checkpoint | WT2 | PTB | C4 | Avg. | WT2 | PTB | C4 | Avg. | WT2 | PTB | C4 | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SVD-LLM | Original | 8.03 | 14.03 | 13.89 | 0.44 | 14.27 | 38.34 | 35.03 | 0.40 | 63.25 | 300.26 | 218.52 | 0.31 |
| LLift | 7.49 | 11.72 | 11.15 | 0.50 | 8.40 | 15.96 | 14.77 | 0.46 | 13.48 | 53.47 | 32.24 | 0.38 | |
| ZS-SVD | Original | 6.86 | 11.42 | 10.46 | 0.51 | 12.41 | 34.31 | 28.04 | 0.42 | 56.71 | 291.02 | 184.77 | 0.33 |
| LLift | 7.84 | 11.39 | 10.11 | 0.51 | 9.86 | 19.22 | 15.38 | 0.45 | 16.88 | 88.31 | 35.33 | 0.38 | |
| LEMS | Original | 6.25 | 10.12 | 8.93 | 0.52 | 9.49 | 19.28 | 17.15 | 0.44 | 23.21 | 91.16 | 64.58 | 0.35 |
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Mean | Max. | |||
|---|---|---|---|---|
| 0.8 | 224/224 | 224/224 | ||
| 0.6 | 165/224 | 224/224 | ||
| 0.4 | 179/224 | 224/224 |
| Checkpoint | WT2 PPL | C4 PPL | Avg. | |
|---|---|---|---|---|
| 0.8 | Original | 8.03 | 13.89 | 0.44 |
| LLift (frozen ) | 8.40 | 11.58 | 0.50 | |
| LLift (trainable ) | 7.49 | 11.15 | 0.50 | |
| 0.6 | Original | 14.27 | 35.03 | 0.40 |
| LLift (frozen ) | 9.46 | 15.46 | 0.46 | |
| LLift (trainable ) | 8.40 | 14.77 | 0.46 |
| Checkpoint | WT2 | C4 | Avg. | WT2 | C4 | Avg. | WT2 | C4 | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| Original | 8.03 | 13.89 | 0.44 | 14.27 | 35.03 | 0.40 | 63.25 | 218.52 | 0.31 |
| LLift ( ) | 9.72 | 12.78 | 0.50 | 10.89 | 17.08 | 0.47 | 14.07 | 30.78 | 0.39 |
| LLift ( ) | 7.49 | 11.15 | 0.50 | 8.40 | 14.77 | 0.46 | 13.48 | 32.24 | 0.38 |
| LLift ( ) | 7.70 | 11.22 | 0.50 | 9.53 | 16.91 | 0.45 | 20.20 | 52.31 | 0.35 |
| Checkpoint | WT2 | C4 | Avg. | WT2 | C4 | Avg. | WT2 | C4 | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| Original | 14.21 | 28.97 | 0.52 | 31.79 | 89.05 | 0.38 | 239.87 | 896.79 | 0.31 |
| LLift ( ) | 17.95 | 37.03 | 0.54 | 21.09 | 54.99 | 0.47 | 32.40 | 120.76 | 0.37 |
| LLift ( ) | 13.95 | 29.55 | 0.55 | 17.85 | 46.78 | 0.47 | 44.60 | 173.05 | 0.34 |
| LLift ( ) | 12.66 | 26.23 | 0.54 | 18.76 | 51.12 | 0.43 | 93.18 | 434.36 | 0.32 |
| Preparation | WT2 | C4 | OBQA | ARC-e | ARC-c | WinoG | HellaS | PIQA | MathQA | Avg. | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| SVD-LLM deployment | |||||||||||
| Original | 0.8 | 8.03 | 13.89 | 0.23 | 0.62 | 0.31 | 0.63 | 0.39 | 0.69 | 0.23 | 0.44 |
| 0.6 | 14.27 | 35.03 | 0.24 | 0.53 | 0.26 | 0.57 | 0.34 | 0.64 | 0.22 | 0.40 | |
| 0.4 | 63.25 | 218.52 | 0.15 | 0.28 | 0.21 | 0.49 | 0.27 | 0.55 | 0.22 | 0.31 | |
| LLift (SVD-LLM) | 0.8 | 7.49 | 11.15 | 0.30 | 0.67 | 0.37 | 0.66 | 0.52 | 0.74 | 0.25 | 0.50 |
| 0.6 | 8.40 | 14.77 | 0.25 | 0.63 | 0.31 | 0.62 | 0.45 | 0.71 | 0.25 | 0.46 | |
| Metric | |||||
|---|---|---|---|---|---|
| WT2 PPL | |||||
| C4 PPL | |||||
| Avg. accuracy |
| Model | |||
|---|---|---|---|
| Original | 0.8818 | 0.9325 | 0.9633 |
| LLift | 0.8820 | 0.9327 | 0.9634 |
| Update | ||||||
|---|---|---|---|---|---|---|
| Full | 0.25 | |||||
| 0.5 | ||||||
| 1 | ||||||
| Target only | 1 | |||||
| Norm-matched random | 1 |
| Before FT Avg. | SVD-LLM + FT | LLift | |||||
|---|---|---|---|---|---|---|---|
| WT2 | C4 | Avg. | WT2 | C4 | Avg. | ||
| 0.8 | 0.38 | 7.62 | 12.01 | 0.50 | 7.49 | 11.15 | 0.50 |
| 0.6 | 0.35 | 9.54 | 15.78 | 0.46 | 8.40 | 14.77 | 0.46 |
| 0.4 | 0.31 | 15.19 | 26.79 | 0.39 | 13.48 | 32.24 | 0.38 |
| Method | WT2 | C4 | Avg. | WT2 | C4 | Avg. | WT2 | C4 | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| LLaMA-7B | |||||||||
| LLift | 7.49 | 11.15 | 0.50 | 8.40 | 14.77 | 0.46 | 13.48 | 32.24 | 0.38 |
| Recovery | 6.75 | 10.52 | 0.50 | 7.96 | 14.05 | 0.46 | 10.97 | 23.40 | 0.40 |
| Qwen3-8B | |||||||||
| LLift | 13.95 | 29.55 | 0.55 | 17.85 | 46.78 | 0.47 | 44.60 | 173.05 | 0.34 |
| Method | |||||
|---|---|---|---|---|---|
| LLift | 64.67 | 46.32 | 17.13 | 2.05 | 0.38 |
| Recovery, per-budget ( ) | 61.41 | — | 17.97 | — | 1.21 |
| Recovery, total ( ) | 60.65 | — | 13.65 | — | 1.44 |
| Recovery, total ( ) | 58.15 | 22.82 | 6.97 | 2.35 | 0.76 |
| Method | WT2 | C4 | Avg. | WT2 | C4 | Avg. | WT2 | C4 | Avg. |
|---|---|---|---|---|---|---|---|---|---|
| SVD-LLM | 14.06 | 37.63 | 0.49 | 28.96 | 136.92 | 0.35 | 186.53 | 1344.52 | 0.31 |
| ZS-SVD | 12.53 | 27.63 | 0.55 | 61.29 | 213.74 | 0.40 | 165.57 | 720.59 | 0.31 |
| Swift-SVD ∗ | 23.57 | 21.97 | 0.53 | 66.82 | 41.62 | 0.43 | 301.21 | 130.99 | 0.33 |
| LEMS | 10.26 | 18.01 | 0.56 | 15.04 | 54.35 | 0.43 | 40.48 | 222.46 | 0.33 |
| LLift + SVD-LLM | 13.95 | 29.55 | 0.55 | 17.85 | 46.78 | 0.47 | 44.60 | 173.05 | 0.34 |
| WT2 PPL | C4 PPL | Avg. | |||||
|---|---|---|---|---|---|---|---|
| Calibration | Original | LLift | Original | LLift | Original | LLift | |
| 0.8 | WT2 | 7.90 | 7.14 | 15.85 | 11.46 | 0.38 | 0.50 |
| C4 | 12.01 | 12.02 | 12.01 | 10.66 | 0.46 | 0.49 | |
| mix75 | 8.03 | 7.49 | 13.89 | 11.15 | 0.44 | 0.50 | |
| 0.6 | WT2 | 13.65 | 7.88 | 54.06 | 16.08 | 0.36 | 0.45 |
| C4 | 40.49 | 20.67 | 25.17 | 14.61 | 0.38 | 0.45 | |
| Budget | Model | Exposure (M) | WT2 PPL | C4 PPL | Avg. |
|---|---|---|---|---|---|
| Dense | Original | — | 5.68 | 7.34 | 0.54 |
| CE fine-tuning | 0.79 | 5.27 | 7.72 | 0.54 | |
| Prehab (reimpl.) | 0.79 | 5.22 | 7.82 | 0.35 | |
| LLift | 0.79 | 8.04 | 8.13 | 0.54 | |
| LLift | 11.53 | 7.38 | 8.23 | 0.54 | |
| Original | — | 8.03 | 13.89 | 0.44 |
| Budget | Preparation | Deployment | WT2 PPL | C4 PPL | Avg. |
|---|---|---|---|---|---|
| Dense | Original | — | 5.68 | 7.34 | 0.54 |
| Decomposable-Net | — | 9.44 | 23.14 | 0.51 | |
| LLift | — | 7.38 | 8.23 | 0.54 | |
| Original | D-Net | 9682.78 | 10689.00 | 0.30 | |
| Original | SVD-LLM | 8.03 | 13.89 | 0.44 | |
| Decomposable-Net | D-Net | 9.06 | 33.83 | 0.45 |
| Model | Whitening | Bases | Optimization | Merge | Subtotal |
|---|---|---|---|---|---|
| LLaMA-7B | 0.40 | 0.09 | 1.56 | 0.02 | 2.07 |
| Qwen3-8B | 0.55 | 0.10 | 1.75 | 0.01 | 2.42 |
| Gemma-2-9B | 0.87 | 0.15 | 1.43 | 0.01 | 2.47 |
| LLaMA-13B | 3.97 | 0.15 | 4.97 | 0.02 | 9.11 |
| LLaMA-30B | 11.48 | 0.55 | 8.17 | 0.05 | 20.25 |
| Model | Steps | Time (s) | Positions/s/GPU | Peak (GiB) | CPU offload |
|---|---|---|---|---|---|
| LLaMA-7B | 176 | 1405.4 | 2045 | 32.18 | No |
| Qwen3-8B | 156 | 1573.2 | 1601 | 47.74 | No |
| Gemma-2-9B | 152 | 1289.1 | 1887 | 60.67 | No |
| LLaMA-13B | 176 | 4472.4 | 643 | 42.89 | Yes |
| LLaMA-30B | 176 | 7350.2 | 391 | 41.12 | Yes |
| Method | Training runs | Positions (M) | Optimization | Pipeline |
|---|---|---|---|---|
| LLift | 1 | 11.50 | 1.55 | 3.13 |
| Recovery | 3 | 34.50 | 4.00 | 5.10 |
| Model | Budget | Memory (GiB) | Prefill (ms) | Decode (tokens/s) | |||
|---|---|---|---|---|---|---|---|
| Weights | Peak | ||||||
| LLaMA-7B | Dense | 12.55 | 16.73 | 157 | 40.4 | 624.8 | 2505.5 |
| 0.8 | 10.14 | 14.32 | 210 | 31.7 | 456.2 | 1831.6 | |
| 0.6 | 7.72 | 11.91 | 264 | 31.3 | 459.9 | 1728.4 | |
| 0.4 | 5.31 | 9.50 | 173 | 30.6 | 459.8 | 1860.1 | |
| Qwen3-8B | Dense | 15.26 | 16.62 | 183 | 26.5 | 419.0 | 1689.2 |
| Method | |||
|---|---|---|---|
| SVD-LLM | 24.94 | 0.00 | 0.00 |
| ZS-SVD | 13.19 | 0.00 | 0.00 |
| LLift | 64.67 | 17.13 | 0.38 |
LLM Compression
Large language model compression reduces the memory, compute, and context costs of LLMs while aiming to preserve their capabilities.
See all 307 papers