Humans and transformer LMs: Abstraction drives language learning
Organizations: Stanford University
Abstract
Categorization is a core component of human linguistic competence. We investigate how a transformer-based language model (LM) learns linguistic categories by comparing its behaviour over the course of training to behaviours which characterize abstract feature-based and concrete exemplar-based accounts of human language acquisition. We investigate how lexical semantic and syntactic categories emerge using novel divergence-based metrics that track learning trajectories using next-token distributions. In experiments with GPT-2 small, we find that (i) when a construction is learned, abstract class-level behaviour is evident at earlier steps than lexical item-specific behaviour, and (ii) that different linguistic behaviours emerge abruptly in sequence at different points in training, revealing that abstraction plays a key role in how LMs learn. This result informs the models of human language acquisition that LMs may serve as an existence proof for.
Figures & tables
| Class | Example Verbs | Example Sentences | Total |
|---|---|---|---|
| (i) to Dative | give , sell , grant ( n =35) | Chipotle gave away free burritos to the __ | 1841 |
| (ii) Motion | go , walk , flee ( n =36) | Toby accordingly goes to the __ | 1942 |
| (iii) Reciprocal | speak , meet , talk ( n =16) | Cherry recalled Orr had refused to speak with the __ | 465 |
| (iv) spray-load | spray , load , smear ( n =16) | Ray and Devon then sprayed the table with the __ | 404 |
| Structure | Example Sentences |
|---|---|
| Transitivity ( n =1000) | The truck hadn’t astounded __ |
| The truck hadn’t fallen __ | |
| relative clause ( to Dative; n =824) | The person that they sold the land to __ |
| The person thinks that they sold the land to __ | |
| relative clause (Reciprocal; n =288) | The person that Optimus spoke with __ |
| The person thinks that Optimus spoke with __ |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
LLM Training
Large language model training studies the data, objectives, optimizers, and systems used to build and adapt language models.
See all 342 papers