Unpaired vision-language alignment

ConsensusAlign

From Pairwise to Collective:
Encoder Collections Make Unpaired
Vision-Language Alignment Reliable

Xuanhua Yin*Shunqi MaoChuanzhi XuBoyu WeiWei GuoWeidong Cai

School of Computer Science, The University of Sydney
Sydney, NSW 2006, Australia

Pool each modality. Fit one bridge.
Connect every encoder pair.

Known correspondences within each modality turn a collection of independently trained encoders into one alignment problem.

The idea

A collection supplies
the missing structure.

Vision and text encoders trained independently have different coordinate systems. Searching for a map between every pair repeats a fragile unpaired problem.

Within a modality, the correspondence is already known: every vision encoder sees the same images, and every text encoder sees the same texts. ConsensusAlign combines that geometry before the cross-modal search.

Read the full abstract

Strong vision and text encoders can be trained independently, but their representations are not directly comparable. Connecting them usually requires paired image-text data, which may be unavailable. Unpaired alignment instead fits a map between a vision and a text encoder from feature-space geometry alone, enabling text-based retrieval and zero-shot classification without paired data. Treating each pair independently leads to fragile searches, repeated fitting, and uncertain map quality. A collection of encoders supplies additional supervision: all vision encoders embed the same images and all text encoders the same texts. Correspondences within each modality are therefore known exactly, while the cross-modal correspondence remains hidden. ConsensusAlign pools each modality into a shared space, fits one unpaired cross-modal bridge, and transfers it in closed form to every encoder pair. New encoders join through same-modality fitting without repeating the cross-modal search. On 21 vision-text encoder pairs and five seeds, pooled fitting aligns every pair, whereas pairwise fits fail in 68 of 105 pair-seed cells. Mean alignment error (FOSCTTM) falls from 0.1457 to 0.0099, and zero-shot accuracy nearly doubles on ten datasets. Gains persist across the tested within-modality pooling constructions with a WP bridge. New corpora reuse the bridge through native maps fitted to unlabeled target features from every source encoder. Agreement with separately fitted reference maps detects failures on COCO.

Method

One bridge.
Many native interfaces.

Pool frozen features within each modality using concatenation and PCA. Fit one Wasserstein Procrustes bridge, then distribute it through closed-form native factors.

Pooling and bridge fitting use the collection. A deployed native interface uses only its two encoders and one matrix.

Explore an interface

The bridge stays fixed.

Choose two encoders to see the native map they receive.

QᵥCRₗᵀ=Wᵥₗ

768 × 768native map

model.interface("ibot_b", "mpnet")Shared bridge: 768 × 768

Results

Reliability across
the full collection.

The base evaluation crosses seven vision configurations with three text encoders over five seeds. The fitting image and caption halves are disjoint.

21/21

encoder pairs aligned
over all five seeds

0/105

failed pair-seed cells
with pooled fitting

19.6%

zero-shot AVG10
across ten datasets

Paper reference results comparing pairwise WP and ConsensusAlign
MethodCOCO FOSCTTM ↓Failed cells ↓AVG10 ↑Flickr30k I→T R@1 ↑
Pairwise WP0.1457 ± 0.015168 / 10510.9%6.2%
ConsensusAlign0.0099 ± 0.00400 / 10519.6%22.0%

Values from the paper. Alignment covers 21 pairs × 5 seeds, with failure defined by FOSCTTM > 0.05. Mean ± sample SD is computed across seed means. Downstream results use the fixed 12-pair subset over five seeds.

Get started

From frozen features
to aligned interfaces.

The repository contains the final method, its supported extensions, reproducible configurations and tests.

Installation and documentation

A small synthetic check of the actual implementation. No feature download required.

Citation & contact

Build on
ConsensusAlign.

Questions about the paper or implementation:

BibTeX
@unpublished{yin2026consensusalign,
  title = {From Pairwise to Collective:
    Encoder Collections Make Unpaired
    Vision-Language Alignment Reliable},
  author = {Yin, Xuanhua and Mao, Shunqi
    and Xu, Chuanzhi and Wei, Boyu
    and Guo, Wei and Cai, Weidong},
  year = {2026},
  url = {https://xuanhuayin.github.io/ConsensusAlign/}
}

Scroll to inspect the figure. Press Escape to close.