← Latest papers
🤖 machine learning

Improving Relative Representations with Learned Anchors and Whitened Inner Products

This paper proposes a robust framework for cross-model communication that improves upon traditional Relative Representations by learning semantic anchor prototypes and employing a geometry-aware similarity metric, thereby enabling stable, nearly lossless information transfer between heterogeneous neural architectures.

Original authors: Oscar Thorsted Svendsen, Nikolaj Holst Jakobsen, Fabian Mager, Hiba Nassar

Published 2026-06-01
📖 4 min read☕ Coffee break read

Original authors: Oscar Thorsted Svendsen, Nikolaj Holst Jakobsen, Fabian Mager, Hiba Nassar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have two different translators who speak the same language but use completely different dictionaries and sentence structures. One translator (Model A) describes a "king" as a tall, golden figure, while the other (Model B) describes a "king" as a short, blue figure. If you try to give Model B a note written by Model A, it won't understand it because the coordinates don't match.

This is the problem Relative Representations tries to solve. Instead of trying to force Model A and Model B to agree on the exact coordinates of a "king," they agree on a set of landmarks (anchors). They say, "Okay, regardless of how you draw the map, how close is the 'king' to the 'queen' and the 'castle'?" If both models agree on the distances to these landmarks, they can talk to each other, even if their internal maps look totally different.

However, the old way of doing this had two big flaws, which this paper fixes with a new system called PARAM and WIP.

The Problem with the Old Way

  1. Random Landmarks: The old method picked landmarks by throwing darts at a map. Sometimes you'd pick a bunch of darts that landed in the same spot (redundancy), or you'd miss huge areas of the map entirely. This meant the "translation" was often blurry or lost important details.
  2. The Wrong Ruler: The old method used a ruler that only measured angles (direction) but ignored distance (magnitude). Imagine trying to measure a room where the floor is stretched unevenly. If you only look at the angle of a corner, you might think a small, stretched room is the same as a large, normal one. This caused the "translation" to break when the models were very different from each other (like a small language model talking to a giant one).

The New Solution: PARAM and WIP

1. PARAM: Learning the Best Landmarks

Instead of throwing darts randomly, the authors teach the computer to learn the perfect landmarks.

  • The Analogy: Imagine you are trying to describe a city to a friend. Instead of picking random street corners, you ask the city itself: "Where are the most important, stable hubs that represent the whole area?"
  • How it works: The system creates landmarks by averaging groups of data points. This smooths out the noise (like averaging a few shaky photos to get one clear picture). These new landmarks are "robust semantic prototypes"—they are stable, cover the whole map evenly, and don't get confused by the quirks of a specific model.

2. WIP: The Smart Ruler

The authors replaced the old "angle-only" ruler with a Whitened Inner Product (WIP).

  • The Analogy: Think of the old ruler as a rubber band that stretches and shrinks depending on who is holding it. If Model A stretches the space and Model B squishes it, the rubber band gives the wrong answer.
  • How it works: The new WIP ruler is "whitened." Before measuring, it mathematically flattens out the rubber band. It corrects for stretching, squishing, and shifting. Crucially, it also pays attention to how strong a signal is (magnitude), not just which way it points. This allows the models to keep important details (like "how confident" the model is) that the old method threw away.

The Results: "Lossless" Translation

The authors tested this by trying to connect different types of AI models:

  • Vision: They connected a CNN (a type of image model) with a Transformer (a different, more modern image model).
  • Language: They connected different language models (like BERT variants) that speak different languages (English, German, French, etc.).
  • Small vs. Big: They even connected tiny language models to much larger ones.

The Outcome:
In the past, trying to stitch these models together resulted in a disaster (the new model would guess randomly). With PARAM and WIP, the models communicated almost perfectly.

  • They achieved zero-shot stitching: You could train a tool on Model A's data and immediately use it on Model B's data without any retraining.
  • The performance was nearly identical to using the original model directly. It was as if the "translation" was lossless—no information was lost in the process.

Summary

This paper introduces a new way to make different AI models talk to each other.

  1. Stop guessing landmarks: Learn the best, most stable reference points (PARAM).
  2. Use a better ruler: Use a measurement tool that accounts for stretching and shrinking in the data (WIP).

The result is a universal "plug-and-play" system where you can swap out the brain (encoder) of an AI for a different one, and the rest of the system still works perfectly without needing to be retrained.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →