Disentangled Sequence to Sequence Learning for Compositional Generalization
Hao Zheng, Mirella Lapata
摘要
There is mounting evidence that existing neural network models, in particular the very popular sequence-to-sequence architecture, struggle to systematically generalize to unseen compositions of seen components. We demonstrate that one of the reasons hindering compositional generalization relates to representations being entangled. We propose an extension to sequence-to-sequence models which encourages disentanglement by adaptively reencoding (at each time step) the source input. Specifically, we condition the source representations on the newly decoded target context which makes it easier for the encoder to exploit specialized information for each prediction rather than capturing it all in a single forward pass. Experimental results on semantic parsing and machine translation empirically show that our proposal delivers more disentangled representations and better generalization. 1 1 Our code is available at https://github.com/ mswellhao/Dangle . Training Set A boy ate the cake on the table in a house. *cake(x4); *table(x7); boy(x1) AND eat.agent(x2, x1) AND eat.theme(x2, x4) AND cake.nmod.on(x4, x7) AND table.nmod.in(x7, x10) AND house(x10) Test Set (Lexical Generalization) A boy likes the cake on the table in a house. *cake(x4); *table(x7); boy(x1) AND like.agent(x2, x1) AND like.theme(x2, x4) AND cake.nmod.on(x4, x7) AND table.nmod.in(x7, x10) AND house(x10) Test Set (Structural Generalization) A boy ate the cake on the table in a house beside the tree. *cake(x4); *table(x7); *tree(x13); boy(x1) AND eat.agent(x2, x1) AND eat.theme(x2, x4) AND cake.nmod.on(x4, x7) AND table.nmod.in(x7, x10) AND house(x10) AND house.nmod.beside(x10, x13)
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Compositional Generalization for Multi-Label Text Classification: A Data-Augmentation Approach 引用了 Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Structural generalization is hard for sequence-to-sequence models 引用了 COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Structural generalization is hard for sequence-to-sequence models 引用了 Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- COGS: A Compositional Generalization Challenge Based on Semantic Interpretation 引用了 Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Out-of-Distribution Generalization in Natural Language Processing: Past, Present, and Future 引用了 COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- Out-of-Distribution Generalization in Natural Language Processing: Past, Present, and Future 引用了 Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Sparse Universal Transformer 引用了 Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
引用它的顶会 Paper12
- Compositional Generalization for Multi-Label Text Classification: A Data-Augmentation ApproachYuyang Chai, Zhuang Li, Jiahui Liu, Lei Chen 等AAAI 2024 · 18 次引用
- Tripod: Three Complementary Inductive Biases for Disentangled Representation LearningKyle Hsu, Jubayer Ibn Hamid, Kaylee Burns, Chelsea Finn 等ICML 2024 · 13 次引用
- Out-of-Distribution Generalization in Natural Language Processing: Past, Present, and FutureLinyi Yang, Yaoxian Song, Xuan Ren, Chenyang Lyu 等EMNLP 2023 · 12 次引用
- Structural generalization is hard for sequence-to-sequence modelsYuekun Yao, Alexander KollerEMNLP 2022 · 8 次引用
- Sparse Universal TransformerShawn Tan, Yikang Shen, Zhenfang Chen, Aaron C. Courville 等EMNLP 2023 · 6 次引用
它引用的 Paper15
- Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 次引用
- The Pitfalls of Simplicity Bias in Neural NetworksHarshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain 等NeurIPS 2020 · 503 次引用
- Measuring Compositional Generalization: A Comprehensive Method on Realistic DataDaniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman 等ICLR 2020 · 401 次引用
- COGS: A Compositional Generalization Challenge Based on Semantic InterpretationNajoung Kim, Tal LinzenEMNLP 2020 · 149 次引用
- Improve Transformer Models with Better Relative Position EmbeddingsZhiheng Huang, Davis Liang, Peng Xu, Bing XiangEMNLP Findings 2020 · 114 次引用
相关 Paper
- Real-World Compositional Generalization with Disentangled Sequence-to-Sequence LearningHao Zheng, Mirella LapataACL Findings 2023 · 3 次引用
- Learning to Compose Representations of Different Encoder Layers towards Improving Compositional GeneralizationLei Lin, Shuangtao Li, Yafang Zheng, Biao Fu 等EMNLP Findings 2023 · 1 次引用
- Compositional Generalization via Semantic TaggingHao Zheng, Mirella LapataEMNLP Findings 2021 · 22 次引用
- Evaluating Structural Generalization in Neural Machine TranslationRyoma Kumon, Daiki Matsuoka, Hitomi YanakaACL Findings 2024 · 2 次引用
- Improving Compositional Generalization in Semantic ParsingInbar Oren, Jonathan Herzig, Nitish Gupta, Matt Gardner 等EMNLP Findings 2020 · 48 次引用
