TL;DR
This paper introduces Hallucination-targeted Direct Preference Optimization (HDPO), a novel method to combat hallucinations in Multimodal Large Language Models (MLLMs). By creating specialized preference data that targets specific causes of hallucinations (visual limitations, long context, and multimodal conflicts), HDPO significantly improves MLLM reliability across various tasks, outperforming existing state-of-the-art methods.
What Problem Does This Paper Address?
Multimodal Large Language Models (MLLMs) are powerful tools that can process and generate content based on both text and images. However, a significant limitation is their tendency to "hallucinate" – generating information that is factually incorrect or not supported by the visual input. This unreliability hinders their practical application in critical domains like autonomous driving or medical diagnosis. While existing methods like Direct Preference Optimization (DPO) have shown promise in improving MLLMs, they often yield inconsistent results across different types of hallucinations and tasks. This paper aims to address this by developing a more targeted approach to DPO that specifically tackles the diverse root causes of MLLM hallucinations.
Methods
The core of this work is the Hallucination-targeted Direct Preference Optimization (HDPO). Unlike standard DPO, which uses general preference data, HDPO constructs specialized preference pairs designed to address three key causes of hallucinations:
- Visual Distracted Hallucination (VDH): This targets MLLMs that struggle with visual input due to insufficient visual encoder capabilities or distraction by less important visual cues. HDPO achieves this by creating negative examples where visual tokens with low attention scores are amplified, forcing the model to focus on more relevant visual information.
- Long Context Hallucination (LCH): This addresses the tendency for hallucinations to increase as generated text becomes longer. HDPO generates negative examples by truncating the latter parts of high-quality long captions, simulating common long-form hallucination errors.
- Multimodal Conflict Hallucination (MCH): This tackles situations where conflicting information between text and images leads to incorrect outputs. HDPO constructs negative examples by introducing conflicting textual information into prompts, training the model to correctly interpret the image despite the misleading input.
These specialized preference pairs are then used to fine-tune the MLLM using the DPO framework, which optimizes the model based on comparisons between preferred and rejected responses without needing a separate reward model.
Datasets
The paper utilizes existing datasets for training and evaluation, focusing on creating novel preference data for HDPO:
- Training Data: Positive examples are sourced from datasets like VG (with HA-DPO's positive examples) and ShareGPT4V. Negative examples are generated using the methods described above (VDH, LCH, MCH).
- Evaluation Datasets:
- POPE: Evaluates object hallucinations in image captioning.
- CHAIR: Assesses object hallucinations at both sentence and image levels in image captioning.
- AMBER: A comprehensive benchmark for multimodal hallucination evaluation, covering generative and discriminative tasks.
- MM-Vet: A benchmark for evaluating multimodal models.
Key Insights and Ideas
- Hallucinations have diverse root causes: The paper effectively categorizes MLLM hallucinations into three distinct, actionable categories: visual capability, long context, and multimodal conflicts. This granular understanding is crucial for developing targeted mitigation strategies.
- Targeted DPO is more effective: By specifically designing preference data to address these root causes, HDPO demonstrates superior performance compared to general DPO approaches, suggesting that "one-size-fits-all" methods are insufficient for complex MLLM issues.
- Data efficiency matters: HDPO achieves significant improvements with a relatively smaller dataset (around 22,000 examples) compared to some baselines that use much larger datasets (e.g., BPO with ~180,000 examples), highlighting the power of well-curated, targeted data.
- Universality across LLM sizes: HDPO's effectiveness is shown to be consistent across different base LLM sizes (LLaVA-v1.5-7B and 13B), indicating its general applicability.
Key Results
HDPO consistently outperforms several state-of-the-art baselines across various hallucination evaluation metrics.
- On the LLaVA-v1.5-7B model, HDPO achieves near SOTA performance, particularly excelling in generative tasks. It significantly reduces the HalRate (hallucination rate) from 35.1% to 15.8% (an improvement of nearly 55%) with only a minimal drop in coverage.
- For longer descriptions, HDPO shows stable performance, maintaining a similar coverage while significantly reducing the HalRate.
- In multimodal conflict scenarios, HDPO demonstrates the best scores in CHAIR, HalRate, and Cognition, even when presented with conflicting prefixes.
- Experiments on the LLaVA-v1.5-13B model also show consistent improvements with HDPO.
Limitations and Future Work
The authors acknowledge several limitations and suggest future research directions:
- Data Quality Control: There's a need for more robust strategies to control and optimize the quality of generated negative examples, as well as to further verify and refine them.
- Positive Example Enhancement: Opportunities exist to improve the quality of positive examples.
- Integration with Other Techniques: Exploring the integration of HDPO with other methods for processing high-quality preference data could further enhance performance.
- Scaling Up: Fine-tuning larger models with extensive, integrated datasets is suggested as a promising avenue for improving reasoning capabilities and robustness against hallucinations.
- Optimal Data Ratios: Determining the optimal ratio of different data types (VDH, LCH, MCH) for training is a complex problem that requires further investigation.
Summary updated