[Paper Review] Weakly Supervised Neuro-Symbolic Module Networks for Numerical Reasoning
This paper proposes Weakly-Supervised Neuro-Symbolic Module Networks (WNSMN), a framework for numerical reasoning in machine reading comprehension that trains end-to-end using only answer supervision. It constructs noisy heuristic programs from dependency parsing of queries, executes them via discrete actions over neural and symbolic modules, and optimizes through reinforcement learning with discrete rewards, achieving 32% higher exact match than NMN and 8% higher than GenBERT on the DROP dataset under weak supervision.
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 NMNs need strong supervision in executing the query as a specialized program over reasoning modules and 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. It learns to execute a noisy heuristic program obtained from the dependency parsing 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 numerical-answer subset of DROP, WNSMN out-performs NMN by 32% and the reasoning-free language model GenBERT by 8% in exact match accuracy when trained under comparable weak supervised settings. This showcases the effectiveness and generalizability of modular networks that can handle explicit discrete reasoning over noisy programs in an end-to-end manner.
Motivation & Objective
- To address the limitation of existing neural module networks (NMNs) that require strong supervision for program execution and gold program annotations.
- To enable end-to-end training of neuro-symbolic reasoning modules without fine-grained supervision, relying solely on answer matching as the reward signal.
- To improve generalization in open-ended numerical reasoning tasks by learning from noisy, heuristic programs derived from dependency parsing.
- To demonstrate that explicit discrete reasoning over symbolic modules can outperform purely neural or hybrid models under weak supervision.
Proposed method
- Constructs a noisy heuristic program from the dependency parse tree of the question, using left-to-right traversal to form program steps with query spans and reference arguments.
- Uses a neuro-symbolic framework where each program step corresponds to a discrete reasoning operation (e.g., max, count) applied to neural embeddings of entities (dates/numbers).
- Employs a reinforcement learning objective with discrete rewards based on answer correctness, using a conservative and non-conservative action selection strategy via a convex combination with hyperparameter λ.
- Introduces noisy pseudo-rewards for operator, entity-type, and argument sampling modules, enabling auxiliary supervision via negative log-likelihood on likely correct outputs.
- Applies cross-attention mechanisms to ground entity-specific representations (dates/numbers) in the passage for improved reasoning over symbolic arguments.
- Uses iterative maximum likelihood (IML) objective to stabilize training in sparse reward settings, balancing exploration and exploitation through ε-greedy-like behavior.
Experimental results
Research questions
- RQ1Can a neuro-symbolic module network achieve strong performance in numerical reasoning MRC with only answer supervision, without gold programs or execution traces?
- RQ2How effective is a noisy heuristic program derived from dependency parsing as a basis for reasoning in weakly supervised settings?
- RQ3Can discrete symbolic operations (e.g., max, count) be effectively learned through reinforcement learning when combined with neural entity representations?
- RQ4Does end-to-end training with answer-only rewards generalize better than models requiring strong supervision on program structure or execution steps?
- RQ5Can pseudo-reward signals from likely correct actions improve training stability and performance in sparse reward environments?
Key findings
- WNSMN achieves a 32% relative improvement in exact match accuracy over Neural Module Networks (NMN) on the DROP dataset under comparable weakly supervised settings.
- WNSMN outperforms the reasoning-free language model GenBERT by 8% in exact match accuracy, demonstrating the benefit of explicit symbolic reasoning even with only answer supervision.
- The model generalizes effectively to open-ended settings where strong supervision is unavailable, due to its ability to learn from noisy, heuristic programs derived from dependency parsing.
- The use of noisy pseudo-rewards for operator, entity-type, and argument sampling modules improves training stability and performance, especially in sparse reward regimes.
- The iterative maximum likelihood (IML) objective with a low λ value effectively balances exploration and exploitation, reducing overfitting and local minima in training.
- The framework successfully handles complex numerical operations (e.g., max, count) without requiring exhaustive precomputation of outputs, unlike hybrid models.
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.