Deep Multimodal Neural Architecture Search

Zhou Yu, Yuhao Cui, Jun Yu, Meng Wang, Dacheng Tao, Qi Tian

Abstract

Multimodal learning typically involves either labor-intensive manual architecture design or the use of massive, computationally heavy pre-trained models like Multimodal-BERT. This paper presents MMnas, a framework that leverages Neural Architecture Search (NAS) to automatically discover optimal neural backbones for various multimodal tasks. By utilizing a unified encoder-decoder "supernet" and a gradient-based search algorithm, MMnas identifies specialized architectures for Visual Question Answering (VQA), Image-Text Matching (ITM), and Visual Grounding (VG). Experimental results demonstrate that MMnas achieves state-of-the-art performance while maintaining high parameter efficiency, proving that task-specific architectural optimization is a viable and effective alternative to universal pre-training.

Introduction

In deep multimodal learning, AI systems must synthesize information from both visual and textual modalities. Current research paradigms generally follow two paths: manually designing specialized architectures for specific tasks or pre-training massive universal backbones on millions of data pairs. The former is rigid and difficult to scale, while the latter is computationally expensive and often overkill for specific applications.

MMnas addresses this gap by asking whether a generalized framework can automatically adapt its internal structure to suit different multimodal tasks. By moving away from fixed designs, MMnas provides a path toward efficient, task-optimized models that outperform manually crafted baselines.

The MMnas Framework

The core of MMnas is a unified encoder-decoder backbone designed as a "supernet." This supernet contains a pool of candidate operations that the system can choose from during the search process.

Overview of the MMnas framework showing the search process for VQA, ITM, and VG tasks.

The Operation Pool

For each block in the encoder or decoder, the framework selects from four primary operations:

  • Self-Attention (SA): Captures internal relationships within a single modality (e.g., dependencies between words in a sentence).
  • Guided-Attention (GA): Models cross-modal interactions (e.g., how specific words relate to specific image regions).
  • Feed-Forward Network (FFN): Provides standard non-linear processing.
  • Relation Self-Attention (RSA): A specialized operation introduced to model the relative spatial relationships between objects in an image, which is critical for reasoning tasks.

Search Strategy

MMnas utilizes a gradient-based, one-shot NAS algorithm. This approach optimizes "architecture weights" (selecting the operations) and "model weights" (the parameters within those operations) simultaneously. To ensure a robust search, the authors include a "warming-up" stage where operations are sampled uniformly, preventing the model from prematurely converging on sub-optimal paths.

Task-Specific Architectural Insights

A key finding of the MMnas research is that the "optimal" architecture varies significantly depending on the target task. This validates the hypothesis that universal, one-size-fits-all designs are often sub-optimal.

The searched optimal architectures for VQA, ITM, and VG tasks, illustrating the structural differences required for each.

Key Discoveries:

  • Spatial Reasoning via RSA: The inclusion of Relation Self-Attention (RSA) proved vital for tasks involving counting or spatial localization. By explicitly modeling object positions, the model significantly improved accuracy on "number" type questions in VQA.
  • Decoder Centrality: Ablation studies indicated that the design of the decoder—where vision and language modalities primarily interact—is far more critical to overall performance than the design of the text-processing encoder.
  • Structural Diversity: As seen in the searched architectures, VQA, ITM, and VG each favor different sequences of SA, GA, and RSA blocks to maximize their respective performance metrics.

Experimental Results

The framework was evaluated on five benchmark datasets: VQA-v2, Flickr30K (for ITM), and RefCOCO/+/g (for Visual Grounding). The resulting model, MMnasNet, consistently outperformed existing state-of-the-art (SOTA) hand-crafted models:

  • VQA-v2: Achieved 71.24% accuracy on the test-dev set, surpassing the previous modular SOTA (MCAN).
  • Visual Grounding: On RefCOCO (TestA), it reached 87.4% accuracy, a significant improvement over models like MAttNet.
  • Image-Text Matching: On Flickr30K, it set new benchmarks for non-pre-trained models with a Recall@1 of 78.3 for text retrieval and 60.7 for image retrieval.

Conclusion and Future Work

MMnas demonstrates that automated architecture search can produce highly efficient and effective multimodal models without the massive overhead of large-scale pre-training. While the initial search phase remains resource-intensive, the resulting architectures are more parameter-efficient than BERT-style models. Future research may explore combining MMnas with self-supervised pre-training or expanding the operation pool to include more diverse primitives like cross-modal fusions and varied convolutions.

Summary updated

BibTeX
@inproceedings{yu2020deep,
  author = {Zhou Yu and Yuhao Cui and Jun Yu and Meng Wang and Dacheng Tao and Qi Tian},
  title = {{Deep Multimodal Neural Architecture Search}},
  booktitle = {ACM Multimedia},
  year = {2020},
  url = {https://openreview.net/forum?id=NtWITprmwU},
}
Figure