The Domain Mixed Unit: A New Neural Arithmetic Layer
Paul Curry
Abstract. The Domain Mixed Unit (DMU) is a new neural arithmetic unit that learns a single parameter gate that mixes a state between log-space and linear-space representations while performing either addition (DMU-add) or subtraction (DMU-sub) in that space. Two initializations are proposed: one covering addition and multiplication, and another covering subtraction and division. The DMU achieves state-of-the-art performance on the NALM Benchmark, a dataset designed to test the ability of neural arithmetic units to generalize arithmetic operations, specifically achieving the highest percentage solved across all seeds on multiplication and division. The DMU implementation will be submitted as a pull request to the open-source NALM Benchmark, and its code is publicly available on GitHub: https://github.com/marict/nalm-benchmark
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperadd · history
Loading the discussion…