Introduction
Large Vision-Language Models (LVLMs) like LLaVA have achieved remarkable performance by integrating visual information into Large Language Models (LLMs). However, the standard approach—concatenating a long sequence of vision tokens with text tokens—introduces significant computational overhead. Because the self-attention mechanism in Transformer decoders scales quadratically with sequence length, adding hundreds of vision tokens leads to high latency and memory consumption. HiMix (Hierarchical Vision injection for Mixture Attention) addresses this bottleneck by rethinking how visual and linguistic modalities interact.
Methodology: The HiMix Architecture
HiMix departs from the simple concatenation paradigm by treating text as the primary driver and visual information as supporting evidence. The architecture is built on three core innovations:
- Hierarchical Vision Injection: Instead of passing vision tokens through every sub-layer, vision features are extracted once and injected into specific stages of each decoder layer. Using unique "connectors" for each layer allows the model to capture diverse visual cues at varying levels of abstraction.
- Mixture Attention (MA): In HiMix, the attention mechanism is decoupled. The Query (Q) is derived solely from the language sequence, while the Key (K) and Value (V) are formed by concatenating injected vision features with language features. This ensures that the model focuses on text while attending to relevant visual context.
- FFN Bypassing: Vision tokens completely bypass the Feed-Forward Networks (FFNs), which typically account for a large portion of a Transformer's FLOPs. This architectural choice significantly reduces computational cost without sacrificing the model's ability to process visual data.
Experimental Setup
The researchers evaluated HiMix using several industry-standard benchmarks. Models were trained on the LLaVA-1.5 dataset (558k pretraining, 665k SFT) for the "Regular Paradigm" and supplemented with ShareGPT4V for an "Enhanced Paradigm." Evaluation spanned seven benchmarks: VQAv2, GQA, TextVQA, MM-Vet, POPE, MME, and MMMU, covering tasks from basic perception to complex reasoning.
Key Results
The primary achievement of HiMix is a massive reduction in computational complexity. Across various base models—including Qwen2-0.5B, TinyLlama-1.1B, and Llama3-1B/3B—HiMix consistently achieved a 10× reduction in FLOPs within the language decoder.
Despite this drastic reduction in compute, HiMix maintains competitive performance. In benchmarks like MM-Vet, the HiMix-enhanced TinyLlama actually outperformed the vanilla baseline (24.5 vs 23.5). Furthermore, the reduction in peak VRAM usage makes these models significantly more viable for deployment on resource-constrained edge devices.
Discussion and Future Work
While HiMix offers substantial efficiency gains, the authors noted a slight performance dip in OCR-heavy tasks like TextVQA, likely due to reduced fine-grained interaction between modalities. Additionally, like many LLM-based systems, the model can occasionally produce hallucinations in long-form descriptions. Future research will focus on scaling HiMix to larger models (70B+ parameters) and refining the vision-language interaction to improve performance on dense text recognition tasks.
Summary updated