[Paper Review] VD-BERT: A Unified Vision and Dialog Transformer with BERT
VD-BERT introduces a single-stream Vision-Dialog Transformer based on BERT that jointly models image content and multi-turn dialog, achieving state-of-the-art NDCG on VisDial without external vision-language pretraining.
Visual dialog is a challenging vision-language task, where a dialog agent needs to answer a series of questions through reasoning on the image content and dialog history. Prior work has mostly focused on various attention mechanisms to model such intricate interactions. By contrast, in this work, we propose VD-BERT, a simple yet effective framework of unified vision-dialog Transformer that leverages the pretrained BERT language models for Visual Dialog tasks. The model is unified in that (1) it captures all the interactions between the image and the multi-turn dialog using a single-stream Transformer encoder, and (2) it supports both answer ranking and answer generation seamlessly through the same architecture. More crucially, we adapt BERT for the effective fusion of vision and dialog contents via visually grounded training. Without the need of pretraining on external vision-language data, our model yields new state of the art, achieving the top position in both single-model and ensemble settings (74.54 and 75.35 NDCG scores) on the visual dialog leaderboard. Our code and pretrained models are released at https://github.com/salesforce/VD-BERT.
Motivation & Objective
- Motivate visual dialog as a multi-turn reasoning task requiring integration of image content and dialog history.
- Propose a unified Transformer model that handles both discriminative (ranking) and generative (generation) tasks in Visual Dialog.
- Demonstrate that visually grounded training with BERT can yield state-of-the-art results without large external vision-language pretraining.
Proposed method
- Encode image as object-level features and fuse with caption and multi-turn dialog in a single Transformer encoder initialized with BERT.
- Use visually grounded training objectives (Masked Language Modeling and Next Sentence Prediction) with two self-attention masks (bidirectional and seq2seq) to enable both discriminative and generative settings.
- Append each answer candidate into the input to enable early fusion with other entities in the sequence.
- For discriminative training, rank candidates via NSP scores; for generative training, autoregressively generate answers using the same encoder with appropriate masking.
- Fine-tune on dense relevance annotations using a ranking loss (ListNet) to improve ranking quality.
Experimental results
Research questions
- RQ1Can a single unified Transformer encoder effectively model bidirectional interactions among image objects, dialog history, and candidate answers in Visual Dialog?
- RQ2Is it possible to train a BERT-based model for both discriminative (ranking) and generative (generation) VisDial tasks without separate decoders or external vision-language pretraining?
- RQ3How do visually grounded MLM and NSP objectives impact the fusion of vision and dialog modalities?
Key findings
- VD-BERT achieves new state-of-the-art results on VisDial v1.0 test-std in the single-model setting (NDCG 74.54) and in ensemble (NDCG 75.35).
- VD-BERT outperforms prior single-model baselines in discriminative tasks and provides competitive generative results without external vision-language pretraining.
- Dense annotation fine-tuning substantially boosts NDCG (e.g., from 59.96 to 74.54) but can reduce other metrics like MRR and R@k, indicating metric inconsistency.
- Initializing from BERT yields large gains over training from scratch; visual grounding via MLM is crucial for multimodal transfer.
- A unified Transformer with two self-attention masks can support both discriminative and generative VisDial settings without explicit decoders.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.