Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization

Zhiyuan Zhao, Bin Wang, Linke Ouyang, Xiaoyi Dong, Jiaqi Wang +1 more
11/28/2023
cs.CVcs.CL

No official code found. Best implementation: opendatalab/HA-DPO (104 stars, Apache-2.0, last commit 2024-01-30).

Abstract

Multimodal large language models have made significant advancements in recent years, yet they still suffer from a common issue known as the "hallucination problem", in which the models generate textual descriptions that inaccurately depict or entirely fabricate content from associated images. This paper introduces a novel solution, Hallucination-Aware Direct Preference Optimization (HA-DPO), which reframes the hallucination problem as a preference selection task. The model is trained to favor the non-hallucinating response when presented with two responses of the same image (one accurate and one hallucinatory). Furthermore, this paper proposes an efficient pipeline for constructing positive~(non-hallucinatory) and negative~(hallucinatory) sample pairs, ensuring a high-quality, style-consistent dataset for robust preference learning. When applied to three mainstream multimodal models, HA-DPO significantly reduced hallucination issues and amplified the models' generalization capabilities. Notably, the MiniGPT-4 model, when enhanced with HA-DPO, demonstrated a substantial improvement: POPE accuracy rose from 51.13% to 86.13% (an absolute improvement of 35%), and the MME score surged from 932.00 to 1326.46 (a relative improvement of 42.32%). The codes, models, and datasets are made accessible at https://opendatalab.github.io/HA-DPO.

View on arXivView PDF

Code Implementations(1)

opendatalab/HA-DPOCommunity100%
Apache-2.0

Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization

1046CSS, HTMLJan 30, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhao2023beyond,
  title  = {Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization},
  author = {Zhiyuan Zhao and Bin Wang and Linke Ouyang and Xiaoyi Dong and Jiaqi Wang and Conghui He},
  year   = {2023},
  eprint = {2311.16839},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.16839v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.16839.svg)](https://codeofpaper.com/paper/2311.16839)

Discussion