TrimLLM: Progressive Layer Dropping for Domain-Specific LLMs
On the map: Efficient LLM inference and serving → Serving systems and request scheduling
Abstract (arXiv)
Specializing large language models (LLMs) for local deployment in domain-specific use cases is necessary for strong performance while meeting latency and privacy constraints. However, conventional task-specific adaptation approaches do not show simultaneous memory saving and inference speedup at deployment time. Practical compression techniques like quantization and pruning require dedicated hardware or kernel support to achieve measured inference speedup. We develop TrimLLM based on the layer-wise specialization phenomenon we empirically observed and verified on contemporary LLMs. TrimLLM reduces the depth of LLMs via progressive layer dropping. We show it retains LLMs' capacity in specific domains and achieves inference speedup irrespective of hardware and deep learning frameworks. We evaluated TrimLLM on LLMs of various sizes for inference; models adapted on medical, legal, and financial datasets all demonstrate 2.1-5.7× inference speedup on consumer GPUs and up to 3.1× speedup on A100 when compared to state-of-the-art model compression algorithms, with no loss in accuracy at 50~60% model compression ratio.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 24 of its 35 references that are in the map. First posted on arXiv 15 Dec 2024.
Builds on
24 of 35 references.
References · 24
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,090
- 2022Mass-Editing Memory in a Transformercited by 976
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
12 more
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 658
- 2023The Internal State of an LLM Knows When It's Lyingcited by 644
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 378
- 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 359
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2023PMET: Precise Model Editing in a Transformercited by 170
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 161
- 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
- 2023DISC-LawLLM: Fine-tuning Large Language Models for Intelligent Legal Servicescited by 117
- 2020Accelerating Training of Transformer-Based Language Models with Progressive Layer Droppingcited by 93
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025Optimizing LLMs for Resource-Constrained Environments: A Survey of Model Compression Techniques
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights
- 2025Optimal Singular Damage: Efficient LLM Inference in Low Storage Regimes
- 2023Efficient LLM Inference on CPUs
- 2023Just CHOP: Embarrassingly Simple LLM Compression
- 2025Huff-LLM: End-to-End Lossless Compression for Efficient LLM Inference
- 2025PrefillOnly: An Inference Engine for Prefill-only Workloads in Large Language Model Applications
- 2024Search for Efficient Large Language Models