How Relations Impose Embedding-Space Structure

Lachlan Cowley, Jey Han Lau, Yulia Otmakhova, Eduard HovyarXiv 2026

TL;DR

Large Language Models (LLMs) don't just store words as isolated points; they arrange them into complex, "mirrored" structures that allow them to understand analogies across vast conceptual distances. By comparing the "fingerprint" of relationships between disparate domains—like the phases of water and numerical Celsius temperatures—researchers found that models encode these connections through shared geometry rather than simple, shared directions.

What Problem Does This Paper Address?

For years, the "Linear Representation Hypothesis" has been our best guess for how LLMs think: concepts are directions in space. If you want to turn a "man" into a "king," you just add the "royalty" vector. But this doesn't explain how models handle complex, distant metaphors. How does a model know that "attacking an argument" is structurally similar to "attacking a fort"?

The authors tackle a fundamental mystery: how do models organize their internal "embedding space" to handle these high-level analogies? Specifically, they look at distant domains—concepts that are nowhere near each other in the model's mind—and ask if the model still forces them to share a common structural "shape."

Methods

The researchers introduced a parameter-free method to test for second-order isomorphism. In plain English: they aren't looking at whether two concepts are in the same place, but whether the pattern of relationships between concepts in one group matches the pattern in another.

  1. Steering Vectors: They first isolated "pure" concepts (like ice or 100°C) by using contrastive prompts to find the specific direction in the model's mind that represents that idea.
  2. Moves: Instead of comparing points, they compared "moves." A move is the vector difference between two concepts (e.g., the "jump" from ice to boiling water).
  3. RSA (Representational Similarity Analysis): They built a distance matrix of all possible moves within the "Water" domain and another for the "Celsius" domain. Then, they checked if these two matrices were correlated. If the "jump" from ice to steam feels similar to the "jump" from 0°C to 100°C, the structures are isomorphic.
The intuition: how moves in one domain (water) mirror moves in another (Celsius)

Datasets

The study used several custom-built sets of concepts to test these structural mirrors:

  • Temperature: 131 Celsius levels, 251 Fahrenheit levels, and 18 "water words" (e.g., slush, hail, room-temperature, steam).
  • Metaphors: Three classic linguistic metaphors: Argument is War, Ideas are Food, and Importance is Size.
  • Structural Analogies: "Profession frames" comparing roles in different fields (e.g., Doctor/Patient/Clinic vs. Lawyer/Client/Law Firm).

The researchers tested these across three different model families: Gemma-2-2B, OLMo-3.1-32B, and Qwen3-32B.

Key Insights and Ideas

  • Shape, Not Direction: Surprisingly, the "warmer" direction for water words is almost completely perpendicular (orthogonal) to the "warmer" direction for numbers. The model doesn't use a single "hotness" vector; instead, it ensures the relative arrangement of water words mirrors the arrangement of numbers.
  • The "Saddle" Hypothesis: Why are representation manifolds so curved and high-dimensional? The authors suggest it’s because a single concept (like boiling water) has to satisfy multiple relational constraints at once. It has to fit into the "water" structure, the "temperature" structure, and perhaps a "cooking" structure simultaneously.
Figure 1: An illustration of how accumulated relationships could shape a domain’s geometry. We hypothesise that each domain must remain comparable, through a simple map, with parts of other, distant domains it is related to, and that these requirements fix how its members are arranged. Requirements from different domains overlap on some members (ringed), so no flat arrangement satisfies them all; here, the arrangement that best satisfies them is saddle-shaped. We are testing this via whether distant but related manifold pairs are nearly second-order isomorphic, which gives us an estimate of how simple a map between the two spaces could be. Overlapping requirements of this kind could explain the extra curvature observed in representation manifolds, which bend through more dimensions than their own structure requires (Olah, 2024; Modell et al., 2025).
  • Latent Knowledge: The model encodes these structural mirrors even when the training text doesn't explicitly mention the comparison. It "knows" the analogy as a persistent property of its geometry.

Key Results

The results were remarkably consistent across different models and layers:

  • Temperature Alignment: In Gemma-2-2B, the correlation ($\rho$) between water moves and Celsius moves reached 0.62, far exceeding the random "null" baseline of ~0.30.
  • Metaphor Success: Metaphors like Importance is Size and Argument is War showed strong structural alignment across all models tested.
  • Depth Matters: The alignment usually peaks in the middle-to-late layers of the model (around layers 4–10 in a 26-layer model), suggesting this structural organization is a "higher-order" feature developed during processing.
Figure 3: Move agreement between the two sides of each analogy across depth. Dashed lines are each do- main’s permutation-null 95th percentile; they are above zero (0.54–0.87) because two moves that share an end- point are similar whatever the pairing. Filled markers clear the null (p < 0.05), hollow markers do not. For profession frames the solid line is the mean over the 10 profession pairs, the dashed line the mean of their nulls, and a marker is filled only if most pairs clear.

Limitations and Future Work

The authors are careful to note that while they've found these beautiful geometric structures, they haven't yet proven that the model uses them to reason. This is a "correlational" finding, not a "causal" one.

Additionally, their method requires a human to specify the hypothesis (the mapping between domains) in advance. Future work could involve unsupervised methods to discover these "mirrored" structures automatically, which would be a massive boon for AI safety and interpretability—allowing us to read a model's "dispositions" directly from its geometry.

Summary updated

Abstract

Language models are known to encode simple relations, such as synonymy, in the geometry of their representations. It is unclear whether they also encode complex patterns of relationships such as those that drive analogy. We present a simple method, with no learned parameters, based on comparing the internal structural arrangements between disparate domains, to test this. Using our method we find over multiple models that representations are arranged consistently to encode complex relationship similarities. Models align distant representation clouds so that facets of meaning are easily comparable under simple mappings. Our work extends mechanistic accounts of representation space to the relative arrangement of representations that may be only weakly related to one another, showing that representation geometry is far richer than previously thought. Code and data: https://github.com/lcowley7/embedded_relationships
BibTeX
@misc{cowley2026how,
  author = {Lachlan Cowley and Jey Han Lau and Yulia Otmakhova and Eduard Hovy},
  title = {{How Relations Impose Embedding-Space Structure}},
  year = {2026},
  eprint = {2611.29986},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29986},
}
Figure