Skip to content
简体中文

切换主题

arXiv 2610.26754 · cs.CL · 2026-10-19

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

Liana Patel, Rishabh Ranjan, Ion Stoica, Matei Zaharia, Carlos Guestrin

机构待核实

新论文

一句话要点

TokenGate通过学习性token剪枝机制,在不降低准确率的前提下,显著提升长上下文输入的预填充速度和内存效率,性能优于现有方法。

TokenGate enables fast, memory-efficient prefill via learnable token pruning without accuracy loss, outperforming prior methods.

要点

  • 长上下文输入下,传统语言模型需处理所有token导致计算和内存开销大,存在效率瓶颈。
  • TokenGate引入基于重要性评分的门控注意力机制,动态筛选关键token进行处理,实现端到端可学习的剪枝。
  • 在多种任务中,TokenGate将预填充时间提升1.4至11.3倍,峰值内存降低1.5至3.4倍,且准确率无下降。
  • 该方法轻量级、兼容性强,可直接部署于Qwen3等标准和混合注意力模型上,无需复杂修改。
English overview

TokenGate proposes a lightweight, drop-in module that enables end-to-end learnable token pruning in LLMs during prefill. By introducing token-gated attention, it dynamically reweights attention logits based on token importance, reducing computational and memory costs for long-context inputs without accuracy loss. It outperforms prior methods in both speed and memory efficiency across diverse tasks.

只根据 arXiv 官方摘要,由开源模型整理,经数字/专名自动核对(必须在摘要中出现),以论文原文为准。

10HF 点赞
–GitHub stars
–引用(Semantic Scholar)
–热度分

阅读 arXiv 原文 PDF Hugging Face 讨论

相关论文

数据说明

元数据来自 arXiv API(已核实);点赞来自 Hugging Face 每日论文;引用来自 Semantic Scholar。最近刷新 2026-10-19。

要点由本站根据摘要自写,不转载摘要原文,请阅读原文。

数据更新于:最新 AI 论文(北京时间)