mlsanityData to 7 Oct 2026

A polar coordinate system represents syntax in large language models

arXiv 2412.05571 ↗First posted 7 Dec 2024cs.CLcited by 24

Not on the map. Why?

Abstract (arXiv)

Originally formalized with symbolic representations, syntactic trees may also be effectively represented in the activations of large language models (LLMs). Indeed, a 'Structural Probe' can find a subspace of neural activations, where syntactically related words are relatively close to one-another. However, this syntactic code remains incomplete: the distance between the Structural Probe word embeddings can represent the existence but not the type and direction of syntactic relations. Here, we hypothesize that syntactic relations are, in fact, coded by the relative direction between nearby embeddings. To test this hypothesis, we introduce a 'Polar Probe' trained to read syntactic relations from both the distance and the direction between word embeddings. Our approach reveals three main findings. First, our Polar Probe successfully recovers the type and direction of syntactic relations, and substantially outperforms the Structural Probe by nearly two folds. Second, we confirm that this polar coordinate system exists in a low-dimensional subspace of the intermediate layers of many LLMs and becomes increasingly precise in the latest frontier models. Third, we demonstrate with a new benchmark that similar syntactic relations are coded similarly across the nested levels of syntactic trees. Overall, this work shows that LLMs spontaneously learn a geometry of neural activations that explicitly represents the main symbolic structures of linguistic theory.

Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 23 of its 47 references that are in the map. First posted on arXiv 7 Dec 2024.

Builds on

23 of 47 references.

References · 23

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,290
  5. 2017Poincar'e Embeddings for Learning Hierarchical Representationscited by 674
  6. 2016Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependenciescited by 350
  7. 2023Hyperbolic Image-Text Representationscited by 132
  8. 2020Finding Universal Grammatical Relations in Multilingual BERTcited by 108
  9. 2019The emergence of number and syntax units in LSTM language modelscited by 92
  10. 2018Embedding Text in Hyperbolic Spacescited by 76
  11. 2021Probing BERT in Hyperbolic Spacescited by 50
  12. 2022Neurocompositional computing: From the Central Paradox of Cognition to a new generation of AI systemscited by 44
11 more
  1. 2020Mechanisms for Handling Nested Dependencies in Neural-Network Language Models and Humanscited by 42
  2. 2023Language acquisition: do children and language models follow similar learning stages?cited by 40
  3. 2021Disentangling Syntax and Semantics in the Brain with Deep Networkscited by 39
  4. 2019Discovering the Compositional Structure of Vector Representations with Role Learning Networkscited by 33
  5. 2021A Non-Linear Structural Probecited by 31
  6. 2022Neural Language Models are not Born Equal to Fit Brain Data, but Training Helpscited by 26
  7. 2022Probing for Incremental Parse States in Autoregressive Language Modelscited by 24
  8. 2020Introducing Orthogonal Constraint in Structural Probescited by 21
  9. 2023Information-Restricted Neural Language Models Reveal Different Brain Regions' Sensitivity to Semantics, Syntax and Contextcited by 13
  10. 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
  11. 2022Probing for Labeled Dependency Treescited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 8; 2026: 16.

24 papers.

Sort:

By area:

  1. 2025How Linguistics Learned to Stop Worrying and Love the Language Modelscited by 50
  2. 2026Do Sparse Autoencoders Capture Concept Manifolds?cited by 25
  3. 2026Deriving Neural Scaling Laws from the statistics of natural languagecited by 18
  4. 2026From Directions to Regions: Decomposing Activations in Language Models via Local Geometrycited by 10
  5. 2026Differential syntactic and semantic encoding in LLMscited by 6
  6. 2025Probing Syntax in Large Language Models: Successes and Remaining Challengescited by 4
  7. 2026Deep networks learn to parse uniform-depth context-free languages from local statisticscited by 4
  8. 2026Sparse Reward Subsystem in Large Language Modelscited by 3
  9. 2026Emergence of Phonemic, Syntactic, and Semantic Representations in Artificial Neural Networkscited by 2
  10. 2025Hyperdimensional Probe: Decoding LLM Representations via Vector Symbolic Architecturescited by 1
  11. 2026Polar probe linearly decodes semantic structures from LLMscited by 1
  12. 2025Testing Transformer Learnability on the Arithmetic Sequence of Rooted Treescited by 0
12 more
  1. 2025Language models as tools for investigating the distinction between possible and impossible natural languagescited by 0
  2. 2025Large language models have learned to use languagecited by 0
  3. 2025Large language models are not about natural languagecited by 0
  4. 2025Linguists should learn to love speech-based deep learning modelscited by 0
  5. 2026Are Language Models Models?cited by 0
  6. 2026Emergent Causal-Geometric Dynamics Across Depth in Large Language Modelscited by 0
  7. 2026Across the Levels of Analysis: Explaining Predictive Processing in Humans Requires More Than Machine-Estimated Probabilitiescited by 0
  8. 2026You Can't Fight in Here! This is BBS!cited by 0
  9. 2026Geometry-Guided Self-Supervision for Ultra-Fine-Grained Recognition with Limited Datacited by 0
  10. 2026Representational Curvature Modulates Behavioral Uncertainty in Large Language Modelscited by 0
  11. 2026Not-So-Strange Love: Language Models and Generative Linguistic Theories are More Compatible than They Appearcited by 0
  12. 2026Relational Rank Geometry in Transformers: Detecting and Steering Hidden-State Relation Framescited by 0