Manuscript Offprint

arXiv:2608.30705

VisLens: Single-Pass Interpretable Visual Search for Multimodal LLMs

Jingyi He, Sanghwan Kim, Zeynep Akata

Jingyi He 1^{1}, Sanghwan Kim 1,2^{1,2}, and Zeynep Akata 1,2^{1,2}

1^{1} Technical University of Munich Helmholtz Munich

2^{2} Munich Center for Machine Learning

Abstract. Multimodal large language models (MLLMs) struggle with fine-grained Visual Search, the task of locating small or rare objects in high-resolution images. Existing remedies fall into two families: (1) Training-free methods based on attention or confidence scores are accurate but slow, since they require multiple MLLM queries per example. (2) Reinforcement Learning (RL) trained tool-use models are faster at inference but opaque, since their tool calls remain uncontrollable and hard to interpret. To overcome this, we propose VisLens (Visual Focus via Logit Lens), a Visual Search method built on the logit lens, which decodes the semantics held in a hidden state by projecting it through the LLM head. VisLens further uses a lightweight tuned-lens that maps early hidden states into the final hidden state space, so visual tokens can be read out from early layers. These tokens are matched to target words in the query to generate a crop of the relevant region, which is fed back in alongside the original image to produce the final answer. The whole process, from decoding to the final answer, completes in a single forward pass without repeated queries. VisLens matches or exceeds prior baselines while delivering a substantial latency advantage, running 8.5–9.9× faster than Thyme and up to 22.2× faster than training-free multi-pass search methods.

Keywords: Multimodal LLM · Visual Search · Interpretability

1 Introduction

Multimodal large language models (MLLMs) perform well on coarse vision and language tasks such as captioning and general visual question answering, but they struggle with fine-grained Visual Search, where the target occupies only a tiny fraction of a high-resolution image [18,21,22]. The target signal is easily lost among irrelevant background content, and the model's global representation is often too coarse for precise localization. This gap matters for applications such as document analysis, surveillance, and autonomous driving, where finding small details reliably is essential [24].

Existing remedies fall into two families, each with a notable cost. The first is training-free: methods such as ViCrop [22], FOCUS [26], ZoomEye [16], and UG-Search [6] inspect attention patterns or uncertainty scores to find candidate

J. He et al.

regions, zoom in, and query the model again to refine the result. This requires multiple MLLM queries per example, which multiplies inference cost and limits practicality in time sensitive settings. The second family trains models to use tools, such as cropping or zooming functions, through reinforcement learning. Methods such as DeepEyes [25], Thyme [23], and Mini-o3 [7] learn this tool-use behavior from specialized instruction data. While accurate, this requires costly training pipelines built around task specific datasets, and the resulting policy is a black box: it produces a crop region that is not fully controllable or interpretable, and it does not always explain why that region was chosen, which makes failures hard to diagnose.

Our key insight is that an MLLM does not need to be queried repeatedly or trained to use tools in order to know where relevant content lies. Early visual-token states of the MLLM already encode semantic information about the content at different spatial locations in the image. If this information is decoded from a translated early visual-token state and matched against the words describing the search target, the target's location can be recovered directly, and the corresponding crop can be fed back in alongside the original image within the same forward pass, without extra queries or reinforcement learning.

We operationalize this insight in VisLens (Visual Focus via Logit Lens), a method built on the logit lens [13,17,19,20], a technique widely used to interpret the semantic space of LLMs and recently shown to work similarly well for visual tokens in MLLMs [5,12,14]. The logit lens projects a hidden state at any layer through the model's output head to approximate what the model would predict at that point. VisLens uses this projection to decode the semantics of each image region, match the decoded tokens against target words from the query, and merge the best matching regions into crop boxes through clustering. These boxes are then fed alongside the original image to produce the final answer. Since the crop comes from an early MLLM layer, the whole process fits within a single forward pass, avoiding the latency of repeated queries while staying transparent, as each localization decision traces back to specific decoded tokens.

Applying the logit lens directly to early layers is unreliable, since the output head is tuned to final layer representations rather than the partially formed ones seen earlier in the network. To address this, VisLens trains a lightweight tuned-lens [2], a small MLP that maps early hidden states into the final layer's representational space before decoding. This mapping is cheap to train, requires no change to the underlying MLLM, and substantially improves early layer localization. VisLens matches or outperforms prior visual-search baselines while delivering a substantial latency advantage, running 8.5−9.9×8.5-9.9\times faster than Thyme [23] and up to 22.2×22.2\times faster than training-free multi-pass search methods. In summary, our contributions are as follows:

  1. We propose VisLens, a single-pass and interpretable method for Visual Search based on the logit and tuned-lens.

  2. The VisLens pipeline is fully controllable and interpretable, turning decoded tokens into crop regions through semantic matching, clustering, and box merging.

  3. We observe a favorable accuracy and latency trade-off across V*Bench and HR-Bench, supported by interpretability case studies.

References (26)