MATH · IN · MODELS
structures / Linear Structures / Relation frame (ordered multi-token tuple geometry)

Relation frame (ordered multi-token tuple geometry)

OBJECTconfigurationadvancedhow it's classified →

A finite, ordered configuration of several token hidden states jointly bound by one relation — described not by a single direction or one fixed subspace, but by the tuple's centroid, centered shape, spanned subspace, and orientation (sign pattern of its Plücker/determinant minors).

Replicationcomputed from the corpus — never hand-assigned
1 paper1 architecture class1 domain1 model family
Filled = two or more values reported by papers that share no author — replication. Outlined = two or more values, but all from a single study — breadth, not replication. Grey = a single value. Derived from paper authorship and each model's architecture class, domain and family; it updates itself when a paper is added.

Definition

Where Linear Direction and Linear Subspace each describe a single feature site, a relation frame is the hidden-state configuration of the kk token positions that jointly instantiate a kk-argument relation (e.g. the three role-tokens of a ternary relation). Rigorously it is an ordered configuration F=(h1,,hk)(Rd)kF=(h_1,\ldots,h_k)\in(\mathbb{R}^d)^k, from which we read three independently-manipulable, well-defined pieces: the centroid hˉ=1kihi\bar h=\frac1k\sum_i h_i; the centered shape Z=[(h1hˉ);;(hkhˉ)]Z=[(h_1-\bar h)^\top;\ldots;(h_k-\bar h)^\top]; and the spanned subspace VF=rowspan(Z)V_F=\operatorname{rowspan}(Z), a point of the Grassmannian Gr(r,d)\mathrm{Gr}(r,d) with r=dimVFr=\dim V_F. The orthogonally-invariant summary of the shape is the Gram matrix GF=ZZG_F=ZZ^\top (invariant under any orthogonal change of the ambient basis).

Caveats on the “orientation sign” (corrected). A tempting scalar handedness label signdet(Uk[t,:])\operatorname{sign}\det(U_k[t,:]) built from left singular vectors of the projected tuple is not a data invariant as usually stated:

  • SVD singular vectors are defined only up to a per-column sign; flipping ujuju_j\mapsto -u_j flips the determinant. With repeated singular values the corresponding singular subspace can be orthogonally rotated, making the sign still less determined. So a bare ±1\pm1 requires an explicit, fixed sign/orientation convention to mean anything.
  • Any determinant sign is meaningful only after fixing an orientation of the ambient space; an orthogonal change of coordinates with determinant 1-1 flips it.
  • The centered configuration has rows summing to zero, so rank(Z)k1\mathrm{rank}(Z)\le k-1: there is generically no honest “kk-th” direction for the centered shape — the natural cap is k1k-1.

If oriented information is genuinely needed, use the exterior product v1vrv_1\wedge\cdots\wedge v_r / Plücker coordinates after fixing orientation conventions, rather than a single unqualified sign.

Relative to linear-subspace and linear-direction

A Linear Direction or Linear Subspace is a single fixed geometric object shared across many activations (the same “truth direction” for every true/false statement). A relation frame is instead a per-instance, multi-token configuration — a different ordered tuple of vectors for every relation instance in every prompt — and the object of interest is how that tuple’s own internal shape and orientation vary with whether the tokens are genuinely relation-bound (versus scrambled or random). It generalizes the single-site view to an explicitly higher-arity one: a kk-argument relation should show its clearest signature at Plücker rank kk, not at rank 1.

Key evidence

Kobrosly (2026) uses Plücker sign entropy — the entropy of orientation signs over many sampled tuples — to test this on synthetic controlled-arity prompts (r=3,,6r=3,\ldots,6 arguments) across Llama-3.1 8B/70B/405B-Instruct: true relation tuples have consistently lower sign entropy (i.e. more orientation-consistent) at the arity-matched rank k=rk=r than scrambled or random-tuple controls, with positive diagonal margins in every headline row and in a held-out layer-selection audit, most uniform in the 405B model. In a separate edge-grid clean/corrupt steering assay (8×8 grid, YES/NO relation markers), patching the shape of a corrupt relation frame toward the clean frame’s shape — while leaving the centroid fixed — recovers clean-answer behavior and clean residual relation geometry in Llama-3.1-70B/405B-Instruct nearly as well as patching the whole frame, whereas moving only the centroid, or adding equal-norm noise, recovers almost nothing. See Plücker sign entropy and Relation-frame shape steering for the two techniques.

How to detect it

Fix a relation of known arity rr, sample matched true/scrambled/random token tuples, project into a shared low-rank analysis subspace, and compare orientation-sign entropy across candidate ranks kk: enrichment specifically at k=rk=r (not at other tested ranks) indicates the relation is represented as an rr-way oriented configuration rather than reducible to rr independent single-token directions.

Key papers

  • Kobrosly (2026). Relational Rank Geometry in Transformers: Detecting and Steering Hidden-State Relation Frames. arXiv:2605.29634 — origin of Plücker sign entropy and relation-frame steering; independent-researcher preprint, single-paper evidence so far.

Found in (1 observation · 1 family)

Llama

Relational Rank Geometry in Transformers: Detecting and Steering Hidden-State Relation Frames (2026)measured

Relations bind tokens into an oriented frame whose shape is causally steerable

Details

Kobrosly studies the relation-frame, the ordered hidden-state configuration of the k token positions jointly bound by a k-argument relation [kobrosly-2026] Using Plucker sign entropy over sampled token tuples across Llama-3.1 8B/70B/405B-Instruct, true relation tuples show more orientation-consistent (lower-entropy) signs at the arity-matched rank k=r than scrambled or random-tuple controls [kobrosly-2026] The pattern is most uniform in the 405B model across templates and constructors, while 8B and 70B retain broadly positive but more template-specific support [kobrosly-2026] Patching the corrupt relation-marker cloud's centered shape toward the clean shape (leaving the centroid fixed) nearly matches full replacement (endpoint recovery ~1.0), while centroid-only translation (~0.002) and equal-norm noise (~0.02) recover almost nothing [kobrosly-2026] An ordering audit shows the ordered clean shape itself is required (permuting, reflecting, or transplanting a corrupt-state shape all fail); single-author preprint, no external replication [kobrosly-2026]

models: Llama-3.1-8B-Instruct, Llama-3.1-70B-Instruct, Llama-3.1-405B-Instruct · method: Plücker sign entropy, Relation-frame shape steering, Activation patching