Reproduce “Role-Break in Attention Heads: Understanding and Detecting Hallucinations in VLMs” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Mingyu Wang, Weilin Jin, Wenbo Li, Haoyang Huang, Nan Duan, Tong Jia, Chaoran Luo, Ying Li

A study by Peking University and Joy Future Academy characterizes Vision-Language Model (VLM) hallucinations as "Role-Break," a phenomenon where attention heads systematically deviate from their established functional roles. This understanding enables an efficient, state-of-the-art hallucination detector, achieving an average AUROC of 96.95% on discriminative benchmarks with minimal computational overhead.

Key insights

  • Hallucination-related information is localized in heterogeneous, per-head attention patterns, not in global shifts or single aggregate features.
  • Individual attention heads maintain stable "faithful roles" during correct generation, and hallucinations cause reproducible, systematic deviations from these roles ("Role-Break").
  • The "Role-Break" phenomenon is linearly readable; its discriminative power for hallucination detection relies on the precise per-head, per-source coordinate structure of these deviations.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.