Multimodal Compact Bilinear Pooling for Visual Question Answering and Visual Grounding

Akira Fukui, Dong Huk Park, Daylen Yang, Anna Rohrbach, Trevor Darrell, Marcus Rohrbach

Abstract

Visual Question Answering (VQA) and visual grounding require effective fusion of multimodal features. Traditional methods like concatenation or element-wise products often fail to capture complex interactions, while bilinear pooling is computationally prohibitive due to high dimensionality. This paper proposes Multimodal Compact Bilinear (MCB) pooling, which utilizes Count Sketches and the Convolution Theorem to efficiently approximate the outer product of visual and textual features. MCB enables all-to-all interactions with significantly reduced memory and computational costs. The authors demonstrate that MCB sets new state-of-the-art results on VQA and visual grounding benchmarks, highlighting the importance of expressive feature fusion in multimodal tasks.

Introduction

In multimodal learning, the "fusion" of disparate data types—such as images and text—is a critical bottleneck. In tasks like Visual Question Answering (VQA), a model must integrate a visual representation (typically from a Convolutional Neural Network) with a textual query (typically from a Recurrent Neural Network).

Common fusion techniques include concatenation or element-wise operations (addition or multiplication). While computationally efficient, these methods are "shallow" because they do not allow for complex, all-to-all interactions between every element of the visual feature and every element of the textual feature. Bilinear pooling, which computes the outer product of two vectors, provides this expressivity but suffers from a dimensionality explosion. For example, two 2,048-dimensional vectors result in a 4-million-dimensional outer product, which is impractical for deep learning architectures.

Multimodal Compact Bilinear Pooling

To address the limitations of standard bilinear pooling, the authors introduce Multimodal Compact Bilinear (MCB) pooling. This method provides the benefits of the outer product without the associated memory overhead by leveraging randomized dimensionality reduction.

The MCB mechanism uses Count Sketches and FFTs to approximate the outer product efficiently.

The core innovation relies on the Count Sketch projection. A key property of Count Sketches is that the sketch of the outer product of two vectors is equivalent to the convolution of their individual sketches. By applying the Convolution Theorem, the authors perform this convolution efficiently in the frequency domain:

  1. Project the image and text vectors into a higher-dimensional space using a Count Sketch ($\Psi$).
  2. Transform these projections into the frequency domain using a Fast Fourier Transform (FFT).
  3. Perform element-wise multiplication in the frequency domain.
  4. Apply an Inverse FFT to return to the time/spatial domain.

This approach allows the model to capture the multiplicative interactions necessary for complex reasoning while maintaining a manageable output dimensionality (typically 16,000).

VQA Architecture with Attention

The authors demonstrate that MCB is not just a fusion layer but a versatile building block for complex architectures. In their VQA model, MCB is utilized twice to implement a sophisticated attention mechanism.

The VQA architecture employs MCB twice: first to generate a spatial attention map and second to fuse attended visual features with the question.

The first MCB block fuses the question representation with spatial image features to predict an attention map, identifying the most relevant regions of the image. The second MCB block then fuses the "attended" visual features with the question representation to predict the final answer. This dual-MCB structure suggests that both identifying where to look and determining what the answer is are complex multimodal tasks that benefit from expressive bilinear interactions.

Experimental Results

The MCB approach was evaluated on several major benchmarks, consistently outperforming existing methods:

  • VQA Challenge: The MCB ensemble achieved 66.7% accuracy on the VQA test-dev set, significantly surpassing the previous year's winner.
  • Visual7W: The model improved upon the state-of-the-art by 7.9 percentage points (62.2% vs 54.3%).
  • Visual Grounding: On the Flickr30k Entities dataset, MCB reached 48.69% accuracy, proving its effectiveness in localizing objects based on natural language descriptions.

Ablation studies confirmed that the performance gains were due to the bilinear nature of the fusion rather than simply increasing the number of parameters. MCB consistently outperformed element-wise products and concatenation, even when those simpler models were scaled up.

Conclusion

Multimodal Compact Bilinear pooling offers a powerful and efficient way to fuse information across modalities. By approximating the outer product through clever mathematical transformations, MCB enables deep networks to model complex interactions that simpler fusion methods miss. While the output dimensionality remains relatively high, the significant performance gains in VQA and visual grounding establish MCB as a state-of-the-art technique for multimodal feature integration. Future work may explore its application in other domains such as image captioning and video analysis.

Summary updated

BibTeX
@inproceedings{fukui2016multimodal,
  author = {Akira Fukui and Dong Huk Park and Daylen Yang and Anna Rohrbach and Trevor Darrell and Marcus Rohrbach},
  title = {{Multimodal Compact Bilinear Pooling for Visual Question Answering and Visual Grounding}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2016},
  doi = {10.18653/v1/d16-1044},
}
Figure