Abstract
Current Large Multimodal Models (LMMs) often exhibit a disproportionate reliance on their underlying language priors, frequently bypassing visual inputs to generate responses. This "language bias" leads to hallucinations and poor reasoning in complex visual tasks. We introduce Direct-LLaVA, a framework designed to enforce deep cross-modal alignment through a novel shuffle learning paradigm and architectural refinements. By incorporating image and text shuffling tasks, a specialized "directed token" (drt), and an attention-guided loss, Direct-LLaVA significantly improves visual grounding. Our approach achieves state-of-the-art results across multiple benchmarks, including SciQA-IMG and TextVQA, while substantially reducing object hallucination.
Introduction
Large Multimodal Models, such as LLaVA and InstructBLIP, have demonstrated remarkable capabilities in bridging the gap between vision and language. However, their success is often shadowed by a fundamental flaw: the dominance of the Large Language Model (LLM) over the visual encoder. Research indicates that these models can often answer questions correctly even when the visual input is entirely obscured (e.g., a blacked-out image), suggesting that they are memorizing patterns within the language domain rather than performing true multimodal reasoning.
When LMMs fail to genuinely ground their textual output in visual evidence, they become prone to hallucinations—asserting the presence of objects or attributes not found in the image. To address this, we propose Direct-LLaVA, which forces the model to correlate visual and textual features through challenging reconstruction tasks that cannot be solved by language priors alone.
Methodology
Direct-LLaVA introduces three primary innovations to the standard LMM training pipeline: Shuffle Learning, Directed Tokens, and an Image-to-Response Guided Loss.
Shuffle Learning
To break the model's reliance on language-only heuristics, we introduce a "jigsaw puzzle" paradigm during pre-training. This consists of two tasks:
- Image Order Reconstruction: The model is presented with a shuffled grid of image patches and a corresponding text description. It must predict the original sequence of the patches.
- Text Order Reconstruction: Conversely, the model is given a coherent image and a shuffled text description, requiring it to unshuffle the words to match the visual context.
These tasks demand that the model use one modality as an anchor to organize the other, necessitating a fine-grained understanding of spatial and semantic relationships.
Directed Tokens (drt)
Standard LMM architectures typically place visual tokens at the beginning of the prompt. Due to the causal (autoregressive) nature of LLM attention mechanisms, these initial visual tokens cannot attend to the text prompt that follows them. To facilitate the image shuffling task, we introduce a learnable drt token positioned at the end of the sequence. This token acts as a multimodal sink, aggregating context from both the visual patches and the textual instructions to predict the correct permutation of the image.
Image-to-Response Guided Loss
To ensure the model maintains visual focus during response generation, we implement a custom loss function. This objective explicitly maximizes the attention weights from the generated response tokens back to the original visual input tokens. This prevents the model from "drifting" into language-only generation during long-form responses.
Experimental Setup
Direct-LLaVA was developed using standard LLaVA v1.5 datasets, comprising 558K image-text pairs for pre-training and 665K for fine-tuning. We evaluated the approach across various LLM backbones, including Vicuna, LLaMA-3 (8B), and Qwen (7B). Evaluation spanned traditional academic benchmarks (VQAv2, GQA, VizWiz, SciQA-IMG, TextVQA) and instruction-following benchmarks (POPE, SEED-Bench, MME, LLaVA-Wild, MM-Vet, and MMMU-Val).
Results and Discussion
Direct-LLaVA consistently outperformed the LLaVA-1.5 baseline across all tested backbones. Using the Vicuna-13B backbone, the model achieved significant gains in several key areas:
- Academic Performance: SciQA-IMG scores improved from 71.6% to 77.3%, and TextVQA rose from 61.3% to 65.4%.
- Hallucination Mitigation: On the POPE benchmark, Direct-LLaVA achieved high F1 scores across random (90.5%), popular (89.2%), and adversarial (87.8%) settings, indicating a robust reduction in object hallucination.
- Perceptual Accuracy: The MME benchmark score increased from 1531.3 to 1572.1, reflecting better overall perception and recognition.
Ablation studies confirmed that the combination of image shuffling, text shuffling, and the guided-attention loss provided the most substantial benefits. The results suggest that forcing the model to solve structural puzzles is an effective way to ensure that visual tokens are not ignored by the LLM.
Conclusion
Direct-LLaVA addresses the critical issue of language dominance in multimodal models. By treating alignment as a reconstruction problem and utilizing directed tokens to overcome causal attention limits, we have developed a more grounded and reliable LMM. Future work will explore the optimization of objective balancing between standard cross-entropy and shuffle-based losses, as well as scaling this approach to larger parameter models and more diverse datasets.
Summary updated