Ensemble based discriminative models for Visual Dialog Challenge 2018

Shubham Agarwal, Raghav GoyalarXiv 2020

Abstract

This manuscript describes our approach for the Visual Dialog Challenge 2018. We use an ensemble of three discriminative models with different encoders and decoders for our final submission. Our best performing model on 'test-std' split achieves the NDCG score of 55.46 and the MRR value of 63.77, securing third position in the challenge.

Introduction

Visual Dialog represents a significant challenge at the intersection of Computer Vision and Natural Language Processing. Unlike standard Visual Question Answering (VQA), which involves answering a single question about an image, Visual Dialog requires a model to maintain a multi-turn conversation. This necessitates a deep understanding of the image, the current query, and the preceding conversational history. This paper details the third-place winning approach for the Visual Dialog Challenge 2018, focusing on the discriminative track where models rank 100 candidate answers to identify the most likely response.

Methodology

The proposed approach utilizes an ensemble of three distinct discriminative architectures. These models share common foundational components but differ in their handling of conversational history and answer decoding.

Shared Components

All models utilize Faster R-CNN (with a ResNet-101 backbone) to extract object-level image features rather than global representations. This allows the model to attend to specific entities mentioned in the dialogue. Word embeddings are initialized using 300-dimensional GloVe vectors, with a specific preprocessing step to map out-of-vocabulary tokens to their semantic equivalents.

Model Architectures

  1. LF-RCNN (Late Fusion): This model employs two-layered LSTMs to encode the question and concatenated history, combining them with image features via a late fusion mechanism.
  2. MN-RCNN (Memory Network): This architecture replaces simple fusion with a Memory Network encoder and utilizes bi-directional GRUs. It also incorporates fine-tuning of word embeddings during training.
  3. MN-RCNN-Wt: An extension of MN-RCNN that introduces a gated linear layer with a tanh activation in the decoder to improve candidate answer scoring.
Architectures of the LF-RCNN and MN-RCNN models.

Ensembling Strategy

The final submission is an ensemble created by averaging the log-softmax outputs of all three models. This strategy proved more effective than taking the maximum probability, suggesting that the different architectures capture complementary aspects of the dialogue.

Experiments and Results

The models were evaluated on the Visual Dialog (VisDial) dataset. The Faster R-CNN component was pre-trained on Visual Genome to ensure robust feature extraction. The ensemble approach achieved significant performance gains over individual models, securing third place in the 2018 challenge.

Model NDCG (x100) MRR (x100) R@1 R@10
LF-RCNN 51.69 61.03 47.03 87.55
MN-RCNN 53.59 61.25 46.78 87.93
MN-RCNN-Wt 53.20 61.50 47.10 88.38
Ensemble (Final) 55.46 63.77 49.80 90.03

Discussion and Conclusion

Key insights from this work include the importance of object-level attention and the superiority of Memory Networks over simple concatenation for history encoding. Fine-tuning word embeddings specifically for the visual dialog task also provided a performance boost. While successful, the approach is limited to the discriminative task and involves significant computational costs due to the ensemble of large models. Future work could explore generative modeling and more sophisticated ensembling techniques like stacking.

Summary updated

BibTeX
@misc{agarwal2020ensemble,
  author = {Shubham Agarwal and Raghav Goyal},
  title = {{Ensemble based discriminative models for Visual Dialog Challenge 2018}},
  year = {2020},
  eprint = {2001.05865},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.05865},
}
Figure