Large Language Models (LLMs) have achieved remarkable proficiency in linguistic tasks, yet the internal mechanisms they employ to represent syntactic structures remain opaque. A central question in computational linguistics and neuroscience is whether these artificial systems mirror the hierarchical processing found in the human brain. To address this, researchers have introduced the Hierarchical Frequency Tagging Probe (HFTP), a novel framework that utilizes frequency-domain analysis to provide a "universal language" for comparing artificial and biological neural networks.
The Methodology: Frequency Tagging as a Bridge
The HFTP framework relies on the principle of rhythmic stimulation. By presenting linguistic input at a fixed rate, researchers can "tag" specific structural levels based on their frequency of occurrence:
- Words are presented at a rate of 4 Hz (four words per second).
- Phrases emerge at a rate of 2 Hz.
- Sentences are completed at a rate of 1 Hz.
In LLMs, this method allows for the identification of specific Multilayer Perceptron (MLP) neurons that respond to these frequencies using Fast Fourier Transforms (FFT). For human comparison, the study utilized intracranial recordings (sEEG) from 26 participants to capture high-resolution neural activity directly from the cortex. Finally, Representational Similarity Analysis (RSA) was employed to compare the "geometry" of how an LLM represents a sentence against the neural geometry of the human brain processing that same sentence.
Data and Experimental Design
The study utilized both controlled and naturalistic datasets to ensure robust results:
- Controlled Corpora: Specially constructed four-syllable Chinese and four-word English sequences (e.g., "rude cats claw dogs") where the timing of phrases and sentences is perfectly rhythmic.
- Naturalistic Text: Everyday dialogue, news reports, and Wikipedia excerpts were used to validate that the findings were not merely artifacts of rhythmic timing.
- Human Data: High-resolution sEEG recordings were obtained from native Chinese speakers.
Key Insights: The Divergence of Modern Models
One of the most significant insights provided by HFTP is the observation that increased model performance does not necessarily correlate with increased biological plausibility. This is most evident in the "Brain-Like Divergence" observed in newer models:
- The Divergence Paradox: While Gemma 2 showed improved alignment with human brain activity compared to its predecessor, Llama 3.1 demonstrated a marked divergence, becoming less like the human brain than Llama 2. This suggests that as models scale and are trained on increasingly synthetic or code-heavy datasets, they may be developing non-biological computational shortcuts to achieve high performance.
- Left-Hemisphere Bias: LLM representations align significantly better with the human brain's left hemisphere—the region traditionally dominant for language processing. This validates that LLMs are capturing signals that are biologically relevant.
- Layered Logic: Different architectures exhibit different "syntax zones." GPT-2 processes syntax in its middle layers, Gemma utilizes early layers, and Llama/GLM-4 rely on later layers. In contrast, the human brain segregates these tasks geographically, such as using the Inferior Frontal Gyrus for sentences and the Auditory Cortex for word-level processing.
Quantitative Results
- Universal Applicability: HFTP successfully identified syntax-tracking units across all six tested models (GPT-2, Gemma 1/2, Llama 2/3.1, and GLM-4).
- The GPT-2 Surprise: GPT-2 exhibited the highest average correlation with human brain activity ($S = 0.654$). Researchers hypothesize this may be due to its training on more naturalistic text compared to the specialized, code-heavy diets of modern frontier models.
- Cross-Linguistic Neurons: The study identified "bilingual neurons" in LLMs that track syntax regardless of whether the input is English or Chinese. These units tend to appear in the deeper layers of the models, suggesting a language-agnostic representation of hierarchy.
Limitations and Future Work
While the HFTP offers a robust tool for comparative analysis, several questions remain. The current human sEEG data is primarily from native Chinese speakers; future research must include native English cohorts to confirm cross-linguistic universality in humans. Additionally, while the divergence in models like Llama 3.1 is documented, the specific drivers—whether synthetic data, reinforcement learning, or architectural shifts—remain to be identified. Expanding the model sample to include Mixture-of-Experts (MoE) or state-space models will further clarify the "evolutionary tree" of AI syntax.
Summary updated