Do Rotations That Align Two Vision-Language Models Also Align Their Attributes?

Two image-text models trained separately on different data still arrange their embeddings in almost the same shape. A single rotation, fitted on images from about a dozen object classes, can carry one model's space onto the other's, and the same rotation then aligns their text embeddings too. That is the finding of Canonicalizing Multimodal Contrastive Representation Learning. It suggests models could be swapped, combined, or audited through a cheap closed-form map. The evidence, however, comes only from coarse classification. The authors say plainly that it is unverified whether fine-grained properties carry over: whether a face is smiling, whether a bird's wing is barred, how strongly an attribute is expressed. These are the properties people edit, retrieve by, and audit for bias. They are also the properties that generative-model research finds tangled together, with "older" pulling "eyeglasses" along.

We propose to test, and if needed repair, attribute-level transfer under cross-model rotation. We expect the failure to be one of metric sensitivity, meaning that the result depends on the "ruler" used to measure error. The standard fit minimizes squared Euclidean (Frobenius) error over the anchor embeddings. That error is dominated by high-variance directions, which are the directions that separate object classes. Fine-grained attributes plausibly live in low-variance directions that the fit barely constrains. If so, the rotation can match classes almost perfectly while scrambling attribute directions and the pattern of which attributes are entangled with which. We also expect a one-line change to the fitting objective to fix this. The change adds attribute-contrast directions, each rescaled to unit length so that low-variance directions count as much as high-variance ones. The result is still a single orthogonal map with a closed-form solution.

Core Claim

Our claim has two parts. The first is diagnostic. A rotation fitted on class anchors preserves class structure but will show measurably worse transfer of attribute directions, and the gap should track how little variance each attribute direction carries in the anchor set. The second part concerns entanglement. A rotation preserves all angles, so it carries the source model's attribute entanglement intact into the target space. Wherever the two models entangle attributes differently, transferred edits will leak into non-target attributes as judged by the target model, even if the rotation were otherwise perfect. Reported numbers will therefore look much better under cosine similarity than under rank-based retrieval or attribute-probe metrics. This is the metric-sensitivity pattern that DREAM documents for graph construction, where swapping cosine for Euclidean distance makes clustering collapse, here showing up in evaluation instead of training.

The repair is to fit the rotation $Q$ by solving

$$\min_{Q \in \mathcal{O}(d)} \lVert Z_1 Q - Z_2 \rVert_F^2 + \lambda \lVert \hat D_1 Q - \hat D_2 \rVert_F^2 .$$

Here $Z_1, Z_2$ are paired anchor-image embeddings from the two models. $\hat D_1, \hat D_2$ are matrices whose rows are attribute directions in each model: the difference between mean embeddings of images with and without an attribute, rescaled to unit length. $\lambda$ trades class fit against attribute fit. The objective stays closed-form, since $Q$ comes from the singular value decomposition of $Z_1^\top Z_2 + \lambda \hat D_1^\top \hat D_2$, so the method keeps all the cheapness and distance preservation of the original.

The unit rescaling is the key ingredient. Without it, the attribute term is just "more anchors," and its rows inherit the same variance weighting that we hypothesize causes the problem.

How This Relates to Prior Work

The canonicalization paper supplies both the method we modify and the gap we target. Its rigid map is the object of study, and its explicit caveat about fine-grained attributes is the open question.

Three lines of work motivate expecting failure. IALS shows that single global editing directions in GAN latents entangle correlated face attributes and that instance-specific directions do better. GANSpace shows that the dominant principal directions of a generator inherit dataset correlations. Deep Disentangled Metric Learning separates class-specific from class-agnostic factors in an embedding, which is consistent with class-level anchors constraining only part of the space. IALS also constrains the proposal. If attribute geometry is strongly instance-dependent, no global map, ours included, can align it well. We treat that as a live outcome, discussed below.

Learning Log-Determinant Divergences for Positive Definite Matrices reports that a learned, parameterized divergence beats fixed metrics by over 10% on covariance-descriptor benchmarks. It motivates treating the fitting ruler as a design choice rather than a default. We do not use its matrix machinery; our change is far smaller.

Our measure of unwanted attribute shift is borrowed from Decoupled Classifier-Free Guidance, which scores counterfactual leakage as the change in AUROC (area under the ROC curve) of probes for non-target attributes. That paper studies leakage inside one diffusion model's conditioning. We study leakage introduced by moving between two models.

DCMEM disentangles shared from modality-private factors when training a cross-modal model. We instead keep two trained models frozen and align them after the fact.

Research Program

The work has three stages.

The first stage measures how attributes transfer. Following the canonicalization setup, we take pairs of independently trained contrastive image-text models and fit the standard rotation on image embeddings from 10–15 classes of Oxford-IIIT Pets or CIFAR-100. We then evaluate on two benchmarks with attribute labels. CelebA-HQ has 40 binary face attributes. CUB-200-2011 has its paired captions from CUBICC, from which we derive text attribute phrases. For each attribute we compute its direction in each model, separately for images and for text prompts (for example "a photo of a smiling person" minus "a photo of a person"). We measure the cosine between the rotated source direction and the target direction. We also compute how much of each direction's length lies within the top singular directions of the anchor set. The hypothesis predicts a negative correlation between attribute transfer quality and that low-variance share.

