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.
Introduction: The Challenge of Object Hallucination
Large Vision-Language Models (LVLMs) such as LLaVA and GPT-4V have demonstrated remarkable capabilities in multimodal reasoning. However, they frequently encounter a significant hurdle: Object Hallucination (OH). This phenomenon occurs when a model describes objects that are not present in the provided image. For example, as shown in the figure below, a model might correctly identify a bookshelf but incorrectly claim there is a "desk lamp" illuminating the scene when only a pair of scissors is present.
Previous research indicates that these hallucinations often stem from the Large Language Model (LLM) backbone relying too heavily on internal linguistic priors—statistical associations like "bookshelves usually have lamps nearby"—rather than the actual visual evidence. While existing solutions like fine-tuning or post-hoc decoding exist, they are often computationally expensive or significantly slow down inference.
Methodology: The Nullu Framework
To address this, we propose Nullu (Null space projection), a training-free weight-editing method that neutralizes hallucination-prone directions in the model's feature space. The process is divided into two distinct phases: the editing phase and the inference phase.
1. Exploring HalluSpace
The researchers first identify a specific subspace, termed HalluSpace, where hallucinations reside. By generating pairs of truthful and hallucinated text descriptions for the same image, they extract hidden features from the LVLM. Using Singular Value Decomposition (SVD) on the difference between these features, they isolate a low-rank subspace representing the directions in which the model tends to hallucinate.
2. Weight Editing via Null Space Projection
Once the HalluSpace ($v$) is identified, the model's Multi-Layer Perceptron (MLP) weights ($W^{org}$) are modified. The weights are projected into the null space of the HalluSpace using the formula: $W^{ed} = (I - vv^T)W^{org}$. This effectively "mutes" the model's ability to represent features along hallucination-prone directions. Because this is a one-time weight edit, the model can be used normally afterward with zero additional computational cost or latency during generation.
Experimental Results
Nullu was evaluated across several standard benchmarks, including CHAIR (on MSCOCO), POPE, and MME, using popular open-source LVLM families like LLaVA-1.5, MiniGPT-4, and mPLUG-Owl2.
- Hallucination Reduction: On LLaVA-1.5, Nullu reduced the sentence-level hallucination rate ($CHAIR_S$) from 20.40 to 15.20, outperforming other state-of-the-art methods like VCD and OPERA.
- Consistency: The method achieved the highest accuracy on the POPE benchmark (e.g., 79.52% on LLaVA-1.5), which tests binary consistency regarding object presence.
- General Performance: On the MME benchmark, Nullu actually improved scores in perception and recognition tasks. This suggests that filtering out "hallucination noise" allows the model to focus more accurately on visual content.
- Efficiency: Unlike decoding-based mitigations that can drop throughput by 50% or more, Nullu maintains the same tokens-per-second as standard greedy decoding, making it over 10x faster than competitors like HALC.
Key Insights and Conclusion
A critical finding of this work is that hallucinations are low-rank; they occupy a very specific, narrow portion of the feature space. By decoding the vectors within the HalluSpace, we confirmed they correspond to common linguistic priors. Nullu provides a geometric solution to suppress these priors, acting as a lightweight alternative to Direct Preference Optimization (DPO).
While the method requires careful selection of layers and subspace rank, it offers a powerful, efficient path toward more truthful LVLMs. Future work may extend this weight-editing approach to other safety alignments, such as mitigating toxicity or bias.
Summary updated