Neural Symbolic Reader: Scalable Integration of Distributed and Symbolic Representations for Reading Comprehension
Xinyun Chen, Chen Liang, Adams Wei Yu, Denny Zhou, Dawn Song, Quoc V. Le
Abstract
Integrating distributed representations with symbolic operations is essential for reading comprehension requiring complex reasoning, such as counting, sorting and arithmetics, but most existing approaches are hard to scale to more domains or more complex reasoning. In this work, we propose the Neural Symbolic Reader (NeRd), which includes a reader, e.g., BERT, to encode the passage and question, and a programmer, e.g., LSTM, to generate a program that is executed to produce the answer. Compared to previous works, NeRd is more scalable in two aspects: (1) domain-agnostic, i.e., the same neural architecture works for different domains; (2) compositional, i.e., when needed, complex programs can be generated by recursively applying the predefined operators, which become executable and interpretable representations for more complex reasoning. Furthermore, to overcome the challenge of training NeRd with weak supervision, we apply data augmentation techniques and hard Expectation-Maximization (EM) with thresholding. On DROP, a challenging reading comprehension dataset that requires discrete reasoning, NeRd achieves 2.5%/1.8% absolute improvement over the state-of-the-art on EM/F1 metrics. With the same architecture, NeRd significantly outperforms the baselines on MathQA, a math problem benchmark that requires multiple steps of reasoning, by 25.5% absolute increment on accuracy when trained on all the annotated programs. More importantly, NeRd still beats the baselines even when only 20% of the program annotations are given.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f744257d-3fb2-43b0-9647-bcc79c4d391bCited by top-tier papers40
- Large Language Models as Analogical ReasonersMichihiro Yasunaga, Xinyun Chen, Yujia Li, Panupong Pasupat et al.ICLR 2024 · 155 citations
- LEGO: Latent Execution-Guided Reasoning for Multi-Hop Question Answering on Knowledge GraphsHongyu Ren, Hanjun Dai, Bo Dai, Xinyun Chen et al.ICML 2021 · 94 citations
- Neuro-Symbolic Visual Reasoning: Disentangling "Visual" from "Reasoning"Saeed Amizadeh, Hamid Palangi, Alex Polozov, Yichen Huang et al.ICML 2020 · 74 citations
- Maieutic Prompting: Logically Consistent Reasoning with Recursive ExplanationsJaehun Jung, Lianhui Qin, Sean Welleck, Faeze Brahman et al.EMNLP 2022 · 72 citations
- Learning by Fixing: Solving Math Word Problems with Weak SupervisionYining Hong, Qing Li, Daniel Ciao, Siyuan Huang et al.AAAI 2021 · 64 citations
Related papers
- Weakly Supervised Neuro-Symbolic Module Networks for Numerical Reasoning over TextAmrita Saha, Shafiq R. Joty, Steven C. H. HoiAAAI 2022 · 20 citations
- Neural Module Networks for Reasoning over TextNitish Gupta, Kevin Lin, Dan Roth, Sameer Singh et al.ICLR 2020 · 134 citations
- ELASTIC: Numerical Reasoning with Adaptive Symbolic CompilerJiaxin Zhang, Yashar MoshfeghiNeurIPS 2022 · 25 citations
- UniRPG: Unified Discrete Reasoning over Table and Text as Program GenerationYongwei Zhou, Junwei Bao, Chaoqun Duan, Youzheng Wu et al.EMNLP 2022 · 10 citations
- Injecting Numerical Reasoning Skills into Language ModelsMor Geva, Ankit Gupta, Jonathan BerantACL 2020 · 12 citations
