DialogCC: An Automated Pipeline for Creating High-Quality Multi-Modal Dialogue Dataset

Young-Jun Lee, Byungsoo Ko, Han-Gyu Kim, Jonghwan Hyeon, Ho-Jin Choi

TL;DR

The authors introduce DialogCC, a fully automated pipeline that leverages GPT-4 and CLIP to synthesize high-quality, diverse multi-modal dialogue datasets from text-only conversations. By using an LLM to infer natural image-sharing moments and applying a robust cross-modal filtering process, DialogCC dramatically improves the zero-shot generalization of multi-modal dialogue models on unseen datasets without requiring expensive human curation.

What Problem Does This Problem Address?

When humans chat via instant messaging, we naturally share images to build rapport, express emotion, or add context. Developing multi-modal dialogue agents capable of this "image-sharing behavior" requires high-quality training data. However, existing datasets suffer from three major bottlenecks:

  1. Quality: Crowdsourced datasets are clean but expensive and small. Social media scrapes (like Twitter/X) provide scale but are incredibly noisy, often lacking consecutive conversational flow. Simple automated methods that match images to single utterances via text-image similarity models often insert images at completely unnatural moments.
  2. Diversity: Real conversations allow for many different visual interpretations of a single phrase. Existing datasets average fewer than 1.4 images per utterance, forcing models to memorize rigid text-image pairs.
  3. Generalization: Due to low quality and limited diversity, models trained on conventional datasets overfit heavily and fail when evaluated on unseen conversational domains.

This paper tackles these challenges by automating the generation of a high-quality, visually diverse multi-modal dataset from existing text-only dialogues.

Methods

The authors design a three-stage automatic pipeline: Collecting, Aligning, and Filtering.

Figure 2: An overview of our proposed automatic pipeline for creating a high-quality and diverse multi-modal dialogue dataset.

1. Collecting

The pipeline ingests text-only dialogues and a large pool of image-caption pairs (Conceptual Captions 3M). Images are pre-filtered to remove watermarks, copyright phrases, and low-confidence text-image pairs.

2. Aligning (The Core Innovation)

Instead of matching images directly to raw text utterances, the authors feed the entire dialogue history to GPT-4 in a zero-shot setting. GPT-4 acts as an intuitive judge, inferring:

  • The exact conversational turn and speaker where sharing an image makes sense.
  • A detailed, contextualized description of what the image should contain.
  • A rationale explaining why the image fits the conversation.

Once GPT-4 generates the description, a CLIP model calculates two similarity scores: description-to-image and description-to-original-caption. To combine these scores without bias, the authors apply z-score normalization, mitigating the "modality gap" (the mathematical separation of text and image distributions in shared embedding spaces).

3. Filtering

To ensure the dataset remains clean and robust, the authors apply two filtering mechanisms:

  • Thresholding-based Filtering: Images that match too frequently across the dataset (often text-heavy documents or generic placeholders) are purged to prevent model overfitting.
  • Inconsistent Images Filtering: For turns with multiple aligned images, the pipeline runs a pairwise CLIP similarity check. Outlier images that deviate from the collective semantic cluster are discarded, ensuring tight consistency while preserving visual diversity.
Figure 4: We illustrate the inconsistent images filtering process.

Datasets

  • Source Dialogues: Five text-only datasets were aggregated: Persona-Chat, EmpatheticDialogues, Wizard-of-Wikipedia, DailyDialog, and BlendedSkillTalk.
  • Source Images: Conceptual Captions 3M (CC3M).
  • Introduced Benchmark: DialogCC, which contains 83,209 unique dialogues and 129,802 unique images. It features an average of 7.34 images per dialogue and 4.77 images per image-sharing turn, vastly outstripping previous benchmarks in visual diversity.
  • Evaluation Sets: The models were evaluated out-of-domain on PhotoChat, MMDD, MMDialog, Image-Chat, and MPChat.

