paper-with-me

Papers

TokenButler: Token Importance is Predictable

2025-03-10 · Yash Akhauri, Ahmed F AbouElhamayed, YiFei Gao, Chi-Chih Chang, Nilesh Jain, Mohamed S. Abdelfattah

Large Language Models (LLMs) rely on the Key-Value (KV) Cache to store token history, enabling efficient decoding of tokens. As the KV-Cache grows, it becomes a major memory and computation bottleneck, however, there is an opportunity to alleviate this bottleneck, especially because prior research has shown that only a small subset of tokens contribute meaningfully to each decoding step. A key challenge in finding these critical tokens is that they are dynamic, and heavily input query-dependent. Existing methods either risk quality by evicting tokens permanently, or retain the full KV-Cache but rely on retrieving chunks (pages) of tokens at generation, failing at dense, context-rich tasks. Additionally, many existing KV-Cache sparsity methods rely on inaccurate proxies for token importance. To address these limitations, we introduce TokenButler, a high-granularity, query-aware predictor that learns to identify these critical tokens. By training a light-weight predictor with less than 1.2% parameter overhead, TokenButler prioritizes tokens based on their contextual, predicted importance. This improves perplexity & downstream accuracy by over 8% relative to SoTA methods for estimating token importance. We evaluate TokenButler on a novel synthetic small-context co-referential retrieval task, demonstrating near-oracle accuracy. Code, models and benchmarks: https://github.com/abdelfattah-lab/TokenButler

📄 PDF Abstract BibTeX arXiv:2503.07518

Code (1)

abdelfattah-lab/tokenbutler 공식 구현 pytorch

Similar Papers 제목 키워드 기반

GIFT: Guided Importance-Aware Fine-Tuning for Diffusion Language Models

2025-09-25 · Guowei Xu, Wenxin Xu, Jiawang Zhao, Kaisheng Ma arxiv

Diffusion models have recently shown strong potential in language modeling, offering faster generation compared to traditional autoregressive approaches. However, applying supervised fine-tuning (SFT) to diffusion models…

LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning

2025-06-19 · Haoyue Zhang, Hualei Zhang, Xiaosong Ma, Jie Zhang 외

Large Language Models (LLMs) exhibit enhanced reasoning capabilities by employing Chain-of-Thought (CoT). However, the extended reasoning sequences introduce significant GPU memory overhead due to increased key-value (KV…

GPU

Forget What Matters, Keep the Rest: Selective Unlearning of Informative Tokens

2026-04-20 · Seunghee Koh, Sunghyun Baek, Youngdong Kim, Junmo Kim arxiv

Unlearning in large language models (LLMs) has emerged as a promising safeguard against adversarial behaviors. When the forgetting loss is applied uniformly without considering token-level semantic importance, model util…

UHR-BAT: Budget-Aware Token Compression Vision-Language model for Ultra-High-Resolution Remote Sensing

2026-04-15 · Yunkai Dang, Minxin Dai, Yuekun Yang, Zhangnan Li 외 arxiv

Ultra-high-resolution (UHR) remote sensing imagery couples kilometer-scale context with query-critical evidence that may occupy only a few pixels. Such vast spatial scale leads to a quadratic explosion of visual tokens a…

Continuous Prompt Generation from Linear Combination of Discrete Prompt Embeddings

2023-12-16 · Pascal Passigan, Kidus Yohannes, Joshua Pereira

The wayward quality of continuous prompts stresses the importance of their interpretability as unexpected and unpredictable behaviors appear following training, especially in the context of large language models automati…

Natural Language Understanding