MATH · IN · MODELS

A polar probe splits in-context relational graphs into existence and type readouts

measured in 1 paper

Diego-Simon et al. extend the structural probe's distance/depth decomposition from parse trees to arbitrary in-context relational graphs across five domains (arithmetic ordering, spatial layouts, thematic roles, family trees, metro maps) [diego-simon-etal-2026-polar-probe-semantic-structures] Within a learned probe subspace, a pair's difference vector is decomposed into an existence readout (Euclidean distance) and a type readout (cosine similarity to learned per-relation-type prototype vectors) [diego-simon-etal-2026-polar-probe-semantic-structures] Tested on Llama3-8B, OLMo-7B (9 pretraining checkpoints), and the Pythia sweep (10M-6.8B), existence decoding peaks around 0.80 and type around 0.50-0.70 in middle layers, near chance in a random-init control and scaling monotonically with model size [diego-simon-etal-2026-polar-probe-semantic-structures] Performance saturates by probe rank ~32, and the five domains' probe subspaces are largely disjoint except a pronounced spatial-layout/variable-ordinality overlap [diego-simon-etal-2026-polar-probe-semantic-structures] Mapping each prototype back into the residual stream via the probe's pseudoinverse and adding or subtracting it causally raises or lowers the correct-token probability, though the method underperforms on non-commutative or many-to-many graphs [diego-simon-etal-2026-polar-probe-semantic-structures]

Context

generalization of the tree-metric-probe's distance/depth decomposition from trees specifically to arbitrary in-context relational graphs, existence (Euclidean distance) vs. type (cosine similarity to learned per-relation-type prototype vectors) as two jointly-trained, functionally distinct linear readouts, probe-rank saturation around 32 dimensions, echoing the tree-metric-probe's own low-effective-rank property, monotonic scaling of probe accuracy with pretrained model size (Pythia sweep), absent in randomly-initialized controls, principal-angle subspace-disjointness across relational domains, with one notable exception (spatial layouts vs. variable ordinality), causal steering via prototype vectors mapped back into residual-stream space through the probe's pseudoinverse

Papers

Polar probe linearly decodes semantic structures from LLMs — Diego-Simón, Pablo J., Orhan, Pierre, Chemla, Emmanuel, Lakretz, Yair, King, Jean-Rémi2026 · arXiv:2605.14125