paper-with-me

홈 › Papers

A polar coordinate system represents syntax in large language models

2024-12-07 · Pablo Diego-Simón, Stéphane d'Ascoli, Emmanuel Chemla, Yair Lakretz, Jean-Rémi 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.

📄 PDF Abstract BibTeX arXiv:2412.05571

Code (0)

등록된 구현이 없습니다.

Tasks

Word Embeddings

Similar Papers 제목 키워드 기반

MP-PolarMask: A Faster and Finer Instance Segmentation for Concave Images

2024-06-03 · Ke-Lei Wang, Pin-Hsuan Chou, Young-Ching Chou, Chia-Jen Liu 외

While there are a lot of models for instance segmentation, PolarMask stands out as a unique one that represents an object by a Polar coordinate system. With an anchor-box-free design and a single-stage framework that con…

Instance SegmentationSemantic Segmentation

The two-dimensional OLCT of angularly periodic functions in polar coordinates

2021-12-19 · Hui Zhao, Bing-Zhao Li

The two-dimensional (2D) offset linear canonical transform (OLCT) in polar coordinates plays an important role in many fields of optics and signal processing. This paper studies the 2D OLCT in polar coordinates. Firstly,…

Vocal Bursts Valence Prediction

Attenuation artifact detection and severity classification in intracoronary OCT using mixed image representations

2025-03-07 · Pierandrea Cancian, Simone Saitta, Xiaojin Gu, Rudolf L. M. van Herten 외

In intracoronary optical coherence tomography (OCT), blood residues and gas bubbles cause attenuation artifacts that can obscure critical vessel structures. The presence and severity of these artifacts may warrant re-acq…

Artifact Detection

Objects detection for remote sensing images based on polar coordinates

2020-01-09 · Lin Zhou, Hao-Ran Wei, Hao Li, Wenzhe Zhao 외

Arbitrary-oriented object detection is an important task in the field of remote sensing object detection. Existing studies have shown that the polar coordinate system has obvious advantages in dealing with the problem of…

Objectobject-detectionObject DetectionOriented Object Detection+1

Arbitrary-Oriented Object Detection in Remote Sensing Images Based on Polar Coordinates

2020-11-27 · IEEE Access 2020 11 · Lin Zhou, Haoran Wei, Hao Li, Wenzhe Zhao 외

Arbitrary-oriented object detection is an important task in the field of remote sensing object detection. Existing studies have shown that the polar coordinate system has obvious advantages in dealing with the problem of…

Objectobject-detectionObject DetectionOne-stage Anchor-free Oriented Object Detection+2