摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
引用它的顶会 Paper7
- How Neural Networks Extrapolate: From Feedforward to Graph Neural NetworksKeyulu Xu, Mozhi Zhang, Jingling Li, Simon Shaolei Du 等ICLR 2021 · 364 次引用
- MC-LSTM: Mass-Conserving LSTMPieter-Jan Hoedt, Frederik Kratzert, Daniel Klotz, Christina Halmich 等ICML 2021 · 75 次引用
- StateFormer: fine-grained type recovery from binaries using generative state modelingKexin Pei, Jonas Guan, Matthew Broughton, Zhongtian Chen 等FSE 2021 · 53 次引用
- An Empirical Investigation of Contextualized Number PredictionTaylor Berg-Kirkpatrick, Daniel SpokoynyEMNLP 2020 · 34 次引用
- Neural Status RegistersLukas Faber, Roger WattenhoferICML 2023 · 9 次引用
相关 Paper
- Neural Power UnitsNiklas Heim, Tomás Pevný, Václav SmídlNeurIPS 2020 · 14 次引用
- Learning to Add, Multiply, and Execute Algorithmic Instructions Exactly with Neural NetworksArtur Back de Luca, George Giapitzakis, Kimon FountoulakisNeurIPS 2025 · 4 次引用
- NACU: A Non-Linear Arithmetic Unit for Neural NetworksGuido Baccelli, Dimitrios Stathis, Ahmed Hemani, Maurizio MartinaDAC 2020 · 11 次引用
- Memorization Capacity of Neural Networks with Conditional ComputationErdem KoyuncuICLR 2023
- Floating-Point Neural Networks are Provably Robust Universal ApproximatorsGeonho Hwang, Wonyeol Lee, Yeachan Park, Sejun Park 等CAV 2025
