Abstract
Multimodal Large Language Models (MLLMs) integrate text and images for complex reasoning tasks, but efficiently utilizing image remains a challenge due to redundancy and noise. Traditional methods take the entire image features as visual prompt into the MLLMs, leading to excessive visual tokens that disrupt textual information expression. Thus, recent studies treat image features as visual knowledge, storing them in the feed-forward network for retrieval when needed. These methods, completely removing images from the input, may hinder the activation of image-related knowledge. Besides, current visual knowledge focuses on fine-grained details but overlooks the hierarchical process of visual perception. As described in feature integration theory, global structure is first processed before details are integrated. Ignoring this process may lead to a fragmented visual understanding, making it difficult to capture high-level semantic relationships. To overcome these issues, we propose a novel image utilization mechanism in MLLMs. We leverage a compression-based attention mechanism to generate the compressed visual prompt, which not only mitigates the interference of excessively long visual prompts but also preserves crucial visual information necessary for activating knowledge in the MLLM. Furthermore, we extract hierarchical visual features as visual knowledge using wavelet transforms, allowing the model to capture both global structures and fine-grained details. Experiments show that our method achieves state-of-the-art performance.
Introduction
Current MLLMs (like LLaVA) typically treat images as a long sequence of "visual tokens." For a standard 224x224 image, a Vision Transformer (ViT) might generate 196 tokens. Compare this to a typical user prompt of maybe 10–15 words, and the problem becomes clear: the image data physically dominates the input sequence, often leading the model to ignore the text or hallucinate details. This phenomenon is often referred to as "visual overwhelm."
To fix this, some researchers tried removing images from the input entirely, instead storing them as "external knowledge" for the model to retrieve. However, this creates a "cold start" problem—without a visual hint at the input stage, the model doesn't know which knowledge to retrieve. Furthermore, most models treat images as a flat collection of pixels, ignoring the Feature Integration Theory of human vision, which suggests we perceive global structures (contours and shapes) before we focus on fine-grained details.
The IPK Framework
We propose a two-pronged approach called IPK (Image as compressed Prompt and hierarchical Knowledge) to bridge the gap between input efficiency and deep visual understanding.
Compressed Visual Prompt
Instead of feeding 196+ raw visual tokens into the LLM, IPK uses a compression-based attention mechanism. We first use average pooling to create an "abstract" representation and then use an attention layer to fuse it with the original features. This squashes the image into just 16 high-impact tokens. This is enough to "wake up" the LLM's relevant internal knowledge without cluttering the input, effectively acting as an "activation nudge."
Hierarchical Visual Knowledge (HVK)
To ensure no information is lost during compression, the full image data is injected into the Feed-Forward Networks (FFN) of the transformer blocks, treating the FFN as a key-value memory. Crucially, we use a Haar Wavelet Transform to decompose the image into different frequency bands:
- Low-frequency components capture the "contour features" (global structure and shapes).
- High-frequency components capture the "detail features" (fine textures).
Both are projected into the FFN, allowing the model to retrieve structural or detailed information as needed during the reasoning process, mimicking the human visual hierarchy.
Evaluation and Results
The model was evaluated on a comprehensive suite of multimodal benchmarks, including GQA, VQAv2, OKVQA, and ScienceQA, using LLaMA-7B as the base language model and ViT-L/14 as the image encoder.
- State-of-the-Art Performance: IPK achieved an average score of 71.32 across five major QA benchmarks, outperforming LLaVA-v1.5 (64.50) and other parameter-efficient methods like MemVP (68.62).
- Efficiency: Because the input sequence is significantly shorter (16 visual tokens vs. 196+), the model maintains competitive training and inference speeds, outperforming LAVIN and LLaMA-Adapter-v2.
- Robustness: In case studies involving occlusion, blur, and overlapping objects, IPK consistently outperformed LLaVA. For example, in a "blurred" image of a curtain, IPK correctly identified its position by relying on the structural contour features provided by the wavelet transform.
Conclusion
IPK demonstrates that you don't need the whole image in the input to start a conversation; a 16-token "thumbnail" is sufficient to orient the LLM, while the heavy lifting of data retrieval happens deeper in the network. Future work will explore dynamic wavelet levels based on image complexity and scaling these techniques to larger frontier models (70B+ parameters).
Summary updated