On A Universal Relevance Layer in Multimodal Language Models
This study presents observations suggesting a universal “relevance layer” in language and vision–language models: a layer roughly midway through the network (0.45–0.62 of its depth in nine language models) that is rich in semantic information on how tokens relate to one another, such as which parts of the input matter to a query. The layer is found by comparing attention under the real query with attention under a blank one (“N/A”). At the layer, in eight of nine language models, 59–72% of the query’s contribution lands on relevant text chunks, against 6–9% for a query-blind spread. It can also be found without labels, within 0.02 AUC of the best layer. Attention to the context passes through three stages — similarity in early layers, relevance at this layer, blurring after it — and at this layer the signal sharpens rather than dilutes as the context grows. The layer does not move with the retrieval task in eleven models, and the same mid-depth band localises referred objects among the image tokens of four vision–language models. At the layer the model finds content connected to the query rather than similar to it: every function of 3–4-hop code call chains is found from a question that describes only the first (AUC 0.98–0.997 in Qwen3.5-9B), a function’s rank depends on its caller being present, and on held-out repositories a readout of this one layer recovers every hop of 3–4-hop chains in the top ten for 86% of chains, against 46% for Qwen3-Embedding-8B.
Authors
- Ekalabya Ghosh
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24710959
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- preprint