Research map / Architectures and efficiency / Quantization
TrimLLM: Progressive Layer Dropping for Domain-Specific LLMs
Lanxiang Hu, Tajana Rosing, Hao Zhang
University of California, San Diego
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- PIQA leaderboard accuracy 81.8 · rank 28 of 105 papers
- MedMCQA leaderboard accuracy 56.9 · rank 32 of 44 papers
- SciQ leaderboard accuracy 94.2 · rank 4 of 32 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| combine calibration scanning with activation-norm tie breaker for layer selection (ablation) | TrimLLM LLaMA-7B (r=1/4) · MedMCQA | accuracy: 52.4 (calibration only) -> 53.1 | Improved |
| use calibration scanning instead of activation-norm only (ablation) | TrimLLM LLaMA-7B · MedMCQA / memory | accuracy and final memory: 51.5 -> 52.4; memory >=85% -> >=55% | Improved |
| use learned layer scoring instead of rule-based random 50% layers (ablation) | TrimLLM LLaMA-7B · MedMCQA | accuracy: 35.0 -> 53.1 | Improved |
| sparse update ratio r=1/4 instead of updating all layers (r=1) (ablation) | TrimLLM LLaMA-7B · LLaMA-7B QA (both strategy) | accuracy and memory: FinanceQA 43.3 -> 43.6; memory >=70% -> >=50% | Improved |
| progressively drop more layers (50% -> 30% size) | TrimLLM LLaMA-7B · MedMCQA | accuracy: 53.1 -> 45.8 | Hurt |
| sparse fine-tuning instead of full fine-tuning (ablation) | LLaMA-7B · FinanceQA | accuracy: 45.1 -> 46.9 | Improved |
| specialize on one domain then test on unrelated domain | TrimLLM LLaMA-7B (40%) · MedMCQA-specialized on LexGLUE | accuracy: 32.1 -> 12.4 | Hurt |
| test specialized model on similar domain benchmark | TrimLLM LLaMA-7B (40%) · MedMCQA-specialized on PubMedQA | accuracy: 5.2 -> 58.9 | Improved |
| apply AWQ-int4 on top of TrimLLM | TrimLLM LLaMA-7B · SciQ | accuracy and throughput: SciQ 94.2 -> 91.5; throughput 103.1 -> 188.7 | Mixed |
| apply TrimLLM to OPT models | TrimLLM (50%) OPT-6.7B · SciQ | accuracy: 95.3 (Full-FT) -> 88.5 | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- SparseGPT (2:4) — SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot (ICML 2023) · better on 5 of 5 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in KV cache quantization
Which KV cache and weight compression methods hold up on larger models, new architectures and real serving?
- Offline calibration adds setup cost and may not match deployment data. · 14 papers state it
- Larger models are untested, so results stop at small and mid-size LLMs. · 12 papers state it
- Speed gains shrink at small batch sizes or in prefill. · 10 papers state it
Closest papers by meaning
- Search for Efficient Large Language Models (NeurIPS 2024 · similarity 0.90)
- SqueezeLLM: Dense-and-Sparse Quantization (ICML 2024 · similarity 0.90)
- Any-Precision LLM: Low-Cost Deployment of Multiple, Different-Sized LLMs (ICML 2024 · similarity 0.89)
- Benchmarking Optimizers for Large Language Model Pretraining (NeurIPS 2026 · similarity 0.89)
- SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compression (ICLR 2024 · similarity 0.89)
- SparseLLM: Towards Global Pruning of Pre-trained Language Models (NeurIPS 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.