Can fMRI reveal the representation of syntactic structure in the brain?

Aniketh Janardhan Reddy, Leila Wehbe

Introduction

In the field of neurolinguistics, there has long been a divide between how researchers study semantics (meaning) and syntax (structure). While robust models exist for how the brain represents the meaning of words, research into syntax has traditionally focused on "processing load"—measuring how hard the brain works to parse a difficult sentence, rather than identifying what the resulting structural representation actually looks like.

Researchers at Carnegie Mellon University identified two main hurdles to studying syntactic representation:

  1. Computational: It is inherently difficult to map a hierarchical tree structure (like a sentence parse) into a fixed-length vector that a machine learning model can use to predict brain activity.
  2. Signal-to-Noise: Functional magnetic resonance imaging (fMRI) is a noisy measurement tool. It was previously unclear if fMRI could distinguish between the subtle structural differences of sentences, especially when those structures are deeply intertwined with meaning.

To overcome these challenges, the researchers developed a novel method to turn complex syntactic trees into multi-dimensional embeddings to model brain activity, demonstrating that fMRI can indeed capture subtle representations of sentence structure.

Methodology: ConTreGE and fMRI Modeling

The core innovation of this study is ConTreGE (Constituency Tree-based Graph Embeddings). To move beyond simple complexity metrics like word count or parsing effort, the authors built a pipeline to encode the actual geometry of a sentence's syntactic tree.

The ConTreGE pipeline for encoding syntactic subtrees into vectors.

The ConTreGE pipeline operates in four main steps:

  1. Parsing: A self-attentive parser generates constituency trees for sentences from a natural text.
  2. Subtree Extraction: The system extracts three types of subtrees: Complete (finished phrases), Incomplete (phrases currently being built), and Incremental (top-down partial parses).
  3. Graph Embedding: To turn these trees into vectors, every node is mapped to a unique ID, and the system performs long "random walks" across the tree structure.
  4. Vectorization: These walks are treated like sentences and passed through a Paragraph Vector (Doc2Vec) model to produce 15-dimensional embeddings.

These embeddings were then used in a voxelwise encoding model. Using ridge regression, the researchers attempted to predict the fMRI signal in different parts of the brain based on these syntactic features. They carefully controlled for "nuisance" variables like punctuation, word frequency, and semantic meaning (using BERT embeddings).

The study utilized a well-known naturalistic fMRI dataset featuring 9 subjects reading Chapter 9 of Harry Potter and the Sorcerer’s Stone. Words were presented one by one every 0.5 seconds. The models were evaluated using 4-fold cross-validation, measuring the $R^2$ (coefficient of determination) to see how much variance in brain activity the syntactic features could explain.

Key Findings

Beyond Processing Load

The most significant insight from the study is that structural features explain brain activity above and beyond what is explained by how "hard" a sentence is to read. This suggests the brain actively maintains a representation of the syntactic hierarchy, rather than just exhibiting strain when struggling to build it.

The Brain as a Predictor

The "Incomplete" tree embeddings—which represent the parts of the tree the brain expects to finish—were particularly effective at predicting brain activity. ConTreGE Incomp vectors were the best at predicting "higher-level" ancestors in a syntactic tree (e.g., identifying that a word belongs to a specific clause). This strongly supports the theory that our brains are constantly predicting future syntactic structures as we read.

Brain regions involved in syntactic and semantic processing.

Distributed Syntax and Semantic Overlap

Contrary to older theories that localize syntax to a small "box" (like Broca's area), this study found that syntactic representations are distributed across the entire language network in both hemispheres. Significant increases in prediction performance were found in the Posterior Temporal Lobe (PTL) and the Inferior Frontal Gyrus (IFG), which are key hubs of the language system. Furthermore, the regions that represent syntax are largely the same regions that represent semantics; the authors found no brain areas that were exclusively "selective" for syntax.

Limitations and Future Directions

While groundbreaking, the study notes several limitations:

  • Semantic Leakage: Although the authors controlled for semantic information, it is notoriously difficult to completely separate structure from meaning in natural language (e.g., certain structures are heavily correlated with specific verb types).
  • Sample Size: The study relied on 9 subjects. While standard for intensive naturalistic fMRI analysis, larger datasets would improve the generality of the findings.
  • Interpretability: Like many neural embeddings, ConTreGE vectors are "black boxes." While they predict brain activity well, it is difficult to map the 15 dimensions back to specific, interpretable linguistic features.
  • Dependency Trees: The current method only encodes node labels (like "Noun Phrase"). Future work could incorporate "edge labels"—the specific dependency relationships between words—to capture even more structural nuance.

Summary updated

BibTeX
@inproceedings{reddy2021can,
  author = {Aniketh Janardhan Reddy and Leila Wehbe},
  title = {{Can fMRI reveal the representation of syntactic structure in the brain?}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure