Reproduce “AVQ-Attention-2: Adaptive Vector-Quantized Attention with Exact Local Blocks and Linear-Cost Training” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Winfried van den Dool, Patrick Forré, Amir Habibian, Yuki M. Asano, Max Welling
AVQ-Attention-2 combines exact attention within each query tile with adaptive cluster-mean summaries elsewhere. Cluster means create a differentiable path through keys, giving a derived linear-time backward pass for a fixed cluster budget. On Diving-48 at 18,432 tokens, drop-in top-1 is 88.73%, versus 88.83% for dense attention; per-layer times are 0.94 and 15.9 ms, while whole-encoder speedup is 3.5×.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.