Canonicalizing Multimodal Contrastive Representation Learning
Organizations: Aalto University, YaiYai Ltd
Abstract
As models and data scale, independently trained networks often induce analogous notions of similarity. But, matching similarities is weaker than establishing an explicit correspondence between the representation spaces, especially for multimodal models, where consistency must hold not only within each modality, but also for the learned image-text coupling. We therefore ask: given two independently trained multimodal contrastive models (with encoders and ) -- trained on different distributions and with different architectures -- does a systematic geometric relationship exist between their embedding spaces? If so, what form does it take, and does it hold uniformly across modalities? In this work, we show that across model families such as CLIP, SigLIP, and FLAVA, this geometric relationship is well approximated by an orthogonal map (up to a global mean shift), i.e., there exists an orthogonal map where such that for paired images . Strikingly, the same simultaneously aligns the text encoders i.e., for texts . Theoretically, we prove that if the multimodal kernel agrees across models on a small anchor set i.e. , then the two models must be related by a single orthogonal map and the same maps images and text across models. More broadly, this finding enables backward-compatible model upgrades, avoiding costly re-embedding, and has implications for the privacy of learned representations. Our project page: https://canonical-multimodal.github.io/
Figures & tables
Appendix figures & tables51 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Classes | Train | Val | Test |
|---|---|---|---|---|
| Caltech-101 [ Fei-Fei et al., 2004 ] | 100 | 4,128 | 1,649 | 2,465 |
| Oxford Pets [ Parkhi et al., 2012 ] | 37 | 2,944 | 736 | 3,669 |
| CIFAR100 [ Krizhevsky et al., 2009 ] | 100 | 50,000 | - | 10,000 |
| STL10 [ Coates et al., 2011 ] | 10 | 50,000 | - | 8,000 |
| DTD [ Cimpoi et al., 2014 ] | 47 | 2,820 | 1,128 | 1,692 |
| Dataset | Text Templates (from official CLIP repo) |
|---|---|
| Oxford Pets | a photo of a {class}, a type of pet. |
| CIFAR-100 | a photo of a {class}. a blurry photo of a {class}. a black and white photo of a {class}. a low contrast photo of a {class}. a high contrast photo of a {class}. a bad photo of a {class}. a good photo of a {class}. a photo of a small {class}. a photo of a big {class}. a photo of the {class}. a blurry photo of the {class}. a black and white photo of the {class}. a low contrast photo of the {class}. a high contrast photo of the {class}. a bad photo of the {class}. a good photo of the {class}. a photo of the small {class}. a photo of the big {class}. |
| Caltech-101 | a photo of a {class}. a painting of a {class}. a plastic {class}. a sculpture of a {class}. a sketch of a {class}. a tattoo of a {class}. a toy {class}. a rendition of a {class}. a embroidered {class}. a cartoon {class}. a {class} in a video game. a plushie {class}. a origami {class}. art of a {class}. graffiti of a {class}. a drawing of a {class}. a doodle of a {class}. a photo of the {class}. a painting of the {class}. the plastic {class}. a sculpture of the {class}. a sketch of the {class}. a tattoo of the {class}. the toy {class}. a rendition of the {class}. the embroidered {class}. the cartoon {class}. the {class} in a video game. the plushie {class}. the origami {class}. art of the {class}. graffiti of the {class}. a drawing of the {class}. a doodle of the {class}. |
| STL-10 | a photo of a {class}. a photo of the {class}. |
| DTD | a photo of a {class} texture. a photo of a {class} pattern. a photo of a {class} thing. a photo of a {class} object. a photo of the {class} texture. a photo of the {class} pattern. a photo of the {class} thing. a photo of the {class} object. |
Multimodal Embedding
Multimodal embedding maps text, images, audio, video, and other data into representations that support comparison and retrieval across modalities.
See all 159 papers