Simpler Context-Dependent Logical Forms via Model Projections
Paper · 2016 · Reginald Long, Panupong Pasupat and Percy Liang
Summary
The paper tackles learning to carry out multi-step instructions when the only supervision is the resulting world state, not the logical forms behind it. Without annotated logical forms or a seed lexicon, the learner must search a huge space of candidate programs. Utterances that refer back to earlier steps through ellipsis, pronouns or repeated actions make that space even larger. Long, Pasupat and Liang respond by projecting a full parser onto coarser models that treat groups of logical forms as equivalent:
- Model A keeps alignments between words and predicates.
- Model B discards alignments and predicts whole logical forms.
- Model C replaces arguments with concrete world objects, producing flat forms.
The authors also introduce a left-to-right parser that needs no explicit span alignment. They collect three grounded datasets via Amazon Mechanical Turk: ALCHEMY, SCENE and TANGRAMS. With a fixed beam, the simplest model, Model C, usually wins. On a synthetic task with a large beam, Model A becomes perfect. Because all three models share features, weights from Model C can initialize Model A. The study shows how trading expressivity for tractability can pay off, and it supplies new benchmarks for context-dependent semantic parsing.
Key points
- Datasets: ALCHEMY (4560 examples), SCENE (4402) and TANGRAMS (4989) were collected via Amazon Mechanical Turk. Each example has 5 utterances describing successive world-state changes. They cover ellipsis, entity anaphora and action anaphora.
- Context references: The grammar includes special tokens
args[i][j]andactions[i], which point to arguments and actions of earlier logical forms. References are resolved jointly during parsing rather than in a separate step. - Synthetic task: Model A learns nothing with beam sizes below 240 but reaches 100% accuracy above that. Model C is best at small beams (under 40).
- Bootstrapping: Initializing Model A with Model C's parameters gives 100% even with smaller beams.
- Error analysis: Model B's errors come mostly from correct forms falling off the beam (47%). Model C's errors come mostly from misreading context (50%), reflecting its limited expressivity. Code and data are available on CodaLab.
Institutions
Fields, topics and concepts
📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 worksArts and Humanities · 17,450 worksLanguage and Linguistics · 17,296 works
🧭 Topics 1Research subjects and languages the work is about.Semantic parsing & meaning representation · 193 works
Cite
Cite as Reginald Long, Panupong Pasupat and Percy Liang. 2016. Simpler Context-Dependent Logical Forms via Model Projections. arXiv:1606.05378.
@misc{long2016simpler,
title = {{Simpler Context-Dependent Logical Forms via Model Projections}},
author = {Reginald Long, Panupong Pasupat and Percy Liang},
year = {2016},
doi = {10.48550/arxiv.1606.05378},
eprint = {1606.05378},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1606.05378}
}References
- Y. Artzi and L. Zettlemoyer. 2013. Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association for Computational Linguistics (TACL), 1:49–62.
- J. Berant, A. Chou, R. Frostig, and P. Liang. 2013. Semantic parsing on Freebase from question-answer pairs. In Empirical Methods in Natural Language Processing (EMNLP).
- A. Bordes, S. Chopra, and J. Weston. 2014. Question answering with subgraph embeddings. In Empirical Methods in Natural Language Processing (EMNLP). find
- S. R. Bowman, C. Potts, and C. D. Manning. 2014. Can recursive neural tensor networks learn logical reasoning? In International Conference on Learning Representations (ICLR). find
- Q. Cai and A. Yates. 2013. Large-scale semantic parsing via schema matching and lexicon extension. In Association for Computational Linguistics (ACL). find
- D. L. Chen and R. J. Mooney. 2011. Learning to interpret natural language navigation instructions from observations. In Association for the Advancement of Artificial Intelligence (AAAI), pages 859–865. find
- D. L. Chen. 2012. Fast online lexicon learning for grounded language acquisition. In Association for Computational Linguistics (ACL). find
- J. Clarke, D. Goldwasser, M. Chang, and D. Roth. 2010. Driving semantic parsing from the world’s response. In Computational Natural Language Learning (CoNLL), pages 18–27. find
- D. A. Dahl, M. Bates, M. Brown, W. Fisher, K. Hunicke-Smith, D. Pallett, C. Pao, A. Rudnicky, and E. Shriberg. 1994. Expanding the scope of the ATIS task: The ATIS-3 corpus. In Workshop on Human Language Technology, pages 43–48.
- J. Duchi, E. Hazan, and Y. Singer. 2010. Adaptive subgradient methods for online learning and stochastic optimization. In Conference on Learning Theory (COLT). find
- K. Guu, J. Miller, and P. Liang. 2015. Traversing knowledge graphs in vector space. In Empirical Methods in Natural Language Processing (EMNLP). find
- T. Kwiatkowski, L. Zettlemoyer, S. Goldwater, and M. Steedman. 2010. Inducing probabilistic CCG grammars from logical form with higher-order unification. In Empirical Methods in Natural Language Processing (EMNLP), pages 1223–1233. find
- T. Kwiatkowski, L. Zettlemoyer, S. Goldwater, and M. Steedman. 2011. Lexical generalization in CCG grammar induction for semantic parsing. In Empirical Methods in Natural Language Processing (EMNLP), pages 1512–1523.
- P. Liang, M. I. Jordan, and D. Klein. 2009. Learning semantic correspondences with less supervision. In Association for Computational Linguistics and International Joint Conference on Natural Language Processing (ACL-IJCNLP), pages 91–99.
- P. Liang. 2013. Lambda dependency-based compositional semantics. arXiv. find
- A. Neelakantan, Q. V. Le, and I. Sutskever. 2016. Neural programmer: Inducing latent programs with gradient descent. In International Conference on Learning Representations (ICLR). find
- F. J. Och and H. Ney. 2003. A systematic comparison of various statistical alignment models. Computational Linguistics, 29:19–51. find
- P. Pasupat and P. Liang. 2014. Zero-shot entity extraction from web pages. In Association for Computational Linguistics (ACL). find
- P. Pasupat and P. Liang. 2015. Compositional semantic parsing on semi-structured tables. In Association for Computational Linguistics (ACL).
- S. Reed and N. de Freitas. 2016. Neural programmer-interpreters. In International Conference on Learning Representations (ICLR). find
- J. Steinhardt and P. Liang. 2015. Learning with relaxed supervision. In Advances in Neural Information Processing Systems (NIPS). find
- A. Vlachos and S. Clark. 2014. A new corpus and imitation learning framework for context-dependent semantic parsing. Transactions of the Association for Computational Linguistics (TACL), 2:547–559. find
- Y. Wang, J. Berant, and P. Liang. 2015. Building a semantic parser overnight. In Association for Computational Linguistics (ACL). find
- J. Weston, A. Bordes, S. Chopra, and T. Mikolov. 2015. Towards AI-complete question answering: A set of prerequisite toy tasks. arXiv.
- Y. W. Wong and R. J. Mooney. 2007. Learning synchronous grammars for semantic parsing with lambda calculus. In Association for Computational Linguistics (ACL), pages 960–967.
- X. Yao, J. Berant, and B. Van-Durme. 2014. Freebase QA: Information extraction or semantic parsing. In Workshop on Semantic parsing. find
- M. Zelle and R. J. Mooney. 1996. Learning to parse database queries using inductive logic programming. In Association for the Advancement of Artificial Intelligence (AAAI), pages 1050–1055.
- L. S. Zettlemoyer and M. Collins. 2005. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. In Uncertainty in Artificial Intelligence (UAI), pages 658– 666.
- L. S. Zettlemoyer and M. Collins. 2007. Online learning of relaxed CCG grammars for parsing to logical form. In Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP/CoNLL), pages 678–687. find
- L. S. Zettlemoyer and M. Collins. 2009. Learning context-dependent mappings from sentences to logical form. In Association for Computational Linguistics and International Joint Conference on Natural Language Processing (ACL-IJCNLP).
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/long-2016-simpler-context-dependent-logical-forms/