How a vision model reads a trail sign
One Dutch trail sign shows how image patches become useful to a language model, and why a crop can matter more than a better prompt.
One Dutch trail sign shows how image patches become useful to a language model, and why a crop can matter more than a better prompt.
The biggest letters on this trail sign tell you where you are. The smallest ones tell you when the paths close, which is a much harder question for a model looking at the same photo.

Ask what this photo shows and “a walking-route sign with a map” is a fair answer. Ask what lengths the sign lists and you need the yellow line below the title: 10 km, 14.5 km, and 15.5 km. Ask when the paths close and you have to look somewhere else entirely. The dates are in the first bullet under Huisregels in the right-hand panel.
A caption would probably leave out the dates. A vision-language model can use information about different regions of the photo, including the small panel your question points to. To see where detail gets lost, start with how the model represents a region in the first place.
One common design starts with a Vision Transformer, or ViT. It divides the image into square patches and turns each patch’s pixel values into a vector, a list of numbers the network can work with. The model also gets information about where each patch came from. That gives it a way to distinguish a patch near the title from a similar-looking patch near the map.

The patch boundaries are fixed by the grid. A patch might contain part of a letter, the green behind it, and a bit of the next letter. Inside the encoder, attention lets the representation at one position draw on information from other positions. After several layers, a vector that started with one square can carry evidence from beyond that square. The original Vision Transformer paper describes the patch sequence and position embeddings.
Patch counts rise quickly with resolution. With 16-pixel square patches, a 224 × 224 image gives you 14 × 14 = 196 patches. Double the width and height and you get 28 × 28 = 784. Those are patch counts for this example. A deployed model may resize the upload, split it into tiles, or merge visual features before passing them on, so its language model can receive a different number of visual positions.
In the design used by the original LLaVA, a learned projection turns the encoder’s output into vectors that fit the language model. The prompt also becomes vectors, by way of the usual text tokenizer and embeddings. The language model can then use both inputs as it predicts the next piece of its answer. LLaVA’s Visual Instruction Tuning paper describes the projection and the training stages that make it useful.

The projection gives the visual vectors the right shape. Training makes them useful. LLaVA first trained its projector on images paired with captions, then tuned the system to respond to instructions about images. An example question might ask for a distance, while another question about the same image might ask for a date. The prompt gives the model a reason to use different evidence, and the answer comes out a text token at a time.
Other designs give the language model access to a separate stream of visual features through cross-attention. In Flamingo, language layers can draw on that stream as they process the text. Both designs give the answer access to visual information that a generic caption could omit.
On the board, the first bullet under Huisregels says the paths are closed during the breeding season, from March 15 to June 15. Here are two views made from the same photo.

You can still make out the green header in the downsampled view. The individual characters in the rule are much harder to distinguish. The crop from the original keeps the small print because it was taken before downsampling. The comparison shows how much can change before the model starts processing the image.
For a question about a sign like this, I’d send the whole photo for context and a crop of the rule for detail. I’d ask the model to transcribe the line before explaining it, so I have something to compare with the photo. If the exact wording matters, a plausible date is easy to read past. The crop gives me a way to check it.