Key Insights and Ideas

  • Context is King for Multi-Modality: Matching an image to an isolated sentence like "Look at this!" or "I ate it yesterday" is impossible. By providing the LLM with the full dialogue history, it successfully resolves coreferences and conversational intent to generate accurate visual descriptions.
  • Quality Trumps Scale: Despite being significantly smaller than the social-media-scraped MMDialog dataset (83K vs. 1M dialogues), DialogCC-trained models achieved superior generalization performance. This reinforces a core tenet of data-centric AI: clean, diverse, and well-aligned data beats raw volume.
  • Automated Curation Can Match Humans: In head-to-head human evaluations, DialogCC was rated on par with ("Tie") the manually crowdsourced PhotoChat dataset, proving that LLM-guided pipelines can eliminate expensive human-in-the-loop annotation for complex multi-modal tasks.

Key Results

The authors evaluated baseline dual-encoder models (BERT-base + CLIP-B/32) on two tasks: Next Response Prediction and Image Retrieval.

Figure 1: Comparing DialogCC (ours) to three existing multi-modal dialogue dataset in terms of a quality, di- versity, and generalization. RC@1 denotes the averaged contributed R@1 performance.
  • Zero-Shot Generalization: Models trained on DialogCC consistently outperformed models trained on other datasets when tested on completely unseen benchmarks. For example, on the Image-Chat next-response prediction task, the DialogCC model achieved an R@1 of 20.22, compared to 14.37 for MMDialog and 12.66 for MMDD.
  • Human Evaluation Scores: DialogCC achieved high human-rated scores across the board (on a 4-point Likert scale): 3.68 for image-sharing turn relevance, 3.41 for rationale relevance, and 3.57 for image consistency.

Limitations and Future Work

  • Downstream Bias: Because the pipeline relies on CLIP for image matching, it inherits CLIP's documented societal and gender biases (e.g., disproportionately associating female images with specific professions like "hair designer").
  • Cross-Turn Inconsistency: The filtering algorithm ensures that multiple images within the same turn are consistent, but it does not check for visual contradictions across different turns within a long conversation.
  • Lack of Personalization: The dataset maps generic images to utterances. If a user mentions their specific pet breed (e.g., a Chihuahua), a model trained on DialogCC might still retrieve a generic dog image (like a Golden Retriever).

The authors plan to address these limitations in future work by incorporating advanced scene-understanding models and scaling the pipeline to million-scale text datasets like SODA.

Summary updated

Abstract

As sharing images in an instant message is a crucial factor, there has been active research on learning an image-text multi-modal dialogue models. However, training a well-generalized multi-modal dialogue model remains challenging due to the low quality and limited diversity of images per dialogue in existing multi-modal dialogue datasets. In this paper, we propose an automated pipeline to construct a multi-modal dialogue dataset, ensuring both dialogue quality and image diversity without requiring minimum human effort. In our pipeline, to guarantee the coherence between images and dialogue, we prompt GPT-4 to infer potential image-sharing moments - specifically, the utterance, speaker, rationale, and image description. Furthermore, we leverage CLIP similarity to maintain consistency between aligned multiple images to the utterance. Through this pipeline, we introduce DialogCC, a high-quality and diverse multi-modal dialogue dataset that surpasses existing datasets in terms of quality and diversity in human evaluation. Our comprehensive experiments highlight that when multi-modal dialogue models are trained using our dataset, their generalization performance on unseen dialogue datasets is significantly enhanced. We make our source code and dataset publicly available.
BibTeX
@inproceedings{lee2024dialogcc,
  author = {Young-Jun Lee and Byungsoo Ko and Han-Gyu Kim and Jonghwan Hyeon and Ho-Jin Choi},
  title = {{DialogCC: An Automated Pipeline for Creating High-Quality Multi-Modal Dialogue Dataset}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=KXONSkBUKh},
}
Figure