U Berkeley, Joseph Gonzalez, David Chan, Trevor Darrell, Postech, Tsung-Han Wu, Heekyung Lee, Jiaxin Ge
10 of 11 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; 9 failures of our instrument; 1 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/2504.13169.json · badge: /api/ran/2504.13169.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.
| Repository | Role | Ran |
|---|---|---|
| tsunghan-wu/reverse_vlm | canonical (classifier label) classifier basis: classifier_2025 |
8 ran · 1 no recorded run |
| copy not recorded | community not in the paper's declared repositories |
2 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| back_track_last_sentence | Ran ran; our contract draft was wrong, not the code |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("3a19bf415091befc") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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_special_token_mismatch | Ran ran, violated the contract we drafted |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("194dfaa5e36a26ea") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
| combine_coco_captions | Ran ran; our contract draft was wrong, not the code |
this paper's copy was not recorded; identical code first harvested from lvugai/chip pointer only · get_code("25585704d77cafb4") How it ranThe 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. |
| combine_coco_instances | Ran ran; our contract draft was wrong, not the code |
tsunghan-wu/reverse_vlm/scripts/eval/eval_chair.py pointer only (licence: NONE) · get_code("66415dc1dd50f555") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
| de_hallucination_postprocessing | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("527ddfe8465dda89") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
| do_inference | Ran ran; our contract draft was wrong, not the code |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("f13b7a81d4dfe183") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
| early_exit | Ran ran; our contract draft was wrong, not the code |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("f7756cda9b536a1b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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_generated_captions | Ran ran; our contract draft was wrong, not the code |
tsunghan-wu/reverse_vlm/scripts/eval/eval_chair.py pointer only (licence: NONE) · get_code("897c16b1c81103f4") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
| render_output | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("ee5e60b564c5eff5") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
| unpad_image | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
this paper's copy was not recorded; identical code first harvested from haotian-liu/LLaVA pointer only · get_code("55c32993da87759b") How it ranThe 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. |
| retrospective_resampling_generate | Not yet run unverified (harvested, no recorded run) |
tsunghan-wu/reverse_vlm/llava/eval/inference_utils.py pointer only (licence: NONE) · get_code("f8f2edbc52243524") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tsunghan-wu/reverse_vlm 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. |
Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 3 later) and 7 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| unpad_image | 69 other papers 51 dated earlier, 4 the same month, 9 later, 5 same year, order not determinable · 5 only as an assembly brick |
2304.08485 (2023-04) Visual Instruction Tuning |
2309.09958 (2023-09) An Empirical Study of Scaling Instruct-Tuned Large Multimodal Models 2310.03744 (2023-10) Improved Baselines with Visual Instruction Tuning and 66 more not named here |
| combine_coco_captions | 10 other papers 8 dated earlier, 1 later, 1 same year, order not determinable |
2110.01705 (2021-10) Let there be a clock on the beach: Reducing Object Hallucination in Image Captioning |
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 2402.14545 (2024-02) Less is More: Mitigating Multimodal Hallucination from an EOS Decision Perspective and 7 more not named here |
| combine_coco_instances | 8 other papers 6 dated earlier, 1 later, 1 same year, order not determinable |
2110.01705 (2021-10) Let there be a clock on the beach: Reducing Object Hallucination in Image Captioning |
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 2402.14545 (2024-02) Less is More: Mitigating Multimodal Hallucination from an EOS Decision Perspective and 5 more not named here |
| load_generated_captions | 1 other paper 1 dated earlier |
2402.14545 (2024-02) Less is More: Mitigating Multimodal Hallucination from an EOS Decision Perspective |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Vision-Language Models (VLMs) excel at visual understanding but often suffer from visual hallucinations, where they generate descriptions of nonexistent objects, actions, or concepts, posing significant risks in safety-critical applications. Existing hallucination mitigation methods typically follow one of two paradigms: generation adjustment, which modifies decoding behavior to align text with visual inputs, and post-hoc verification, where external models assess and correct outputs. While effective, generation adjustment methods often rely on heuristics and lack correction mechanisms, while post-hoc verification is complicated, typically requiring multiple models and tending to reject outputs rather than refine them. In this work, we introduce REVERSE, a unified framework that integrates hallucination-aware training with on-the-fly self-verification. By leveraging a new hallucination-verification dataset containing over 1.3M semi-synthetic samples, along with a novel inference-time retrospective resampling technique, our approach enables VLMs to both detect hallucinations during generation and dynamically revise those hallucinations. Our evaluations show that REVERSE achieves state-of-the-art hallucination reduction, outperforming the best existing methods by up to 12% on CHAIR-MSCOCO and 34% on HaloQuest. Code Model Checkpoints/Datasets REVERSE (REtrospective VERification and SElf-correction) is a hallucination reduction paradigm for Vision-Language Models (VLMs) that unifies generation adjustment and post-hoc verification methods. REVERSE allows VLMs to be hallucination-aware by explicitly modeling and monitoring the likelihood that each generated phrase is well-grounded. During training, the model is explicitly trained to classify each groundable phrase as either "confident" or "unconfident" and during inference, the model generates responses while continuously verifying the confidence of each phrase using the likelihood of the "unconfident" predictor. If a phrase is sufficiently ungrounded, the model then performs retrospective adjustment to refine the segment, enabling self-correction on the fly. Key to the first goal of classifying each phrase as "confident" or "unconfident" is training the model to understand if a phrase is well-grounded. While VLMs and LLMs inherently provide implicit confidence scores through token probabilities, these scores are often mis-calibrated and do not consistently correlate with output correctness, making them unreliable for verification [50,15,18]. Furthermore, even when accurate, these probabilities offer no indication of where to backtrack for phrase re-generation and self-correction. To overcome these limitations, we introduce three tokens to the VLM vocabulary that can be used to explicitly mark key phrases and represent the model's confidence level: • <SPAN>: Marks the beginning of key or object phrases. • </CN>: Marks the end of confident, grounded phrases. • </UN>: Marks the end of unconfident, hallucinated phrases. These tokens, when placed before/after objects or phrases in the scene can serve as ad-hoc classifiers of the confidence of the model. I.e. if a model generates a </UN> token after a phrase, that phrase can be considered to be ungrounded, while if it generates a </CN>, that phrase is likely grounded in the image. Annotating our data with such tokens, as is shown in Figure 2, will allow us to train the VLM itself to perform post-hoc verification instead of relying on an external model.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2504.13169")
get_code_for_paper("2504.13169")
have("2504.13169")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2504.13169.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2504.13169)
Connect an agent — have() is free.