All ERMs Can Fail in Stochastic Convex Optimization Lower Bounds in Linear Dimension
Abstract
Lay Summary
Modern AI systems often have enough flexibility to fit their training data perfectly. A central question is why some fitted solutions still work well on new data, while others only memorize the examples they saw during training. We study this question in a simplified mathematical model of learning, where the training objective has a well-behaved convex shape. One might hope that in such a clean setting, any solution that fits the training data, or even a typical one, would be safe. We show that this is not true. We construct examples where learning is possible, but every exact best-fitting solution, and even very accurate approximate best-fitting solutions, performs poorly on new data. Our construction works in a number of dimensions only proportional to the sample size, resolving an open question. We also use the same ideas to show that gradient descent, a standard training method, can overfit when run for too long. These results clarify that good generalization does not come just from the shape of the training problem, the algorithm used to choose among fitting solutions matters.