FTP: A Fine-grained Token-wise Pruner for Large Language Models via Token Routing
Not on the map. Why?
Abstract (arXiv)
Recently, large language models (LLMs) have demonstrated superior performance across various tasks by adhering to scaling laws, which significantly increase model size. However, the huge computation overhead during inference hinders the deployment in industrial applications. Many works leverage traditional compression approaches to boost model inference, but these always introduce additional training costs to restore the performance and the pruning results typically show noticeable performance drops compared to the original model when aiming for a specific level of acceleration. To address these issues, we propose a fine-grained token-wise pruning approach for the LLMs, which presents a learnable router to adaptively identify the less important tokens and skip them across model blocks to reduce computational cost during inference. To construct the router efficiently, we present a search-based sparsity scheduler for pruning sparsity allocation, a trainable router combined with our proposed four low-dimensional factors as input and three proposed losses. We conduct extensive experiments across different benchmarks on different LLMs to demonstrate the superiority of our method. Our approach achieves state-of-the-art (SOTA) pruning results, surpassing other existing pruning methods. For instance, our method outperforms BlockPruner and ShortGPT by approximately 10 points on both LLaMA2-7B and Qwen1.5-7B in accuracy retention at comparable token sparsity levels.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 27 of its 45 references that are in the map. First posted on arXiv 16 Dec 2024.
Builds on
27 of 45 references.
References · 27
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023Qwen Technical Reportcited by 3,344
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2023A Survey of Large Language Modelscited by 2,576
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
- 2024Large Language Models: A Surveycited by 525
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 415
15 more
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 385
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
- 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 258
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
- 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 126
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 64
- 2023Did You Read the Instructions? Rethinking the Effectiveness of Task Definitions in Instruction Learningcited by 41
- 2022In-context Learning Distillation: Transferring Few-shot Learning Ability of Pre-trained Language Modelscited by 37
- 2024BlockPruner: Fine-grained Pruning for Large Language Modelscited by 36
- 2023Weight subcloning: direct initialization of transformers using larger pretrained onescited by 30
- 2024APT: Adaptive Pruning and Tuning Pretrained Language Models for Efficient Training and Inferencecited by 29
- 2021Anytime Dense Prediction with Confidence Adaptivitycited by 18
- 2024ShadowLLM: Predictor-based Contextual Sparsity for Large Language Modelscited by 13
- 2024FoldGPT: Simple and Effective Large Language Model Compression Schemecited by 9
Built on by
Not cited yet.