Multi-modal Alignment using Representation Codebook
About
Aligning signals from different modalities is an important step in vision-language representation learning as it affects the performance of later stages such as cross-modality fusion. Since image and text typically reside in different regions of the feature space, directly aligning them at instance level is challenging especially when features are still evolving during training. In this paper, we propose to align at a higher and more stable level using cluster representation. Specifically, we treat image and text as two "views" of the same entity, and encode them into a joint vision-language coding space spanned by a dictionary of cluster centers (codebook). We contrast positive and negative samples via their cluster assignments while simultaneously optimizing the cluster centers. To further smooth out the learning process, we adopt a teacher-student distillation paradigm, where the momentum teacher of one view guides the student learning of the other. We evaluated our approach on common vision language benchmarks and obtain new SoTA on zero-shot cross modality retrieval while being competitive on various other transfer tasks.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Visual Question Answering | VQA v2 (test-std) | Accuracy73.29 | 466 | |
| Visual Question Answering | VQA 2.0 (test-dev) | Accuracy73.15 | 337 | |
| Natural Language Visual Reasoning | NLVR2 (test-p) | Accuracy80.8 | 327 | |
| Natural Language Visual Reasoning | NLVR2 (dev) | Accuracy80.5 | 288 | |
| Visual Entailment | SNLI-VE (test) | Overall Accuracy80.4 | 197 | |
| Visual Entailment | SNLI-VE (val) | Overall Accuracy80.5 | 109 | |
| Text-to-Image Retrieval | Flickr30k (1K) | R@179.7 | 48 | |
| Image-to-Text Retrieval | MS COCO 5K | R@10.715 | 46 | |
| Text-to-Image Retrieval | MS COCO 5K | R@153.9 | 39 | |
| Image-to-Text Retrieval | Flickr30k (1K) | R@191.7 | 30 |