paper-with-me

홈 › Papers

Measuring Arithmetic Extrapolation Performance

2019-10-04 · Andreas Madsen, Alexander Rosenberg Johansen

The Neural Arithmetic Logic Unit (NALU) is a neural network layer that can learn exact arithmetic operations between the elements of a hidden state. The goal of NALU is to learn perfect extrapolation, which requires learning the exact underlying logic of an unknown arithmetic problem. Evaluating the performance of the NALU is non-trivial as one arithmetic problem might have many solutions. As a consequence, single-instance MSE has been used to evaluate and compare performance between models. However, it can be hard to interpret what magnitude of MSE represents a correct solution and models sensitivity to initialization. We propose using a success-criterion to measure if and when a model converges. Using a success-criterion we can summarize success-rate over many initialization seeds and calculate confidence intervals. We contribute a generalized version of the previous arithmetic benchmark to measure models sensitivity under different conditions. This is, to our knowledge, the first extensive evaluation with respect to convergence of the NALU and its sub-units. Using a success-criterion to summarize 4800 experiments we find that consistently learning arithmetic extrapolation is challenging, in particular for multiplication.

📄 PDF Abstract BibTeX arXiv:1910.01888

Code (5)

AndreasMadsen/stable-nalu 공식 구현 pytorch
bmistry4/nalm-benchmark pytorch
bmistry4/nalu-stable-exp-neurips-review pytorch
pwc-1/Paper-9/tree/main/4/nalu.ms mindspore
wlm2019/Neural-Arithmetic-Units pytorch

Tasks

Sensitivity

Similar Papers 제목 키워드 기반

Logical Tasks for Measuring Extrapolation and Rule Comprehension

2022-11-14 · Ippei Fujisawa, Ryota Kanai

Logical reasoning is essential in a variety of human activities. A representative example of a logical task is mathematics. Recent large-scale models trained on large datasets have been successful in various fields, but …

Inductive BiasLogical Reasoning

Positional Description Matters for Transformers Arithmetic

2023-11-22 · Ruoqi Shen, Sébastien Bubeck, Ronen Eldan, Yin Tat Lee 외

Transformers, central to the successes in modern Natural Language Processing, often falter on arithmetic tasks despite their vast capabilities --which paradoxically include remarkable coding abilities. We observe that a …

Memorization

Neural Arithmetic Logic Units

2018-08-01 · NeurIPS 2018 12 · Andrew Trask, Felix Hill, Scott Reed, Jack Rae 외

Neural networks can learn to represent and manipulate numerical information, but they seldom generalize well outside of the range of numerical values encountered during training. To encourage more systematic numerical ex…

Transformers Can Do Arithmetic with the Right Embeddings

2024-05-27 · Sean McLeish, Arpit Bansal, Alex Stein, Neel Jain 외

The poor performance of transformers on arithmetic tasks seems to stem in large part from their inability to keep track of the exact position of each digit inside of a large span of digits. We mend this problem by adding…

GPUPosition

Measuring few-shot extrapolation with program induction

2020-10-13 · NeurIPS Workshop CAP 2020 12 · Ferran Alet, Javier Lopez-Contreras, Joshua B. Tenenbaum, Tomas Perez 외

Neural networks are capable of learning complex functions, but still have problems generalizing from few examples and beyond their training distribution. Meta-learning provides a paradigm to train networks to learn from …

Meta-LearningProgram induction