[Paper Review] Stochastic Gradient Descent on Separable Data: Exact Convergence with a Fixed Learning Rate
This paper proves that stochastic gradient descent (SGD) with a fixed learning rate converges to zero loss for homogeneous linear classifiers on linearly separable data with smooth monotone loss functions, such as logistic loss. It shows the weight vector converges in direction to the L2 max-margin solution at O(1/log t), and the loss decays as O(1/t), even without learning rate decay or iterate averaging, under both with- and without-replacement sampling.
Stochastic Gradient Descent (SGD) is a central tool in machine learning. We prove that SGD converges to zero loss, even with a fixed (non-vanishing) learning rate - in the special case of homogeneous linear classifiers with smooth monotone loss functions, optimized on linearly separable data. Previous works assumed either a vanishing learning rate, iterate averaging, or loss assumptions that do not hold for monotone loss functions used for classification, such as the logistic loss. We prove our result on a fixed dataset, both for sampling with or without replacement. Furthermore, for logistic loss (and similar exponentially-tailed losses), we prove that with SGD the weight vector converges in direction to the $L_2$ max margin vector as $O(1/\log(t))$ for almost all separable datasets, and the loss converges as $O(1/t)$ - similarly to gradient descent. Lastly, we examine the case of a fixed learning rate proportional to the minibatch size. We prove that in this case, the asymptotic convergence rate of SGD (with replacement) does not depend on the minibatch size in terms of epochs, if the support vectors span the data. These results may suggest an explanation to similar behaviors observed in deep networks, when trained with SGD.
Motivation & Objective
- To resolve the discrepancy between empirical observations of fixed-learning-rate SGD convergence in deep networks and theoretical results requiring vanishing learning rates or iterate averaging.
- To establish exact convergence of SGD to zero loss with a fixed learning rate in the special case of homogeneous linear classifiers on linearly separable data.
- To characterize the convergence rate of the weight vector direction to the L2 max-margin solution and the loss decay rate under fixed learning rates.
- To analyze the impact of minibatch size on asymptotic convergence when the learning rate is proportional to minibatch size.
Proposed method
- Analyzes SGD dynamics on homogeneous linear classifiers with smooth monotone loss functions (e.g., logistic loss) on linearly separable datasets.
- Proves that the norm of the weight vector diverges to infinity under any fixed learning rate, enabling loss minimization.
- Uses concentration inequalities and harmonic series approximations to bound the deviation of SGD iterates from their expectation.
- Applies Hoeffding's inequality to show that stochastic fluctuations in the gradient updates decay as o(t^{-0.5+ε}) with probability 1.
- Derives convergence rates by decomposing the weight update into deterministic and stochastic components, showing the latter vanishes asymptotically.
- Considers both with-replacement and without-replacement sampling regimes, proving convergence in both cases.
Experimental results
Research questions
- RQ1Can SGD with a fixed learning rate converge to zero loss on linearly separable data, despite theoretical assumptions requiring vanishing learning rates?
- RQ2What is the convergence rate of the weight vector direction to the L2 max-margin solution under fixed learning rate SGD?
- RQ3How does the loss decay over time under fixed learning rate SGD for monotone loss functions like logistic loss?
- RQ4Does the asymptotic convergence rate of SGD depend on minibatch size when the learning rate is proportional to minibatch size?
Key findings
- SGD with a fixed learning rate converges to zero loss on linearly separable data with smooth monotone loss functions, even without iterate averaging or vanishing learning rates.
- The weight vector direction converges to the L2 max-margin solution at rate O(1/log t) for logistic loss and similar exponentially-tailed losses.
- The training loss decays as O(1/t), matching the convergence rate of gradient descent on the same problem.
- For a fixed learning rate proportional to minibatch size, the asymptotic convergence rate of SGD (with replacement) is independent of minibatch size in terms of epochs, provided the support vectors span the data.
- The convergence results hold for both sampling with and without replacement, under the same fixed learning rate regime.
- Theoretical analysis confirms that stochastic fluctuations in the weight updates vanish asymptotically, ensuring convergence to the optimal direction.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.