English

Teaching Neural Module Networks to Do Arithmetic

Computation and Language 2022-10-07 v1

Abstract

Answering complex questions that require multi-step multi-type reasoning over raw text is challenging, especially when conducting numerical reasoning. Neural Module Networks(NMNs), follow the programmer-interpreter framework and design trainable modules to learn different reasoning skills. However, NMNs only have limited reasoning abilities, and lack numerical reasoning capability. We up-grade NMNs by: (a) bridging the gap between its interpreter and the complex questions; (b) introducing addition and subtraction modules that perform numerical reasoning over numbers. On a subset of DROP, experimental results show that our proposed methods enhance NMNs' numerical reasoning skills by 17.7% improvement of F1 score and significantly outperform previous state-of-the-art models.

Keywords

Cite

@article{arxiv.2210.02703,
  title  = {Teaching Neural Module Networks to Do Arithmetic},
  author = {Jiayi Chen and Xiao-Yu Guo and Yuan-Fang Li and Gholamreza Haffari},
  journal= {arXiv preprint arXiv:2210.02703},
  year   = {2022}
}

Comments

9 pages including appendix, camera-ready version of COLING 2022

R2 v1 2026-06-28T02:54:30.159Z