WIDE: Boosting Adaptive LLM Inference via Token-level Dynamic Width Pruning
Haozhe Hu, Hao Wu, Peiran Yin, Chao Han, Yunpu Ma, Xiaoyu Shen
cs.AI, cs.CL, cs.LG
Submitted: 2026-07-30
Comments: 30 pages, 19 figures
Code: https://github.com/EIT-NLP/LLM-Pruning
License: http://creativecommons.org/licenses/by/4.0/
The gist: Pruning is a promising approach for improving the efficiency of LLMs.
Terminology
Abstract
Pruning is a promising approach for improving the efficiency of LLMs. Existing static structured pruning methods are hardware-friendly and can deliver practical throughput gains, but their input-agnostic computation allocation often causes substantial accuracy degradation under aggressive sparsity. Recent dynamic sparsity methods improve quality retention by adapting computation to individual inputs, yet they remain largely limited to coarse-grained structural decisions and their practical acceleration under real-world inference scenarios remains challenging. To address these challenges, we present WIDE, the first end-to-end differentiable token-level dynamic width pruning framework designed for both prefill and decode scenarios. WIDE enables fine-grained computation allocation by allowing each token to dynamically select attention-head groups and FFN-channel groups, extending dynamic pruning beyond layer-level decisions to neuron-block-level granularity. Through a two-stage training pipeline, WIDE learns effective token-wise sparse execution patterns and achieves substantially better quality retention than existing approaches. To make such fine-grained dynamic pruning practical, we further propose a pruning--kernel co-design framework that decomposes dynamic sparsity acceleration into mask reordering, hardware-agnostic block-level skipping, and hardware-dependent intra-block skipping, enabling efficient execution across different granularities. At 50% sparsity, WIDE provides 55.1% performance boost when compared to the state-of-the-art dynamic depth pruning under calibration-only settings. Under prefill and decoding inference workloads, WIDE achieves close-to-theoretical kernel-level speedups of up to 1.98x for prefill and 4.95x for decoding, as well as 1.68x and 1.55x end-to-end acceleration. Our code is available at https://github.com/EIT-NLP/LLM-Pruning/tree/main/WIDE.
Sources
- AVO: Agentic Variation Operators for Autonomous Evolutionary Search
- A Survey on Deep Neural Network Pruning-Taxonomy, Comparison, Analysis, and Recommendations
- ELANA: A Simple Energy and Latency Analyzer for LLMs
- BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questions
- Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
- CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation
- Fast Forward: Accelerating LLM Prefill with Predictive FFN Sparsity
- The Llama 3 Herd of Models
- Informed Routing in LLMs: Smarter Token-Level Computation for Faster Inference
- What Matters in Transformers? Not All Attention is Needed
- SkipOPU: An FPGA-based Overlay Processor for Large Language Models with Dynamically Allocated Computation
- Beyond FLOPs: Benchmarking Real Inference Acceleration of LLM Pruning under a GEMM-Centric Taxonomy
- Deterministic Differentiable Structured Pruning for Large Language Models
- Shortened LLaMA: Depth Pruning for Large Language Models with Comparison of Retraining Methods
- Efficient Memory Management for Large Language Model Serving with PagedAttention
- Pointer Sentinel Mixture Models
- Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answering
- Mixture-of-Depths: Dynamically allocating compute in transformer-based language models
- Kimi K2.5: Visual Agentic Intelligence
- UTPTrack: Towards Simple and Unified Token Pruning for Visual Tracking
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems