Multimodal Dialogue Response Generation

Qingfeng Sun, Yujing Wang, Can Xu, Kai Zheng, Yaming Yang, Huang Hu, Fei Xu, Jessica Zhang, Xiubo Geng, Daxin Jiang

Introduction

While text-based chatbots have seen significant advancements, human communication is inherently multimodal. We frequently share photos to express emotions, showcase locations, or provide visual details that words alone cannot capture. Existing multimodal bots often rely on retrieval-based methods, selecting images from a fixed library. This approach is limited by the scope of the database; if a suitable image does not exist, the system fails.

Example of a multimodal dialogue where users share text and images to enrich the conversation.

The ideal solution is a generative model capable of creating new images or text responses based on the conversation context. However, training such models typically requires massive "text + image" dialogue datasets, which are scarce and expensive to collect. Researchers from Microsoft addressed this "low-resource" challenge at ACL 2022 by introducing Divter, a generative model for Multimodal Dialogue Response Generation (MDRG).

Methodology: The Divter Architecture

The core innovation of Divter is the disentanglement of the dialogue logic from the visual generation. Instead of a monolithic model, the task is split into two specialized Transformer-based components:

  1. Textual Dialogue Response Generator ($\mathcal{G}$): This component manages the conversational flow. It processes the dialogue history to generate either a text response or a textual description of an intended image.
  2. Text-to-Image Translator ($\mathcal{F}$): This component serves as the model's "imagination," translating the generated description into a high-resolution image.
The Divter architecture disentangles textual dialogue generation from text-to-image translation, allowing for effective pre-training on unimodal data.

By separating these components, they can be pre-trained on vast amounts of easily accessible unimodal data. The dialogue generator was pre-trained on 147 million Reddit conversations, while the image generator utilized millions of image-caption pairs from ImageNet and YFCC100M. The system uses VQGAN (Vector Quantized Generative Adversarial Network) to tokenize images, allowing the Transformer to treat image generation as a sequence-to-sequence task similar to language translation.

Evaluation and Results

The model was fine-tuned and evaluated using the PhotoChat dataset, which contains approximately 12,000 dialogues. Divter demonstrated significant improvements over baseline sequence-to-sequence Transformers (S2S-TF):

  • Image Realism: Divter achieved a Fréchet Inception Distance (FID) of 29.16, compared to 278.63 for the baseline. A lower FID indicates images that are much more realistic.
  • Dialogue Coherence: Human evaluations rated Divter at 1.59/2.0 for context coherence, far exceeding the baseline's 0.42.
  • Intent Prediction: The model's ability to decide when to send a picture (F1 score of 56.2) outperformed the baseline (47.6).

Conclusion and Future Work

Divter demonstrates that using natural language as an intermediate "bridge" makes multimodal systems more interpretable and easier to train with limited data. While currently focused on static images, future work may expand to include GIFs, video, or speech. Additionally, addressing the computational expense of high-resolution image generation remains a key area for optimization.

Reference: Sun, Q., et al. (2022). Multimodal Dialogue Response Generation. Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 2854–2866.

Summary updated

BibTeX
@inproceedings{sun2022multimodal,
  author = {Qingfeng Sun and Yujing Wang and Can Xu and Kai Zheng and Yaming Yang and Huang Hu and Fei Xu and Jessica Zhang and Xiubo Geng and Daxin Jiang},
  title = {{Multimodal Dialogue Response Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.acl-long.204},
}
Figure