Nullu: Mitigating Object Hallucinations in Large Vision-Language Models via HalluSpace Projection
Le Yang, Ziwei Zheng, Boxu Chen, Zhengyu Zhao, Chenhao Lin, Chao Shen
TL;DR
This work tackles object hallucination in large vision-language models by introducing HalluSpace, a low-rank subspace that captures differences between truthful and hallucinated features. The proposed method Nullu edits model weights by projecting them onto the null space of HalluSpace, effectively suppressing untruthful priors without increasing inference cost. The pipeline relies on paired data of truthful and hallucinated prompts to compute layer-wise difference matrices and extract a top-$k$ HalluSpace via SVD, which then informs the weight edits ${\bm{W}}_\ell^{ed}$. Empirical results across multiple LVLM families and benchmarks (CHAIR, POPE, MME) show consistent OH reduction without sacrificing general performance, and the paper discusses connections to DPO and LLM priors, with code released at GitHub.
Abstract
Recent studies have shown that large vision-language models (LVLMs) often suffer from the issue of object hallucinations (OH). To mitigate this issue, we introduce an efficient method that edits the model weights based on an unsafe subspace, which we call HalluSpace in this paper. With truthful and hallucinated text prompts accompanying the visual content as inputs, the HalluSpace can be identified by extracting the hallucinated embedding features and removing the truthful representations in LVLMs. By orthogonalizing the model weights, input features will be projected into the Null space of the HalluSpace to reduce OH, based on which we name our method Nullu. We reveal that HalluSpaces generally contain prior information in the large language models (LLMs) applied to build LVLMs, which have been shown as essential causes of OH in previous studies. Therefore, null space projection suppresses the LLMs' priors to filter out the hallucinated features, resulting in contextually accurate outputs. Experiments show that our method can effectively mitigate OH across different LVLM families without extra inference costs and also show strong performance in general LVLM benchmarks. Code is released at https://github.com/Ziwei-Zheng/Nullu.
