mlsanityData to 24 Nov 2026

TokenGate: Adapting LLMs for Fast and Memory-Efficient Prefill with Learned Token Pruning

arXiv 2610.26754 ↗Submitted 19 Oct 2026cs.CL cs.AIcited by 1

On the map: Efficient LLM inference and serving → Visual token pruning in multimodal models also fits: Prompt and context compression

Abstract (arXiv)

Expert human readers process large inputs (e.g., code repositories and long documents) by skimming to closely read only what matters. On the other hand, language models process all input tokens through each model layer, resulting in significant processing costs for long-context inputs. We introduce TokenGate, a small, drop-in component that extends existing trained models to enable end-to-end learnable token pruning over long-context inputs for fast and memory-efficient prefill. To enable end-to-end learning despite the non-differentiable top-K operator for token pruning, we introduce token-gated attention, a mechanism inspired by Mixture-of-Experts that re-weights attention logits using token importance scores. Across diverse tasks, TokenGate achieves 1.4-11.3× faster time-to-first token (TTFT) and 1.5-3.4× lower peak memory at no accuracy degradation for prefill in transformers. Compared to the best-performing prior methods for token-pruning, TokenGate gives up to 6.4× faster prefill and 2× lower peak memory. TokenGate natively extends both standard transformers (e.g., Qwen3) and hybrid-attention models (e.g., Qwen3.5) with simple lightweight adaptation comparable to standard parameter-efficient fine-tuning. We make our code available at: https://github.com/tokengate-models/TokenGate.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in Visual token pruning in multimodal models, one of 12 directions in Efficient LLM inference and serving. Builds on 51 of its 61 references that are in the map. Submitted 19 Oct 2026.

Builds on

51 of 61 references.

References · 51

  1. 2017Attention Is All You Needcited by 62,125
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  3. 2025Qwen3 Technical Reportcited by 9,994
  4. 2017On Calibration of Modern Neural Networkscited by 5,356
  5. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
  6. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
  7. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
  8. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
  9. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
  11. 2019Root Mean Square Layer Normalizationcited by 1,624
  12. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
38 more
  1. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,479
  2. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,392
  3. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
  4. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 915
  5. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  6. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 578
  7. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 502
  8. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 479
  9. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
  10. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 455
  11. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 448
  12. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
  13. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 415
  14. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 384
  15. 2024LayerSkip: Enabling Early Exit Inference and Self-Speculative Decodingcited by 354
  16. 2022Confident Adaptive Language Modelingcited by 348
  17. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 328
  18. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 294
  19. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 241
  20. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 232
  21. 2024Flex Attention: A Programming Model for Generating Optimized Attention Kernelscited by 206
  22. 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 189
  23. 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inferencecited by 156
  24. 2021Learned Token Pruning for Transformerscited by 144
  25. 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 143
  26. 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 142
  27. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 116
  28. 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 91
  29. 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 80
  30. 2025Scalable-Softmax Is Superior for Attentioncited by 58
  31. 2024Discovering the Gems in Early Layers: Accelerating Long-Context LLMs with 1000x Input Token Reductioncited by 49
  32. 2025FastKV: Decoupling of Context Reduction and KV Cache Compression for Prefill-Decoding Accelerationcited by 18
  33. 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruningcited by 16
  34. 2023BioDEX: Large-Scale Biomedical Adverse Drug Event Extraction for Real-World Pharmacovigilancecited by 13
  35. 2024Router-Tuning: A Simple and Effective Approach for Enabling Dynamic-Depth in Transformerscited by 12
  36. 2024Post-Hoc Reversal: Are We Selecting Models Prematurely?cited by 10
  37. 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 5
  38. 2025PromptDistill: Query-based Selective Token Retention in Intermediate Layers for Efficient Large Language Model Inferencecited by 2

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Capturing Token Tendencies for Training-Free Token Pruning in Multimodal Large Language Models
  2. 2024Focus on the Core: Efficient Attention via Pruned Token Compression for Document Classification
  3. 2025ZeroTuning: Unlocking the Initial Token's Power to Enhance Large Language Models Without Training
  4. 2026SpotAttention: Plug-In Block-Sparse Routing for Pretrained Long-Context Transformers
  5. 2025Saliency-driven Dynamic Token Pruning for Large Language Models
  6. 2025Token Pruning in Multimodal Large Language Models: Are We Solving the Right Problem?
  7. 2026FASA: Frequency-aware Sparse Attention
  8. 2026Unlearning What Matters: Token-Level Attribution for Precise Language Model Unlearning