Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inference
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Deploying pre-trained transformer models like BERT on downstream tasks in resource-constrained scenarios is challenging due to their high inference cost, which grows rapidly with input sequence length. In this work, we propose a constraint-aware and ranking-distilled token pruning method ToP, which selectively removes unnecessary tokens as input sequence passes through layers, allowing the model to improve online inference speed while preserving accuracy. ToP overcomes the limitation of inaccurate token importance ranking in the conventional self-attention mechanism through a ranking-distilled token distillation technique, which distills effective token rankings from the final layer of unpruned models to early layers of pruned models. Then, ToP introduces a coarse-to-fine pruning approach that automatically selects the optimal subset of transformer layers and optimizes token pruning decisions within these layers through improved L0 regularization. Extensive experiments on GLUE benchmark and SQuAD tasks demonstrate that ToP outperforms state-of-the-art token pruning and model compression methods with improved accuracy and speedups. ToP reduces the average FLOPs of BERT by 8.1x while achieving competitive accuracy on GLUE, and provides a real latency speedup of up to 7.4x on an Intel CPU.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 37 of its 41 references that are in the map. First posted on arXiv 26 Jun 2023.
Builds on
37 of 41 references.
Closest ancestors · 1
Same direction, newest first
Other references · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2016Layer Normalizationcited by 5,669
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
24 more
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
- 2019Structured Pruning of Large Language Modelscited by 203
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
- 2021Block Pruning For Faster Transformerscited by 177
- 2022Structured Pruning Learns Compact and Accurate Modelscited by 170
- 2021Learned Token Pruning for Transformerscited by 139
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
- 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
- 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 56
- 2022Transkimmer: Transformer Learns to Layer-wise Skimcited by 24
- 2021Quantization of Deep Neural Networks for Accurate Edge Computingcited by 13
- 2022SwiftPruner: Reinforced Evolutionary Pruning for Efficient Ad Relevancecited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 1; 2026: 2.
6 papers.
- 2023Compresso: Structured Pruning with Collaborative Prompting Learns Compact Large Language Modelscited by 19
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Modelscited by 1
- 2024Exploring The Neural Burden In Pruned Models: An Insight Inspired By Neurosciencecited by 0
- 2026Lightweight Vision Transformer Compression for On-Device Plant Disease Detection in Resource-Constrained Agricultural Field Conditionscited by 0
- 2026Predictive Geometry of Hidden Trajectories in Transformerscited by 0
- 2026Predictive Geometry of Hidden Trajectories in Transformers29 Sep 2026
- 2026Lightweight Vision Transformer Compression for On-Device Plant Disease Detection in Resource-Constrained Agricultural Field Conditions4 Sep 2026
- 2025Learning What to Remember: Adaptive Probabilistic Memory Retention for Memory-Efficient Language Models9 Oct 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024Exploring The Neural Burden In Pruned Models: An Insight Inspired By Neuroscience23 Jul 2024
- 2023Compresso: Structured Pruning with Collaborative Prompting Learns Compact Large Language Models8 Oct 2023
Similar, not cited
Close in wording, no citation either way
- 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models
- 2021Greedy-layer Pruning: Speeding up Transformer Models for Natural Language Processing
- 2022Token Dropping for Efficient BERT Pretraining
- 2024Focus on the Core: Efficient Attention via Pruned Token Compression for Document Classification
- 2023Zero-TPrune: Zero-Shot Token Pruning through Leveraging of the Attention Graph in Pre-Trained Transformers
- 2021Magic Pyramid: Accelerating Inference with Early Exiting and Token Pruning
- 2026R'enyi Entropy: A New Token Pruning Metric for Vision Transformers
- 2021Prune Once for All: Sparse Pre-Trained Language Models