DOCCI: Descriptions of Connected and Contrasting Images

Yasumasa Onoe, Sunayana Rane, Zachary Berger, Yonatan Bitton, Jaemin Cho, Roopal Garg, Alexander Ku, Zarana Parekh, Jordi Pont-Tuset, Garrett Tanzer, Su Wang, Jason Baldridge · DOI

Introduction

Current vision-language models (VLMs) have made significant strides in general object recognition and scene understanding. However, much of this progress has been built upon datasets like MS-COCO, where captions are notoriously brief—averaging only about ten words. While sufficient for identifying primary subjects, these sparse descriptions fail to capture the "long tail" of visual complexity, such as precise spatial relationships, specific text rendering, and the subtle interplay of light and shadow.

To address these limitations, we introduce the Descriptions of Connected and Contrasting Images (DOCCI) dataset. DOCCI provides 15,000 images paired with exceptionally long, human-annotated descriptions averaging 136 words. This dataset is designed to push the boundaries of both image-to-text (I2T) generation and text-to-image (T2I) synthesis by providing a level of detail that forces models to move beyond global "vibes" toward true compositional understanding.

The DOCCI Dataset

The philosophy behind DOCCI is "quality over quantity." Rather than scraping millions of low-quality web images, the dataset focuses on a curated set of 14,847 images captured primarily by a single researcher and his family. This curation specifically targets challenges that current models struggle with, including counting, text rendering, and specific world knowledge.

Annotation Pipeline

The descriptions were created using a rigorous three-stage human annotation process:

  1. Information Extraction: Annotators first identify key objects and their specific attributes.
  2. Drafting: These details are woven into a coherent natural language narrative.
  3. Refinement: The final description is polished to ensure it is "connected and contrasting." This means the text contains enough specific detail to distinguish the target image from a set of "distractor" images that might be visually similar but differ in fine-grained details (e.g., a cat looking left versus a cat looking right).

Unlike other dense datasets that concatenate short segment captions, DOCCI descriptions are written as coherent, "newspaper-style" articles. This provides a superior training signal for learning complex linguistic structures and narrative flow.

Experimental Methodology

To evaluate the utility of DOCCI, the researchers fine-tuned a PaLI 5B model on the dataset. This modest 5-billion-parameter model was then compared against significantly larger state-of-the-art models, including LLaVA-1.5 (7B) and InstructBLIP (7B).

The evaluation framework utilized a combination of:

  • Automatic Metrics: CIDEr and BLEU scores to measure captioning accuracy.
  • Human Evaluation: Side-by-side (SxS) comparisons where human annotators judged models based on precision (accuracy of claims) and recall (level of detail).
  • T2I Benchmarking: Testing how well text-to-image models like DALL-E 3, Imagen, and Stable Diffusion XL (SDXL) could reconstruct images from DOCCI’s dense prompts.

Results and Analysis

Image-to-Text (I2T) Performance

The results demonstrate that high-quality data can compensate for smaller model sizes. The PaLI 5B model fine-tuned on DOCCI achieved a CIDEr score of 16.0, more than doubling the performance of LLaVA-1.5 7B (6.4) and InstructBLIP 7B (5.9).

In human preference tests, the DOCCI-trained PaLI was consistently preferred over LLaVA and InstructBLIP for both precision and recall. While GPT-4V remained more precise in its descriptions, the PaLI model often provided a higher level of descriptive detail, highlighting the effectiveness of the DOCCI training signal.

Text-to-Image (T2I) Challenges

DOCCI also serves as a rigorous benchmark for T2I models. A significant finding was the "77-token wall": many current models, such as SDXL, have strict input limits that truncate DOCCI’s long prompts. This truncation results in the loss of critical spatial and attribute information.

DALL-E 3 performed the best in this category, largely due to its 4,000-character input limit, which allowed it to process the full DOCCI descriptions. However, even the most advanced models still struggled with precise counting and complex spatial relationships, indicating that "dense" visual understanding remains an unsolved problem.

Limitations and Future Work

While DOCCI provides a high-quality signal, it is a "boutique" dataset of 15,000 images, intended for fine-tuning rather than training foundation models from scratch. Furthermore, because the images were sourced from a single family, the dataset exhibits a geographic bias toward the United States (specifically Texas, California, and New York) and everyday domestic scenes.

Future research directions include developing automated metrics that better align with human judgment for long-form descriptions and using DOCCI to improve the input length capabilities of T2I models.

Conclusion

DOCCI demonstrates that the bottleneck in current vision-language modeling is often the quality of training data rather than the number of model parameters. By providing dense, coherent, and contrasting descriptions, DOCCI offers a new path forward for developing models that truly understand the rich, compositional reality of the visual world.

Summary updated

BibTeX
@inproceedings{onoe2024docci,
  author = {Yasumasa Onoe and Sunayana Rane and Zachary Berger and Yonatan Bitton and Jaemin Cho and Roopal Garg and Alexander Ku and Zarana Parekh and Jordi Pont-Tuset and Garrett Tanzer and Su Wang and Jason Baldridge},
  title = {{DOCCI: Descriptions of Connected and Contrasting Images}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73027-6\_17},
}
Figure