mlsanityData to 14 Oct 2026

Constraint-aware and Ranking-distilled Token Pruning for Efficient Transformer Inference

arXiv 2306.14393 ↗First posted 26 Jun 2023cs.CLcited by 6

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

  1. 2021TR-BERT: Dynamic Token Reduction for Accelerating BERT Inference25 May

Other references · 36

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  5. 2016Layer Normalizationcited by 5,669
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  8. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  9. 2020Longformer: The Long-Document Transformercited by 3,413
  10. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  11. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
24 more
  1. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  2. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  3. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  4. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  5. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
  6. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  7. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 583
  8. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
  9. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 403
  10. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  11. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  12. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 234
  13. 2019Structured Pruning of Large Language Modelscited by 203
  14. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
  15. 2021Block Pruning For Faster Transformerscited by 177
  16. 2022Structured Pruning Learns Compact and Accurate Modelscited by 170
  17. 2021Learned Token Pruning for Transformerscited by 139
  18. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  19. 2019Well-Read Students Learn Better: On the Importance of Pre-training Compact Modelscited by 120
  20. 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
  21. 2021NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Searchcited by 56
  22. 2022Transkimmer: Transformer Learns to Layer-wise Skimcited by 24
  23. 2021Quantization of Deep Neural Networks for Accurate Edge Computingcited by 13
  24. 2022SwiftPruner: Reinforced Evolutionary Pruning for Efficient Ad Relevancecited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 1; 2026: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Models
  2. 2021Greedy-layer Pruning: Speeding up Transformer Models for Natural Language Processing
  3. 2022Token Dropping for Efficient BERT Pretraining
  4. 2024Focus on the Core: Efficient Attention via Pruned Token Compression for Document Classification
  5. 2023Zero-TPrune: Zero-Shot Token Pruning through Leveraging of the Attention Graph in Pre-Trained Transformers
  6. 2021Magic Pyramid: Accelerating Inference with Early Exiting and Token Pruning
  7. 2026R'enyi Entropy: A New Token Pruning Metric for Vision Transformers
  8. 2021Prune Once for All: Sparse Pre-Trained Language Models