From independent patches to coordinated attention: Controlling information flow in vision transformers

Kieran A. Murphy
2/4/2026
cs.LG

No official code found. Best implementation: murphyka/vit_ib (2 stars, last commit 2026-02-06).

Abstract

We make the information transmitted by attention an explicit, measurable quantity in vision transformers. By inserting variational information bottlenecks on all attention-mediated writes to the residual stream -- without other architectural changes -- we train models with an explicit information cost and obtain a controllable spectrum from independent patch processing to fully expressive global attention. On ImageNet-100, we characterize how classification behavior and information routing evolve across this spectrum, and provide initial insights into how global visual representations emerge from local patch processing by analyzing the first attention heads that transmit information. By biasing learning toward solutions with constrained internal communication, our approach yields models that are more tractable for mechanistic analysis and more amenable to control.

View on arXivView PDF

Code Implementations(1)

murphyka/vit_ibCommunity69%

Code accompanying "From independent patches to coordinated attention: Controlling information flow in vision transformers"

20Shell, PythonJan 16, 20268 months ago

Similar Papers

Cite this paper

@article{murphy2026from,
  title  = {From independent patches to coordinated attention: Controlling information flow in vision transformers},
  author = {Kieran A. Murphy},
  year   = {2026},
  eprint = {2602.04784},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.04784v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.04784.svg)](https://codeofpaper.com/paper/2602.04784)

Discussion