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:
- 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.
- 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.
- 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.
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.
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.
- 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