BOS Summary: The First Token Matters
Hui Zhu, Saleh Zare Zade, Rafi Ibn Sultan, Deng Pan, Arun Ross, Dongxiao Zhu
Abstract
Large vision-language models (LVLMs) and language models (LLMs) often exhibit attention sinks, whereby particular positions, such as the beginning-of-sequence (BOS) token, receive a disproportionate share of attention. Under standard causal masking, however, the BOS query attends only to itself, so the representation that later tokens repeatedly access carries no information about the input. We introduce BOS Summary, a training-free inference-time method that repurposes this persistent pathway to carry input context. At a single transformer layer during prefill, BOS Summary relaxes the causal constraint for the BOS query row alone, letting BOS aggregate all visual and textual input tokens into a self-derived context representation while every other token retains standard causal attention. The enriched representation then remains accessible to the model throughout decoding, with no additional parameters, auxiliary modules, or decoding-time overhead. Across multiple VLM and LLM families and eight multimodal and text-only benchmarks, BOS Summary improves over direct and Chain-of-Thought prompting and outperforms recent sink-intervention methods on multi-step reasoning tasks. A mechanistic analysis shows that making BOS input-specific also weakens its sink dominance and redistributes attention toward content-bearing prompt tokens, indicating that changing what a sink carries reshapes how later layers allocate attention.
Create a lesson
Related papers
Average-Depth Variable Execution via Request-Local Token Routing
Shared title terminology · Pengjie Zheng, Mengwei Xie, Huan Yang et al.
Dynamic Token Merging for Efficient Vision-Language Models
Shared title terminology · Chris Gu, Marco Andono Sie, Nathan Zhou et al.
ProtoDiffusion: Token-per-Layer Generative Modeling of Multi-Layer Images
Shared title terminology · Adrià Ciurana Lanau, Harleen Hanspal, Lusine Abrahamyan et al.
Studying AI Act Mentions: A first look at the impact of the European Union's AI regulation on Hugging Face
Shared title terminology · Anamaria Mojica-Hanke, Tessi Aigbovbiosa-Igbinovia, Steffen Herbold
Inject Where It Matters: Objective-Dependent Feature Control in Rectified-Flow Image Editing
Shared title terminology · Nina Goncharova, Alexandra Ivanova, Aibek Alanov
AeroBelief: Budgeted First-Action Verification for Evidence-Guided Aerial Sensing
Shared title terminology · Tianren Li, Dongbo Li, Hongkai Chen et al.