Anchored and Aging: A Deep Dive into What Attention Sinks Do in Next-Scale Visual Autoregression
Overview
Problem & Motivation
Attention sinks are tokens that receive a disproportionate share of attention. In next-scale image generation, the model starts with a coarse token grid and adds finer grids over successive steps. Each grid writes its key–value (KV) cache once, so later steps can read the same cache as the image develops. This setup lets us study how spatial position determines where sinks form, what image information they carry, and how their role changes as the cache ages.
Our Approach
We analyze all 512 attention heads of Infinity-2B, comparing attention weights with the uniform baseline over all visible keys. We use three experiments to separate position, content, and cache age.
- Position. We mirror the input image to move its content across the grid, then separately mirror the rotary positional encoding (RoPE) of the queries to move the positional signal.
- Content. We replace sink values with those from another image while keeping the attention weights fixed, then measure how the next-scale prediction shifts.
- Cache age. We follow each unchanged cache from the step that writes it to the final generation step. We measure whether swapping its values shifts the prediction toward new detail or toward the coarse layout already present when the cache was written.
Results
- A few early sinks dominate attention. At the final step, the 1×1 and 2×2 grids contain only 7–8% of the detected sinks but receive 65–69% of the total attention assigned to sinks.
- The grid anchors early sinks. After mirroring the input image, the original 2×2 sink cells better predicted sink attention than their mirrored counterparts on 96 of 96 prompts. Mirroring the queries’ positional phase moved the sinks in 192 of 192 generations. Replacing the sink values shifted the prediction toward the donor image.
- Frozen caches become a reference for existing content. Across caches from 4×4 to 24×24, alignment with new content fell from 0.62–0.73 when the caches were written to 0.03–0.29 at the final step. Alignment with the existing coarse layout reached 0.69–0.98. In Infinity-2B, the sinks carried the coarse reference on grids up to 16×16.
- The pattern extends across models. The 2×2 sink locations also held after image mirroring in Infinity-8B, STAR, Switti, and HART. The largest grid where the sinks primarily carried the coarse reference varied by model.
Authors and Affiliations
- Ziyang Wang — Beijing University of Posts and Telecommunications
- Chenxu Yao — Beijing University of Posts and Telecommunications
- Yu Tian — Qihoo 360
- Qixi Lu — Beijing Language and Culture University
- Lei Huang — Beijing University of Posts and Telecommunications
- Xinyi Zeng — Tsinghua University
- Xianlin Zhang — Beijing University of Posts and Telecommunications
- Xiang Gao — Beijing University of Posts and Telecommunications
- Jiahao Zhu — Beijing University of Posts and Telecommunications
- Xuling Zhang — Qihoo 360
- Xueming Li — Beijing University of Posts and Telecommunications
- Yue Zhang — Beijing University of Posts and Telecommunications
Research Area
- Next-Scale Visual Autoregression
- Interpretable Image Generation
- Attention Sinks and KV Caches
Key Contributions
- Compared sink counts and attention mass across token grids to distinguish a few strong early sinks from many weaker later sinks.
- Used image and positional interventions to separate the grid location of early sinks from the image information carried by their values.
- Tracked frozen caches over multiple generation steps to show how they shift from supporting new detail to providing a coarse reference to previously generated content.
Publication Details
- Venue: IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
- Presentation Type: Submission
Download
Download overview figure · Interactive attention head browser
Paper link will be added later.
