Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Meta-Learning to Compositionally Generalize

About

Natural language is compositional; the meaning of a sentence is a function of the meaning of its parts. This property allows humans to create and interpret novel sentences, generalizing robustly outside their prior experience. Neural networks have been shown to struggle with this kind of generalization, in particular performing poorly on tasks designed to assess compositional generalization (i.e. where training and testing distributions differ in ways that would be trivial for a compositional strategy to resolve). Their poor performance on these tasks may in part be due to the nature of supervised learning which assumes training and testing data to be drawn from the same distribution. We implement a meta-learning augmented version of supervised learning whose objective directly optimizes for out-of-distribution generalization. We construct pairs of tasks for meta-learning by sub-sampling existing training data. Each pair of tasks is constructed to contain relevant examples, as determined by a similarity metric, in an effort to inhibit models from memorizing their input. Experimental results on the COGS and SCAN datasets show that our similarity-driven meta-learning can improve generalization performance.

Henry Conklin, Bailin Wang, Kenny Smith, Ivan Titov• 2021

Related benchmarks

TaskDatasetResultRank
Semantic ParsingCOGS (generalization)
Accuracy (Generalization)66.7
25
Semantic ParsingSCAN around right
Exact-match Accuracy86.2
16
Semantic ParsingCOGS (test)
Exact Match Accuracy64.1
16
Semantic ParsingSCAN (MCD1)
Exact-match Accuracy0.589
12
Semantic ParsingSCAN (MCD2)
Exact Match Accuracy34.5
12
Semantic ParsingSCAN MCD3
Exact Match Accuracy12.3
12
Semantic ParsingSCAN jump
Exact-match Accuracy95.8
11
Showing 7 of 7 rows

Other info

Follow for update