Benchmarking and Improving Detail Image Caption

Hongyuan Dong, Jiawen Li, Bohong Wu, Jiacong Wang, Yuan Zhang, Haoyuan GuoarXiv 2024 · DOI

Abstract

Modern Large Vision-Language Models (LVLMs) can describe images in incredible detail, but evaluation metrics remain optimized for short, generic captions. This paper introduces CAPTURE, a novel metric that evaluates captions by matching core visual elements—objects, attributes, and relations—extracted into scene graphs. Alongside this metric, we present a massive new benchmark and a "divide-and-conquer" pipeline that enables models to improve their own captioning capabilities through a self-looping synthesis process.

Introduction

We are currently facing a "captioning crisis" in computer vision. While models like GPT-4V or InternVL can generate rich, paragraph-length descriptions, they are still evaluated using $n$-gram matching metrics like BLEU or CIDEr. These traditional metrics suffer from two major flaws: style bias, where correct descriptions are penalized for stylistic differences, and an information gap, where detailed model outputs are compared against sparse human references (e.g., COCO). This leads to misleading evaluation results that fail to capture the true progress of modern LVLMs.

Methodology

The CAPTURE Metric

To move beyond simple word matching, we propose CAPTURE (CAPtion evaluation by exTracting and coUpling coRE information). This metric focuses on the underlying visual elements of a scene.

Overview of the CAPTURE metric and the five-stage data synthesis pipeline.

The CAPTURE process involves:

  1. Extraction: Utilizing a T5-based language model to parse captions into a "scene graph" of objects, their attributes (e.g., color, size), and their relations (e.g., spatial positions).
  2. Filtering: Removing abstract nouns (e.g., "foreground") that do not represent physical objects using a curated stop-word list.
  3. Three-Stage Matching: Matching elements between candidate and reference captions using a hierarchy of Exact matching, Synonym matching (via WordNet), and Soft matching (via Sentence-BERT).

Data Construction Pipeline

To improve model performance without expensive human labels, we introduce a five-stage "divide-and-conquer" strategy:

  1. Overall Caption: Generate a global description.
  2. Salient Detection: Use Segment Anything (SAM) to identify key objects.
  3. Local Captioning: Generate detailed descriptions for each cropped object.
  4. Hallucination Filtering: Use an open-vocabulary detector (Owlv2) to verify the existence of mentioned objects.
  5. Merging: Use an LLM to integrate global and local information into a coherent, high-quality caption.

Benchmarks and Datasets

We introduce two high-quality benchmarks for detailed captioning:

  • DetailCaps-100: 100 images with gold-standard captions meticulously refined by human experts.
  • DetailCaps-4870: A large-scale benchmark with 4,870 cases annotated by top-tier models (GPT-4V, Gemini-1.5-Pro, and GPT-4O) to provide reliable evaluation references.

Results and Discussion

Our experiments demonstrate that CAPTURE is significantly more consistent with human expert judgment than traditional metrics.

Comparison of CAPTURE against traditional rule-based and model-based metrics across DetailCaps benchmarks.

Key insights include:

  • Metric Reliability: CAPTURE outperformed all traditional metrics (BLEU, METEOR, CIDEr, SPICE), improving the Pearson correlation coefficient (PCC) by 15.6% over previous state-of-the-art baselines.
  • Model Benchmarking: Evaluation reveals that InternVL-V1.5-26B currently leads open-source models in detailed image captioning.
  • Downstream Gains: Training LLaVA-1.5 on 25k synthesized "DetailCaps" samples improved performance across standard benchmarks like MME and MMMU, proving that better captioning data enhances general visual understanding.

Conclusion

The CAPTURE metric and the associated synthesis pipeline address the critical need for better evaluation and training data in the era of detailed image captioning. By focusing on visual elements rather than syntax, we provide a more robust framework for assessing LVLMs. While current methods rely on external tools like SAM and Owlv2, future work will explore integrated architectures to further reduce hallucinations and improve fine-grained detail.

Summary updated

BibTeX
@misc{dong2024benchmarking,
  author = {Hongyuan Dong and Jiawen Li and Bohong Wu and Jiacong Wang and Yuan Zhang and Haoyuan Guo},
  title = {{Benchmarking and Improving Detail Image Caption}},
  year = {2024},
  eprint = {2405.19092},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.19092},
}
Figure