Change Is the Only Constant: Dynamic LLM Slicing based on Layer Redundancy
Not on the map. Why?
Abstract (arXiv)
This paper introduces a novel model compression approach through dynamic layer-specific pruning in Large Language Models (LLMs), enhancing the traditional methodology established by SliceGPT. By transitioning from constant to dynamic slicing, our method leverages the newly proposed Layer Redundancy (LR) score, which assesses how much change each layer changes its input by measuring the cosine similarity of the input to the output of the layer. We use this score to prune parts of individual layers based on redundancy in such a way that the average pruned percentage for all layers is a fixed value. We conducted extensive experiments using models like Llama3-8B and Mistral-7B on multiple datasets, evaluating different slicing bases and percentages to determine optimal configurations that balance efficiency and performance. Our findings show that our dynamic slicing approach not only maintains but, in many cases, enhances model performance compared to the baseline established by constant slicing methods. For instance, in several settings, we see performance improvements of up to 5% over the SliceGPT baseline. Additionally, a perplexity decrease by as much as 7% was observed across multiple benchmarks, validating the effectiveness of our method. The code, model weights, and datasets are open-sourced at https://github.com/RazvanDu/DynamicSlicing.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 5 Nov 2024.
Builds on
17 of 27 references.
References · 17
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 378
5 more
- 2024The Era of 1-bit LLMs: All Large Language Models are in 1.58 Bitscited by 289
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
- 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 124
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2024Capabilities of Large Language Models in Control Engineering: A Benchmark Study on GPT-4, Claude 3 Opus, and Gemini 1.0 Ultracited by 36
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 2.
8 papers.
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoningcited by 15
- 2024More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compressioncited by 10
- 2025Progressive Binarization with Semi-Structured Pruning for LLMscited by 5
- 2025ImPart: Importance-Aware Delta-Sparsification for Improved Model Compression and Merging in LLMscited by 5
- 2024LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deploymentcited by 4
- 2026How Does Reasoning Flow? Tracing Attention-Induced Information Flow for Targeted RL in LLMscited by 3
- 2025IteRABRe: Iterative Recovery-Aided Block Reductioncited by 1
- 2026Beyond Single-Dimensional Compression: The Compound Sparsity Frontier of Large Language Modelscited by 0
- 2026Beyond Single-Dimensional Compression: The Compound Sparsity Frontier of Large Language Models29 Jun 2026
- 2026How Does Reasoning Flow? Tracing Attention-Induced Information Flow for Targeted RL in LLMs9 Jun 2026
- 2025Demystifying the Roles of LLM Layers in Retrieval, Knowledge, and Reasoning2 Oct 2025
- 2025ImPart: Importance-Aware Delta-Sparsification for Improved Model Compression and Merging in LLMs17 Apr 2025
- 2025IteRABRe: Iterative Recovery-Aided Block Reduction8 Mar 2025
- 2025Progressive Binarization with Semi-Structured Pruning for LLMs3 Feb 2025
- 2024LSAQ: Layer-Specific Adaptive Quantization for Large Language Model Deployment24 Dec 2024
- 2024More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression17 Dec 2024