Improving Relative Representations with Learned Anchors and Whitened Inner Products

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Svendsen, Oscar Thorsted, Jakobsen, Nikolaj Holst, Mager, Fabian, Nassar, Hiba
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914614920347648
author Svendsen, Oscar Thorsted
Jakobsen, Nikolaj Holst
Mager, Fabian
Nassar, Hiba
author_facet Svendsen, Oscar Thorsted
Jakobsen, Nikolaj Holst
Mager, Fabian
Nassar, Hiba
contents Independently trained neural models typically converge to incompatible latent representations, creating a fundamental barrier to highly modular AI systems. While Relative Representations (RR) address this by mapping absolute coordinates to a shared space defined by similarities to common anchor points, traditional implementations rely on randomly sampled anchors and cosine similarity, which frequently fail to capture the anisotropic geometries of modern architectures like Transformers. In this work, we propose a robust framework for cross-model communication based on two improvements. We learn anchors as robust semantic prototypes and utilize a geometry-aware similarity metric which preserves discriminative magnitude information and is invariant to affine shifts. Our approach demonstrates significant gains in performance and consistency across vision and language tasks. Notably, it enables nearly lossless information transfer and stable zero-shot communication even between highly heterogeneous architectures, such as small language models of varying scales.
format Preprint
id arxiv_https___arxiv_org_abs_2605_30596
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Improving Relative Representations with Learned Anchors and Whitened Inner Products
Svendsen, Oscar Thorsted
Jakobsen, Nikolaj Holst
Mager, Fabian
Nassar, Hiba
Machine Learning
Independently trained neural models typically converge to incompatible latent representations, creating a fundamental barrier to highly modular AI systems. While Relative Representations (RR) address this by mapping absolute coordinates to a shared space defined by similarities to common anchor points, traditional implementations rely on randomly sampled anchors and cosine similarity, which frequently fail to capture the anisotropic geometries of modern architectures like Transformers. In this work, we propose a robust framework for cross-model communication based on two improvements. We learn anchors as robust semantic prototypes and utilize a geometry-aware similarity metric which preserves discriminative magnitude information and is invariant to affine shifts. Our approach demonstrates significant gains in performance and consistency across vision and language tasks. Notably, it enables nearly lossless information transfer and stable zero-shot communication even between highly heterogeneous architectures, such as small language models of varying scales.
title Improving Relative Representations with Learned Anchors and Whitened Inner Products
topic Machine Learning
url https://arxiv.org/abs/2605.30596