Non-linear Alignment of Heterogeneous Latent Spaces

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2234 papers252 conceptsfrozen 2026-10-04

When two neural networks are trained to perform the same task—even if they share the same architecture and data—they rarely "speak" the same internal language. Their latent spaces, the high-dimensional numerical representations of data, often end up as idiosyncratic coordinate systems. This lack of alignment makes it difficult to swap components between models, merge their knowledge, or ensure that a new version of a model is backward compatible with an old one.

Recent research has converged on a central challenge: how to bridge these disparate latent manifolds. While early attempts relied on simple linear transformations, a growing body of evidence suggests that the relationships between model representations are fundamentally non-linear and require more sophisticated geometric "stitching."

The Tower of Babel Problem

The core issue is that latent spaces are not just sets of coordinates; they are manifolds with intrinsic structures. Yu‐Xin Ren and colleagues proposed the Bijection Hypothesis in All Roads Lead to Rome? Exploring the Invariance of Transformers' Representations, suggesting that while different initializations of the same architecture learn essentially equivalent (isomorphic) spaces, the mapping between them is rarely a simple one-to-one neuron match.

Traditionally, researchers used linear methods like Procrustes alignment or Canonical Correlation Analysis (CCA) to bridge these spaces. However, as Stefan Horoi and Guy Wolf demonstrate with CCA Merge in Harmony in Diversity: Merging Neural Networks with Canonical Correlation Analysis, even flexible linear combinations struggle to capture the full complexity of how different networks represent information.

Beyond Linear Projections

The recurring theme across recent literature is that linear assumptions—such as rotations or affine shifts—fail to account for the intricate, non-linear distortions that occur during training.

  1. Semantic Consistency: In the context of Reinforcement Learning, Antonio Pio Ricciardi and Luca Moschella argue in Mapping representations in Reinforcement Learning via Semantic Alignment for Zero-Shot Stitching that simple affine transformations cannot bridge the gap when the underlying structural differences between latent manifolds are highly non-linear.
  2. Geometric Invariance: Irene Cannistraci and others propose in From Bricks to Bridges: Product of Invariances to Enhance Latent Space Communication that we should instead look for a "product space" of multiple geometric invariances (like cosine and Euclidean distances) to enable zero-shot stitching—the ability to plug an encoder from one model into the decoder of another without retraining.
  3. Frame Theory: To handle the "internal language" mismatch in semantic communications, Claudio Battiloro and Paolo Di Lorenzo introduced the Parseval Frame Equalizer (PFE) in Frame-Based Zero-Shot Semantic Channel Equalization for AI-Native Communications. This method uses frame theory to align latent spaces dynamically, ensuring semantic consistency even when transmitters and receivers use entirely different architectures.

Zero-Shot Stitching and Model Compatibility

The ultimate goal of this alignment is "stitching": the modular assembly of neural networks. If we can perfectly align the latent space of Model A with Model B, we can use Model A’s feature extractor with Model B’s classifier.

This has profound implications for Backward Compatibility. Weihua Hu and Jure Leskovec developed BC-Aligner in Learning Backward Compatible Embeddings, which uses a lightweight transformation to map new embedding vectors back to an old space. While they noted that linear transformations are efficient, they highlighted that non-linear functions like multi-layer perceptrons (MLPs) are often necessary to achieve high-precision alignment.

Similarly, in the realm of multimodal AI, Abhi Kamboj and Minh N. Do point out in Towards Achieving Perfect Multimodal Alignment that while contrastive learning (like CLIP) nudges related pairs together, the final alignment is often bottlenecked by the assumption that different modalities can be reconciled through simple linear steps.

The Path Forward: Intrinsic Geometry

To move past the limitations of linear mapping, researchers are looking at the intrinsic geometry of the latent manifold itself. Hanlin Yu and Francesco Locatello proposed Relative Geodesic Representations in Connecting Neural Models Latent Geometries with Relative Geodesic Representations. Instead of comparing coordinates, they compare the "distances" along the manifold surface (geodesics).

By treating latent spaces as different coordinate systems for the same underlying data manifold, these geometric approaches allow for precise, zero-shot retrieval and stitching across diverse architectures. This shift from "aligning points" to "aligning manifolds" represents the current frontier in making neural networks truly interoperable.

Papers in this version

Showing 60 of 234 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 239 papers
  2. Version 1 · 2026-10-04 · 234 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_non_linear_domain_shift_d0c746ee,
  title = {non-linear domain shift},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/non-linear-domain-shift/rdr_d0c746ee164640c0b7b73ac681bbe325},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_non_linear_alignment_of_heterogeneous_la_d0c746ee_v1,
  title = {Non-linear Alignment of Heterogeneous Latent Spaces},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/non-linear-alignment-of-heterogeneous-latent-spaces/rdr_d0c746ee164640c0b7b73ac681bbe325/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}