SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.18654 · ICLR · 2025

Mitigating Object Hallucination in MLLMs via Data-augmented Phrase-level Alignment

Sayna Ebrahimi, Tomas Pfister, Ahmad Beirami, Sercan Arık, Ali Etemad, Pritam Sarkar

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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; 5 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2405.18654.json · badge: /api/ran/2405.18654.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
pritamqu/HALVA canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
FunctionStatusWhere it lives
get_chunk Ran
ran; our contract draft was wrong, not the code
pritamqu/HALVA/eval_hall/model_amber_loader.py
pointer only (licence: NONE) · get_code("42a46570620cd9fa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pritamqu/HALVA 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
pritamqu/HALVA/vila/train/halva_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, pritamqu/HALVA 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.

moving_average Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pritamqu/HALVA/llava/train/train_halva.py
pointer only (licence: NONE) · get_code("4b9b7f2c9ec6c036")
How it ran

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

parse_model_name_or_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pritamqu/HALVA/vila/model/builder_halva.py
pointer only (licence: NONE) · get_code("9b4d5acd36382b39")
How it ran

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

split_list Ran
ran; our contract draft was wrong, not the code
pritamqu/HALVA/eval_hall/model_amber_loader.py
pointer only (licence: NONE) · get_code("076c252c52cbb161")
How it ran

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

split_to_even_chunks Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
pritamqu/HALVA/llava/train/halva_trainer.py
pointer only (licence: NONE) · get_code("10893c4608c08075")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pritamqu/HALVA 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_mm_adapter_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
pritamqu/HALVA/llava/train/halva_trainer.py
pointer only (licence: NONE) · get_code("bb35e3ac741bb2c9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, pritamqu/HALVA 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_peft_state_maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
pritamqu/HALVA/llava/train/train_halva.py
pointer only (licence: NONE) · get_code("fa1225dfac92bc0d")
How it ran

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

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
pritamqu/HALVA/llava/train/halva_trainer.py
pointer only (licence: NONE) · get_code("735025744c1ab0cf")
How it ran

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

maybe_zero_3 Not yet run
unverified (harvested, no recorded run)
pritamqu/HALVA/llava/train/train_halva.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, pritamqu/HALVA 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 5 the same month, 8 later) and 2 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
split_list 197 other papers
51 dated earlier, 8 the same month, 131 later, 6 same year, order not determinable, 1 undated
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 194 more not named here
get_chunk 189 other papers
49 dated earlier, 8 the same month, 126 later, 6 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 186 more not named here
get_mm_adapter_state_maybe_zero_3 43 other papers
14 dated earlier, 29 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 40 more not named here
maybe_zero_3 42 other papers
15 dated earlier, 27 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 39 more not named here
split_to_even_chunks 40 other papers
13 dated earlier, 27 later
2304.05884 (2023-04)
Unicom: Universal and Compact Representation Learning for Image Retrieval
2304.08485 (2023-04)
Visual Instruction Tuning
2310.03744 (2023-10)
Improved Baselines with Visual Instruction Tuning
and 37 more not named here
maybe_zero_3 37 other papers
10 dated earlier, 2 the same month, 25 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
get_peft_state_maybe_zero_3 23 other papers
4 dated earlier, 2 the same month, 17 later
2310.01779 (2023-10)
HallE-Control: Controlling Object Hallucination in Large Multimodal Models
2401.02330 (2024-01)
LLaVA-Phi: Efficient Multi-Modal Assistant with Small Language Model
2402.12501 (2024-02)
Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection
and 20 more not named here
is_transformers_greater_than 4 other papers
1 dated earlier, 1 the same month, 2 later
2404.14233 (2024-04)
Detecting and Mitigating Hallucination in Large Vision Language Models via Fine-Grained AI Feedback
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-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

Despite their significant advancements, Multimodal Large Language Models (MLLMs) often generate factually inaccurate information, referred to as hallucination. In this work, we address object hallucinations in MLLMs, where information is generated about an object not present in the input image. We introduce Dataaugmented Phrase-level Alignment (DPA), a novel loss which can be applied to instruction-tuned off-the-shelf MLLMs to mitigate hallucinations, while preserving their general vision-language capabilities. To fine-tune MLLMs with DPA, we first generate a set of 'hallucinated' and 'correct' response pairs through generative data augmentation by selectively altering the ground-truth information of the correct responses at a phrase level. The DPA loss is then used to train MLLMs to reduce the likelihood of hallucinated phrases compared to the correct ones. In contrast, existing alignment techniques act at the sequence level and often lead to a sharp trade off between mitigating hallucinations and preserving model capabilities. Our thorough evaluation on various benchmarks confirms the effectiveness of DPA in mitigating hallucination while retaining the out-of-the-box performance of the MLLMs on general tasks. For instance, MLLMs finetuned with DPA, which we refer to as Hallucination Attenuated Language and Vision Assistant (HALVA), improve F1 by up to 13.4% on hallucination visual question-answering and reduce the hallucination rate by up to 4.2% on image description tasks. LLaVA-v1.5 HALVA In the image, there are several utensils, including forks, knives, and spoons, made out of Legos.

For agents

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

get_harvested_code_for_paper("2405.18654")
get_code_for_paper("2405.18654")
have("2405.18654")

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

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

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

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

Connect an agent — have() is free.