potentialpaper

Perfect Parallelization in Mini-Batch SGD with Classical Momentum Acceleration

Sachin Garg, Michal Derezinski

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We show that, for quadratics, classical momentum attains linear speedup in mini-batch size, enabling perfect parallelization.

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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
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

Final justification

The reviewers are split on accept/reject. On balance, the reject positioning seems more a matter of taste rather than content, while the accept positioning favors the tight analysis of the batch vs condition-number dependence.

All the points raised in the initial meta-review were addressed, and the authors have committed to making some minor changes to better the issues raised in review. Please do so.

Area Chair yutz · Meta-reviewOpenReview ↗
Read meta-review
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

Final justification

The reviewers are split on accept/reject. On balance, the reject positioning seems more a matter of taste rather than content, while the accept positioning favors the tight analysis of the batch vs condition-number dependence.

All the points raised in the initial meta-review were addressed, and the authors have committed to making some minor changes to better the issues raised in review. Please do so.

Reviewer RFYrOpenReview ↗
Rating
2/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

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.

Formatting concerns

N.A.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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 RFYr · CommentOpenReview ↗

Thanks for the response

Thanks for the response. In my opinion, using a quadratic function as the model is not necessarily a big limitation. But you should obtain substantially stronger results that are worth the cost of losing the black-box structure. Again, the technical contributions are solid, but the results achieved are expected.

I'm not very convinced that [1] has "intricate acceleration schemes". Their Algorithm 1 is simply AGD with a projection step on to box, which is not much different from the algorithm analyzed in this paper. The intricate restart procedure primarily converts linear-speedup results from sublinear convergence into linear convergence. Therefore, as I understand it, linear speedup in interpolation is already established in the black-box setting.

I'll likely maintain my evaluation unless you clearly demonstrate what, technically, makes the results stronger than [1].

[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.

Authors · CommentOpenReview ↗

Detailed comparison with Woodworth and Srebro

Thanks for a quick reply, and for the opportunity to discuss this further!

First of all, we completely agree that the full algorithm of Woodworth and Srebro (2021) attains a linear speed-up with respect to the mini-batch size in the strongly convex interpolation regime, as given in their Theorem 3. We note that this claim is only valid for the version with the "intricate restart procedure", because in this setting even plain SGD (using fixed step size and without any acceleration) attains a linear convergence rate, so obtaining a sublinear rate (regardless of how it depends on the mini-batch size) cannot be considered a "speedup".

Differences from classical momentum. The algorithm of Woodworth and Srebro is different than what is generally considered "SGD with classical momentum" in a number of ways:

  1. As the reviewer observed, their algorithm includes a projection onto a disk with radius that depends on the upper estimate of the optimal solution norm, denoted as BB.

  2. If we ignore the projection step, then the algorithm can be stated as a variant of the Nesterov accelerated gradient (but not of heavy-ball momentum), however the step size and the momentum parameter are not fixed, but rather are dynamically changing according to a schedule that depends not only on the smoothness HH and the mini-batch size bb, but also on the time horizon TT associated with the restart procedure.

  3. The restart procedure, in order to choose the time horizon TT, additionally requires knowledge of the strong convexity λ\lambda as well as the norm estimate BB.

Why do those differences matter? The above complications matter when attempting to implement their algorithm. In fact, Woodworth and Srebro explicitly mention this as a shortcoming of their method in the last two paragraphs of Section 8. In particular, they do not provide any empirical evaluation, and they suggest to use a "doubling trick" for selecting the horizon TT, and "any known upper bound" for the norm estimate BB, both of which would lead to significant overhead in practice.

Moreover, even if one were to somehow implement an optimized version of their algorithm that performs competitively in experiments, this would likely not change the fact that what is most commonly used in practice for accelerating SGD is a simple heavy-ball momentum [45, 22, 43, 14], and that to attain perfect parallelization (at least in the interpolation regime) it is enough to choose a fixed step size and a fixed momentum parameter which do not need to depend on any time horizon or the norm of the optimal solution. The aim of our work is to theoretically explain this phenomenon.

Are our results "expected"? Yes, in some sense, our results are completely expected, and this is good, because we set out to theoretically justify something that has been widely observed in practice. Naturally, this does not mean that the results are straightforward to obtain, or that the analysis proceeds as would be expected based on prior work.

Significance in the context of other prior works. Our results address questions posed by many prior works, including those published in the past 5 years since the work of Woodworth and Srebro (2021), which have studied classical momentum (primarily heavy-ball) in the interpolation regime [1,5,27,30,34,53]. These works fit into a broader literature about understanding the dynamics of simple SGD algorithms that are popular in practice, such as those that use fixed step sizes and/or return the last iterate as opposed to the average iterate. Such simple changes can dramatically affect the analysis. For example, it is well known that analyzing the last iterate of SGD with a fixed step size introduces significant technical challenges compared to analyzing the average iterate or a dynamic step size schedule. This is observed even for quadratics in the interpolation regime (see, e.g., Varre et al, 2021, or Attia et al, 2025, and references therein). Similarly, it is not surprising that the analysis of Woodworth and Srebro does not easily extend to an algorithm with fixed parameters and/or heavy ball momentum, and that one needs an entirely different approach with new technical insights to obtain our results.

Additional references

Aditya Vardhan Varre, Loucas Pillaud-Vivien, and Nicolas Flammarion. Last iterate convergence of sgd for least-squares in the interpolation regime. Advances in Neural Information Processing Systems, 34:21581–21591, 2021.

Amit Attia, Matan Schliserman, Uri Sherman, and Tomer Koren. Fast last-iterate convergence of sgd in the smooth interpolation regime. Advances in Neural Information Processing Systems, 38:104951–104987, 2025.

Reviewer DffhOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

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.

Formatting concerns

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

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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 Dffh · CommentOpenReview ↗

Thank you for your response. 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.

I am open to change my evaluation if I missed something.

Authors · CommentOpenReview ↗

We are happy to clarify any points that need clarification during this discussion phase, and then include those in the paper.

Could you please specify what major revision changes you are referring to, or what points remain unclear after the rebuttal?

The changes we have promised thus far across all rebuttals (adding the corollary, the discussion of limitations, the table, and three additional references to the related work) seem to us like fairly minor revisions that do not affect the overall structure and message of the paper.

Reviewer TDRQOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

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.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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*}

