Weakly Supervised Neuro-Symbolic Module Networks for Numerical Reasoning over Text
Amrita Saha, Shafiq R. Joty, Steven C. H. Hoi
Abstract
Neural Module Networks (NMNs) have been quite successful in incorporating explicit reasoning as learnable modules in various question answering tasks, including the most generic form of numerical reasoning over text in Machine Reading Comprehension (MRC). However to achieve this, contemporary Neural Module Networks models obtain strong supervision in form of specialized program annotation from the QA pairs through various heuristic parsing and exhaustive computation of all possible discrete operations on discrete arguments. Consequently they fail to generalize to more open-ended settings without such supervision. Hence, we propose Weakly Supervised Neuro-Symbolic Module Network (WNSMN) trained with answers as the sole supervision for numerical reasoning based MRC. WNSMN learns to execute a noisy heuristic program obtained from the dependency parse of the query, as discrete actions over both neural and symbolic reasoning modules and trains it end-to-end in a reinforcement learning framework with discrete reward from answer matching. On the subset of DROP having numerical answers, WNSMN outperforms NMN by 32% and the reasoning-free generative language model GenBERT by 8% in exact match accuracy under comparable weakly supervised settings. This showcases the effectiveness of modular networks that can handle explicit discrete reasoning over noisy programs in an end-to-end manner.
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 c4e9a581-ad91-421a-9dbb-a502c4fe1866Cited by top-tier papers1
Ask how each one uses itBuilds on4
- Neural Module Networks for Reasoning over TextNitish Gupta, Kevin Lin, Dan Roth, Sameer Singh et al.ICLR 2020 · 134 citations
- Neural Symbolic Reader: Scalable Integration of Distributed and Symbolic Representations for Reading ComprehensionXinyun Chen, Chen Liang, Adams Wei Yu, Denny Zhou et al.ICLR 2020 · 109 citations
- Injecting Numerical Reasoning Skills into Language ModelsMor Geva, Ankit Gupta, Jonathan BerantACL 2020 · 12 citations
- Obtaining Faithful Interpretations from Compositional Neural NetworksSanjay Subramanian, Ben Bogin, Nitish Gupta, Tomer Wolfson et al.ACL 2020 · 5 citations
Related papers
- Mastering Symbolic Operations: Augmenting Language Models with Compiled Neural NetworksYixuan Weng, Minjun Zhu, Fei Xia, Bin Li et al.ICLR 2024 · 14 citations
- Question Directed Graph Attention Network for Numerical Reasoning over TextKunlong Chen, Weidi Xu, Xingyi Cheng, Zou Xiaochuan et al.EMNLP 2020 · 48 citations
- ELASTIC: Numerical Reasoning with Adaptive Symbolic CompilerJiaxin Zhang, Yashar MoshfeghiNeurIPS 2022 · 25 citations
- Recurrent Chunking Mechanisms for Long-Text Machine Reading ComprehensionHongyu Gong, Yelong Shen, Dian Yu, Jianshu Chen et al.ACL 2020 · 39 citations
- A Self-Training Method for Machine Reading Comprehension with Soft Evidence ExtractionYilin Niu, Fangkai Jiao, Mantong Zhou, Ting Yao et al.ACL 2020 · 33 citations
