acceptodds
Published as a conference paper at NeurIPS 2026

Perfect Parallelization in Mini-Batch SGD with Classical Momentum Acceleration

Sachin Garg, Michal Derezinski

Abstract

Accelerating stochastic gradient methods with classical momentum schemes, such as Polyak's heavy ball, has proven highly successful in training large-scale machine learning models, particularly when combined with the hardware acceleration of large mini-batch computations. Yet, the effect of classical momentum on stochastic mini-batch optimization has been poorly understood theoretically, with prior works requiring strong noise assumptions and extremely large mini-batches. In this work, we develop a general theory of stochastic momentum acceleration for optimizing over quadratics in the interpolation regime, a popular abstraction for studying deep learning dynamics which also includes classical methods such as randomized Kaczmarz and coordinate descent. Our framework encompasses both heavy ball and Nesterov-style momentum, allows for arbitrary mini-batch sizes, and makes minimal assumptions on the stochastic noise. In particular, we show that acceleration from classical momentum is directly proportional to the gradient mini-batch size (up to a natural saturation point), thereby enabling perfect parallelization of mini-batch computations. Our theory also provides a simple choice for the momentum parameter, which is shown to be effective empirically.

Keywords:
Atlanta

Reviews

Among:
Shape:
123456this paper, Bottom 1%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.33 over 3 reviews, above 0% of the others.
Reviewer_RFYrOpenReview ↗
Rating
2
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

Review of NeurIPS submission 24346

Summary

This paper investigates the effect of minibatching in stochastic gradient descent with heavy-ball/Nesterov momentum on convex quadratic problems satisfying the interpolation condition. The authors show that in the interpolation regime, both momentum schemes achieve an acceleration effect up to an error term that decays linearly in terms of the batch size. This linear speedup phenomenon is validated with experiments.

Strengths and weaknesses

Strength

This paper is well-written and technically solid. The authors did a good job motivating the problem and providing insights in the proof.

Weaknesses

Despite the technical contributions, I have some reservations about the problem setting and the comparison with existing results from the literature

  1. Restrictive problem setting

    The paper primarily focuses on the quadratic interpolation regime. Although quadratic problems enable powerful analysis tools like dynamical system formulation, it also imposes strong assumptions on the problem class and make the analysis hard to generalize.

  2. Comparison with existing results

    To my knowledge, several existing works have established accelerated rates of SGD (and stochastic proximal point) for general convex functions under the interpolation regime [1-3]. At least two of them [1, 2] have explicitly derived a convergence rate of type O(LD2T2+LD2mT)O(\frac{L D^2}{T^2} + \frac{L D^2}{m T}), where DD upperbounds ∣x1−x⋆∣\\|x^1 - x^\star\\| and mm is the minibatch size (e.g., Theorem 1 of [1]). This result can be combined with a restart procedure to yield the same result as obtained in this paper.

    Although this paper achieves an accelerated rate for heavy-ball momentum, it also heavily exploits the quadratic structure. Given the existing result in this regime, the contribution of this paper, in my opinion, is less clear.

Overall, I don't think the current results are sufficient for publication at NeurIPS.

Questions

Questions

  1. In the experiments you use ridge regression. When λ>0\lambda > 0, is the interpolation condition satisfied?

    Besides, why does larger minibatch size need more iterations to converge for CD + NAG?

References

[1] Woodworth, B. E., & Srebro, N. (2021). An even more optimal stochastic optimization algorithm: minibatching and interpolation learning. Advances in neural information processing systems, 34, 7333-7345.

[2] Yuan, X. T., & Li, P. (2023). Sharper analysis for minibatch stochastic proximal point methods: Stability, smoothness, and deviation. Journal of Machine Learning Research, 24(270), 1-52.

[3] Vaswani, S., Bach, F., & Schmidt, M. (2019, April). Fast and faster convergence of sgd for over-parameterized models and an accelerated perceptron. In The 22nd international conference on artificial intelligence and statistics (pp. 1195-1204). PMLR.

Limitations

Yes.

Paper formatting concerns

N.A.

Final justification

The authors' rebuttal do not fully address my concerns regarding the strength of the result compared to [1]. I believe the paper should go through a round of major revision to clarify its positioning and don't think it's ready for publication at NeurIPS.

[1] Woodworth, B. E., & Srebro, N. (2021). An even more optimal stochastic optimization algorithm: minibatching and interpolation learning. Advances in neural information processing systems, 34, 7333-7345.

1 comment

Thanks for all the feedback, questions, and references!

Problem setting. As pointed out by the AC, the quadratic interpolation setting is a foundational model for studying SGD and momentum dynamics, with countless prior works devoted to understanding that specific regime, e.g., see [1,5,27,30,34,53]. Arguably, the fact that our result resolves an open question even in such a classical and well-studied setting is a major strength of this work. That being said, we agree that extending our results beyond quadratics is an interesting direction for future work.

Comparison with existing results. Thanks for the references, we will carefully discuss them in the final version. As we explain in the paper (lines 48-49), there is extensive literature on developing intricate acceleration schemes for SGD that provide strong theoretical guarantees, but are very different from what is used in practice. Both Woodworth and Srebro (2021) as well as Yuan and Li (2023) fall into this category. In the former, the authors introduce a wrapper algorithm and an elaborate step-size/momentum schedule, while in the latter, they consider an entirely different stochastic proximal point method (the latter also do not provide linear convergence guarantees, so their results are largely incomparable with ours). Our aim is different. We seek to understand the standard SGD algorithm accelerated with classical HB/NAG momentum schemes, and using simple fixed parameter choices, which is very close to what is used in practice and yet has eluded a complete theoretical understanding. In Vaswani et al (2019), the authors have a similar aim to us, but unfortunately their analysis requires a spurious assumption called the strong growth condition, which may not be satisfied even in the simple instance of running accelerated coordinate descent on kernel ridge regression. They also require a dynamic parameter schedule, instead of the fixed parameters we consider.

Is the interpolation condition satisfied in our experiments? Yes. We consider the task of kernel ridge regression, which is equivalent to solving a linear system (K+λI)w=y(K+\lambda I)w=y. This linear system is consistent (i.e., has a solution) for any λ≥0\lambda\ge 0, which ensures that the interpolation condition is satisfied.

