Back to search

Johns Hopkins University

Emergent Syntactic Behaviors and Mechanisms in Neural Language Models

Abstract

dc:description.abstract

Knowledge of syntax—the structure of phrases and sentences—is necessary for robust generalization in natural language processing tasks. One reason for the success of large pre-trained language models (LMs) is that pre-training teaches LMs to rely on syntactic features, rather than incorrect surface features like word position or memorized n-grams. However, it is unclear how pre-training induces these preferences, or how LMs encode syntax: Is a certain model depth or parameterization required to encode syntactic knowledge? Does the style of the pre-training data influence how much data is required? Is syntax efficiently encoded in a specific model region, or redundantly encoded for different inputs and languages? In this dissertation, I investigate the syntactic abilities that emerge in language models through exposure to natural language. I first evaluate the ability of multilingual language models to perform syntactic agreement in various languages. I then use syntactic transformations to assess whether language models learn to preferentially rely on syntactic explanations of inputs, rather than positional or lexical heuristics; I also use transformations to investigate which architectural and dataset features are important for efficiently teaching LMs to prefer syntactic features. I also adapt and employ causal mediation analysis, a causal probing method that allows us to observe which neurons are responsible for observed behaviors. Using this method, I analyze which neurons are responsible for syntax-sensitive behavior, and to what extent these neurons are shared across different kinds of inputs (and across languages in multilingual LMs). The final portion of this dissertation discusses whether interpretability studies like these can help us improve how we train and evaluate language models.

Degree

thesis:*
Name thesis:degree_name
Ph.D.
Level thesis:degree_level
Doctoral
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor dc:publisher
Johns Hopkins University
Year dc:date.issued
2023

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Mueller, Aaron
Advisors dc:contributor.advisor
  • Linzen, Tal
  • Dredze, Mark
Committee members dc:contributor.committeemember
  • Yarowsky, David
  • Belinkov, Yonatan

Subjects

dc:subject × 10

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://jscholarship.library.jhu.edu/handle/1774.2/69134

Chain of custody

source
Harvested from
Johns Hopkins University
Base URL
jscholarship.library.jhu.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Mueller, Aaron. Emergent Syntactic Behaviors and Mechanisms in Neural Language Models. Doctoral thesis, Johns Hopkins University, 2023. https://jscholarship.library.jhu.edu/handle/1774.2/69134