Abstract
Vision-language models (VLMs) write a bounding box as plain text, yet how each coordinate is produced remains unclear. Existing work assumes that the box is determined before writing and that coordinates come from an image grid reconstructed from the model's position ids. Intervening only during one coordinate's decoding steps, across fifteen models from four families, we find that neither holds. First, each coordinate is determined as it is written: moving its edge in the pixels shifts the coordinate when shown during those steps, not before, overriding a coarse earlier draft; the precise edge is read while it is written. Second, coordinates are read from the vision encoder, not reconstructed by the language model: with pixels fixed, shifting the vision encoder's positional encoding moves the coordinate as predicted, whereas shifting the language model's position ids leaves it unchanged. While writing a coordinate, attention keys find the edge token by its visual features and values read its position. Pre-decoding attention therefore finds the object but misses its edges, and many wrong edges arise when attention lands on the wrong token; whether a coordinate is accurate thus hinges on this search. Comparing where attention lands with the written coordinate flags failed boxes without the ground-truth box at test time (+0.09-0.12 AUROC over digit confidence), and re-encoding the 30% most suspicious boxes on a finer grid recovers 42-50% of the full Acc@0.9 gain.
Abstract (translated)
URL
https://arxiv.org/abs/2612.03683