Geometry-Preserving Unsupervised Alignment for Heterogeneous Foundation Models

Shuwen Yu, Zhanxuan Hu, Yi Zhao, Yonghang Tai, Huafeng Li

Introduction: The Divide in Foundation Models

In the rapidly advancing field of computer vision, foundation models have become indispensable. However, the ecosystem is currently split into two powerful but isolated paradigms. On one side are Vision-Language Models (VLMs) like CLIP. Trained on massive text-image pairs, VLMs are masters of semantics—they understand exactly what a "cat" or a "fire truck" is. Yet, their visual representations are often coarse, struggling with fine-grained details and precise spatial localization.

On the other side are Vision-Only Foundation Models (VFMs) like DINOv2. These models possess incredible "perceptual geometry." They deeply understand the structure, boundaries, and local details of an image, but lack semantic grounding—they do not know the names of the objects they perceive.

Because these models represent data in entirely different vector spaces, fusing their capabilities has historically required expensive labeled data, task-specific engineering, or access to internal model weights. To solve this, researchers have introduced GPUA (Geometry-Preserving Unsupervised Alignment), a framework that aligns these heterogeneous models in a completely unsupervised way while keeping their internal structures intact.

The GPUA Framework: Translating Vision to Semantics

GPUA approaches model alignment as a "cross-lingual translation" problem. If a VFM speaks "Geometry" and a VLM speaks "Semantics," GPUA acts as the translator. The framework operates without updating a single parameter of the original models, making it a lightweight, plug-and-play module compatible even with closed-source APIs.

The alignment process is broken down into two main stages:

1. Unsupervised Correspondence Mining (UCM)

Without labeled data, the framework must first deduce which visual features from the VFM correspond to which text concepts in the VLM. GPUA employs a K-means-style objective that balances two critical factors:

  • Geometric Coherence: Ensuring that similar visual features in the VFM space remain clustered together.
  • Semantic Consistency: Ensuring these features align accurately with the text prototypes provided by the VLM. This assignment problem is solved efficiently using the Sinkhorn-Knopp algorithm to generate "soft" feature-to-concept assignments.

2. Geometry-Preserving Alignment (GPA)

Once correspondences are established, the model learns a mapping matrix ($W$) to translate VFM features into the VLM semantic space. Crucially, GPUA constrains this mapping to be orthogonal. An orthogonal transformation acts as a rotation or reflection in high-dimensional space, preserving the exact distances and angles between points. This ensures that the fine-grained visual discrimination the VFM originally learned is not warped or destroyed during translation.

Additionally, GPUA applies a Topology-aware Ranking Loss (THS). In high-dimensional spaces, certain points often emerge as "hubs"—anomalies that mistakenly appear as the nearest neighbor to almost everything else. THS suppresses these hubs to maintain a balanced, accurate embedding space.

Key Insights

  • Visual Features as Language: By recasting DINOv2's features as a "visual vocabulary," the researchers successfully adapted proven techniques from unsupervised natural language processing to computer vision.
  • The Power of Orthogonality: Standard linear layers used in most fusion methods can stretch or squash the feature space. By enforcing orthogonality, GPUA treats the VFM's geometric structure as sacred, resulting in highly stable alignment.
  • Task-Agnostic and Frozen: Because GPUA requires only feature-level access and leaves the base models frozen, it avoids catastrophic forgetting and minimizes computational overhead.

Empirical Results

The researchers evaluated GPUA across a rigorous battery of benchmarks, demonstrating significant improvements in both classification and dense prediction tasks:

  • Massive Accuracy Boosts: In zero-shot classification across 11 diverse datasets (including ImageNet, FGVCAircraft, and UCF101), GPUA improved average accuracy by +11.8% compared to a standard CLIP baseline.
  • Resilience to Domain Shift: The performance gains were most dramatic on specialized datasets that deviate from standard web imagery. For instance, on the EuroSAT satellite imagery dataset, accuracy surged by a staggering +34.9%.
  • Segmentation Enhancements: When integrated into existing open-vocabulary segmentation frameworks like MaskCLIP or SC-CLIP, GPUA consistently improved mean Intersection-over-Union (mIoU) across datasets like ADE20K, Cityscapes, and COCO-Stuff164K, proving the aligned features are highly effective for dense, pixel-level tasks.
  • Extreme Data Efficiency: A variant of the model, GPUA*, was trained using only 16 samples per class. Despite this minimal data, it outperformed many state-of-the-art baselines.

Limitations and Future Directions

While GPUA offers a robust solution for unsupervised alignment, the authors note a primary bottleneck: data imbalance. The current correspondence mining process assumes a relatively uniform distribution of classes. In highly skewed real-world datasets (e.g., thousands of images of one class and only a handful of another), the unsupervised alignment may become biased toward the majority class.

Future work will focus on incorporating uncertainty-aware modeling and adaptive weighting to handle imbalanced distributions more gracefully. Additionally, there is significant potential to extend this orthogonal alignment strategy to multi-modal frameworks, integrating inputs from audio, depth sensors, and beyond.

Summary updated

BibTeX
@inproceedings{yu2026geometry,
  author = {Shuwen Yu and Zhanxuan Hu and Yi Zhao and Yonghang Tai and Huafeng Li},
  title = {{Geometry-Preserving Unsupervised Alignment for Heterogeneous Foundation Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=pbb3tYFdVp},
}
Figure