Conference Paper
Computer Vision

LLaVA-RLHF

Zhiqing Sun, Sheng Shen, Sheng-Cao Cao, Haotian Liu, Chun-Yuan Li, Yikang Shen, Chuang Gan, Liangyan Gui, Yu-Xiong Wang, Yiming Yang, K. Keutzer, Trevor Darrell
September 25, 2023Annual Meeting of the Association for Computational Linguistics954 citations

954

Citations

135

Influential Citations

Annual Meeting of the Association for Computational Linguistics

Venue

2023

Year

Abstract

Large Multimodal Models (LMM) are built across modalities and the misalignment between two modalities can result in"hallucination", generating textual outputs that are not grounded by the multimodal information in context. To address the multimodal misalignment issue, we adapt the Reinforcement Learning from Human Feedback (RLHF) from the text domain to the task of vision-language alignment, where human annotators are asked to compare two responses and pinpoint the more hallucinated one, and the vision-language model is trained to maximize the simulated human rewards. We propose a new alignment algorithm called Factually Augmented RLHF that augments the reward model with additional factual information such as image captions and ground-truth multi-choice options, which alleviates the reward hacking phenomenon in RLHF and further improves the performance. We also enhance the GPT-4-generated training data (for vision instruction tuning) with previously available human-written image-text pairs to improve the general capabilities of our model. To evaluate the proposed approach in real-world scenarios, we develop a new evaluation benchmark MMHAL-BENCH with a special focus on penalizing hallucinations. As the first LMM trained with RLHF, our approach achieves remarkable improvement on the LLaVA-Bench dataset with the 94% performance level of the text-only GPT-4 (while previous best methods can only achieve the 87% level), and an improvement by 60% on MMHAL-BENCH over other baselines. We opensource our code, model, data at https://llava-rlhf.github.io.

Analysis

Why This Paper Matters

Large Multimodal Models (LMMs) that combine vision and language have shown impressive capabilities, but they often suffer from hallucination—generating text that is not grounded in the visual input. This misalignment between modalities undermines reliability and trust, especially in high-stakes applications. LLaVA-RLHF addresses this by adapting Reinforcement Learning from Human Feedback (RLHF), a technique that has driven breakthroughs in text-only language models, to the vision-language domain. By doing so, it pioneers a systematic approach to aligning LMMs with human preferences for factual accuracy.

The paper's significance is further amplified by its introduction of MMHAL-BENCH, a benchmark specifically designed to penalize hallucinations. This fills a critical gap, as existing benchmarks often overlook fine-grained factual consistency. Moreover, the authors open-source their code, model, and data, fostering reproducibility and accelerating research in multimodal alignment. Given the rapid proliferation of LMMs, this work provides timely insights into mitigating a key weakness.

Technical Contributions

  • RLHF for Vision-Language Alignment: The authors adapt RLHF to train an LMM to maximize rewards from human comparisons that pinpoint hallucinations. This is the first application of RLHF to LMMs.
  • Factually Augmented RLHF: To combat reward hacking—where the model exploits flaws in the reward model—they augment the reward model with factual information such as image captions and ground-truth multiple-choice options. This innovation improves alignment and performance.
  • Enhanced Instruction Tuning Data: They combine GPT-4-generated vision instruction data with human-written image-text pairs, improving the model's general capabilities.
  • MMHAL-BENCH Benchmark: A new evaluation benchmark focused on penalizing hallucinations, enabling more rigorous assessment of LMMs.

Results

LLaVA-RLHF achieves remarkable improvements. On LLaVA-Bench, it reaches 94% of the performance level of text-only GPT-4, surpassing the previous best methods that only achieved 87%. On the newly introduced MMHAL-BENCH, it improves by 60% over other baselines, demonstrating a substantial reduction in hallucination. These results highlight the effectiveness of RLHF with factual augmentation in aligning LMMs.

Significance

This work has broad implications for the AI field. It demonstrates that RLHF, previously successful in text, can be effectively extended to multimodal settings, opening avenues for aligning LMMs with human values. The Factually Augmented RLHF technique provides a general strategy to mitigate reward hacking, which is relevant beyond vision-language tasks. MMHAL-BENCH sets a new standard for evaluating hallucination, encouraging future work to prioritize factual grounding. By open-sourcing their resources, the authors enable the community to build upon their findings, potentially leading to more reliable and trustworthy multimodal systems. As LMMs become increasingly integrated into real-world applications, such alignment techniques are crucial for ensuring safety and accuracy.