Neural Arithmetic Units
Not on the map. Why?
Abstract (arXiv)
Neural networks can approximate complex functions, but they struggle to perform exact arithmetic operations over real numbers. The lack of inductive bias for arithmetic operations leaves neural networks without the underlying logic necessary to extrapolate on tasks such as addition, subtraction, and multiplication. We present two new neural network components: the Neural Addition Unit (NAU), which can learn exact addition and subtraction; and the Neural Multiplication Unit (NMU) that can multiply subsets of a vector. The NMU is, to our knowledge, the first arithmetic neural network component that can learn to multiply elements from a vector, when the hidden size is large. The two new components draw inspiration from a theoretical analysis of recently proposed arithmetic components. We find that careful initialization, restricting parameter space, and regularizing for sparsity is important when optimizing the NAU and NMU. Our proposed units NAU and NMU, compared with previous neural units, converge more consistently, have fewer parameters, learn faster, can converge for larger hidden sizes, obtain sparse and meaningful weights, and can extrapolate to negative and small values.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Jan 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 5; 2023: 2; 2024: 0; 2025: 4; 2026: 6.
25 papers.
Sort:
By area:
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 267
- 2021Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEscited by 42
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning modelscited by 18
- 2021MC-LSTM: Mass-Conserving LSTMcited by 17
- 2021Investigating Numeracy Learning Ability of a Text-to-Text Transfer Modelcited by 13
- 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representationcited by 7
- 2021Evolutionary Training and Abstraction Yields Algorithmic Generalization of Neural Computerscited by 5
- 2022Asynchronous Neural Networks for Learning in Graphscited by 4
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networkscited by 4
- 2022Logical Tasks for Measuring Extrapolation and Rule Comprehensioncited by 3
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysiscited by 3
13 more
- 2021State-Space Constraints Can Improve the Generalisation of the Differentiable Neural Computer to Input Sequences With Unseen Lengthcited by 1
- 2022Open World Learning Graph Convolution for Latency Estimation in Routing Networkscited by 1
- 2023Learning to solve arithmetic problems with a virtual abacuscited by 1
- 2021Learning Division with Neural Arithmetic Logic Modulescited by 0
- 2022Improving the Robustness of Neural Multiplication Units with Reversible Stochasticitycited by 0
- 2025A Synthetic Pseudo-Autoencoder Invites Examination of Tacit Assumptions in Neural Network Designcited by 0
- 2025The Domain Mixed Unit: A New Neural Arithmetic Layercited by 0
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embeddingcited by 0
- 2026Even GPT-5.2 Can't Count to Five: The Case for Zero-Error Horizons in Trustworthy LLMscited by 0
- 2026BRo-JEPA: Learning Modular Transformations in Latent Spacecited by 0
- 2026TriPLU: Bypassing the Gate with Direct Trilinear Product FFNs in Tiny Language Modelscited by 0
- 2026Geometric Mean Pooling for Equal-Weight Multiplicative Coarse-Grainingcited by 0
- 2026The Geometry of Logic: Stratification Induces Semantic Structure and Robust Reasoningcited by 0
- 2026The Geometry of Logic: Stratification Induces Semantic Structure and Robust Reasoning26 Sep 2026
- 2026Geometric Mean Pooling for Equal-Weight Multiplicative Coarse-Graining18 Sep 2026
- 2026TriPLU: Bypassing the Gate with Direct Trilinear Product FFNs in Tiny Language Models17 Jun 2026
- 2026BRo-JEPA: Learning Modular Transformations in Latent Space31 May 2026
- 2026Even GPT-5.2 Can't Count to Five: The Case for Zero-Error Horizons in Trustworthy LLMs22 Jan 2026
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding17 Jan 2026
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis5 Nov 2025
- 2025The Domain Mixed Unit: A New Neural Arithmetic Layer9 Sep 2025
- 2025A Synthetic Pseudo-Autoencoder Invites Examination of Tacit Assumptions in Neural Network Design6 Jun 2025
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networks24 Feb 2025
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning models14 Mar 2023
- 2023Learning to solve arithmetic problems with a virtual abacus17 Jan 2023
13 more
- 2022Logical Tasks for Measuring Extrapolation and Rule Comprehension14 Nov 2022
- 2022Improving the Robustness of Neural Multiplication Units with Reversible Stochasticity10 Nov 2022
- 2022Open World Learning Graph Convolution for Latency Estimation in Routing Networks8 Jul 2022
- 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representation6 Jul 2022
- 2022Asynchronous Neural Networks for Learning in Graphs24 May 2022
- 2021State-Space Constraints Can Improve the Generalisation of the Differentiable Neural Computer to Input Sequences With Unseen Length18 Oct 2021
- 2021Learning Division with Neural Arithmetic Logic Modules11 Oct 2021
- 2021Investigating Numeracy Learning Ability of a Text-to-Text Transfer Model10 Sep 2021
- 2021Evolutionary Training and Abstraction Yields Algorithmic Generalization of Neural Computers17 May 2021
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges27 Apr 2021
- 2021Combinatorial optimization and reasoning with graph neural networks18 Feb 2021
- 2021Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEs20 Jan 2021
- 2021MC-LSTM: Mass-Conserving LSTM13 Jan 2021
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning modelscited by 18
- 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representationcited by 7
- 2022Logical Tasks for Measuring Extrapolation and Rule Comprehensioncited by 3
- 2026The Geometry of Logic: Stratification Induces Semantic Structure and Robust Reasoningcited by 0
- 2026The Geometry of Logic: Stratification Induces Semantic Structure and Robust Reasoning26 Sep 2026
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning models14 Mar 2023
- 2022Logical Tasks for Measuring Extrapolation and Rule Comprehension14 Nov 2022
- 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representation6 Jul 2022
- 2026BRo-JEPA: Learning Modular Transformations in Latent Space31 May 2026
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 267
- 2021Quadratic Residual Networks: A New Class of Neural Networks for Solving Forward and Inverse Problems in Physics Involving PDEscited by 42
- 2021MC-LSTM: Mass-Conserving LSTMcited by 17
- 2021Investigating Numeracy Learning Ability of a Text-to-Text Transfer Modelcited by 13
- 2021Evolutionary Training and Abstraction Yields Algorithmic Generalization of Neural Computerscited by 5
- 2022Asynchronous Neural Networks for Learning in Graphscited by 4
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networkscited by 4
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysiscited by 3
- 2021State-Space Constraints Can Improve the Generalisation of the Differentiable Neural Computer to Input Sequences With Unseen Lengthcited by 1
- 2022Open World Learning Graph Convolution for Latency Estimation in Routing Networkscited by 1
- 2023Learning to solve arithmetic problems with a virtual abacuscited by 1
12 most cited of 20 All 20 (JSON)
- 2026Geometric Mean Pooling for Equal-Weight Multiplicative Coarse-Graining18 Sep 2026
- 2026TriPLU: Bypassing the Gate with Direct Trilinear Product FFNs in Tiny Language Models17 Jun 2026
- 2026Even GPT-5.2 Can't Count to Five: The Case for Zero-Error Horizons in Trustworthy LLMs22 Jan 2026
- 2026Neural Isomorphic Fields: A Transformer-based Algebraic Numerical Embedding17 Jan 2026
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis5 Nov 2025
- 2025The Domain Mixed Unit: A New Neural Arithmetic Layer9 Sep 2025
- 2025A Synthetic Pseudo-Autoencoder Invites Examination of Tacit Assumptions in Neural Network Design6 Jun 2025
- 2025Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural Networks24 Feb 2025
- 2023Learning to solve arithmetic problems with a virtual abacus17 Jan 2023
- 2022Improving the Robustness of Neural Multiplication Units with Reversible Stochasticity10 Nov 2022
- 2022Open World Learning Graph Convolution for Latency Estimation in Routing Networks8 Jul 2022
- 2022Asynchronous Neural Networks for Learning in Graphs24 May 2022
12 newest of 20 All 20 (JSON)