Multimodal Alignment
Definition
Multimodal Alignment — training a model to map objects of different modalities, which have the same meaning, to nearby points in a shared vector space. This is the foundation for image search, description generation, and multimodal understanding tasks.
Approaches
- Contrastive Learning: positive pairs (text, image) are brought closer, negative pairs are pushed apart.
- Projection Heads: each modality has its own projection into the shared space.
- Cross-modal Attention: interaction between modalities at the feature level.
Example: CLIP
graph LR
A[Image] --> B[Vision Encoder]
C[Text] --> D[Text Encoder]
B --> E[Shared space]
D --> E
Application
- Image search by text query.
- Generation of image captions.
- Multimodal RAG.
- Zero-shot transfer between modalities.