Full-Batch Gradient Descent Outperforms One-Pass SGD: Sample Complexity Separation in Single-Index Learning
Abstract
Lay Summary
Modern machine learning systems are trained by methods that repeatedly adjust their parameters using examples from data. It is not fully understood when it is better to use a fresh random data example at each step, rather than repeatedly using the whole dataset for each parameter update. In this work, we explore this question further. We focus on a simple but informative setting where the goal is to recover a hidden direction from data. Earlier results identified how many examples are needed by methods that use fresh random examples in this setting. We compare this with what happens when the training method repeatedly reuses the same dataset, and show that the answer can change depending on small changes in the learning problem. For a standard unbounded non-linear output setting, iteratively reusing data does not improve over using fresh random examples. However, when the setting is slightly modified by limiting very large responses, reusing data can become more effective and succeeds with fewer examples than iterative methods that only rely on fresh random examples. These results shed more light on when reusing data helps iterative training methods and when it does not.