Fast Alignment of Embeddings: Computational Guarantees for Anisotropic Procrustes-Wasserstein

Jakob Maier, Laurent MassouliéNeurIPS 2026

TL;DR

Imagine trying to align two 3D scans of a chair—or two sets of word embeddings from different languages—when one has been rotated, shuffled, and corrupted with noise. While previous theory treated these point clouds like featureless spheres, real-world data is stretched and uneven (anisotropic), giving us natural "handles" to grab onto. By exploiting this unevenness to align principal directions first, the authors provide the first polynomial-time guarantee for exact point matching in high dimensions with nontrivial noise.

What Problem Does This Paper Address?

Whether you are translating between languages without a dictionary or registering 3D shapes in computer vision, you often run into the Procrustes–Wasserstein (PW) problem. You have two unlabeled clouds of $n$ points in $d$-dimensional space, $X$ and $Y$, where $Y$ is a rotated/reflected, shuffled, and noisy version of $X$. Your goal is to recover both the orthogonal transformation (rotation/reflection) and the exact point-to-point correspondence.

Figure 1: Given two point clouds, X on the left and Y on the right, where Y is a noisy rotated version of X. The Procrustes–Wasserstein problem asks to recover both the point correspondences and the orthogonal transformation relating the two clouds.

There is a classic chicken-and-egg catch here: if you knew the rotation, finding the matching is a standard linear assignment problem; if you knew the matching, finding the rotation is an easy singular value decomposition (SVD). Doing both simultaneously is NP-hard in general.

Prior theoretical work mostly studied isotropic Gaussian point clouds—essentially, spherical blobs where variance is identical in every direction. Because a sphere looks the same from any angle, its covariance tells you nothing about how it was rotated, limiting theoretical guarantees to very low dimensions (at most $\log n$). The authors ask: what happens if the data is anisotropic—stretched out with variances following a power law, much like real-world data?

Methods

Because anisotropic clouds have distinct, stretched-out axes, the authors propose a DIRECTIONS-FIRST framework:

  1. Spectral Alignment (Standard): Compute the top $r$ principal components (eigenvectors of the empirical covariance) of both $X$ and $Y$. Because the eigenvalues are distinct, corresponding axes naturally map to one another—up to a $\pm 1$ sign flip on each axis.
  2. Sign Resolution (Novel vs. Exhaustive): With $r$ axes, there are $2^r$ possible sign combinations. The authors compare two ways to fix the signs:
  3. AVERAGE-SIGNS (Novel): A fast, polynomial-time rule. Even if the population mean is zero, the empirical average of finite samples isn't! Projecting the uncentered point clouds onto each principal axis and comparing the signs of their empirical means reveals whether two axes point the same way.
  4. BRUTAL-SIGNS: An exhaustive benchmark (building on prior PCA-alignment methods) that tests all $2^r$ sign combinations by solving the assignment and Procrustes fit for each, keeping the best one.
  5. Matching & Refinement (Standard): Once the rank-$r$ alignment matrix is built, solve a single Linear Assignment Problem (e.g., Hungarian algorithm) to match the points. Optionally, polish the result using PING-PONG, which alternates between updating the rotation and updating the point matching.

Datasets

No new benchmarks are introduced; evaluation relies on controlled setups with known ground-truth matchings:

  • Synthetic Anisotropic Gaussian Data: Point clouds generated with power-law covariance spectra ($\lambda_i \propto i^{-\beta}$), varying the decay exponent $\beta$, noise $\sigma$, and dimension $d$.
  • ModelNet10: 3D CAD shapes from which $n = 100$ points ($d = 3$) are sampled, then artificially rotated, relabeled, and corrupted with Gaussian noise.

