Learning Division with Neural Arithmetic Logic Modules

Bhumika Mistry, Katayoun Farrahi, Jonathon Hare
10/11/2021
cs.NEcs.LGstat.ML

Official code: bmistry4/nalu-stable-exp-neurips-review (0 stars, Python, MIT, last commit 2021-10-11).

Abstract

To achieve systematic generalisation, it first makes sense to master simple tasks such as arithmetic. Of the four fundamental arithmetic operations (+,-,$\times$,$÷$), division is considered the most difficult for both humans and computers.

Show full abstract

In this paper we show that robustly learning division in a systematic manner remains a challenge even at the simplest level of dividing two numbers. We propose two novel approaches for division which we call the Neural Reciprocal Unit (NRU) and the Neural Multiplicative Reciprocal Unit (NMRU), and present improvements for an existing division module, the Real Neural Power Unit (Real NPU). Experiments in learning division with input redundancy on 225 different training sets, find that our proposed modifications to the Real NPU obtains an average success of 85.3$\%$ improving over the original by 15.1$\%$. In light of the suggestion above, our NMRU approach can further improve the success to 91.6$\%$.

View on arXivView PDF

Code Implementations(1)

MIT

For review; anonymised repo. Experiments based off Andreas Madsen and Alexander Rosenberg Johansen NAU work

00Python, RMay 19, 20215 years agoMIT

Similar Papers

Cite this paper

@article{mistry2021learning,
  title  = {Learning Division with Neural Arithmetic Logic Modules},
  author = {Bhumika Mistry and Katayoun Farrahi and Jonathon Hare},
  year   = {2021},
  eprint = {2110.05177},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.05177}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.05177.svg)](https://codeofpaper.com/paper/2110.05177)

Discussion