When Language Models Fall in Love: Animacy Processing in Transformer Language Models
Preprint
Abstract
Animacy - whether an entity is alive and sentient - is fundamental to cognitive processing, impacting areas such as memory, vision, and language. However, animacy is not always expressed directly in language: in English it often manifests indirectly, in the form of selectional constraints on verbs and adjectives. This poses a potential issue for transformer language models (LMs): they often train only on text, and thus lack access to extralinguistic information from which humans learn about animacy. We ask: how does this impact LMs' animacy processing - do they still behave as humans do? We answer this question using open-source LMs. Like previous studies, we find that LMs behave much like humans when presented with entities whose animacy is typical. However, we also show that even when presented with stories about atypically animate entities, such as a peanut in love, LMs adapt: they treat these entities as animate, though they do not adapt as well as humans. Even when the context indicating atypical animacy is very short, LMs pick up on subtle clues and change their behavior. We conclude that despite the limited signal through which LMs can learn about animacy, they are indeed sensitive to the relevant lexical semantic nuances available in English.Keywords
All Related Versions
This publication has 36 references indexed in Scilit:
- Shared computational principles for language processing in humans and deep language modelsNature Neuroscience, 2022
- An animacy hierarchy within inanimate nouns: English corpus evidence from a prototypical perspectiveLingua, 2018
- The ERP response to the amount of information conveyed by words in sentencesBrain and Language, 2015
- The effect of word predictability on reading time is logarithmicCognition, 2013
- Animacy and grammatical variation—Findings from English genitive variationLingua, 2008
- Gradient grammar: An effect of animacy on the syntax of give in New Zealand and American EnglishLingua, 2008
- Category-specific attention for animals reflects ancestral priorities, not expertiseProceedings of the National Academy of Sciences of the United States of America, 2007
- Developmental origin of the animate–inanimate distinction.Psychological Bulletin, 2001
- Choice of Passive Voice is Affected by Verb Type and AnimacyJournal of Memory and Language, 1994
- Interaction of verb selectional restrictions, noun animacy and syntactic form in sentence processingLanguage and Cognitive Processes, 1994