Abstract
While Large Language Models (LLMs) are known to capture complex linguistic structures across their layers, the internal organization of these features remains poorly understood. This paper investigates whether LLMs encode linguistic categories as isolated features or within shared representational spaces. We introduce a "cross-neutralization" framework to reveal how models organize information across categories, tasks, and languages. Our findings suggest that LLMs utilize joint encoding for related linguistic concepts, develop language-agnostic subspaces in multilingual settings, and maintain a more intertwined linguistic hierarchy than previously assumed.
1. Introduction
The "linguistic hierarchy" hypothesis posits that LLMs process information in a layered fashion, moving from low-level syntax to high-level semantics. However, the specific internal organization of these features—such as whether "noun-ness" and "verb-ness" are independent or shared—is not well-defined. Understanding this "joint encoding" is crucial for model interpretability, as it explains how models manage finite capacity and how information sharing affects multi-task learning.
2. Methodology: Cross-Neutralization
To investigate the internal organization of linguistic features, we propose a three-step cross-neutralization method:
- Probing: We train a simple Multi-Layer Perceptron (MLP) classifier on the frozen representations of an LLM to identify specific linguistic categories, such as Part-of-Speech (POS) tags.
- Centroid Estimation: We calculate a "centroid"—the mean vector representation—for every category (e.g., the average vector for all tokens labeled as "Adverbs").
- Cross-neutralization: To test if Category A and Category B share information, we subtract the centroid of Category A from the representation of Category B. If the probing classifier’s performance on Category B drops significantly after this subtraction, it implies that the features used to identify Category A were essential for representing Category B.
3. Experimental Setup
We evaluated this framework on both monolingual (RoBERTa) and multilingual (XLM-R) encoder models. The study utilized the Universal Dependencies (UD) treebanks to provide standardized linguistic annotations across three languages: English (GUM), Italian (VIT), and Greek (GDT). These datasets allowed for the evaluation of 17 POS tags and 36 Syntactic Dependency (DEP) relations.
4. Key Findings
4.1 Linguistic Relatedness and Shared Spaces
Categories that are functionally or semantically related show high levels of joint encoding. For example, in RoBERTa, neutralizing Adverbs with Adjective centroids led to relative accuracy drops of 21% to 29%, indicating that the model views these categories as occupying a similar representational subspace.
4.2 Asymmetric Information Sharing
Information sharing is often a one-way street. We found that neutralizing "Verb" representations with "Auxiliary" centroids caused a 53% drop in verb identification accuracy. However, neutralizing "Auxiliary" representations with "Verb" centroids resulted in only an 11% drop. This asymmetry likely reflects functional dependencies, where auxiliaries exist primarily to modify or support the verb.
4.3 Language-Agnostic Encodings
In multilingual models, the internal "concepts" of linguistic categories appear to be shared across languages. Using an English "noun" centroid to neutralize Italian representations caused a substantial ~70% drop in accuracy. This suggests that XLM-R develops a universal, language-independent subspace for these categories rather than maintaining separate silos for each language.
4.4 An Intertwined Hierarchy
Information is shared not just within a single level (POS to POS), but across the linguistic hierarchy. While POS information is expected to be crucial for identifying dependency relations (e.g., Adverb POS centroids neutralized Adverbial Modifier labels by 97%), the reverse was also true. This suggests that the linguistic hierarchy is more intertwined than a simple bottom-up pipeline.
5. Discussion and Limitations
While cross-neutralization provides a novel lens into LLM internals, several areas remain for future exploration:
- Architecture Scope: This study focused on encoder-only models. Future work should examine if decoder-only (GPT-style) or encoder-decoder (T5-style) models organize information differently.
- Language Diversity: The current research was limited to three Indo-European languages. Testing typologically distant or low-resource languages would further validate the "language-agnostic" hypothesis.
- Causality: A lack of neutralization effect does not strictly prove the absence of joint encoding; it may simply mean the centroid representation was insufficient to capture the shared features.
6. Conclusion
This research demonstrates that LLMs do not store linguistic information in isolated silos. Instead, they leverage shared representational spaces for related categories across tasks and languages. By revealing these hidden structures, we can better understand how models manage complex linguistic information and identify potential sources of interference in multi-task environments.
Summary updated