SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.15300 · 2024

Seeing is Believing: Mitigating Hallucination in Large Vision-Language Models via CLIP-Guided Decoding

arXiv · PDF · Open in the Atlas

Code that ran

11 of 17 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, 1 violated it and 0 have no contract verdict; 10 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/2402.15300.json · badge: /api/ran/2402.15300.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
d-ailin/clip-guided-decoding canonical (classifier label)
classifier basis: census
11 ran · 6 no recorded run
FunctionStatusWhere it lives
blip_generate Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
d-ailin/clip-guided-decoding/model_utils/blip2_vicuna_instruct.py
pointer only (licence: NONE) · get_code("17fcb964a86c9b96")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

check_if_terminal Ran
ran, violated the contract we drafted
d-ailin/clip-guided-decoding/gen/clip_guided.py
pointer only (licence: NONE) · get_code("3f348347bb8aeb3d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

check_if_termindal_w_tokens Ran
ran; our contract draft was wrong, not the code
d-ailin/clip-guided-decoding/gen/clip_guided.py
pointer only (licence: NONE) · get_code("d3ba5cc0b17533fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

create_question Ran
ran; our contract draft was wrong, not the code
d-ailin/clip-guided-decoding/lib/data_utils.py
pointer only (licence: NONE) · get_code("928cc991142557ee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

get_all_sentence_indexs Ran
ran; our contract draft was wrong, not the code
d-ailin/clip-guided-decoding/model_utils/data.py
pointer only (licence: NONE) · get_code("26edd08622622687")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

get_last_sentence_indexs Ran
ran; our contract draft was wrong, not the code
d-ailin/clip-guided-decoding/model_utils/data.py
pointer only (licence: NONE) · get_code("47ffe9a4a13a2371")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

model_generate_anw Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
d-ailin/clip-guided-decoding/lib/utils.py
pointer only (licence: NONE) · get_code("92d3ced653e2c9d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

model_input_tpl_format Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
d-ailin/clip-guided-decoding/lib/utils.py
pointer only (licence: NONE) · get_code("76b08f5dd16d6980")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

prepare_input Ran
ran; our contract draft was wrong, not the code
d-ailin/clip-guided-decoding/model_utils/blip2_vicuna_instruct.py
pointer only (licence: NONE) · get_code("1b25045b752f96ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

prepare_sampling_params Ran
ran; our contract draft was wrong, not the code
d-ailin/clip-guided-decoding/gen/rsp_sampling.py
pointer only (licence: NONE) · get_code("a321878fe42f6e2b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

rsp_sampling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
d-ailin/clip-guided-decoding/gen/rsp_sampling.py
pointer only (licence: NONE) · get_code("7075ec400b8750ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

generate_func Not yet run
unverified (harvested, no recorded run)
d-ailin/clip-guided-decoding/model_utils/blip2_vicuna_instruct.py
pointer only (licence: NONE) · get_code("aa2ef0873fff54f0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

get_save_paths Not yet run
unverified (harvested, no recorded run)
d-ailin/clip-guided-decoding/lib/data_utils.py
pointer only (licence: NONE) · get_code("d9bd8ba1bdcc4c5e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

get_synonyms Not yet run
unverified (harvested, no recorded run)
d-ailin/clip-guided-decoding/eval_main.py
pointer only (licence: NONE) · get_code("3831fed68df781a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

is_end Not yet run
unverified (harvested, no recorded run)
d-ailin/clip-guided-decoding/gen/clip_guided.py
pointer only (licence: NONE) · get_code("5d60a6d44891d2bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

load_model Not yet run
unverified (harvested, no recorded run)
d-ailin/clip-guided-decoding/lib/utils.py
pointer only (licence: NONE) · get_code("ac4396da119cebfe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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.

turn_token_score_in_word Not yet run
unverified (harvested, no recorded run)
d-ailin/clip-guided-decoding/lib/data_utils.py
pointer only (licence: NONE) · get_code("d7192af5de6bc855")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, d-ailin/clip-guided-decoding 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 17 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.

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 susceptible to object hallucinations, an issue in which their generated text contains non-existent objects, greatly limiting their reliability and practicality. Current approaches often rely on the model's token likelihoods or other internal information, instruction tuning on additional datasets, or incorporating complex external tools. We first perform empirical analysis on sentence-level LVLM hallucination, finding that CLIP similarity to the image acts as a stronger and more robust indicator of hallucination compared to token likelihoods. Motivated by this, we introduce our CLIP-Guided Decoding (CGD) approach, a straightforward but effective training-free approach to reduce object hallucination at decoding time. CGD uses CLIP to guide the model's decoding process by enhancing visual grounding of generated text with the image. Experiments demonstrate that CGD effectively mitigates object hallucination across multiple LVLM families while preserving the utility of text generation. Codes are available at https://github.com/d-ailin/CLIP-Guided-Decoding.

For agents

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

get_harvested_code_for_paper("2402.15300")
get_code_for_paper("2402.15300")
have("2402.15300")

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

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

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

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

Connect an agent — have() is free.