Abstract
Large Vision-Language Models (LVLMs) frequently suffer from multimodal hallucinations, where they generate descriptions of objects or attributes not present in the input image. This paper identifies a novel cause for this phenomenon: the pressure exerted by overly detailed training data on the model's End-of-Sentence (EOS) decision. When training targets are excessively long, models are penalized for stopping early, even if they have exhausted their visual perception limits. By introducing Selective EOS Supervision and a data-filtering metric based on EOS suppression, we demonstrate that allowing models to stop when visual certainty ends significantly reduces hallucinations without requiring additional data or external knowledge.
1. Introduction
Large Vision-Language Models (LVLMs) such as LLaVA and MiniGPT have achieved remarkable success in multimodal understanding. However, their tendency to "hallucinate"—generating factually incorrect information about visual scenes—remains a primary barrier to reliable deployment. While previous research has focused on improving vision encoders or mitigating language model biases, this study investigates the training objective itself. We find that the standard Maximum Likelihood Estimation (MLE) objective, when paired with highly detailed captions, inadvertently trains models to prioritize length over factual grounding.
2. The Problem: Over-Generation and the EOS Penalty
Standard training datasets often contain lengthy, high-quality descriptions generated by humans or proprietary LLMs. During training, if a model predicts an End-of-Sentence (EOS) token before reaching the end of the ground-truth caption, it is heavily penalized.
This creates a "length-bias trap." As the model generates a response, it monitors its progress relative to expected lengths. If the model reaches the limit of what it can actually perceive in the image but has not yet reached the expected length of the target sequence, it begins to "guess" to fill the remaining space. Essentially, the model is punished for being concise and truthful, forcing it to hallucinate to satisfy the training objective.
3. Methodology
We propose two strategies to refine the model's decision-making process regarding when to terminate generation.
3.1 Selective EOS Supervision
In standard MLE training, every token in the ground truth is supervised equally. We modify this objective so that when the ground-truth label is a content token, the model is not penalized for assigning probability to the EOS token. This "Selective EOS Supervision" gives the model permission to feel that a description is complete based on its visual input, even if the training label suggests more text should follow. This prevents the model from being discouraged when it inherently recognizes that it has exhausted the available visual information.
3.2 Scoring EOS Supervision (Data Filtering)
Not all training data is equally beneficial. We developed a "harmfulness" metric, $S_{final}$, to identify specific training samples that most aggressively suppress the model's tendency to stop correctly. By calculating the degree to which a data point forces the model to ignore its internal "completeness check," we can filter out the most problematic samples. Our experiments show that removing the top 10-30% of these "harmful" samples—despite them being high-quality, detailed captions—actually improves the model's overall reliability.
4. Experimental Results
We evaluated our methods using LLaVA-1.5 (7B) across several benchmarks, including CHAIR (Caption Hallucination Assessment with Image Relevance), FaithScore, and MME.
4.1 Hallucination Reduction
Our Selective EOS Supervision method yielded substantial improvements in truthfulness:
- CHAIR_S (Sentence-level): Reduced hallucinations by 26.4%.
- CHAIR_I (Instance-level): Reduced hallucinations by 26.6%.
Furthermore, the data filtering approach proved that "less is more." By simply removing the 20% most harmful samples from the training set, we observed a reduction in hallucinations of over 23%. This confirms that certain types of "high-quality" data are detrimental to model calibration.
4.2 Comparison with Inference-Time Methods
Unlike popular inference-time interventions such as Visual Contrastive Decoding (VCD) or OPERA, our proposed methods are applied during training. This means they provide superior or competitive hallucination mitigation without adding any computational overhead or latency during model deployment.
5. Discussion and Insights
Saliency analysis reveals that the EOS token serves as a unique "completeness check." When predicting a standard word, the model focuses on the immediate preceding context. However, when deciding whether to output an EOS token, the model attends to the entire generated sequence and compares it against the visual features of the image. This suggests that models have an innate sense of when they have "said enough," which our methods successfully leverage.
While our approach significantly increases Precision and Truthfulness, it does result in a slight decrease in Recall (the total number of objects mentioned). This highlights a fundamental trade-off: by being more conservative, the model avoids guessing, leading to shorter but more accurate descriptions.
6. Conclusion and Future Work
This research demonstrates that multimodal hallucinations are often a byproduct of how we supervise the termination of sequences. By refining the EOS decision—either through modified loss functions or strategic data filtering—we can create LVLMs that are significantly more faithful to their visual inputs. Future work will focus on expanding visual perception limits to allow models to be both highly detailed and highly accurate, bridging the gap between recall and precision.
Summary updated