Back to search

Johns Hopkins University

Compositional Linguistic Generalization in Artificial Neural Networks

Abstract

dc:description.abstract

Compositionality---the principle that the meaning of a complex expression is built from the meanings of its parts---is considered a central property of human language. This dissertation focuses on compositional generalization, a key benefit of compositionality that enables the production and comprehension of novel expressions. Specifically, this dissertation develops a test for compositional generalization for sequence-to-sequence artificial neural networks (ANNs). Before doing so, I start by developing a test for grammatical category abstraction: an important precondition to compositional generalization, because category membership determines the applicability of compositional rules. Then, I construct a test for compositional generalization based on human generalization patterns discussed in existing linguistic and developmental studies. The test takes the form of semantic parsing (translation from natural language expressions to semantic representations) where the training and generalization sets have systematic gaps that can be filled by composing known parts. The generalization cases fall into two broad categories: lexical and structural, depending on whether generalization to novel combinations of known lexical items and known structures is required, or generalization to novel structures is required. The ANNs evaluated on this test exhibit limited degrees of compositional generalization, implying that the inductive biases of the ANNs and human learners differ substantially. An error analysis reveals that all ANNs tested frequently make generalizations that violate faithfulness constraints (e.g., Emma saw Lina ↝ see'(Emma', Audrey') instead of see'(Emma', Lina')). Adding a glossing task (word-by-word translation)---a task that requires maximally faithful input-output mappings---as an auxiliary objective to the Transformer model (Vaswani et al. 2017) greatly improves generalization, demonstrating that a faithfulness bias can be injected through the auxiliary training approach. However, the improvement is limited to lexical generalization; all models struggle with assigning appropriate semantic representations to novel structures regardless of auxiliary training. This difficulty of structural generalization leaves open questions for both ANN and human learners. I discuss promising directions for improving structural generalization in ANNs, and furthermore propose an artificial language learning study for human subjects analogous to the tests posed to ANNs, which will lead to more detailed characterization of the patterns of structural generalization in human learners.

Degree

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

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kim, Najoung
Advisor dc:contributor.advisor
  • Van Durme, Benjamin
Committee members dc:contributor.committeemember
  • Smolensky, Paul
  • Rawlins, Kyle
  • Linzen, Tal
  • Frank, Robert

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
http://jhir.library.jhu.edu/handle/1774.2/66745

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

Kim, Najoung. Compositional Linguistic Generalization in Artificial Neural Networks. Doctoral thesis, Johns Hopkins University, 2021. http://jhir.library.jhu.edu/handle/1774.2/66745