about
Language Models Learn Rare Phenomena from Less Rare Phenomena (arxiv.org)
2 points by PaulHoule on Apr 10, 2024 | hide | past | pdf | discuss on HN

In plain words: They trained language models on small texts, one with "a beautiful five days" phrases deleted, to see if the rare pattern is memorized or copied from similar ones. They produced it better than broken versions, learning it from commoner forms like "a few days".

Abstract · Language Models Learn Rare Phenomena from Less Rare Phenomena: The Case of the Missing AANNs

Language models learn rare syntactic phenomena, but the extent to which this is attributable to generalization vs. memorization is a major open question. To that end, we iteratively trained transformer language models on systematically manipulated corpora which were human-scale in size, and then evaluated their learning of a rare grammatical phenomenon: the English Article+Adjective+Numeral+Noun (AANN) construction (``a beautiful five days''). We compared how well this construction was learned on the default corpus relative to a counterfactual corpus in which AANN sentences were removed. We found that AANNs were still learned better than systematically perturbed variants of the construction. Using additional counterfactual corpora, we suggest that this learning occurs through generalization from related constructions (e.g., ``a few days''). An additional experiment showed that this learning is enhanced when there is more variability in the input. Taken together, our results provide an existence proof that LMs can learn rare grammatical phenomena by generalization from less rare phenomena. Data and code: https://github.com/kanishkamisra/aannalysis.

Kanishka Misra, Kyle Mahowald
arXiv:2403.19827 · cs.CL · submitted Mar 28, 2024 · updated Jun 24, 2025
abstract · pdf · html · Added Corrigendum to correct 4-gram baseline performance and chance performance

add comment on HN