Unsupervised Latent Space Alignment with Hyperspherical Geodesic Matching
Organizations: Northeastern University, Boston, MA 02115. Work performed during a summer internship at Lawrence Livermore National Laboratory · Lawrence Livermore National Laboratory, Livermore, CA 94551-0808.
Abstract
Independently trained neural networks tend to encode the same data with similar latent geometries. These latent geometries are not directly compatible, yet they can be nearly the same up to some class of transformations. While there exists many methods for alignment between different latent spaces, it is typically done using a set of shared sample correspondences, known as anchors. This leaves a fundamental question: are the geometric signatures of different latent spaces representing similar data sufficient to recover an alignment between them? To that end, we introduce HGA (Hyperspherical Gaussian Alignment), a method that directly optimizes a transformation between two latent spaces by maximizing a geometric measure of "fit" between them. Since it is driven by the geometry of the latent spaces rather than paired data, HGA can operate in both an unsupervised and weakly supervised regime. On tasks such as model stitching or multilingual word embedding correspondence recovery, HGA manages to match supervised results with minimal or no supervision.
Figures & tables
| Dataset | Supervised Ortho | Unsupervised Latent Functional Maps | Unsupervised HGA |
| MNIST | |||
| CIFAR10 | |||
| CIFAR100 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Layer | LR | LR final | Stitching Acc. (HGA unsupervised) | Stitching Acc. (Ortho Supervised) | ||
| 4 | 0.1 | 4 | 0.1 | 0.0005 | 70% | 70% |
| 5 | 0.1 | 4 | 0.1 | 0.0005 | 62% | 71% |
| 6 | 0.1 | 4 | 0.1 | 0.001 | 75% | 73% |
| 7 | 0.2 | 4 | 0.01 | 0.0005 | 75% | 76% |
| 8 | 0.1 | 4 | 0.01 | 0.0005 | 76% | 77% |
| LFM | HGA | ||||
| R | Word | Score | R | Word | Score |
| dog (in anchor list) | |||||
| 1 | chien | 0.050 | 1 | chien | 0.929 |
| 2 | chat | 0.040 | 2 | chiens | 0.692 |
| 3 | animaux | 0.031 | 3 | chat | 0.683 |
| 4 | peau | 0.028 | 4 | animal | 0.609 |
| Rank | Orthogonal Procrustes | Latent Functional Maps | Spherical Alignment |
| 1 | banner | pennant | banner |
| 2 | pennant | banner | pennant |
| 3 | minivan | tag | scoreboard |
| 4 | scoreboard | jersey | tag |
| 5 | tag | game | jersey |
| 6 | woman | visor | board game |
Latent Space Alignment
Latent space alignment maps learned representations into compatible coordinates to enable comparison, transfer, and interoperability across models or data sources.
See all 76 papers