TL;DR
Latent-Lens is a lightweight codec that allows frozen Vision-Language Models (VLMs) to communicate directly with frozen Small Language Models (SLMs) through hidden states rather than text. By bypassing the "text bottleneck," it preserves rich spatial and fine-grained visual details, achieving significantly higher accuracy on vision tasks with a 2.7x reduction in inference latency.
What Problem Does This Paper Address?
In modular multi-agent AI systems, different models often "talk" to each other using natural language. For example, a vision model might describe an image in text, and a language model then reasons about that description. However, text is a lossy bottleneck. When a VLM converts a complex visual scene into a few sentences, it inevitably discards fine-grained details like precise spatial layouts, textures, or subtle attributes.
This problem is particularly acute for Small Language Models (SLMs). Unlike their massive counterparts, SLMs have less internal "world knowledge" to fill in the blanks when provided with a sparse text description. While we could train a monolithic, end-to-end VLM, these are inflexible; upgrading the vision or language component requires retraining the entire system. The authors seek a way to give SLMs "eyes" by transferring rich, latent visual representations from a VLM without the overhead of full retraining or the information loss of text.
Methods
The authors introduce a modular codec called Latent-Lens that bridges the representation gap between two different, frozen models. The architecture consists of three main stages:
- Multiband Signal Decomposition: Instead of taking only the final output of the VLM, Latent-Lens extracts hidden states from three "semantic bands" (early, middle, and late layers). This preserves the perceptual hierarchy of the VLM, where early layers might capture edges and textures while later layers capture high-level objects.
- Domain Transcoding: Because the VLM and SLM have different internal dimensions and "vocabularies," a lightweight 2-layer MLP (the domain transcoder) projects these VLM hidden states into the SLM’s embedding space.
- Prefix Delivery & SLM Adaptation: These projected states are prepended to the SLM’s input as "soft prefix tokens." To help the SLM understand these new visual signals, the authors add LoRA (Low-Rank Adaptation) to the SLM's attention layers.
Crucially, both the VLM and SLM remain frozen. Only the tiny transcoder and the LoRA adapters (~1.6M parameters, or 0.2% of the total system) are trained.
Datasets
The researchers evaluated Latent-Lens on three diverse benchmarks:
- CLEVR: A synthetic dataset of 3D shapes used to test spatial reasoning and counting.
- GQA: Real-world photographs with compositional questions requiring multi-step reasoning.
- Flickr8k: An open-ended image captioning task.
They tested the system across different model families, including SmolVLM-256M, InternVL2-1B, Qwen2.5-0.5B, and TinyLlama-1.1B, to prove the method is model-agnostic.
Key Insights and Ideas
- The "Text Bottleneck" is Quantifiable: The authors found that text-based communication scores were significantly lower than VLM-only scores. This confirms that the VLM "knows" more internally than it can express in words.
- Latent Space is High-Bandwidth: By measuring "effective rank," the authors show that the latent channel has roughly two orders of magnitude more effective dimensions per sample than the text channel.
- Depth Matters: Using multiple layer bands (early/mid/late) outperformed using just the last layer. This suggests that the SLM benefits from seeing the "evolution" of a visual feature through the VLM's layers.
- Efficiency Gains: Because the system doesn't have to wait for the VLM to autoregressively generate a text description token-by-token, Latent-Lens achieves a 2.7x reduction in end-to-end latency compared to text-based communication.
Key Results
Latent-Lens consistently outperformed text-based communication and other injection methods like LLaMA-Adapter:
- VQA Accuracy: On CLEVR, Latent-Lens achieved 81.0% accuracy, a massive jump over the 58.3% achieved by text communication with the same parameter budget. On GQA, it reached 65.4% (vs. 61.8% for text).
- Captioning: On Flickr8k, it improved BLEU-4 scores by +16.5 points over the text-based baseline.
- Cross-Architecture Success: The method worked even when the VLM and SLM had different architectures, vocabularies, and hidden dimensions (e.g., InternVL2-1B paired with TinyLlama-1.1B).
Limitations and Future Work
- Opaque Communication: Unlike text, latent messages are not human-readable. This makes it difficult to audit why a model made a certain decision or to inspect the "thoughts" being passed between agents.
- Unidirectional Flow: The current version only allows the VLM to talk to the SLM. The authors suggest that bidirectional latent dialogue—where the SLM can ask for clarification—is a promising next step.
- Fixed Banding: The study used uniform layer partitions. Future work could explore adaptive or learned band boundaries to more efficiently capture relevant information.
- Scaling to Multi-Agent: The experiments were limited to two agents; testing how this scales to larger, more complex multi-agent "societies" remains unexplored.
Summary updated