Unit Tests for Stochastic Optimization
Authors: Tom Schaul, Ioannis Antonoglou, David Silver
ICLR 2014

Abstract: Optimization by stochastic gradient descent is an important component of many large-scale machine learning algorithms. A wide variety of such optimization algorithms have been devised; however, it is unclear whether these algorithms are robust and widely applicable across many different optimization landscapes. In this paper we develop a collection of unit tests for stochastic optimization. Each unit test rapidly evaluates an optimization algorithm on a small-scale, isolated, and well-understood difficulty, rather than in real-world scenarios where many such issues are entangled. Passing these unit tests is not sufficient, but absolutely necessary for any algorithms with claims to generality or robustness. We give initial quantitative and qualitative results on a dozen established algorithms. The testing framework is open-source, extensible, and easy to apply to new algorithms.


Peer review:
[Review]:
The updated version of the paper is now visible on arxiv, and the updated code at https://github.com/IoannisAntonoglou/optimBench can reproduce the result figures.