NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Representation Rigidity in Face Embeddings: Orthogonal Identifiability and Backfill-Free Compatibility

Yongle Zhao, Zhichao Chen, Yin Xie, Jun Wang, Ziyong FengNeurIPS 2026

TL;DR

Upgrading a face-recognition model usually breaks your existing database: the new model speaks a different mathematical language, forcing you to expensively re-compute embeddings for millions of stored images. This paper discovers that independently trained face models actually learn nearly identical geometric structures—they are just rotated versions of one another. By finding a single rotation matrix using a few thousand unlabeled images, you can translate new queries into the old coordinate system in under a second, skipping database rebuilds entirely.

What Problem Does This Paper Address?

Imagine managing a security system with a gallery of a billion enrolled faces, stored as normalized vectors (points on a high-dimensional sphere). When you train a better neural network, its new vector space won't align with the old one—searching a new query against the legacy gallery produces gibberish.

The standard fix is backfilling: running every single stored image through the new model and rebuilding your search index. At scale, backfilling is painfully expensive—and impossible if you deleted the raw images for privacy. An alternative is Backward-Compatible Representation Learning (BCRL), which forces the new model to mimic the old coordinate system during training, burning dozens of GPU-hours and potentially bottlenecking the new model.

The authors ask a simpler, post-hoc question: if we take two completely independent, frozen face models, can we make them compatible just by rotating the coordinate system?

Methods

Face-recognition losses (like ArcFace and CosFace) only care about the angles between vectors on a hypersphere. If you rotate every vector in the space together, the loss doesn't change. Because of this symmetry, two models might learn the exact same relational geometry, just spun in different directions—a property the authors call representation rigidity.

Figure 1: Full backfilling rebuilds the gallery features and index. Query-side transport processes the same unlabeled calibration images with both encoders and fits an orthogonal adapter while retaining the gallery and index. A residual correction may follow for high-residual model pairs.

Instead of modifying the encoders or the gallery, the authors introduce a backfill-free query-side transport protocol:

  1. One-time Calibration: Pass a small set of unlabeled images (typically $K = 3,000$ to $5,000$) through both the legacy and upgraded encoders. No identity labels or training data are needed.
  2. Closed-form Alignment: Use Orthogonal Procrustes (a classic matrix-alignment technique solved via Singular Value Decomposition) to find the optimal orthogonal rotation/reflection matrix $\hat{R}$ aligning the two sets of vectors.
  3. Online Transport: Multiply incoming upgraded query vectors by $\hat{R}^\top$ to drop them neatly into the legacy coordinate space, leaving the million-scale gallery and index untouched.
  4. Optional Residual MLP: When jumping across vastly different architectures (like a CNN to a Vision Transformer), a pure rotation isn't quite enough. The authors optionally bolt on a tiny two-layer MLP after the rotation to nudge the vectors into better alignment, still purely on the query side.

Datasets

  • Training: Models were trained across three scales of WebFace (WebFace4M, WebFace12M, and WebFace42M), plus an external checkpoint trained on MS1MV2 for cross-corpus testing.
  • Evaluation: Standard 1:1 verification benchmarks (LFW, CFP-FP, AgeDB-30), template verification (IJB-B, IJB-C), and low-quality identification (TinyFace).
  • Derived Splits: To test million-scale 1:N search (rather than the official all-to-all 1:1 verification protocol), the authors constructed two custom splits from IFRT-MR featuring a ~1.6-million-image gallery: an original split for comparing model upgrade axes, and a controlled split (excluding calibration identities) for testing cross-corpus and domain-shift setups.

Key Insights and Ideas

  • Compatibility is largely a geometry problem: Across 45 trained models, incompatibility within the same architecture family isn't because models learn fundamentally different features—they just pick arbitrary, rotated coordinate axes.
  • Architecture dictates rigidity more than loss: Changing random seeds, swapping CosFace for ArcFace, or increasing ResNet depth (R50 to R100) preserves strong geometric rigidity. Jumping from a CNN (ResNet) to a ViT warps the relational geometry, leaving a stubborn non-orthogonal residual even with plenty of calibration data.
Figure 2: t-SNE visualization of R100 (circles) and ViT-B (triangles) embeddings, colored by identity. Procrustes improves the visual correspondence of same-identity points (right versus left), although the quantitative residual remains nonzero.
  • Calibration is remarkably cheap: For same-family models, just $K=1,000$ unlabeled images capture over 85% of the asymptotic alignment quality, plateauing quickly without touching a single identity label.

Key Results

  • Seconds vs. Days: On a ResNet-100 seed upgrade across LFW, CFP-FP, and AgeDB-30, Procrustes matches heavy training-based BCRL baselines (like AdvBCT and UniBCT, within 0.07% of oracle accuracy) while slashing compute from ~23–34 GPU-hours of retraining to ~30 seconds of feature extraction and $<1$ second for SVD.
  • Million-Scale Survival: Direct cross-model search completely collapses (0.00% Rank-1 accuracy) on seed, depth, and architecture upgrades. On the 1.6M-image IFRT-MR gallery, Procrustes retains at least 99.8% of legacy Rank-1 accuracy across tested seed, loss, and depth upgrades.
  • Bridging CNNs and ViTs: On the tougher R100 $\rightarrow$ ViT-B upgrade on IFRT-MR, pure Procrustes recovers 96.29% Rank-1 (vs. 99.27% legacy). Adding the lightweight residual MLP pushes Rank-1 up to 98.01%.

Limitations and Future Work

  • Not equivalent to full backfilling: Rotating queries into a legacy space means your accuracy is generally bounded by the legacy gallery's quality; across cross-corpus and low-quality (TinyFace) benchmarks, it falls short of the full gains you'd get by re-embedding everything with the new model.
  • Cross-architecture & degradation gaps: CNN-to-ViT upgrades and severely degraded images still leave measurable accuracy gaps, even with the MLP correction.
  • Untested regimes: The method currently requires matching embedding dimensions ($d=512$). Strict nested-label upgrades, unequal vector dimensions, and demographic- or device-specific calibration shifts remain open questions requiring validation before real-world deployment.

Summary updated

BibTeX
@inproceedings{zhao2026representation,
  author = {Yongle Zhao and Zhichao Chen and Yin Xie and Jun Wang and Ziyong Feng},
  title = {{Representation Rigidity in Face Embeddings: Orthogonal Identifiability and Backfill-Free Compatibility}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=alci29b9Vd},
}
Figure