Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answering

Ben Bogin, Sanjay Subramanian, Matt Gardner, Jonathan Berant
7/1/2020
cs.CLcs.AIcs.LG

Official code: benbogin/glt-grounded-latent-trees-qa (22 stars, Python, last commit 2026-01-22).

Abstract

Answering questions that involve multi-step reasoning requires decomposing them and using the answers of intermediate steps to reach the final answer. However, state-of-the-art models in grounded question answering often do not explicitly perform decomposition, leading to difficulties in generalization to out-of-distribution examples.

Show full abstract

In this work, we propose a model that computes a representation and denotation for all question spans in a bottom-up, compositional manner using a CKY-style parser. Our model induces latent trees, driven by end-to-end (the answer) supervision only. We show that this inductive bias towards tree structures dramatically improves systematic generalization to out-of-distribution examples, compared to strong baselines on an arithmetic expressions benchmark as well as on CLOSURE, a dataset that focuses on systematic generalization for grounded question answering. On this challenging dataset, our model reaches an accuracy of 96.1%, significantly higher than prior models that almost perfectly solve the task on a random, in-distribution split.

View on arXivView PDF

Code Implementations(1)

221Python, JsonnetJun 28, 202010 months ago

Similar Papers

Cite this paper

@article{bogin2020latent,
  title  = {Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answering},
  author = {Ben Bogin and Sanjay Subramanian and Matt Gardner and Jonathan Berant},
  year   = {2020},
  eprint = {2007.00266},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.00266}
}

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/2007.00266.svg)](https://codeofpaper.com/paper/2007.00266)

Discussion