TL;DR
Multimodal Large Language Models (MLLMs) often suffer from an "attention deficit disorder" where they heavily favor text tokens and neglect fine-grained visual details. To fix this, MODA (MOdular Duplex Attention) introduces a "correct-after-align" strategy that decouples modality alignment from token mixing using Gram-matrix-based duplex alignment and modular masked attention. This simple yet effective shift yields state-of-the-art performance across 21 benchmarks in perception, complex cognition, and emotion understanding.
What Problem Does This Paper Address?
While modern MLLMs excel at general image description and question answering, they frequently stumble on high-level tasks requiring fine-grained perception, such as reading subtle emotional expressions or reasoning about complex visual contexts.
The authors identify the root cause as the Attention Deficit Disorder (DDA) problem. Because MLLMs are built on top of inherently text-centric language models, the attention mechanism exhibits a massive bias toward textual tokens. As information flows deeper through the transformer layers, attention activation for visual tokens decays exponentially—sometimes resulting in a 10x disparity between text and vision attention scores. This imbalance leads to attention collapse, causing the model to hallucinate or miss critical visual cues entirely.
Methods
To counteract DDA, the authors propose MOdular Duplex Attention (MODA), which replaces standard attention blocks with a decoupled "correct-after-align" framework:
- Duplex Attention Alignment (V-Aligner & T-Aligner): Before mixing tokens across layers, MODA extracts the semantic basis vectors of each modality using a normed Gram matrix. It then projects tokens from one modality into the representation space of the other. This minimizes the cross-modal gap while preserving the intrinsic structure of each individual modality.
- Modular Attention Mask: Instead of using a single attention matrix, MODA splits attention into self-modal (intra-modality) and cross-modal (inter-modality) components. It introduces an adaptive masking strategy with a localized decay rate to prevent attention scores from flattening out (under-smoothing) and collapsing in deeper layers.
Datasets
The authors evaluated MODA across a massive suite of 21 benchmark datasets divided into three core capabilities:
- Perception (16 datasets): Includes general, knowledge-based, OCR, and vision-centric benchmarks such as MME, MMBench, SEED, GQA, ScienceQA, MMMU, MathVista, AI2D, ChartQA, OCRBench, TextVQA, DocVQA, MMVP, RealworldQA, and CV-Bench.
- Cognition (1 dataset): MMRole, a benchmark specifically designed to evaluate multi-modal role-playing across 8 distinct conversational metrics.
- Emotion (4 datasets): MVSA-S and MVSA-M (sentiment classification), TumEmo (six basic emotions), and HFM (multimodal sarcasm detection).
Key Insights and Ideas
- Decoupling is Key: Forcing a model to simultaneously align modalities and mix tokens across layers causes rank collapse. Separating alignment (via Gram matrices) from token focus (via modular masks) keeps both modalities active.
- The Lower-Layer Bias: The authors discovered that lower transformer layers tend to focus disproportionately on cross-modal interactions at the expense of intra-modal features, which kicks off the exponential decay of visual attention.
- Mathematical Restructuring of Attention: By storing excess attention values as "pseudo-attention scores" within a customized mask, MODA successfully balances the attention distribution without adding significant computational overhead.
Key Results
MODA was integrated into 8B (Llama-3-Instruct) and 34B (Hermes2-Yi) base models and achieved highly competitive results:
- Perception: MODA-8B outperformed prominent open-source frameworks like LLaVA-NeXT-8B and Cambrian-1-8B, particularly in vision-centric tasks (scoring 66.0) and OCR/Chart tasks (scoring 72.0).
- Cognition & Roleplay: On the MMRole benchmark, MODA-8B achieved an average score of 0.972, beating Cambrian-1-8B (0.895) and performing comparably to closed-source models like Claude 3 Opus.
- Emotion Understanding: MODA achieved significant boosts on fine-grained emotional tasks, outperforming Cambrian-1-8B on the sarcasm-heavy HFM dataset and the emotion-rich TumEmo dataset.
Visualizing the attention maps confirms that MODA successfully mitigates the attention deficit problem, maintaining a much healthier balance between self- and cross-modal attention across all 32 layers of the model.
Limitations and Future Work
While MODA significantly stabilizes cross-modal attention, its performance remains bound by the quality and biases of the underlying foundational LLM and the visual encoder (CLIP). The authors note that if the base models generate low-quality or hallucinated content during pre-training, MODA can still inherit those flaws. Future directions include scaling MODA to even larger foundational models and exploring its utility in video-based conversational agents.
Summary updated