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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Obtaining Faithful Interpretations from Compositional Neural Networks cites Neural Module Networks for Reasoning over Text
- Injecting Numerical Reasoning Skills into Language Models cites Neural Symbolic Reader: Scalable Integration of Distributed and Symbolic Representations for Reading Comprehension
- Learning to Parse and Reconstruct: Bidirectional Modeling of Question-to-Program Mapping cites Neural Module Networks for Reasoning over Text
Cited by top-tier papers1
Builds 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
- Improving Numerical Reasoning Skills in the Modular Approach for Complex Question Answering on TextXiaoyu Guo, Yuan-Fang Li, Gholamreza HaffariEMNLP Findings 2021 · 2 citations
- 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
