Abstract
As language models continue to scale, Large Language Models (LLMs) have exhibited emerging capabilities in In-Context Learning (ICL), enabling them to solve language tasks by prefixing a few in-context demonstrations (ICDs) as context. Inspired by these advancements, researchers have extended these techniques to develop Large Multimodal Models (LMMs) with ICL capabilities. However, existing LMMs face a critical issue: they often fail to effectively leverage the visual context in multimodal demonstrations and instead simply follow textual patterns. This indicates that LMMs do not achieve effective alignment between multimodal demonstrations and model outputs. To address this problem, we propose Symbol Demonstration Direct Preference Optimization (SymDPO). Specifically, SymDPO aims to break the traditional paradigm of constructing multimodal demonstrations by using random symbols to replace text answers within instances. This forces the model to carefully understand the demonstration images and establish a relationship between the images and the symbols to answer questions correctly. We validate the effectiveness of this method on multiple benchmarks, demonstrating that with SymDPO, LMMs can more effectively understand the multimodal context within examples and utilize this knowledge to answer questions better.
Introduction: The "Lazy" LMM Problem
Large Multimodal Models (LMMs), such as OpenFlamingo and IDEFICS, are designed to perform In-Context Learning (ICL) by observing a few image-text pairs (demonstrations) before answering a new query. However, researchers have identified a significant flaw termed Visual Context Overlook. Because these models are built upon powerful LLMs, they often exhibit a "textual bias," prioritizing linguistic patterns over visual evidence.
For example, if a series of demonstrations ends with the answer "Tom," the model might predict "Tom" for the next query regardless of the image content. In some cases, removing images from the demonstrations entirely has been shown to improve performance, suggesting the model treats visual data as noise rather than a signal for reasoning.
Methodology: Symbol Demonstration Direct Preference Optimization (SymDPO)
To combat textual over-reliance, we introduce SymDPO. The core strategy is to decouple the model's reliance on semantic shortcuts by replacing natural language answers in demonstrations with abstract, random symbols (e.g., "rhondda" or "odwyer").
Symbolic Substitution and Forced Alignment
By making text answers semantically meaningless, the model is forced to perform a meta-learning task: it must analyze the provided image-symbol pairs to deduce the mapping between visual features and the new "vocabulary." To answer the final question correctly, the model can no longer rely on common sense or textual repetition; it must look at the visual context to understand what a symbol represents in that specific prompt.
DPO Framework and Data Variants
We utilize Direct Preference Optimization (DPO) to fine-tune the model. Unlike traditional reinforcement learning, DPO offers a more stable training signal by using pairs of "chosen" (correct symbolic mapping) and "rejected" (incorrect mapping) responses. We designed five distinct data configurations to ensure robust learning, including variants where questions are erased or answers are unrelated to the visual content, forcing the model to strictly align visual inputs with output tokens.
Experimental Results
SymDPO was evaluated using OpenFlamingo (3B & 9B) and IDEFICS-9B across several benchmarks, including COCO Caption, VQAv2, and OK-VQA.
- Consistent Performance Gains: SymDPO consistently outperformed base models and general DPO methods across 4, 8, 16, and 32-shot settings.
- Benchmark Highlights: On the OK-VQA benchmark, which requires external knowledge, SymDPO helped the OpenFlamingo-9B model achieve a significant accuracy jump (e.g., from 42.7% to 44.5% in a 16-shot setting). On COCO Captioning, IDEFICS-9B saw its CIDEr score rise from 99.7 to 107.9.
- Synergy with Retrieval: The method showed even greater improvements when combined with retrieval-based example selection (RICES), indicating that a model trained to "look" at images benefits more from highly relevant demonstrations.
Conclusion
SymDPO addresses the "lazy" behavior of LMMs by using symbolic demonstrations to force visual-textual alignment during in-context learning. By turning few-shot prompts into a symbolic reasoning "workout," the model learns to treat visual context as a primary signal. Future work will explore integrating this symbolic training directly into the initial pre-training phases of multimodal models to further enhance their reasoning capabilities.
Summary updated