TL;DR
LEO-MINI is a highly efficient Multimodal Large Language Model (MLLM) that slashes the number of visual tokens by up to 97.77% while simultaneously boosting visual reasoning performance. It achieves this through a novel Conditional Token Reduction (COTR) module that filters visual features based on textual context, paired with a Mixture of Multi-Modal Experts (MMOE) that dynamically routes tasks to specialized LoRA layers.
What Problem Does This Problem Address?
Modern MLLMs (like LLaVA) process images by breaking them into patches, which translates into hundreds or thousands of visual tokens. This massive token count heavily bottlenecks the Large Language Model (LLM) backbone, driving up computational costs (FLOPs, memory, and latency)—especially for high-resolution images or video.
While previous attempts at token reduction (such as resamplers or average pooling) save compute, they do so blindly, often discarding crucial fine-grained details. This leads to a severe drop in visual reasoning and OCR performance. The core challenge is: how do we aggressively compress visual tokens without losing the essential information needed for complex reasoning?
Methods
LEO-MINI introduces a two-pronged architecture designed for both efficiency and effectiveness:
1. Conditional Token Reduction (COTR)
Instead of static compression, COTR uses cross-attention maps to aggregate a large pool of visual tokens into a compact set (typically just 64 tokens). It calculates attention scores based on four distinct similarities:
- The target visual tokens.
- A compact, learnable query.
- The user's text instruction tokens.
- Visual tokens from other parallel vision encoders.
This ensures that the compressed tokens are highly conditioned on the specific question being asked.
2. Mixture of Multi-Modal Experts (MMOE)
To compensate for token reduction, LEO-MINI scales model capacity with minimal overhead using two expert systems:
- MMOE-Vision: Combines multiple domain-specific vision encoders (CLIP, ConvNeXt, Pix2Struct, EVA-02) to capture diverse visual features from different perspectives.
- MMOE-LLM: Standard LoRA-MoEs route tokens based solely on intermediate hidden states. LEO-MINI introduces a multi-modal router that explicitly ingests text tokens and visual tokens to select the best specialized LoRA expert. Crucially, it also includes a General Expert that remains always active to preserve foundational language capabilities.
Datasets
The model was trained using standard LLaVA-v1.5 alignment data (665K instructions) alongside EAGLE pre-training datasets.
To prove its versatility, the authors evaluated LEO-MINI across 11 diverse vision-language benchmarks covering general perception, OCR, and knowledge-based reasoning:
- General Perception/Reasoning: MME, MMBench, SEED-Bench, GQA, ScienceQA (SQA), MMMU, POPE.
- OCR & Diagram Understanding: AI2D, VizWiz, TextVQA, ChartQA, OCRBench.
Key Insights and Ideas
- Context-Aware Compression is Key: Traditional token reduction is text-blind. By conditioning visual token reduction on the textual instruction, the model retains only what is necessary to answer the specific question, allowing 64 tokens to outperform thousands.
- Multi-Modal Routing Matters: Standard MoE routers operate blindly on intermediate hidden states. LEO-MINI proves that feeding raw text and visual tokens directly into the routing network allows for significantly more accurate expert selection across different tasks (e.g., activating OCR-heavy experts vs. general reasoning experts).
- The "Always-On" General Expert: Keeping a baseline LoRA expert continuously active prevents the specialized experts from fragmenting the model's core language understanding, ensuring robust performance.
Key Results
LEO-MINI sets a new standard for efficient MLLMs, demonstrating that extreme compression does not require sacrificing accuracy.
- Massive Efficiency Gains: Compared to LLaVA-NeXT, LEO-MINI reduces the number of visual tokens by 97.77% (64 tokens vs 2880 tokens). This translates to a 63.83% reduction in FLOPs and a 90.69% reduction in CUDA processing time.
- State-of-the-Art Token Reduction: LEO-MINI outperforms existing token-reduction models (like LLaVA-Mini, PruMerge, and MQT-LLaVA) across all 11 benchmarks. For instance, it achieves an MME score of 1583.0 compared to LLaVA-Mini's 1476.8.
- The 1-Token Wonder: Even when aggressively compressed down to just 1 visual token, LEO-MINI achieves highly competitive performance, nearly matching state-of-the-art models that use thousands of tokens.
Limitations and Future Work
- Training Required: Unlike plug-and-play, training-free token pruners, the COTR module requires explicit multi-stage training.
- Static Vision Experts: The vision expert ensemble (MMOE-Vision) is currently fixed. The authors note that implementing dynamic routing for the vision encoders could further optimize efficiency.
- Scale Constraints: Due to compute limitations, the framework was only validated on 7B (Vicuna) and 8B (Llama3) parameter models; its efficacy on larger scales (13B, 67B+) remains untested.
Summary updated