Padding Picks a Corner: Understanding and Mitigating the Corner Sink in Hierarchical Vision Transformers
High-norm outliers and attention sinks in plain ViTs have been well studied and motivated register-based approaches. Hierarchical ViTs (HViTs) improve efficiency through progressive spatial reduction and convolutional operators, but how these architectural choices shape sink behavior remains less understood. In this paper, we uncover a distinct phenomenon, the Corner Sink: HViTs with padded downsampling consistently develop a high-norm token at the top-left corner across inputs and architectures. To understand this behavior, we conduct a controlled study of PVTv2 and trace its lifecycle from corner-feature formation to attention-sink selection. We find that asymmetric padding exposure induces padding-sensitive convolutional responses that progressively form and amplify a shared corner component. A learned query bias then selects this component as a persistent attention sink. We further show that corner-feature formation and sink selection are distinct but connected. Based on this insight, we introduce two complementary training-free interventions. Dual-Padding Register (DPR) separates the sink from spatial features, while Informative Value Readout (IVR) makes its readout…
- arXiv
- 2612.05489
- Authors
- Ziang Fu, Yanbin Liu, Xiaolin Zhang, Bao Trung Nguyen, Xin Yu and 1 more
- Categories
- cs.CV