Relative Latent Representations via Anchor Points

30 concepts24 papers2 proposals

When we train a neural network, the resulting latent space is highly dependent on arbitrary choices: the random initialization seed, the specific architecture, and the optimization path. If you train two identical models on the same dataset, they will likely place the same semantic concept at entirely different absolute coordinates. Because of this coordinate mismatch, we cannot natively plug the encoder of one model into the decoder of another, nor can different models easily communicate without extensive retraining.

However, if you look past the absolute coordinates and examine the internal geometry of the latent space, a remarkable consistency emerges. If the concept of "dog" is close to "cat" and far from "car" in Model A, that same relational structure will be preserved in Model B.

Relative latent representation is a paradigm that exploits this geometric consistency. Instead of defining a data point by its absolute coordinates in a feature space, it defines the point by its similarity or distance to a fixed set of reference samples, known as anchors, landmarks, or prototypes.

Absolute Space (Model A)          Absolute Space (Model B)
     [Dog]                             [Car]
    /     \                           /     \
[Anchor1] [Anchor2]               [Anchor1] [Anchor2]
    \     /                           \     /
     [Cat]                             [Dog]
       |                                 |
       v                                 v
Relative Space: Vector of similarities to [Anchor1, Anchor2] (Identical for both!)

The Geometry of Relational Consistency

Why does this approach work? As demonstrated by Luca Moschella et al., while absolute latent spaces undergo arbitrary orthogonal transformations (such as rotations and reflections) and uniform scaling during training, their relative geometry remains invariant. By mapping an absolute embedding vector to a vector of similarities against a shared set of anchor points, we create a coordinate system that is completely invariant to these transformations.

This mathematical invariance unlocks zero-shot interoperability. For instance, Irene Cannistraci et al. leverage relative distances to enable "model stitching," allowing researchers to connect the encoder of one model directly to the decoder of an independently trained model without any additional training or translation layers. Similarly, Donato Crisostomi et al. show that relative representations allow disparate latent spaces from different architectures or training runs to be merged into a single, unified "atlas" without requiring access to model weights.

Bridging the Architecture and Modality Gap

Because relative representations bypass absolute coordinate systems, they provide a natural framework for architecture-agnostic and model-agnostic communication. This is particularly valuable in Edge AI environments, where heterogeneous devices must collaborate with centralized servers. Songjie Xie et al. and Tomás Hüttebräucker et al. demonstrate that encoding data as vectors of similarities to shared anchor points allows a server to interpret features from unknown device architectures seamlessly, enabling zero-shot semantic communication.

This relational consistency is not just true across different models; it also holds across different sensory modalities. The internal semantic structure of an image dataset often mirrors the internal structure of corresponding text descriptions or audio clips. The authors of these various works exploit this cross-modal alignment in several ways:

  • Vision and Language: Chi Chen et al. use relative similarities to a small set of anchor pairs to bridge the modality gap in vision-and-language pre-training, achieving strong alignment even with weakly supervised or unaligned data.
  • Cross-Modal Distillation: Anas Mahmoud 0002 et al. transfer knowledge from 2D image foundation models to 3D LiDAR encoders by forcing the target modality to mimic the relational similarity profile of the source modality. Jogendra Nath Kundu et al. similarly perform cross-modal alignment for 3D pose estimation by distilling relationships between samples rather than individual sample properties.
  • Continual Learning: Fahad Sarfraz et al. show that aligning the relational structures of multiple modalities makes representations less susceptible to modality-specific noise, mitigating catastrophic forgetting during lifelong learning.
  • Structured Modalities: S Swetha et al. characterize samples by their relative distances to a set of learned latent codes, providing a structured way to preserve modality-specific semantics during multi-modal fusion.

Robustness, Clustering, and Open-Set Generalization

Beyond latent space alignment, anchor-based representations offer significant algorithmic advantages over raw feature vectors. In early foundational work, Purushottam Kar et al. demonstrated that representing data points via similarity scores to a subset of landmark points allows machine learning models to utilize arbitrary, non-positive semi-definite similarity or distance functions, bypassing strict kernel requirements.

This strategy is highly effective at filtering out signal noise and capturing comparative nuances across a variety of domains:

  • Bioinformatics: Jaewoo Kang et al. project microarray data into subspaces defined by "landmark genes," allowing biologists to analyze gene expression data based on functional relationships rather than raw intensity levels.
  • Multi-View Clustering: Jiaqi Jin et al. treat similarity vectors between data points and representative anchors as a shared feature space, enabling direct anchor matching across views with completely different feature dimensions.
  • Biometrics and Speech: Wei-Qiang Zhang et al. map input speech to a space defined by its similarity to reference utterances to mitigate signal variability. For gait recognition, Jilong Wang et al. project features onto learned prototypes, describing an individual's identity through their relative similarity to a diverse set of reference walking patterns.
  • Model Interpretability: Xiang Zhang et al. evaluate graph neural network explanations by measuring the similarity between an original input and its explanation based on their relative distances to fixed reference points in the embedding space, eliminating spurious correlations.

Relative representations also provide a powerful mechanism for handling unknown or out-of-distribution data. For open-set social event detection, Jiaqian Ren demonstrates that novel data points can be effectively represented by their similarity distribution relative to the centroids of established classes. This relational signature acts as a robust feature vector that captures exactly how an unknown sample deviates from or aligns with existing knowledge, allowing the system to flag entirely new categories without requiring continuous manual retraining.

Key Foundational Work

Microarray data mining using landmark gene-guided clustering (2008) — contributed 1 concept elements to this direction.
Similarity-based Learning via Data Driven Embeddings (2011) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_anchor_based_representation_6a921217,
  title = {anchor-based representation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/anchor-based-representation/rdr_6a9212172b974e089934051bcbf89657},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_anchor_based_representation_6a921217_v1,
  title = {anchor-based representation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/anchor-based-representation/rdr_6a9212172b974e089934051bcbf89657/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake