HalluSegBench: Counterfactual Visual Reasoning for Segmentation Hallucination Evaluation

Xinzhuo Li, Adheesh Juvekar, Xingyou Liu, Muntasir Wahed, Kiet A. Nguyen, Ismini Lourentzou

Abstract

Recent progress in vision-language segmentation has significantly advanced grounded visual understanding. However, these models often exhibit hallucinations by producing segmentation masks for objects not grounded in the image content or by incorrectly labeling irrelevant regions. Existing evaluation protocols for segmentation hallucination primarily focus on label or textual hallucinations without manipulating the visual context, limiting their capacity to diagnose critical failures. In response, we introduce HalluSegBench, the first benchmark specifically designed to evaluate hallucinations in visual grounding through the lens of counterfactual visual reasoning. Our benchmark consists of a novel dataset of 1,340 counterfactual instance pairs spanning 281 unique object classes, and a set of newly introduced metrics that quantify hallucination sensitivity under visually coherent scene edits. Experiments on HalluSegBench with state-of-the-art vision-language segmentation models reveal that vision-driven hallucinations are significantly more prevalent than label-driven ones, highlighting the need for counterfactual reasoning to diagnose grounding fidelity.

Introduction

Vision-Language Models (VLMs) for segmentation, such as LISA and GLaMM, are designed to produce precise pixel-level masks from natural language queries. However, these models frequently suffer from "pixel-grounding hallucinations"—generating masks for objects that are absent or contextually plausible but incorrect. Traditional benchmarks often rely on text-based negatives (e.g., asking for a "dog" in a "cat" image), which are easily bypassed by models. The primary challenge remains vision-driven hallucination, where models over-rely on semantic priors—such as expecting a microwave in a kitchen—rather than specific visual evidence.

The Counterfactual Segmentation Reasoning (CSR) Task

To address these limitations, we propose the Counterfactual Segmentation Reasoning (CSR) task. In this framework, a model is evaluated on its ability to distinguish between a factual image (containing object A) and a counterfactual image (where A is replaced by a visually similar distractor B). A robust model must successfully segment the target in the factual scene and correctly abstain from segmenting it in the counterfactual scene, despite the identical surrounding context.

Figure 3: Overview of the HalluSegBench framework, showcasing Referral and Reasoning tasks alongside dataset category distributions and a performance comparison of state-of-the-art models.

HalluSegBench and Evaluation Metrics

HalluSegBench is a large-scale benchmark specifically designed for the CSR task. It comprises 1,340 factual-counterfactual pairs created through "surgical" object replacements using generative editing tools. This methodology ensures that the only variance between image pairs is the target object, forcing the model to rely on visual reasoning rather than background cues.

Figure 4: A counterfactual example from HalluSegBench where a "yellow taxi" is replaced by a red vehicle, testing the model's ability to avoid false segmentation in the edited scene.

To quantify these failures, we introduce the Confusion Mask Score (CMS). Unlike standard Intersection over Union (IoU), CMS specifically penalizes "structured hallucinations," where a model's predicted mask for a missing object overlaps with the distractor that replaced it.

RobustSeg and Counterfactual Finetuning

We introduce RobustSeg, a model optimized to mitigate grounding hallucinations. RobustSeg is trained using Counterfactual Finetuning (CFT), a strategy that employs a positive-negative decomposition loss. By training on quartets of factual and counterfactual pairs, the model learns to explicitly identify when a requested object is missing and output a dedicated "no such object" token.

Key Insights and Results

Our experiments yield several critical insights:

  • Vision-Driven Hallucinations: These are significantly more prevalent and harder to mitigate than label-driven ones.
  • The Prior Trap: Models often fail by relying on learned associations (e.g., kitchen context) rather than visual confirmation.
  • Performance: RobustSeg achieved a 30% reduction in CMS compared to state-of-the-art baselines like SESAME and demonstrated superior localization accuracy (83.37% on FP-RefCOCO).

Conclusion

HalluSegBench exposes a critical vulnerability in current segmentation VLMs: the tendency to hallucinate based on visual similarity and semantic priors. By integrating counterfactual reasoning into evaluation and training, we can develop models with significantly higher grounding fidelity and reliability.

Summary updated

Abstract

Recent progress in vision-language segmentation has significantly advanced grounded visual understanding. However, these models often exhibit hallucinations by producing segmentation masks for objects not grounded in the image content or by incorrectly labeling irrelevant regions. Existing evaluation protocols for segmentation hallucination primarily focus on label or textual hallucinations without manipulating the visual context, limiting their capacity to diagnose critical failures. In response, we introduce HalluSegBench, the first benchmark specifically designed to evaluate hallucinations in visual grounding through the lens of counterfactual visual reasoning. Our benchmark consists of a novel dataset of 1340 counterfactual instance pairs spanning 281 unique object classes, and a set of newly introduced metrics that quantify hallucination sensitivity under visually coherent scene edits. Experiments on HalluSegBench with state-of-the-art vision-language segmentation models reveal that vision-driven hallucinations are significantly more prevalent than label-driven ones, with models often persisting in false segmentation, highlighting the need for counterfactual reasoning to diagnose grounding fidelity.
BibTeX
@inproceedings{li2026hallusegbench,
  author = {Xinzhuo Li and Adheesh Juvekar and Xingyou Liu and Muntasir Wahed and Kiet A. Nguyen and Ismini Lourentzou},
  title = {{HalluSegBench: Counterfactual Visual Reasoning for Segmentation Hallucination Evaluation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=VH27R3maC5},
}
Figure