Latent Trees for Compositional Generalization

Jonathan Herzig, Jonathan Berant, Ben BoginCompendium of Neurosymbolic Artificial Intelligence 2023 · OpenReview

Abstract

Despite the success of neural networks in many natural language processing tasks, recent work has shown that they often fail in compositional generalization, i.e., the ability to generalize to new structures built from components observed during training. In this chapter, we posit that this behavior, in standard architectures such as LSTMs and Transformers, stems from the fact that fragments on the output side are not explicitly tied to fragments on the input side. To address this, we introduce models that explicitly construct latent trees over the input, which are used to compositionally compute representations necessary for predicting the output. We show the compositional generalization abilities of our models exceed the abilities of pre-trained Transformer models on several datasets for both semantic parsing and grounded question answering.
BibTeX
@inproceedings{herzig2023latent,
  author = {Jonathan Herzig and Jonathan Berant and Ben Bogin},
  title = {{Latent Trees for Compositional Generalization}},
  booktitle = {Compendium of Neurosymbolic Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=tjzj7vIEpW},
}

Loading related content...

Figure