Papers › Detecting and Mitigating Hallucination in Large Vision Language Models via...

Detecting and Mitigating Hallucination in Large Vision Language Models via Fine-Grained AI Feedback

22 Apr 2024arXiv:2404.14233archive 2025-07-28

Wenyi Xiao, Ziwei Huang, Leilei Gan, Wanggui He, Haoyuan Li, Zhelun Yu, Fangxun Shu, Hao Jiang, Linchao Zhu

The rapidly developing Large Vision Language Models (LVLMs) have shown notable capabilities on a range of multi-modal tasks, but still face the hallucination phenomena where the generated texts do not align with the given contexts, significantly restricting the usages of LVLMs. Most previous work detects and mitigates hallucination at the coarse-grained level or requires expensive annotation (e.g., labeling by proprietary models or human experts). To address these issues, we propose detecting and mitigating hallucinations in LVLMs via fine-grained AI feedback. The basic idea is that we generate a small-size sentence-level hallucination annotation dataset by proprietary models, whereby we train a hallucination detection model which can perform sentence-level hallucination detection, covering primary hallucination types (i.e., object, attribute, and relationship). Then, we propose a detect-then-rewrite pipeline to automatically construct preference dataset for training hallucination mitigating model. Furthermore, we propose differentiating the severity of hallucinations, and introducing a Hallucination Severity-Aware Direct Preference Optimization (HSA-DPO) for mitigating hallucination in LVLMs by incorporating the severity of hallucinations into preference learning. Extensive experiments demonstrate the effectiveness of our method.

PaperPDFCodeCode 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="2404.14233")

Code

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

By repository: official repository: 8 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.

Mr-Loevan/HSA-DPO officialmentioned in papermentioned on GitHub 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

8 samples harvested; 3 ran; 0 honoured the contract we drafted; 5 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
5unverified

Licence: 8 of the 8 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 Mr-Loevan/HSA-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.

expand2square Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/mm_utils.py official repository ran · our draft was wrong no licence file found · pointer only · 592b3c1a88f93d7c · report
find_all_linear_names Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/train_dpo.py official repository ran · our draft was wrong no licence file found · pointer only · c774723322f1f9c6 · report
load_image_from_base64 Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/mm_utils.py official repository ran no licence file found · pointer only · c3ee9d07c900dd55 · report
is_transformers_greater_than Mr-Loevan/HSA-DPO/hsa_dpo/trainer/import_utils.py official repository unverified no licence file found · pointer only · f4334934ee795269 · report
maybe_zero_3 Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/train_dpo.py official repository unverified no licence file found · pointer only · 616ffbdc154ed2d8 · report
pretty_print_semaphore Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/utils.py official repository unverified no licence file found · pointer only · 37899f22fb191b37 · report
process_images Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/mm_utils.py official repository unverified no licence file found · pointer only · 344dff4791fd1381 · report
violates_moderation Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/utils.py official repository unverified no licence file found · pointer only · f9939a84b9a65279 · report

Tasks

AttributeHallucinationSentence

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGN

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