Why Smaller Is Slower? Dimensional Misalignment in Compressed LLMs
Organizations: KAUST · HUMAIN
Abstract
Post-training compression reduces LLM parameter counts but often produces irregular tensor dimensions that degrade GPU performance -- a phenomenon we call dimensional misalignment. We present a full-stack analysis tracing root causes at three levels: framework, library, and hardware. The key insight is that model inference becomes slower because the resulting dimensions are unfriendly with the GPU execution stack. For example, compressing Llama-3-8B with activation-aware singular value decomposition (ASVD) has 15% fewer parameters yet runs no faster than the uncompressed baseline, because 95% of its dimensions are misaligned. We propose GAC (GPU-Aligned Compression), a new compression paradigm that wraps any dimension-reducing compressor and re-selects hardware-aligned dimensions via multi-choice knapsack optimization under the same parameter budget. We evaluate GAC on Llama-3-8B with ASVD and LLM-Pruner, achieving 100% alignment and recovering up to 1.5 speedup while preserving model quality.
Figures & tables
| Method | Score | Works |
|---|---|---|
| Magnitude | SVD-LLM ( Wang et al., 2025 ) | |
| Activation | ASVD ( Yuan et al., 2025 ) | |
| Gradient | Taylor Pruning ( Molchanov et al., 2019 ) | |
| Fisher | PaLU ( Chang et al., 2025 ) |
| Region | Template | Latency | vs. | |
|---|---|---|---|---|
| 64 | 128 128 | 0.74 ms | 1.0 | |
| 96 | 128 64 | 1.12 ms | 1.5 | |
| 128 | 128 64 | 1.47 ms | 2.0 | |
| 160 | 128 32 | 2.00 ms | 2.7 | |
| 192–256 | 128 32 | 2.3–2.9 ms | 3–4 |
| Tier | Condition | Kernel | MMA Instr. |
|---|---|---|---|
| 1 | cuBLAS-native sm80 | mma.m16n8k16 | |
| 2 | CUTLASS sm80 align2 | mma.m16n8k16 | |
| 3 | odd | CUTLASS sm75 align1 | mma.m16n8k8 |
| Level | Mechanism | Constraint | Penalty |
|---|---|---|---|
| Framework | SDPA backend | % | 90% |
| Framework | FA2 template | % | 30% |
| Library | cuBLAS GEMM | / % | 30% |
| Library | cuBLAS GEMV | % | 12% |
| Hardware | TC MMA | % , % | 70% |
| Hardware | L2 sectors | % | 50% |
| Method | Align | PPL | PiQA | HSwag | Latency (ms) |
|---|---|---|---|---|---|
| Baseline | 100% | 6.14 | 0.80 | 0.50 | 99.6 |
| ASVD | 5% | 34.7 | 0.58 | 0.28 | 100.5 (+1%) |
| ASVD (GAC) | 100% | 31.3 | 0.57 | 0.26 | 67.1 ( 33%) |
| LLM-Pruner | 83% | 9.88 | 0.80 | 0.49 | 137.7 (+38%) |
| LLM-Pruner (GAC) | 100% | 9.87 | 0.78 | 0.47 | 88.0 ( 12%) |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Model Compression
Model compression reduces the storage, computation, or latency of machine-learning models while preserving task performance.
See all 122 papers