The second stage measures how entanglement transfers. For each model we build an entanglement matrix whose entries are cosines between pairs of attribute directions. We compare the target model's matrix with the rotated source matrix. A rotation preserves the source matrix exactly, so any mismatch with the target's matrix is entanglement the map cannot fix. We then perform edits. We shift target-model image embeddings along transferred directions and record how linear probes trained on the target model change: the probe for the target attribute should rise, and non-target probes should stay flat (ΔAUROC).

The third stage fits the attribute-augmented rotation above. We sweep $\lambda$ and the number of attributes supplied, and test on held-out attributes that were never used in fitting. Held-out testing separates two possibilities: that unit rescaling repairs the poorly constrained subspace, or that it merely memorizes the supplied attributes.

Baselines

The naive reference point is no alignment: compare source and target embeddings directly. The canonicalization paper reports this gives near-zero cross-model cosine similarity. It is the floor every method must clear.

The strongest existing method is the standard class-anchor orthogonal Procrustes map from Canonicalizing Multimodal Contrastive Representation Learning. It reports cross-model image cosine similarity rising from near zero to about 0.8–0.9 with 10–15 anchor classes. For text it reports a rise "from near-chance to near-oracle levels," with no exact figure. We found no reported result on Lacuna for attribute-level transfer or entanglement preservation under this map. We will run it on exactly the same anchor images, encoders, and evaluation splits as our method. Beating it means two things together. On held-out attributes, attribute-direction cosine and attribute-conditioned cross-model retrieval (Recall@K) must improve. Class-level cosine on Pets and CIFAR-100 must drop by no more than a small pre-registered margin.

The second baseline is an unconstrained least-squares linear map fitted on the same data, with ridge regularization tuned on a validation split. The canonicalization paper found such maps worse than rotations for class transfer. Extra freedom could plausibly help for attributes, so this baseline must be rerun rather than assumed.

The ablation that isolates our key ingredient is "attribute anchors without rescaling." It uses the same attribute images, added as ordinary anchor rows with the same total count and the same $\lambda$ sweep. If this ablation matches our method, the unit rescaling contributes nothing and our metric-sensitivity explanation is wrong.

An upper reference is an oracle rotation fitted on the evaluation attributes themselves. It shows how much of the gap any single rotation can close.

Why not just…?

Why not just add CelebA or CUB images to the anchor set? This is the most serious threat, and it is exactly our "without rescaling" ablation. If more varied anchors alone recover attribute transfer, the variance-weighting explanation fails and the honest conclusion is that the original paper's anchors were simply too narrow. We will report that outcome as such. Our prediction is that raw attribute images mostly add more class-like variance, such as identity and pose, and leave subtle attributes underweighted.

Why not just use an unconstrained linear map or a small MLP? These can fit attribute directions better on the training attributes. The canonicalization paper reports that unconstrained maps distort relative geometry and transfer worse for classes. Our held-out-attribute test and class-level guardrail will show whether that trade-off reverses for attributes. If a ridge map wins on both, we will recommend it.

Why not just retrain a linear probe for each attribute in the target model? That avoids alignment entirely, but it answers a different question. The use cases that motivate alignment need the source model's directions, edits, or text queries to mean the same thing in the target model, without target labels. Retrained probes serve as the measuring instrument in our evaluation, not as a competitor.

Why not accept that global maps cannot align attributes, as IALS's instance-specific results suggest? This may be true. The entanglement-matrix comparison in the second stage tests it directly. If the two models' entanglement matrices differ substantially and no rotation reduces leakage, then the result is a negative one with a clear cause: per-instance or piecewise alignment is required. That would bound what canonicalization can promise.

Proposed Experiments and Decisive Checks

All experiments use frozen encoders, closed-form or ridge fits, and fixed anchor sets, at the same compute for every method. We evaluate class-level cosine on Pets, CIFAR-100, Caltech-101, STL10, and DTD. We evaluate attribute-direction cosine, entanglement-matrix error, edit leakage (ΔAUROC on non-target probes), and attribute-conditioned cross-model text-to-image Recall@K on CelebA-HQ and CUB/CUBICC. Every alignment is scored under both cosine and rank-based metrics, so that disagreement between the rulers is itself a reported result.

Four results would be decisive. The first is whether standard Procrustes shows a significant attribute-transfer deficit relative to its class-level fit, with the deficit correlated with each attribute's low-variance share. If there is no deficit, the canonicalization result extends to attributes, which is a useful positive finding, and the repair is moot. The second is whether rescaled attribute anchors beat unrescaled ones on held-out attributes. The third is whether entanglement mismatch between models predicts edit leakage after alignment. That would mean part of the error lies beyond any rotation. The fourth is whether conclusions flip between cosine and Recall@K. A flip would show that the reported success of cross-model alignment depends partly on the metric used to measure it.