Float32 arithmetic gives deep linear networks hidden nonlinear power
Researchers found that float32 rounding and underflow near zero can let deep linear networks learn nonlinear features, raising MNIST test accuracy to 96.7% with evolution strategies.
Last updated
Deep linear networks are theoretically equivalent to a single linear transform when they omit activation functions. Researchers found that this equivalence breaks down in practice when the networks use standard float32 arithmetic.
Near zero, float32 values are unevenly spaced, and values below the smallest normal number can underflow to zero. With denormal numbers disabled, tiny results are flushed away, causing operations such as addition and multiplication to depart from ideal linear algebra.
The researchers used evolution strategies rather than standard backpropagation to train the networks to exploit this numerical behavior. On MNIST, a backpropagation-trained network reached 94% training accuracy and 92% test accuracy, while the float32-based approach exceeded 99% training accuracy and reached 96.7% on the test set.
The result suggests that hardware-level arithmetic can provide additional model capacity without adding explicit activations such as tanh or ReLU. The researchers identified recurrent networks, language modeling and translation as possible areas for further study.