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

Mutual Exclusivity Training and Primitive Augmentation to Induce Compositionality

About

Recent datasets expose the lack of the systematic generalization ability in standard sequence-to-sequence models. In this work, we analyze this behavior of seq2seq models and identify two contributing factors: a lack of mutual exclusivity bias (i.e., a source sequence already mapped to a target sequence is less likely to be mapped to other target sequences), and the tendency to memorize whole examples rather than separating structures from contents. We propose two techniques to address these two issues respectively: Mutual Exclusivity Training that prevents the model from producing seen generations when facing novel, unseen examples via an unlikelihood-based loss; and prim2primX data augmentation that automatically diversifies the arguments of every syntactic function to prevent memorizing and provide a compositional inductive bias without exposing test-set data. Combining these two techniques, we show substantial empirical improvements using standard sequence-to-sequence models (LSTMs and Transformers) on two widely-used compositionality datasets: SCAN and COGS. Finally, we provide analysis characterizing the improvements as well as the remaining challenges, and provide detailed ablations of our method. Our code is available at https://github.com/owenzx/met-primaug

Yichen Jiang, Xiang Zhou, Mohit Bansal• 2022

Related benchmarks

TaskDatasetResultRank
Semantic ParsingSCAN around right
Exact-match Accuracy97.6
16
Semantic ParsingCOGS (test)
Exact Match Accuracy81.1
16
Semantic ParsingSCAN (MCD2)
Exact Match Accuracy33.5
12
Semantic ParsingSCAN (MCD1)
Exact-match Accuracy0.315
12
Semantic ParsingSCAN MCD3
Exact Match Accuracy11.6
12
Semantic ParsingSCAN jump
Exact-match Accuracy7.3
11
Showing 6 of 6 rows

Other info

Follow for update