Abstract
Geometrically Regularized Alignment (GeRA) is a novel semi-supervised framework designed to align disparate data modalities—such as images and text—using significantly less paired data than traditional contrastive methods. By introducing a geometric loss term that preserves the local manifold structure of pretrained unimodal encoders, GeRA achieves superior alignment in data-scarce scenarios. Furthermore, GeRA remains orders of magnitude faster at inference than existing low-label baselines, making it a practical solution for specialized domains where large-scale paired datasets are unavailable.
Introduction
Modern multi-modal AI models, such as CLIP, rely on mapping different data types into a shared embedding space. However, achieving high-quality alignment typically requires millions or billions of paired examples (e.g., image-caption pairs). In specialized fields like medical imaging, protein sequence analysis, or low-resource languages, such massive datasets are non-existent.
When standard contrastive learning is applied to small paired datasets, it often "warps" the embedding space, destroying the rich semantic relationships already captured by pretrained unimodal encoders. GeRA addresses this by treating the learned structure of these encoders as a valuable prior, ensuring that alignment does not come at the cost of internal semantic logic.
Methods
GeRA combines a standard contrastive loss with a novel Geometric Regularization term. This dual-objective approach ensures that while paired points are brought together, the local geometry of the original unimodal spaces is preserved.
The Geometric Loss
The core of GeRA is the preservation of local neighborhoods. If two data points are "neighbors" in their original unimodal space (e.g., two similar images), they should remain neighbors in the shared embedding space. To capture this intrinsic geometry, GeRA utilizes a diffusion operator based on the Heat Kernel. This mathematical tool allows the model to understand the shape of the data manifold regardless of the specific coordinate system.
Semi-Supervised Learning
A key advantage of GeRA is its label efficiency. While a small set of paired data is used to set the global alignment "compass," the geometric loss can be computed using large amounts of unpaired (unlabeled) data. This allows the model to maintain local structure even when labeled pairs are scarce.
Experimental Setup
The authors evaluated GeRA across several challenging benchmarks:
- Image-Text Alignment: Models were trained on the Conceptual 12M (CC12M) dataset and evaluated on ImageNet zero-shot tasks and the ELEVATER benchmark (20 diverse classification datasets).
- Speech-Text Alignment: Using the LibriTTS dataset, the researchers demonstrated GeRA's ability to generalize beyond vision and language.
- Encoders: Various architectures were tested, including ViT, MAE, and CLIP for images; MPNet, RoBERTa, and BERT for text; and Whisper for speech.
Key Results
GeRA consistently outperforms non-regularized methods and rigid alignment techniques like Procrustes alignment, particularly in low-data regimes.
- Low-Data Efficiency: On ImageNet zero-shot tasks with only 1,000 paired samples, GeRA improved accuracy from 3% (standard contrastive) to nearly 9%.
- Robustness: Across the ELEVATER benchmark, GeRA showed a performance gain of over 5% in low-data scenarios compared to non-regularized baselines.
- Modality Generalization: In speech-to-text retrieval on LibriTTS, GeRA achieved a Precision@5 of over 51%, vastly outperforming the ASIF baseline which scored below 5%.
- Inference Speed: Unlike ASIF, which requires searching through anchor points at inference, GeRA learns a direct neural network transformation. This makes it over 100x faster, completing a 1-million-pair retrieval task in under 16 seconds compared to over 2 hours for ASIF.
Discussion and Future Work
GeRA finds a "plasticity" sweet spot: it is flexible enough to align disparate spaces but rigid enough to keep local neighborhoods intact. However, the geometric loss introduces computational overhead during training due to the need for $K$-nearest neighbor calculations. Additionally, GeRA's performance is inherently tied to the quality of the pretrained unimodal encoders; noisy manifolds will result in noisy alignments.
Future research directions include exploring parametric kernels, such as small transformers, to learn data geometry dynamically. The authors also envision applying GeRA to complex scientific domains like protein-to-text alignment for bioinformatics.
Summary updated