Why CD+NAG needs more iterations for large mini-batches? As we follow the CD+NAG curves (blue and green) in Figure 1ab, we observe that increasing the mini-batch size initially decreases the number of iterations needed, until a certain point. This is the point at which the benefit of momentum acceleration saturates (i.e., we couldn't hope for a faster convergence even with full batch). If we keep increasing the mini-batch size, then there is always a choice of momentum parameter β\beta that will keep the iteration count flat (i.e., maintain the saturated convergence rate), but now this parameter depends on the condition number κ\kappa of the problem. Concretely, our theory shows that we need β≈1−1min⁡(m,κ)\beta\approx 1-\frac{1}{\min(m,\sqrt\kappa)}. So for m>κm>\sqrt\kappa (after saturation) the simple choice of β=1−1m\beta = 1-\frac1m is suboptimal, which is why the blue line starts going up. To avoid parameter tuning, we design an adaptive scheme for estimating the correct β\beta. With this scheme, iterations stay nearly flat even after saturation.

Reviewer_DffhOpenReview ↗
Rating
3
Clarity
2
Confidence
4
Originality
2
Quality
2
Significance
3
Read review
Summary

In this paper, the authors develop a framework to enable efficient parallerization of mini-batch SGD with momentum for quadratic function in the interpolation regime. Their analysis relies on Schur decomposition and matrix recursion. The authors also provide some experiments to illustrate the performance of mini-batch SGD with momentum.

Strengths and weaknesses

This paper has several strengths and weaknesses, as stated below. (Note: For the convenience of author's rebuttal, the reviewer will explicitly list the corresponding strengths and weaknesses point by point.)

Strengths

  1. The proof of theorem is well-written, including the proof sketch;

  2. The analysis works in the mini-batch setting.

Weaknesses

  1. The objective function only focus on the quadratics and interpolation case, which is too restrictive. This is the main weakness of this paper.

  2. The presentation should be improved. The quadratic and interpolation assumption should be written in the Assumption environment, and explicitly stated in the main theorem. Because these two assumptions are the main assumptions in this paper. The current form of stating assumptions may mislead the readers.

Questions
  1. What is the main difficulty of extending the analysis to more general case beyond quadratics and interpolation case?
Limitations

The authors does not discuss the limitations of this paper. The reviewer think the main limitation of this paper refers to "Weaknesses" part.

Paper formatting concerns

The reviewer does not notice any major issues in this paper with respect to violation of formatting, anonymity, etc.

Final justification

After reading the discussion between authors and other reviewers, the clarity presentation of this paper, especially in the comparison on the previous literature and assumption statement, need major revision. I maintain my evaluation.

1 comment

Thank you for the feedback and questions!

Extending beyond the quadratic interpolation setting. For extension beyond quadratics, the main challenge is that in non-quadratic settings, the Hessian ∇2F(wt)\nabla^2 F(w_t) depends on wtw_t, and therefore the corresponding eigenbasis can change with wtw_t. A key step in our analysis is to use the quadratic nature of FF for simultaneous (block)diagonalization of the per step non symmetric transition matrices, in expectation. This property allows us to provide a tight upper bound on the spectral norm of the product of random transition matrices by bounding the spectral norm of the product of these blocks, using second moment bound in Proposition 2 and Schur decomposition. In the general setting, the expected product transition matrices need not be jointly decomposable into a block diagonal structure under the same eigenbasis.

On the other hand, extending to non-interpolating quadratics should be relatively easier, however this will necessarily lead to a sub-linear convergence rate, whereas in this work we are interested in attaining linear convergence rates.

We stress that, as pointed out by the AC, the quadratic interpolation setting is already an important model for studying SGD and momentum dynamics, with countless prior works devoted to understanding that specific regime, e.g., see [1,5,27,30,34,53]. Arguably, the fact that our result resolves an open question even in such a classical and well-studied setting is a major strength of this work.

Discussion of limitations. We will add a further discussion of the limitations, in particular, pointing out the limitation of the quadratic interpolation setting (we note that this limitation is already mentioned quite early and prominently, e.g., in the third sentence of the abstract and in the first sentence of Section 1.1 "Our contributions").

Statement of the assumptions. The assumption of quadratic interpolation setting is baked into our formulation of the stochastic contraction process framework (Definitions 1, 2, and 3), which is discussed in detail and with multiple examples in Section 2, i.e., prior to the statement of the main theorem. This framework is an important part of our analysis, which is why we chose to present the results in this fashion. In particular, Theorem 1 in Section 3 directly refers to a stochastic contraction process in its statement, so there are no omitted assumptions there. That being said, we completely agree that the quadratic interpolation setting is not apparent in the statement of the theorem without reading Section 2. To address this, we will include a remark and the following corollary right below the theorem, which will relate its statement to the convergence of SGD in the quadratic interpolation regime (for simplicity we state the corollary here only for heavy-ball momentum):

Corollary (Mini-batch SGD with classical momentum for quadratic interpolation). Let \begin{align*} F(w):= E_{\xi\sim\mathcal D}[f(w;\xi)], \end{align*} where, for every ξ\xi, f(⋅;ξ)f(\cdot;\xi) is a convex quadratic with LL-Lipschitz gradient, and suppose there exists w⋆∈Rdw^\star\in R^d such that ∇f(w⋆;ξ)=0\nabla f(w^\star;\xi)=0 almost surely. Let FF be μ\mu-strongly convex and κf=Lμ\kappa_f=\frac{L}{\mu}. At every iteration, draw an independent mini-batch ξt(i)\xi_t^{(i)} for i=1,...,mi=1,...,m and let \begin{align*} w_{t+1}

w_t +\beta(w_t - w_{t-1}) -\frac{1}{mL}\sum_{i=1}^m \nabla f(w_t;\xi_t^{(i)}). \end{align*} with w−1=w0=0w_{-1} = w_0 =0. Choose the momentum parameter β\beta as in Theorem 1, with κ=κf\kappa=\kappa_f. Then there exist absolute constants C,c>0C,c>0 such that, for every t≥1t\geq 1, \begin{align*} E|w_t-w^\star|^2 \leq Ct^3\bigg(1-c\min\Big(\frac{m}{\kappa_f},\frac{1}{\sqrt{\kappa_f}}\Big)\bigg)^t|w^\star|^2. \end{align*}

Reviewer_TDRQOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
2
Quality
4
Significance
3
Read review
Summary

This work studies the impact of batch size on the convergence rate of momentum algorithms on a quadratic objective in the interpolation regime. They prove that below a threshold given by the square root of the condition number, increasing the batch size allows for perfect parallelization and decreases the iterations to reach a threshold inversely proportional to the batch size. Above this threshold, the convergence rate recovers the square root of the condition number of accelerated gradient descent. Finally, they provide experimental results on kernel ridge regression illustrating their theoretical results by comparing block coordinate descent with Nesterov momentum (including a heuristic adaptive version of Nesterov) across mini-batch sizes.

Strengths and weaknesses

Strengths

Quality This work is mostly theoretical and has the strong advantage of presenting a detailed and self-contained proof sketch of the main result, Theorem 1 in Section 3.1. The work is technically sound and details all proofs in Appendices B and C.

Clarity The work is well structured around a clear description of the setting in Section 2, statement of the results in Section 3 followed by an extensive proof sketch, which is both detailed and easy to follow. Finally, the experimental results are well detailed and the authors provide experimental details in Appendix D.

Weaknesses

Originality and Significance: While related works were discussed in Section 1.2 and Appendix A, it remains unclear to me how these results position themselves with respect to previous results from the literature. In particular, [30] seems to show similar results where batch size above a threshold allows for full-batch acceleration, while batch sizes below that threshold allow for proportional gains in the convergence rates. While I agree with the authors that the settings differ, it seems that the main insight of perfect parallelization up to some condition number-dependent threshold may be similar.

Questions
  1. In Proposition1, as α→0\alpha \rightarrow 0, it seems that κ\kappa goes to 00 and that the convergence rate of E[∣∣Δt∣∣2]E[||\Delta_t||^2] degenerates. I'm not sure to understand why that is the case, and why too small of an α\alpha value makes the bound diverge. Is there a simple intuition for it?

  2. Experimental results in Figure 1, and especially Figure 1a, show that at mini-batch size m=1, the error tolerance 10−710^{-7} is reached after 10^5 iterations. If I understand correctly, from Theorem 1, we have the approximation e−ct/κ≈10−7e^{-ct/\kappa}\approx 10^{-7} and hence this gives an estimate of κ\kappa as κ≈t/(7log(10))\kappa \approx t/(7log(10)). On the other hand, the batch threshold between perfect parallelization and the full-batch regime on the same picture gives another estimate as κ≈30\sqrt{\kappa} \approx 30. Could the author expand on whether it makes sense to compare both estimates of κ\kappa in that way? Finally, κ\kappa is related to λmin\lambda_{min}. Is it possible to compute λmin\lambda_{min} in these experimental settings to extend the comparison? These additional checks would maybe be interesting to verify the validity of the theory and maybe get an estimate of the magnitude of the constants c, C involved in Theorem 1.

  3. Related to my concerns mentioned above on the originality and significance, I was wondering if the authors could expand more on the contributions made in previous works such as [30] related to perfect parallelization of momentum algorithms below and the full-batch regime above some batch threshold. I agree with the authors that assumptions may differ, but precisely situating this work and its assumptions compared to previous works could be very helpful. Additionally, describing which sets of assumptions could be more realistic is, to me, an important question. Finally, the nature of the results proven (here Theorem 1 bounds the expected square norm of Δt\Delta_t) could be different.

Limitations

The authors adequately address the limitations of their approach by acknowledging that this work is primarily theoretical and focuses on quadratics in the interpolation regime.

Paper formatting concerns

N/A

Final justification

After considering the rebuttal and discussion with the authors, I increased my score from 4 to 5 and recommend acceptance.

The authors addressed my concerns about the dependence on α\alpha of κ\kappa in Proposition 11 and the discussion with [30]. I acknowledge the authors' answer that although the results are conceptually similar to [30], the problem setting and assumptions differ, with non-asymptotic results and somewhat weaker assumptions, which is valuable.

Additionally, I appreciate the authors' additional experiments on the measurement and comparisons of κ\kappa from their experimental results and believe this is a valuable addition to the theoretical results to better understand their validity and the underlying phenomenon guiding the experiments.

Finally, I note that I disagree with reviewer Dffh that "the objective function only focus on the quadratics and interpolation case, which is too restrictive". I don't believe such a restrictive setting is a major weakness, as this is standard in related theoretical works and can provide important insights on more complex experiments. Similarly, reviewer RFYr noted the restrictive problem setting as a weakness but I do not consider this as an important weakness for the aforementioned reasons.

1 comment

Thanks for the positive comments and questions!

Comparison with [30]. We agree that [30] makes similar high-level conceptual claims as we do with regards to perfect parallelization of mini-batch SGD with classical momentum in the quadratic setting. However, they are only able to support these claims theoretically after introducing several additional assumptions, both on the noise model (independent homoscedastic noise, Assumption 1.1) and on the random data distribution (orthogonal invariance, Assumption 1.2), and only after taking an asymptotic limit with the number of data points and the mini-batch size simultaneously going to infinity. In particular, their results require that the mini-batch size be a constant fraction of the data size in an asymptotic limit, while our results apply non-asymptotically with any mini-batch size and any data matrix of any size. Given this, while the results of [30] provide some insight into why perfect parallelization might be attainable by SGD with classical momentum, it is difficult to say in what sense they actually imply that claim for any concrete instance of the problem, even as simple as accelerated coordinate descent on kernel ridge regression. In contrast, we make no assumptions other than being in a quadratic interpolation setting, and thus our results directly apply to a number of concrete optimization tasks in full generality, as described in Section 2. We will expand our discussion of this related work in the final version.

Dependence on α\alpha in Proposition 1. Thanks for pointing this out! There is actually a typo in the definition of the condition number κ\kappa both in Proposition 1 and Theorem 1. The definition should be κ=α−1/λmin⁡+(Πˉ)\kappa = \alpha^{-1}/\lambda_{\min}^+(\bar\Pi) (the inverse is missing next to α\alpha). Upon this correction, all of our results remain the same and are correct. This actually does not affect any of the analysis that follows, because α\alpha can be set to 1 without loss of generality by rescaling the stochastic contraction process appropriately (as we point out in line 218). Again, thank you for catching this, we will fix it in the final version.

Validating the theory by empirically estimating κ\kappa. This is an interesting suggestion! We performed the comparison of the condition number from our theory with the total iteration count in our experiments as well as the observed mini-batch threshold. Below are those numbers for the California Housing and Covtype datasets. Overall, the numbers appear to agree up to a modest constant factor. In particular, note that we tested only mini-batch sizes that are powers of two, which means that the mini-batch threshold is only estimated up to within a multiplicative factor of 2. In nearly all cases, the theoretical threshold of κ\sqrt\kappa lies within that error margin.

\begin{align*} \begin{array}{|c|c|c|c|c|c|c|} \hline \textbf{Dataset} & \textbf{Block size} & \lambda_{\min} & \kappa & \textbf{Iterations }(m=1) & \sqrt{\kappa} & \textbf{Critical }m \\ \hline \textnormal{California Housing} & s=10 & 10^{-4} & 10\mathrm{k} & 70\mathrm{k} & 100 & 64 \\ \textnormal{California Housing} & s=25 & 3\times 10^{-4} & 3.5\mathrm{k} & 20\mathrm{k} & 57 & 32 \\ \textnormal{California Housing} & s=50 & 9\times 10^{-4} & 1\mathrm{k} & 7\mathrm{k} & 33 & 16 \\ \textnormal{Covtype} & s=1 & 3\times 10^{-4} & 3.5\mathrm{k} & 100\mathrm{k} & 57 & 64 \\ \textnormal{Covtype} & s=5 & 7\times 10^{-4} & 1.5\mathrm{k} & 20\mathrm{k} & 38 & 32 \\ \textnormal{Covtype} & s=10 & 1.5\times 10^{-3} & 0.6\mathrm{k} & 10\mathrm{k} & 26 & 16 \\ \hline \end{array} \end{align*}

Comments on the paper

1 comment
Meta-review

Lean: Borderline Weight Reviewer TDRQ’s positive assessment; scores may read slightly low relative to the paper’s contribution.

The work appears to sharpen theory for classical momentum under interpolation on quadratics: condition-number-based acceleration with a correct batch-size dependence and a parallelization threshold. Relative to related “precise threshold” results (including Lee et al., cited), this paper aims at weaker assumptions, with a less precise threshold, and a stronger conclusion

On quadratics. Not a primary concern here. Momentum acceleration is subtle enough that settling the quadratic interpolation case is a natural and appropriate step; leaving that open would be worse than resolving it cleanly.

What is required. Authors should make a good-faith effort to engage all reviewers’ weaknesses and questions (Dffh, RFYr, and TDRQ), especially:

  • clear positioning vs prior interpolation / minibatch acceleration rates and vs batch-threshold / perfect-parallelization style results;
  • explicit assumption statements in the main theorems;
  • RFYr’s comparison to Woodworth–Srebro / related rates, and the ridge / interpolation experiment question;
  • TDRQ’s questions on small α\alpha, experimental κ\kappa consistency, etc.

Acceptance is contingent on that discussion clarifying the these points

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.