TL;DR
Supervised Multimodal Bitransformers (MMBT) provide a simple, highly effective architecture for image-text classification by projecting image features directly into BERT’s token embedding space. Without requiring expensive, specialized multimodal pretraining, MMBT matches or outperforms complex architectures like ViLBERT on text-heavy classification tasks simply by fine-tuning unimodally pretrained components end-to-end.
What Problem Does This Paper Address?
The modern digital world is inherently multimodal; text on the web is almost always accompanied by images, video, or sound. While self-supervised models like BERT have revolutionized text-only classification, effectively fusing text and vision remains a challenge.
Recent state-of-the-art multimodal models (such as ViLBERT or LXMERT) rely on complex, computationally expensive multimodal pretraining on proxy tasks before they can be fine-tuned for specific applications. The authors of this paper challenge this status quo, asking a fundamental question: Do we really need expensive multimodal pretraining for classification, or can we achieve competitive results by directly fusing independently pretrained text (BERT) and image (ResNet) models?
Methods
The authors introduce Supervised Multimodal Bitransformers (MMBT), a model that essentially tricks BERT into treating image features as if they were text tokens.
The architecture operates as follows:
- Image Encoding: A standard ResNet-152 model processes the image. Instead of pooling the entire image into a single vector, the authors experiment with keeping $N$ separate image embeddings from a grid layout to capture spatial details.
- Linear Projection: A learned linear layer maps these 2048-dimensional image vectors into the $D$-dimensional token input space used by BERT.
- Transformer Fusion: The projected image embeddings are appended to the text token sequence. To help the transformer distinguish between the modalities, the authors utilize BERT's segment embeddings (Segment 0 for text, Segment 1 for images) and restart positional encodings for the image segment.
- Gated Fine-Tuning: Because text often dominates these tasks, the authors use a strategic freezing/unfreezing schedule during end-to-end training. They initially freeze the text and image encoders to let the random projection layer adapt, preventing the model from ignoring the visual modality entirely.
Datasets
The model is evaluated on three text-heavy multimodal classification benchmarks:
- MM-IMDB: Movie plot outlines and posters used to predict multiple movie genres (multilabel classification).
- FOOD101: Textual recipe descriptions and accompanying images used to predict one of 101 food categories.
- V-SNLI: A visual natural language inference dataset consisting of a premise, a hypothesis, and an image, where the goal is to predict entailment, neutrality, or contradiction.
The "Hard" Subsets: To truly test multimodal reasoning, the authors introduced new, difficult subsets of the MM-IMDB and Food101 test sets. They selected the top 10% of examples where text-only and image-only models disagreed most with the ground truth, ensuring that these test cases strictly require successful cross-modal fusion to solve.
Key Insights and Ideas
- Early Fusion via Self-Attention Wins: Rather than combining modalities at the very final layer (late fusion) or simply concatenating outputs, MMBT allows text and image features to interact across all layers of the transformer via self-attention. This provides finer-grained multimodal fusion.
- Skip the Multimodal Pretraining: For classification tasks where text is the dominant modality, fine-tuning unimodally pretrained models performs on par with—and sometimes better than—models that undergo massive multimodal pretraining.
- Modular and Future-Proof: Because MMBT is modality-agnostic and relies on unimodal encoders, it is trivial to swap out the text or image encoder for a better version (e.g., upgrading to a newer BERT variant) without needing to retrain a multimodal model from scratch.
- Robustness to Missing Modalities: MMBT degrades much more gracefully than simple concatenation baselines when images are missing during training or inference, making it highly practical for messy, real-world internet data.
Key Results
MMBT consistently outperformed strong baselines, including late fusion and standard feature concatenation:
- Food101: MMBT achieved 92.1% accuracy, significantly outperforming text-only BERT (87.2%) and standard concatenation (90.0%).
- MM-IMDB: MMBT achieved 61.6 Macro F1 / 66.8 Micro F1, outperforming CentralNet, the previous state-of-the-art multilayer fusion approach.
- Hard Subsets: On the newly designed hard test sets, MMBT maintained a clear lead (e.g., scoring 92.4% on Food101-Hard), proving it successfully performs multimodal reasoning rather than relying on unimodal shortcuts.
- Comparison to ViLBERT: When scaled up to a larger transformer backbone (MMBT-Large), the model outperformed standard ViLBERT variants on both MM-IMDB and Food101 benchmarks.
Limitations and Future Work
The primary limitation acknowledged by the authors is that their evaluation focuses on text-heavy classification tasks. It remains an open question how well this simple projection approach scales to vision-dominant tasks like Visual Question Answering (VQA) or complex object grounding, which typically rely on region-based bounding box proposals (like Faster R-CNN) rather than raw grid-pooled image features. Future work includes exploring how this architecture scales to a wider variety of vision-first tasks and additional modalities like audio.
Summary updated