A Polar coordinate system represents syntax in large language models
Pablo Diego-Simón, Stéphane d'Ascoli, Emmanuel Chemla, Yair Lakretz, Jean-Remi King
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Language acquisition: do children and language models follow similar learning stages? 引用了 Neural Language Models are not Born Equal to Fit Brain Data, but Training Helps
- Gated Tree Cross-Attention for Checkpoint-Compatible Syntax Injection in Decoder-Only LLMs 引用了 Mechanisms vs. Outcomes: Probing for Syntax Fails to Explain Performance on Targeted Syntactic Evaluations
- Neural Language Models are not Born Equal to Fit Brain Data, but Training Helps 引用了 Disentangling syntax and semantics in the brain with deep networks
- Can fMRI reveal the representation of syntactic structure in the brain? 引用了 Disentangling syntax and semantics in the brain with deep networks
- Differential syntactic and semantic encoding in LLMs 引用了 Disentangling syntax and semantics in the brain with deep networks
引用它的顶会 Paper8
- Differential syntactic and semantic encoding in LLMsSantiago Acevedo, Alessandro Laio, Marco BaroniICML 2026 · 7 次引用
- From Directions to Regions: Decomposing Activations in Language Models via Local GeometryOr Shafran, Shaked Ronen, Omri Fahn, Shauli Ravfogel 等ICML 2026 · 7 次引用
- Mechanisms vs. Outcomes: Probing for Syntax Fails to Explain Performance on Targeted Syntactic EvaluationsAnanth Agarwal, Jasper Jian, Christopher D. Manning, Shikhar MurtyEMNLP 2025 · 5 次引用
- Deep networks learn to parse uniform-depth context-free languages from local statisticsJack T. Parley, Francesco Cagnetta, Matthieu WyartICML 2026 · 4 次引用
- Gated Tree Cross-Attention for Checkpoint-Compatible Syntax Injection in Decoder-Only LLMsXinyu Gao, Shaonan Wang, Nai DingACL 2026
它引用的 Paper10
- Hyperbolic Image-text RepresentationsKaran Desai, Maximilian Nickel, Tanmay Rajpurohit, Justin Johnson 等ICML 2023 · 137 次引用
- Disentangling syntax and semantics in the brain with deep networksCharlotte Caucheteux, Alexandre Gramfort, Jean-Remi KingICML 2021 · 96 次引用
- Can fMRI reveal the representation of syntactic structure in the brain?Aniketh Janardhan Reddy, Leila WehbeNeurIPS 2021 · 54 次引用
- Neural Language Models are not Born Equal to Fit Brain Data, but Training HelpsAlexandre Pasquiou, Yair Lakretz, John T. Hale, Bertrand Thirion 等ICML 2022 · 44 次引用
- Language acquisition: do children and language models follow similar learning stages?Linnea Evanson, Yair Lakretz, Jean-Rémi KingACL Findings 2023 · 21 次引用
相关 Paper
- Probing BERT in Hyperbolic SpacesBoli Chen, Yao Fu, Guangwei Xu, Pengjun Xie 等ICLR 2021 · 19 次引用
- AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language modelsJosé Antonio Hernández López, Martin Weyssow, Jesús Sánchez Cuadrado, Houari A. SahraouiASE 2022 · 18 次引用
- What if This Modified That? Syntactic Interventions with Counterfactual EmbeddingsMycal Tucker, Peng Qian, Roger LevyACL Findings 2021 · 16 次引用
- Probing LLMs for Joint Encoding of Linguistic CategoriesGiulio Starace, Konstantinos Papakostas, Rochelle Choenni, Apostolos Panagiotopoulos 等EMNLP Findings 2023 · 4 次引用
- Do Neural Language Models Show Preferences for Syntactic Formalisms?Artur Kulmizev, Vinit Ravishankar, Mostafa Abdou, Joakim NivreACL 2020 · 1 次引用
