SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.14233 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

6 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.14233.json · badge: /api/ran/2404.14233.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Mr-Loevan/HSA-DPO canonical (classifier label)
classifier basis not recorded on the link
6 ran · 2 no recorded run
FunctionStatusWhere it lives
expand2square Ran
ran; our contract draft was wrong, not the code
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/mm_utils.py
pointer only (licence: NONE) · get_code("592b3c1a88f93d7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

find_all_linear_names Ran
ran; our contract draft was wrong, not the code
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/train_dpo.py
pointer only (licence: NONE) · get_code("c774723322f1f9c6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_transformers_greater_than Ran
ran, violated the contract we drafted
Mr-Loevan/HSA-DPO/hsa_dpo/trainer/import_utils.py
pointer only (licence: NONE) · get_code("f4334934ee795269")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image_from_base64 Ran
ran, honoured the contract we drafted
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/mm_utils.py
pointer only (licence: NONE) · get_code("c3ee9d07c900dd55")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_images Ran
ran, honoured the contract we drafted
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/mm_utils.py
pointer only (licence: NONE) · get_code("344dff4791fd1381")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

violates_moderation Ran
ran, violated the contract we drafted
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from Mi3-Lab/doScenes-VLM-Planning, is pointer only (licence: AGPL-3.0) · get_code("f9939a84b9a65279")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/train_dpo.py
pointer only (licence: NONE) · get_code("616ffbdc154ed2d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

pretty_print_semaphore Not yet run
unverified (harvested, no recorded run)
Mr-Loevan/HSA-DPO/hsa_dpo/models/llava-v1_5/llava/utils.py
pointer only (licence: NONE) · get_code("37899f22fb191b37")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mr-Loevan/HSA-DPO when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 7 the same month, 8 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_image_from_base64 85 other papers
31 dated earlier, 2 the same month, 48 later, 4 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2309.07120 (2023-09)
Sight Beyond Text: Multi-Modal Training Enhances LLMs in Truthfulness and Ethics
and 82 more not named here
expand2square 68 other papers
23 dated earlier, 2 the same month, 40 later, 3 same year, order not determinable · 1 only as an assembly brick
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.03541 (2022-04)
End-to-End Zero-Shot HOI Detection via Vision and Language Knowledge Distillation
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
and 65 more not named here
violates_moderation 56 other papers
21 dated earlier, 2 the same month, 32 later, 1 same year, order not determinable
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.03279 (2023-08)
UniversalNER: TARGETED DISTILLATION FROM LARGE LANGUAGE MODELS FOR OPEN NAMED ENTITY RECOGNITION
2308.13437 (2023-08)
Position-Enhanced Visual Instruction Tuning for Multimodal Large Language Models
and 53 more not named here
pretty_print_semaphore 54 other papers
19 dated earlier, 2 the same month, 32 later, 1 same year, order not determinable
2106.06909 (2021-06)
GigaSpeech: An Evolving, Multi-domain ASR Corpus with 10,000 Hours of Transcribed Audio
2308.13437 (2023-08)
Position-Enhanced Visual Instruction Tuning for Multimodal Large Language Models
2309.07120 (2023-09)
Sight Beyond Text: Multi-Modal Training Enhances LLMs in Truthfulness and Ethics
and 51 more not named here
process_images 44 other papers
17 dated earlier, 1 the same month, 23 later, 3 same year, order not determinable · 1 only as an assembly brick
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
and 41 more not named here
maybe_zero_3 37 other papers
8 dated earlier, 1 the same month, 28 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2311.16839 (2023-11)
Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization
2312.02949 (2023-12)
LLaVA-Grounding: Grounded Visual Chat with Large Multimodal Models
and 34 more not named here
find_all_linear_names 4 other papers
1 dated earlier, 1 the same month, 2 later
2311.16839 (2023-11)
Beyond Hallucinations: Enhancing LVLMs through Hallucination-Aware Direct Preference Optimization
2404.10501 (2024-04)
Self-Supervised Visual Preference Alignment
2410.17434 (2024-10)
LongVU: Spatiotemporal Adaptive Compression for Long Video-Language Understanding
and 1 more not named here
is_transformers_greater_than 4 other papers
4 later
2405.18654 (2024-05)
Mitigating Object Hallucination in MLLMs via Data-augmented Phrase-level Alignment
2405.21075 (2024-05)
Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysis
2410.06101 (2024-10)
Coevolving with the Other You: Fine-Tuning LLM with Sequential Cooperative Multi-Agent Reinforcement Learning
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.14233")
get_code_for_paper("2404.14233")
have("2404.14233")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.14233.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.14233.svg)](https://syntology.ai/paper/2404.14233)

Connect an agent — have() is free.