Grilled Cheese

ExploreLog inSign up

Sheridan Feucht

@sfeucht.bsky.social

334 Following252 Followers

PhD student doing LLM interpretability with @davidbau.bsky.social and @byron.bsky.social. (they/them) https://sfeucht.github.io

PostsRepliesMedia
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

Thanks to co-authors @bennokrojer.bsky.social, Sarah Wang, Henry Abrahamsen, @byron.bsky.social, and @davidbau.bsky.social for helping get this paper done. :)

Website: ocr.baulab.info/
arXiv: arxiv.org/abs/2609.18823
Code: github.com/sfeucht/ocr

@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

If you want to try the lens for yourself with a few pre-computed example images across four models, check out our demo on the paper website!
ocr.baulab.info/#demo

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

Here's a full edit example: wherever Qwen latently represents "tractor," we replace it with the "revolver" direction. Since the model can still see features like wheels and a license plate, it interprets the image not as a tractor, but as a "surreal revolver that looks like a car"!

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

Is the info being read by this lens actually causal, though? To answer this, we use the *inverse* of our lens to obtain latent concept vectors. Just by adding the latent vector for "iPod" and subtracting the vector for "ant," we can fool Qwen into describing an ant as an iPod.

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

Some of the information revealed by this lens is local (e.g., colors, objects), but other information seems to be broader. For example, Qwen3-8B seems to think of this photo as being taken in Wyoming (which isn't too far off from where I actually took the photo, in Calgary).

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

This method gives us probs. across all vocab tokens, so we can observe subtleties depending on word meaning. For example, "phone" has high probability in this image for both a cell phone and landline, whereas 手机 and 电话 focus on cell phone / landline tokens respectively.

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

To quickly run this approach over many image tokens, we collapse together the weight matrices (the OV matrices) of this set of verbalization heads. This gives us a single d_model x d_model matrix that can be applied to any hidden state at any layer, and even works at layer 0.

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

First, we found some heads responsible for OCR (see paper). We could see them attending to image tokens that contain text, e.g. the word "bike". But then, we found that if we just forced all of these heads to attend to, e.g., a bird wing token, Qwen3 would output "feathers." 😮

Photo, no description
@sfeucht.bsky.socialSep 28, 2026, 6:51 PM

[New preprint] How do images in VLMs align with words? In this work, we found a set of attention heads responsible for OCR. But to our surprise, these heads were actually able to verbalize much more than just text. So, we used them to create a simple logit lens for image tokens!

Photo, no description
@sfeucht.bsky.socialApr 7, 2025, 1:54 PM

[📄] Are LLMs mindless token-shifters, or do they build meaningful representations of language? We study how LLMs copy text in-context, and physically separate out two types of induction heads: token heads, which copy literal tokens, and concept heads, which copy word meanings.

Photo, no description
1
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-15 19:58:26 EDT