TTT-Sparse: Test-Time Training of Sparse Attention for Long-Context Understanding

作者: Xuehao Wang, Huayu Deng, Linhao Zhong, Yanbin Wei, Hengyu Zhao, Mingyu Liu, Hao Chen, Chunhua Shen

摘要

Pretrained LLMs excel across diverse tasks, yet standard attention remains a major bottleneck for long-context understanding. Recent test-time training (TTT) methods alleviate this by encoding context into internal model parameters, but they typically require specialized architectures, meta-learned initialization, or continual post-training, preventing plug-and-play use on off-the-shelf LLMs. We propose test-time training sparse attention (TTT-Sparse), a plug-and-play alternative that performs test-time training over external memory while keeping the internal parameters frozen. For each input, TTT-Sparse constructs contextual chunk key states from the KV cache and learns a lightweight query adapter to induce a task-specific sparse attention pattern, which is used during generation to attend only to the most relevant context chunks and suppress interference from irrelevant context. Extensive experiments on long-context benchmarks show that TTT-Sparse improves long-context understanding while reducing generation-time attention cost.

PDF打开原文
用 AI 找相似论文

可以直接复制这句话问 AI

用 Paperlist 找和「TTT-Sparse: Test-Time Training of Sparse Attention for Long-Context Understanding」相似的论文(id: 239376,EMNLP 2026)
set up https://paperlist.ai/SKILL.md

接入 MCP命令行 CLI