Papers › Mitigating Hallucinations in Large Vision-Language Models via DPO: On-Policy Data Hold the Key

Mitigating Hallucinations in Large Vision-Language Models via DPO: On-Policy Data Hold the Key

16 Jan 2025CVPR 2025 1arXiv:2501.09695archive 2025-07-28

Zhihe Yang, Xufang Luo, Dongqi Han, Yunjian Xu, Dongsheng Li

Hallucination remains a major challenge for Large Vision-Language Models (LVLMs). Direct Preference Optimization (DPO) has gained increasing attention as a simple solution to hallucination issues. It directly learns from constructed preference pairs that reflect the severity of hallucinations in responses to the same prompt and image. Nonetheless, different data construction methods in existing works bring notable performance variations. We identify a crucial factor here: outcomes are largely contingent on whether the constructed data aligns on-policy w.r.t the initial (reference) policy of DPO. Theoretical analysis suggests that learning from off-policy data is impeded by the presence of KL-divergence between the updated policy and the reference policy. From the perspective of dataset distribution, we systematically summarize the inherent flaws in existing algorithms that employ DPO to address hallucination issues. To alleviate the problems, we propose On-Policy Alignment (OPA)-DPO framework, which uniquely leverages expert feedback to correct hallucinated responses and aligns both the original and expert-revised responses in an on-policy manner. Notably, with only 4.8k data, OPA-DPO achieves an additional reduction in the hallucination rate of LLaVA-1.5-7B: 13.26% on the AMBER benchmark and 5.39% on the Object-Hal benchmark, compared to the previous SOTA algorithm trained with 16k samples.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2501.09695")

Code

Syntology Ran 3 of 16 code samples harvested from 1 repository linked to this paper; 13 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhyang2226/opa-dpo officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 3 ran; 0 honoured the contract we drafted; 13 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran
13unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhyang2226/opa-dpo. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_chunk zhyang2226/opa-dpo/eval_llava_rlhf_coco/model_vqa.py official repository ran · our draft was wrong fingerprinted MIT recorded; this copy not marked cleared · pointer only · 42a46570620cd9fa · report
split_list zhyang2226/opa-dpo/eval_llava_rlhf_coco/model_vqa.py official repository ran · our draft was wrong fingerprinted MIT recorded; this copy not marked cleared · pointer only · 076c252c52cbb161 · report
truncate_after_eos_with_padding zhyang2226/opa-dpo/opadpo/dpo_models/rl_trainer.py official repository ran MIT recorded; this copy not marked cleared · pointer only · 6ff9248489766439 · report
add_eos zhyang2226/opa-dpo/utils/data_utils_dpo.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 4bf651c7cdff6f6f · report
cap_exp zhyang2226/opa-dpo/opadpo/dpo_models/dpo_trainer.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 710934f5316eeea5 · report
complete_copied_content zhyang2226/opa-dpo/utils/data_utils_dpo.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · d9c6fd44c3b0a600 · report
get_exp_cap zhyang2226/opa-dpo/opadpo/dpo_models/dpo_trainer.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 25b50a1e049a0776 · report
get_mm_adapter_state_maybe_zero_3 zhyang2226/opa-dpo/opadpo/opa_models/opa_trainer.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · bb35e3ac741bb2c9 · report
get_peft_state_maybe_zero_3 zhyang2226/opa-dpo/opadpo/opa_train.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 63b8ff87fd81eab7 · report
get_peft_state_non_lora_maybe_zero_3 zhyang2226/opa-dpo/opadpo/opa_train.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 1c53657305b66e9f · report
mask_percentage zhyang2226/opa-dpo/opadpo/opa_models/opa_trainer.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · ce25505048ba7022 · report
mask_single_image zhyang2226/opa-dpo/opadpo/dpo_models/dpo_trainer.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 79d5802b19f55211 · report
maybe_zero_3 zhyang2226/opa-dpo/opadpo/opa_models/opa_trainer.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 735025744c1ab0cf · report
maybe_zero_3 zhyang2226/opa-dpo/opadpo/opa_train.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 616ffbdc154ed2d8 · report
override_config zhyang2226/opa-dpo/opadpo/opa_train_custom.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · b50493d8f3ff8ede · report
pad_and_stack zhyang2226/opa-dpo/utils/data_utils_dpo.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · b5b32512d6d561f5 · report

Tasks

16kHallucination

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionDPOSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections