Research map / Large language models / Language, safety and interpretability
A Polar coordinate system represents syntax in large language models
Read the paperCheck your idea against 108,967 papers
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Introduces the Polar Probe, a linear readout of LLM activations where syntactic distance encodes dependency existence and vector direction encodes dependency type and head direction, outperforming the Structural Probe on labeled dependency recovery.
Problem
Structural Probes recover only the existence of dependency relations (via distance) in LLM activations, not their type or direction, leaving the labeled directed syntactic tree unexplained in neural representations.
Approach
Jointly optimize a single linear transform with a structural distance loss and a contrastive angular loss so that edges of the same dependency type are collinear and different types are orthogonal, yielding a polar coordinate code where distance gives existence and angle gives type and direction.
Key results
- Polar Probe reaches average AUC of 95% for dependency type vs 74% for Structural Probe, 80% No Probe, and 50% for random LLM on Llama-2-7b-hf.
- Peak LAS at layer 16: 70.2 (BERT-large), 60.6 (Mistral-7B-v0.1), 62.9 (Llama-2-7b-hf).
- Polar Probe preserves UUAS of Structural Probe while outperforming it in LAS by around 90% across layers of Llama-2-7b-hf.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Use the Polar Probe instead of the Structural Probe | Syntactic dependency type classification · English Web Treebank test | AUC: 74% -> 95% | Helped |
| Use the Polar Probe instead of raw activations | Syntactic dependency type classification · English Web Treebank test | AUC: 80% -> 95% | Helped |
| Train the Polar Probe on a pretrained language model rather than a random initialization | Polar Probe · English Web Treebank test | AUC: 50% -> 95% | Helped |
| Use the Polar Probe instead of the Structural Probe | Dependency structure recovery · English Web Treebank test | UUAS | No clear effect |
| Use the Polar Probe instead of the Structural Probe | Llama-2-7b-hf · English Web Treebank test | LAS: around 90% | Helped |
| Use a Polar Probe dimensionality of 128 | Polar Probe on Llama-2-7b-hf · English Web Treebank test | LAS | Helped |
Surprising findings
- Raw activations without any probe predict dependency types above chance and better than the Structural Probe.
- Optimal probe dimensionality (k''=128) is far smaller than the model's layer size, contrary to theoretical predictions.
Limitations
- Only English language studied.
- Supervised probe; cannot discover unsuspected syntactic structures.
- Only dependency (not phrase-structure or morphological) trees tested; Euclidean geometry assumed.
Experimental setup
Datasets: English Web Treebank (EWT) Universal Dependencies Controlled long-nested sentence dataset (100 sentences)
Benchmarks: English Web Treebank (EWT) Controlled long-nested sentence dataset
Metrics: UUAS AUC dependency type accuracy balanced accuracy LAS
Baselines: Structural Probe No Probe Polar Probe Random LLM
Builds on: Structural Probe Universal Dependencies Adam
Closest papers by meaning
- Differential syntactic and semantic encoding in LLMs (ICML 2026 · similarity 0.89)
- Hierarchical Frequency Tagging Probe (HFTP): A Unified Approach to Investigate Syntactic Structure Representations in Large Language Models and the Human Brain (NeurIPS 2025 · similarity 0.88)
- Learning the Wrong Lessons: Syntactic-Domain Spurious Correlations in Language Models (NeurIPS 2025 · similarity 0.87)
- The Same but Different: Structural Similarities and Differences in Multilingual Language Modeling (ICLR 2025 · similarity 0.86)
- Invariant Features in Language Models: Geometric Characterization and Model Attribution (NeurIPS 2026 · similarity 0.85)
- The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalities (ICLR 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
