Abstract
While recent years have seen rapid progress in image-conditioned text generation, image captioning still suffers from the fundamental issue of hallucinations—the generation of spurious details that cannot be inferred from the given image. Existing methods largely use closed-vocabulary object lists to mitigate or evaluate hallucinations, ignoring the long-tailed nature of hallucinations in practice. We propose a framework for addressing hallucinations in the open-vocabulary setting. Our framework includes OpenCHAIR, a new benchmark leveraging generative foundation models to evaluate open-vocabulary object hallucinations, surpassing the popular CHAIR benchmark in diversity and accuracy. Furthermore, we propose MOCHa, an approach harnessing reinforcement learning with a multi-objective reward function to explicitly target the trade-off between fidelity and adequacy. MOCHa improves a variety of image captioning models across multiple metrics.
Introduction: The "Skateboard" Problem
Imagine asking an AI to describe a photo of people jumping on a flight of stairs, and it confidently claims they are jumping on a skateboard. This is a classic "hallucination"—the generation of details that aren't present in the visual input. While image captioning has advanced significantly, these fabrications remain a major hurdle for deploying Vision-Language Models (VLMs) in high-stakes environments.
Existing mitigation strategies often rely on "closed-vocabulary" lists, typically the 80 common object categories in the MS-COCO dataset. However, real-world hallucinations are "long-tailed." A model might hallucinate an "emerald," a "tricycle," or a "wand"—objects that fall outside standard benchmarks. To address this, we introduce MOCHa, a reinforcement learning framework designed to prune fabrications without sacrificing descriptive richness.
The OpenCHAIR Benchmark
To capture the diversity of real-world objects, we developed OpenCHAIR, a synthetic benchmark. Using an LLM (Llama-2) to brainstorm diverse captions containing rare objects and a text-to-image model (Stable Diffusion XL) to generate corresponding images, we created a dataset with an "open" vocabulary of 2,400 unique object types. This is a significant expansion over the 80 types found in the traditional CHAIR benchmark.
The evaluation process uses an LLM-based object parsing system to determine if objects mentioned in a generated caption are actually present in the ground-truth context, allowing for a more nuanced assessment than simple string matching.
The MOCHa Framework: Balancing Fidelity and Adequacy
A fundamental tension exists in captioning: Fidelity (factuality) vs. Adequacy (descriptiveness). Optimizing solely for fidelity can lead to "lazy" models that produce generic, safe captions (e.g., "an image"). MOCHa (Mitigating Open-vocabulary Caption Hallucinations) uses Reinforcement Learning (PPO) to find the Pareto frontier between these two objectives.
The MOCHa reward function consists of:
- Fidelity Reward ($r_f$): Employs a Natural Language Inference (NLI) model to check if the generated caption contradicts the ground-truth description.
- Adequacy Reward ($r_a$): Uses BERTScore to ensure the caption remains semantically rich relative to the reference.
- KL Regularization: Prevents the model from drifting into "mode collapse" or generating gibberish to maximize rewards.
Evaluation and Results
MOCHa consistently improves state-of-the-art models like BLIP, BLIP-2, and GIT. On the OpenCHAIR benchmark, MOCHa significantly reduced hallucination rates. For instance, BLIP-2's performance improved, and BLIP-Large saw dramatic relative gains.
Human evaluations confirm that OpenCHAIR's automated metrics correlate much more highly with human judgment (93-94% balanced accuracy) than the older CHAIR metric (~80%). Furthermore, MOCHa's improvements generalize beyond the MS-COCO training set to other datasets like Flickr30K and CC3M, demonstrating that the framework effectively learns to mitigate hallucinations rather than just overfitting to a specific dataset style.
Conclusion
MOCHa and OpenCHAIR represent a shift toward addressing the long-tail, open-vocabulary nature of hallucinations in image captioning. By balancing fidelity and adequacy through multi-objective reinforcement learning, we can develop models that are both truthful and descriptive, moving closer to reliable AI deployment in complex, real-world scenarios.
Summary updated