Key Insights and Ideas

  • Anisotropy is a feature, not a bug: Moving closer to realistic data distributions (power-law spectra) actually makes the alignment problem easier by breaking rotational symmetry.
  • Don't center your data! Usually, step one in PCA is subtracting the sample mean. Here, doing so destroys the exact signal AVERAGE-SIGNS relies on: the correlated, non-zero fluctuations of the empirical means in dependent samples.
  • Breaking the $\log n$ dimension barrier: By resolving signs in $O(nd + dr)$ time rather than $2^r$ time, the authors prove exact recovery is possible in polynomial time even when dimension grows polynomially with sample size ($d = n^\alpha$, such as $\alpha < 1/14$ for $\beta=2$).
  • A clear statistical–computational tradeoff: While AVERAGE-SIGNS unlocks polynomial-time theoretical guarantees in high dimensions, BRUTAL-SIGNS makes better use of finite samples in practice when $r$ is small enough to search exhaustively.

Key Results

  • Theoretical Guarantee: Under explicit scaling conditions on noise $\sigma$, rank $r$, and dimension $d$, DIRECTIONS-FIRST with AVERAGE-SIGNS runs in polynomial time and recovers the exact ground-truth permutation with probability approaching $1$ as $n \to \infty$.
  • Role of Anisotropy: On synthetic Gaussians ($n=100, d=10$), an assignment-first baseline (BIRKHOFF-DESCENT) wins near isotropy ($\beta = 0.1$). Under stronger anisotropy ($\beta = 0.9$), BRUTAL-SIGNS + PING-PONG clearly dominates in recovery accuracy across noise levels, while AVERAGE-SIGNS trails behind, illustrating the price of avoiding exponential search.
Figure 2: Overlap under weak (β = 0.1, left) and stronger (β = 0.9, right) anisotropy. Red: Birkhoff descent; green: Brutal-Signs; blue: Average-Signs. All three use Ping-Pong refinement.
  • 3D Shape Speedups: On noisy ModelNet10 shapes ($n=100, d=3$), BRUTAL-SIGNS achieves slightly higher overlap accuracy than BIRKHOFF-DESCENT while running ~80× faster ($0.0054\text{s}$ vs. $0.437\text{s}$). AVERAGE-SIGNS is ~250× faster ($0.0017\text{s}$), with only a slight dip in accuracy.

Limitations and Future Work

  • Restrictive theoretical assumptions: The guarantees require equal-sized point clouds, dependent Gaussian samples, strict power-law eigengaps, vanishing noise, and growing rank/dimension ($r \to \infty$, meaning fixed $d=3$ shape matching lies outside the theorem's scope).
  • Real-world messiness: The framework does not yet handle partial overlap, unequal cloud sizes, or arbitrary eigenvalue degeneracies (ties).
  • Future directions: Tightening the noise and dimension bounds (which are sufficient rather than sharp) and designing hybrid sign-recovery algorithms that marry the speed of AVERAGE-SIGNS with the finite-sample robustness of exhaustive search.

Summary updated

Abstract

The Procrustes-Wasserstein problem asks to match the vectors in two unlabeled point clouds $X$ and $Y$, which are related via a latent orthogonal transformation. This problem appears in unsupervised representation alignment, domain adaptation, and geometric matching, but its computational theory remains limited. We study a planted Gaussian model in which $Y$ is obtained from $X$ via an unknown relabeling, an unknown orthogonal transformation, and additive noise. Departing from the isotropic setting considered in prior work, we assume that the covariance of $X$ is anisotropic, with a power-law spectrum. While closer to real-world data, this structure also enables a directions-first approach: Estimate the dominant eigenspaces of both point clouds, then recover the matching. We prove that a polynomial-time version of this procedure exactly recovers the true relabeling with high probability under explicit scaling conditions. To our knowledge, this is the first computational recovery guarantee for Procrustes-Wasserstein with nontrivial observational noise and dimensions beyond $\log n$, where $n$ is the number of points. Experiments on synthetic data and 3D shapes support the theory, showing that anisotropy favors directions-first methods, can lower runtime and improve recovery.
BibTeX
@inproceedings{maier2026fast,
  author = {Jakob Maier and Laurent Massoulié},
  title = {{Fast Alignment of Embeddings: Computational Guarantees for Anisotropic Procrustes-Wasserstein}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=loV2n73ZW3},
}
Figure