SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.02712 · 2024

V-DPO: Mitigating Hallucination in Large Vision Language Models via Vision-Guided Direct Preference Optimization

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 functions out of this paper's own repositories and ran 6 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
yuxixie/v-dpo canonical 6 of 7
FunctionStatusWhere it lives
expand2square Ran yuxixie/v-dpo/llava_dpo/mm_utils.py
code served (permissive licence) · get_code("592b3c1a88f93d7c")
get_chunk Ran yuxixie/v-dpo/llava_dpo/eval/model_vqa.py
code served (permissive licence) · get_code("42a46570620cd9fa")
is_none Ran yuxixie/v-dpo/llava_dpo/eval/model_vqa_mmbench.py
code served (permissive licence) · get_code("bae18947b56f2be1")
load_image Ran yuxixie/v-dpo/llava_dpo/eval/model_vqa_qbench.py
code served (permissive licence) · get_code("9b3c1cb391672ccb")
load_image_from_base64 Ran yuxixie/v-dpo/llava_dpo/mm_utils.py
code served (permissive licence) · get_code("c3ee9d07c900dd55")
split_list Ran yuxixie/v-dpo/llava_dpo/eval/model_vqa.py
code served (permissive licence) · get_code("076c252c52cbb161")
process_images Not yet run yuxixie/v-dpo/llava_dpo/mm_utils.py
code served (permissive licence) · get_code("344dff4791fd1381")

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) suffer from hallucination, resulting in misalignment between the output textual response and the input visual content. Recent research indicates that the over-reliance on the Large Language Model (LLM) backbone, as one cause of the LVLM hallucination, inherently introduces bias from language priors, leading to insufficient context attention to the visual inputs. We tackle this issue of hallucination by mitigating such over-reliance through preference learning. We propose Vision-guided Direct Preference Optimization (V-DPO) to enhance visual context learning at training time. To interpret the effectiveness and generalizability of V-DPO on different types of training data, we construct a synthetic dataset containing both response- and image-contrast preference pairs, compared against existing human-annotated hallucination samples. Our approach achieves significant improvements compared with baseline methods across various hallucination benchmarks. Our analysis indicates that V-DPO excels in learning from image-contrast preference data, demonstrating its superior ability to elicit and understand nuances of visual context. Our code is publicly available at https://github.com/YuxiXie/V-DPO.

For agents

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

get_harvested_code_for_paper("2411.02712")
get_code_for_paper("2411.02712")
have("2411.02712")

Connect an agent — have() is free.