Deep Subjecthood: Higher-Order Grammatical Features in Multilingual BERT

Isabel Papadimitriou, Ethan A. Chi, Richard Futrell, Kyle Mahowald
1/26/2021
cs.CL

Official code: toizzy/deep-subjecthood (16 stars, Python, last commit 2023-08-15).

Abstract

We investigate how Multilingual BERT (mBERT) encodes grammar by examining how the high-order grammatical feature of morphosyntactic alignment (how different languages define what counts as a "subject") is manifested across the embedding spaces of different languages. To understand if and how morphosyntactic alignment affects contextual embedding spaces, we train classifiers to recover the subjecthood of mBERT embeddings in transitive sentences (which do not contain overt information about morphosyntactic alignment) and then evaluate them zero-shot on intransitive sentences (where subjecthood classification depends on alignment), within and across languages.

Show full abstract

We find that the resulting classifier distributions reflect the morphosyntactic alignment of their training languages. Our results demonstrate that mBERT representations are influenced by high-level grammatical features that are not manifested in any one input sentence, and that this is robust across languages. Further examining the characteristics that our classifiers rely on, we find that features such as passive voice, animacy and case strongly correlate with classification decisions, suggesting that mBERT does not encode subjecthood purely syntactically, but that subjecthood embedding is continuous and dependent on semantic and discourse factors, as is proposed in much of the functional linguistics literature. Together, these results provide insight into how grammatical features manifest in contextual embedding spaces, at a level of abstraction not covered by previous work.

View on arXivView PDF

Code Implementations(1)

Code for running the experiments in Deep Subjecthood: Higher Order Grammatical Features in Multilingual BERT

165PythonJan 22, 20213 years ago

Similar Papers

Cite this paper

@article{papadimitriou2021deep,
  title  = {Deep Subjecthood: Higher-Order Grammatical Features in Multilingual BERT},
  author = {Isabel Papadimitriou and Ethan A. Chi and Richard Futrell and Kyle Mahowald},
  year   = {2021},
  eprint = {2101.11043},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2101.11043}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2101.11043.svg)](https://codeofpaper.com/paper/2101.11043)

Discussion