Reviewer TDRQ · CommentOpenReview ↗

I thank the authors for their thorough answers to my questions and concerns. My concerns have largely been resolved, and I am willing to increase my score accordingly to further recommend acceptance.

I appreciate the answer and comparison with [30]. I understand that the assumptions used differ strongly, and the fact that the results are non-asymptotic in Theorem 1 is an important technical difference which allows one to obtain bounds on a "concrete instance of the problem". I am additionally satisfied by the answer regarding the typo on α\alpha, which should not change the main results due to an appropriate rescaling of the problem.

Finally, I found interesting the comparison of κ\kappa values in the experiments in the Table shared by the authors. I am, however, not entirely sure to understand which columns should be compared. From my understanding, it is possible to measure κ\kappa in three different ways: the rate of convergence at mini-batch m=1m=1, measuring λmin\lambda_{min} of the problem and using the definition of κ\kappa, and measuring the transition mini-batch m≈κm \approx \sqrt{\kappa}. I understand that the columns of your table relate these different quantities, but it is not clear which columns were directly measured and which ones were derived from other columns through the previous relations?

Authors · CommentOpenReview ↗

We thank the reviewer for their response and their positive assessment of our work. We are happy to clarify the quantities appearing in various columns of the table:

  1. The third column (λmin⁡\lambda_{\min}) consists of the smallest eigenvalue of the average contraction matrix Πˉ\bar\Pi associated with CD on each dataset. We found this by direct computation.

  2. The fourth column is just a reciprocal of the third column i.e. κ=1λmin⁡\kappa = \frac{1}{\lambda_{\min}}. This is the actual κ\kappa which appears in the statement of Theorem 1.

  3. The fifth column is the number of iterations (tt) taken by SGD (m=1, no momentum) to converge within error tolerance of 10−710^{-7}, i.e., ∥∣(K+λI)wt−y∥∣<10−7∥∣y∥∣\||(K+\lambda I)w_t-y\|| < 10^{-7}\||y\||. Note that SGD reaches ϵ\epsilon error in O(κlog⁡(1/ϵ))O(\kappa \log(1/\epsilon)). Therefore, the numbers in the fifth column should be within a constant factor of the numbers in the fourth column.

  4. The sixth column is simply the square root of κ\kappa from the fourth column.

  5. The last column (critical mm) is the empirically observed value of mm in the iteration plot of Figure 1 where the blue curve (CD + NAG,β=1−1/m)(\text{CD + NAG}, \beta=1-1/m) achieves its minimum value and starts to increase again. This is the point at which the benefit of momentum acceleration saturates in our experiments. According to our theory, this critical mm should be close to κ\sqrt{\kappa}.

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

Missing a submission?

Loading the discussion…