[Paper Review] Latent Compositional Representations Improve Systematic Generalization in Grounded Question Answering
This paper proposes Grounded Latent Trees (GLT), a neural model that induces latent compositional structures in grounded question answering via a bottom-up, CKY-style parsing process. By computing representations and denotations for all question spans in a hierarchical, compositional manner with end-to-end supervision, GLT achieves 96.1% accuracy on the Closure dataset—24 points higher than strong baselines—demonstrating significant gains in systematic generalization to out-of-distribution compositions.
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. 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.
Motivation & Objective
- To address the failure of neural models in systematic generalization to out-of-distribution (OOD) compositions in grounded question answering.
- To investigate whether imposing an inductive bias toward compositional, hierarchical computation improves generalization beyond in-distribution performance.
- To develop a model that learns latent syntactic-semantic structures without requiring gold-structured supervision.
- To evaluate whether the induced compositional structures enhance both model performance and human interpretability.
Proposed method
- The model uses a CKY-style parser to recursively compute representations and denotations (object sets) for all spans in the question, starting from individual words.
- Denotations are computed bottom-up using learned modules that predict object sets based on span content and sub-span outputs.
- The model is trained end-to-end using only the final answer supervision, forcing it to discover meaningful latent tree structures through optimization.
- A latent tree structure is induced by selecting the most probable split and module at each node during decoding, enabling compositional reasoning.
- The architecture avoids global context by restricting information flow to sub-spans, reducing reliance on shortcut learning.
- The model is evaluated on both synthetic arithmetic expressions and the Closure dataset, which emphasizes compositional generalization.
Experimental results
Research questions
- RQ1Can a neural model with an inductive bias for compositional computation generalize better to out-of-distribution compositions in grounded question answering?
- RQ2Does inducing latent syntactic structures via end-to-end training improve performance on systematic generalization benchmarks?
- RQ3To what extent do the intermediate compositional structures produced by the model support human interpretability?
- RQ4How does the model’s performance compare to strong baselines when evaluated on OOD splits requiring novel compositions?
- RQ5Can the model achieve high accuracy on real-world human-posed questions (e.g., Clevr-Humans) while maintaining compositional inductive bias?
Key findings
- On the Closure dataset, the GLT model achieves 96.1% accuracy on compositional OOD splits—24 percentage points higher than strong baselines and 19 points higher than models using gold structures.
- On the arithmetic expressions benchmark, GLT achieves 98.4% accuracy on OOD splits, while a strong Transformer baseline fails completely with only 2.9% accuracy.
- The model correctly identifies 81.6–83.1% of expected constituents in the predicted trees, with high denotation F1 scores of 95.9% on CLEVR and 94.7% on Closure.
- In the forward prediction test, human participants were significantly more accurate at predicting model behavior when shown the denotation tree (82.5% on Closure), compared to only seeing the question and answer (58.1%).
- The model’s intermediate outputs are highly interpretable: 83.1% of constituents are correctly predicted on Closure, and errors are often due to minor split mispredictions rather than denotation errors.
- The model generalizes well to real human-posed questions, achieving 99.1% accuracy on CLEVR-Humans, indicating robustness to natural language variation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.