Transformer language models embed tokens in high-dimensional spaces, but whether geometry reflects linguistic structure remains unclear. We analyse token representations in BERT and GPT-2, selected as canonical encoder-only and decoder-only Transformer architectures, through a linguistically-grounded geometric lens. We partition tokens from the Universal Dependencies English Web treebank by surface and syntactic features (position, length, POS, head distance and arity) and examine how their representational geometry evolves across layers. We employ complementary diagnostic metrics, including isotropy, linear and nonlinear intrinsic dimensionality, to capture distinct aspects of embedding structure. Our findings reveal that BERT maintains more isotropic and higher-dimensional subspaces, whereas GPT-2 exhibits stronger anisotropy driven by a compact cluster of sentence-initial tokens. Across models, open-class words, longer tokens, and predicates with several dependents occupy more isotropic, higher-dimensional manifolds than short function words and pre-head modifiers, indicating that semantic richness and syntactic centrality play a key role in structuring embedding space. Our analysis provides a reusable framework for profiling how linguistic abstractions organize the geometry of Transformer embeddings.

Linguistic Profiling of Transformer Embedding Geometry

Lucia Domenichelli;Dominique Brunato;Felice Dell'Orletta
2026

Abstract

Transformer language models embed tokens in high-dimensional spaces, but whether geometry reflects linguistic structure remains unclear. We analyse token representations in BERT and GPT-2, selected as canonical encoder-only and decoder-only Transformer architectures, through a linguistically-grounded geometric lens. We partition tokens from the Universal Dependencies English Web treebank by surface and syntactic features (position, length, POS, head distance and arity) and examine how their representational geometry evolves across layers. We employ complementary diagnostic metrics, including isotropy, linear and nonlinear intrinsic dimensionality, to capture distinct aspects of embedding structure. Our findings reveal that BERT maintains more isotropic and higher-dimensional subspaces, whereas GPT-2 exhibits stronger anisotropy driven by a compact cluster of sentence-initial tokens. Across models, open-class words, longer tokens, and predicates with several dependents occupy more isotropic, higher-dimensional manifolds than short function words and pre-head modifiers, indicating that semantic richness and syntactic centrality play a key role in structuring embedding space. Our analysis provides a reusable framework for profiling how linguistic abstractions organize the geometry of Transformer embeddings.
Campo DC Valore Lingua
dc.authority.orgunit Istituto di linguistica computazionale "Antonio Zampolli" - ILC en
dc.authority.people Lucia Domenichelli en
dc.authority.people Dominique Brunato en
dc.authority.people Felice Dell'Orletta en
dc.collection.id.s 71c7200a-7c5f-4e83-8d57-d3d2ba88f40d *
dc.collection.name 04.01 Contributo in Atti di convegno *
dc.contributor.appartenenza Istituto di linguistica computazionale "Antonio Zampolli" - ILC *
dc.contributor.appartenenza.mi 918 *
dc.contributor.area Non assegn *
dc.contributor.area Non assegn *
dc.date.accessioned 2026/07/08 17:16:48 -
dc.date.available 2026/07/08 17:16:48 -
dc.date.firstsubmission 2026/07/07 11:09:20 *
dc.date.issued 2026 -
dc.date.submission 2026/07/07 11:09:20 *
dc.description.abstracteng Transformer language models embed tokens in high-dimensional spaces, but whether geometry reflects linguistic structure remains unclear. We analyse token representations in BERT and GPT-2, selected as canonical encoder-only and decoder-only Transformer architectures, through a linguistically-grounded geometric lens. We partition tokens from the Universal Dependencies English Web treebank by surface and syntactic features (position, length, POS, head distance and arity) and examine how their representational geometry evolves across layers. We employ complementary diagnostic metrics, including isotropy, linear and nonlinear intrinsic dimensionality, to capture distinct aspects of embedding structure. Our findings reveal that BERT maintains more isotropic and higher-dimensional subspaces, whereas GPT-2 exhibits stronger anisotropy driven by a compact cluster of sentence-initial tokens. Across models, open-class words, longer tokens, and predicates with several dependents occupy more isotropic, higher-dimensional manifolds than short function words and pre-head modifiers, indicating that semantic richness and syntactic centrality play a key role in structuring embedding space. Our analysis provides a reusable framework for profiling how linguistic abstractions organize the geometry of Transformer embeddings. -
dc.description.allpeople Domenichelli, Lucia; Brunato, Dominique; Dell'Orletta, Felice -
dc.description.allpeopleoriginal Lucia Domenichelli, Dominique Brunato, Felice Dell'Orletta en
dc.description.fulltext open en
dc.description.numberofauthors 3 -
dc.identifier.doi 10.18653/v1/2026.conll-main.0 en
dc.identifier.source manual *
dc.identifier.uri https://hdl.handle.net/20.500.14243/590143 -
dc.language.iso eng en
dc.publisher.name Association for Computational Linguistics en
dc.relation.conferencename 30th Conference on Computational Natural Language Learning (CoNLL 2026) en
dc.relation.conferenceplace San Diego en
dc.relation.firstpage 145 en
dc.relation.ispartofbook Proceedings of the 30th Conference on Computational Natural Language Learning en
dc.relation.lastpage 164 en
dc.relation.numberofpages 20 en
dc.subject.keywordseng embedding space, neural language models, linguistic profiling, isotropy, non linear intrinsic dimensionality -
dc.subject.singlekeyword embedding space *
dc.subject.singlekeyword neural language models *
dc.subject.singlekeyword linguistic profiling *
dc.subject.singlekeyword isotropy *
dc.subject.singlekeyword non linear intrinsic dimensionality *
dc.title Linguistic Profiling of Transformer Embedding Geometry en
dc.type.driver info:eu-repo/semantics/conferenceObject -
dc.type.full 04 Contributo in convegno::04.01 Contributo in Atti di convegno it
dc.type.miur 273 -
iris.mediafilter.data 2026/07/09 02:36:36 *
iris.orcid.lastModifiedDate 2026/07/08 17:16:48 *
iris.orcid.lastModifiedMillisecond 1783523808127 *
iris.sitodocente.maxattempts 1 -
iris.unpaywall.bestoaversion publishedVersion *
iris.unpaywall.doi 10.18653/v1/2026.conll-main.0 *
iris.unpaywall.isoa true *
iris.unpaywall.journalisindoaj false *
iris.unpaywall.landingpage https://doi.org/10.18653/v1/2026.conll-main.0 *
iris.unpaywall.license cc-by *
iris.unpaywall.metadataCallLastModified 09/07/2026 04:00:03 -
iris.unpaywall.metadataCallLastModifiedMillisecond 1783562403314 -
iris.unpaywall.oastatus gold *
Appare nelle tipologie: 04.01 Contributo in Atti di convegno
File in questo prodotto:
File Dimensione Formato  
2026.conll-main.10.pdf

accesso aperto

Descrizione: pdf dell'articolo pubblicato
Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 2.69 MB
Formato Adobe PDF
2.69 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/590143
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact