SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.18715 · 2024

Mitigating Hallucinations in Large Vision-Language Models with Instruction Contrastive Decoding

arXiv · PDF · Open in the Atlas

Code that ran

2 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 6 no recorded run), measured 2026-11-23; 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/2403.18715.json · badge: /api/ran/2403.18715.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
p1k0pan/ICD canonical (classifier label)
classifier basis: census
1 ran · 6 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
add_diffusion_noise Ran
ran; our contract draft was wrong, not the code
p1k0pan/ICD/icd_utils/vcd_add_noise.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from kigb/DropoutDecoding, is pointer only (licence: NONE) · get_code("fe66de066c32d0fc")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from kigb/DropoutDecoding, and GitHub detected no licence in that repository 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.

recorder Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from huofushuo/SID
pointer only; the stored copy get_code serves, from huofushuo/SID, is pointer only (licence: NONE) · get_code("a06c0813244b6279")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

icd Not yet run
unverified (harvested, no recorded run)
p1k0pan/ICD/experiments/gen_scripts/icd_coco_chair.py
code served (permissive licence) · get_code("3bd270aa6cbe1ca4")
How it ran

no invocation recorded.

icd Not yet run
unverified (harvested, no recorded run)
p1k0pan/ICD/experiments/gen_scripts/icd_ib_co.py
code served (permissive licence) · get_code("600d7db618c94fe9")
How it ran

no invocation recorded.

icd Not yet run
unverified (harvested, no recorded run)
p1k0pan/ICD/experiments/gen_scripts/icd_ib_ok_vqa.py
code served (permissive licence) · get_code("523ca1ea0ef669eb")
How it ran

no invocation recorded.

icd Not yet run
unverified (harvested, no recorded run)
p1k0pan/ICD/experiments/gen_scripts/icd_ib_pope.py
code served (permissive licence) · get_code("9b8248f96b730ec2")
How it ran

no invocation recorded.

sample Not yet run
unverified (harvested, no recorded run)
p1k0pan/ICD/icd_utils/icd_sample.py
code served (permissive licence) · get_code("a557c858e7f610f3")
How it ran

no invocation recorded.

sample Not yet run
unverified (harvested, no recorded run)
p1k0pan/ICD/icd_utils/icd_sample_llava.py
code served (permissive licence) · get_code("a975dbf49164bd1d")
How it ran

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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 6 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
recorder 5 other papers
2 dated earlier, 2 later, 1 same year, order not determinable
2311.16922 (2023-11)
Mitigating Object Hallucinations in Large Vision-Language Models through Visual Contrastive Decoding
2311.17911 (2023-11)
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation
Huang_OPERA_Alleviating_Hallucination_in_Multi-Modal_Large_Language_Models_via_Over-Trust_CVPR_2024_paper (2024 (year only))
OPERA: Alleviating Hallucination in Multi-Modal Large Language Models via Over-Trust Penalty and Retrospection-Allocation
and 2 more not named here
add_diffusion_noise 4 other papers
1 dated earlier, 3 later
2311.16922 (2023-11)
Mitigating Object Hallucinations in Large Vision-Language Models through Visual Contrastive Decoding
2412.06474 (2024-12)
Enhancing Vision-Language Model Reliability with Uncertainty-Guided Dropout Decoding
Yang_Nullu_Mitigating_Object_Hallucinations_in_Large_Vision-Language_Models_via_HalluSpace_CVPR_2025_paper (2025 (year only))
Nullu: Mitigating Object Hallucinations in Large Vision-Language Models via HalluSpace Projection
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-23.

Repositories linked to this paper

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

Abstract

Large Vision-Language Models (LVLMs) are increasingly adept at generating contextually detailed and coherent responses from visual inputs. However, their application in multimodal decision-making and open-ended generation is hindered by a notable rate of hallucinations, where generated text inaccurately represents the visual contents. To address this issue, this paper introduces the Instruction Contrastive Decoding (ICD) method, a novel approach designed to reduce hallucinations during LVLM inference. Our method is inspired by our observation that what we call disturbance instructions significantly exacerbate hallucinations in multimodal fusion modules. ICD contrasts distributions from standard and instruction disturbance, thereby increasing alignment uncertainty and effectively subtracting hallucinated concepts from the original distribution. Through comprehensive experiments on discriminative benchmarks (POPE and MME) and a generative benchmark (LLaVa-Bench), we demonstrate that ICD significantly mitigates both object-level and attribute-level hallucinations. Moreover, our method not only addresses hallucinations but also significantly enhances the general perception and recognition capabilities of LVLMs.

For agents

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

get_harvested_code_for_paper("2403.18715")
get_code_for_paper("2403.18715")
have("2403.18715")

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

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

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

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

Connect an agent — have() is free.