techlist.io

Neural Gpu

1 posts

OpenAI2016-11-012 min readCurated summary

Extensions and limitations of the neural GPU

The paper extends the Neural GPU, a model that learns algorithms such as multi-digit binary addition and multiplication in a way that generalizes to inputs of arbitrary length. The authors show that two simple changes, a carefully designed training curriculum and a larger model, substantially improve its performance. They also find that the model still fails on certain highly symmetric inputs, and these failures resemble adversarial examples. ## Improving Performance with Curriculum and Model Size - A carefully designed curriculum and increased model size are the two main levers for better performance. - Scaling up the model requires a memory-efficient implementation, because a naive Neural GPU is memory-intensive. ## Expanding the Set of Solvable Problems - The improved model learns all basic arithmetic operations and generalizes to arbitrarily long numbers when inputs use decimal representation, which the authors note had not been achieved before. - It can also evaluate long arithmetic expressions with multiple operands that must respect operator precedence. - Expression evaluation succeeds only in binary representation and is not perfectly accurate. ## Failure Modes Resembling Adversarial Examples - Models that generalize well to long numbers can still fail on atypical, highly symmetric inputs. - For example, a decimal multiplication model that generalizes to 100-digit numbers can fail on 000…002 × 000…002 while correctly computing 2 × 2. - These failures suggest that strong average generalization does not guarantee correctness on every input.