Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks

Wang Zhu, Peter Shaw, Tal Linzen, Fei Sha
11/9/2021
cs.CLcs.LG

Official code: Sha-Lab/duel (0 stars, MIT, last commit 2021-11-07).

Abstract

Neural network models often generalize poorly to mismatched domains or distributions. In NLP, this issue arises in particular when models are expected to generalize compositionally, that is, to novel combinations of familiar words and constructions.

Show full abstract

We investigate learning representations that facilitate transfer learning from one compositional task to another: the representation and the task-specific layers of the models are strategically trained differently on a pre-finetuning task such that they generalize well on mismatched splits that require compositionality. We apply this method to semantic parsing, using three very different datasets, COGS, GeoQuery and SCAN, used alternately as the pre-finetuning and target task. Our method significantly improves compositional generalization over baselines on the test set of the target task, which is held out during fine-tuning. Ablation studies characterize the utility of the major steps in the proposed algorithm and support our hypothesis.

View on arXivView PDF

Code Implementations(1)

Sha-Lab/duelOfficial100%
MIT

Code lelease for "Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks"

00Nov 7, 20215 years agoMIT

Similar Papers

Cite this paper

@article{zhu2021learning,
  title  = {Learning to Generalize Compositionally by Transferring Across Semantic Parsing Tasks},
  author = {Wang Zhu and Peter Shaw and Tal Linzen and Fei Sha},
  year   = {2021},
  eprint = {2111.05013},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.05013}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.05013.svg)](https://codeofpaper.com/paper/2111.05013)

Discussion