ResearchResearch paperLarge Language Models · Training & Scaling2 sources · Oct 19, 2026

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

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.

Key points

  • Expert human readers process large inputs (e.g., code repositories and long documents) by skimming to closely read only what matters.
  • 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.3times faster time-to-first token (TTFT) and 1.5-3.4times lower peak memory at no accuracy degradation for prefill in transformers.
  • 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.

Sources (2)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 17, 2026deepseek-ai/DeepSeek-V4.1-Flash-1017
  2. Oct 17, 2026Nemotron 3.5 Bolt, Muse Spark Open, and a Fast LFM2.5 24B
  3. Oct 16, 2026Hugging Face ❤️ TorchTPU: TPUs, Natively
  4. Oct 16, 2026[Research] 2,788 tokens/s on a single RTX 5090 with a diffusion LLM — Introducing ORL (fully open source)
  5. Oct 16, 2026Welcome Beam: a 501B open model you can own, customize, and scale
  6. Oct 16, 2026Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design

Related