Partially canonical axes in large language model representations

de Varda, Andrea Gregor, D'Elia, Ferdinando, Tuckute, Greta, Fedorenko, Evelina, Khosla, Meenakshi

–arXiv.org Artificial Intelligence 

Large language models (LLMs) now master linguistic abilities and produce text that human judges struggle to distinguish from human writing (Jones and Bergen, 2025). These abilities are supported by hidden representations that encode a hierarchy of linguistic features, from sublexical information, to syntactic structure, to compositional meaning (Tenney et al., 2019; Jawahar et al., 2019). Such representations can be seen as points in a high-dimensional space, and the model's native basis describes those points with one axis per unit (one "neuron"). Two lines of work have tried to explain how this information is encoded in such representations. The first approach focuses on individual neurons, and aims to find specialized units in the models' representation spaces that selectively respond to certain linguistic features. This line of work predates transformer LLMs. Within this program, several studies have found that individual neurons in LLMs (or small sets of them) end up specializing for particular aspects of language processing, from shallow form-level features such as token position or punctuation (Bau et al., 2019; Gurnee et al., 2023; Voita et al., 2024) to morphological (Bau