Skip to main content
QUICK REVIEW

[Paper Review] On the Role of Batch Size in Stochastic Conditional Gradient Methods

Rustem Islamov, Roman Machacek|arXiv (Cornell University)|Mar 22, 2026
Stochastic Gradient Optimization TechniquesComputer Science0 citations
TL;DR

This paper analyzes how batch size, sequence length, and token budget interact in stochastic conditional gradient methods under a Mu-Kurdyka–Łojasiewicz (μ-KL) condition, derives a BST scaling rule, and proposes adaptive strategies with theory-backed guidelines validated on NanoGPT.

ABSTRACT

We study the role of batch size in stochastic conditional gradient methods under a $μ$-Kurdyka-Łojasiewicz ($μ$-KL) condition. Focusing on momentum-based stochastic conditional gradient algorithms (e.g., Scion), we derive a new analysis that explicitly captures the interaction between stepsize, batch size, and stochastic noise. Our study reveals a regime-dependent behavior: increasing the batch size initially improves optimization accuracy but, beyond a critical threshold, the benefits saturate and can eventually degrade performance under a fixed token budget. Notably, the theory predicts the magnitude of the optimal stepsize and aligns well with empirical practices observed in large-scale training. Leveraging these insights, we derive principled guidelines for selecting the batch size and stepsize, and propose an adaptive strategy that increases batch size and sequence length during training while preserving convergence guarantees. Experiments on NanoGPT are consistent with the theoretical predictions and illustrate the emergence of the predicted scaling regimes. Overall, our results provide a theoretical framework for understanding batch size scaling in stochastic conditional gradient methods and offer guidance for designing efficient training schedules in large-scale optimization.

Motivation & Objective

  • Motivate and study how batch size, sequence length, and token budget jointly affect optimization in stochastic conditional gradient methods.
  • Derive explicit error bounds as a function of batch size, sequence length, and total token budget under a μ-KL condition.
  • Identify regime-specific behavior and the critical BST scaling BS ~ T^{2/3} where performance is optimized.
  • Provide practical guidelines and adaptive strategies for choosing and updating (B, S, β) during training under fixed token budgets.

Proposed method

  • Formulate stochastic SCG with momentum under a μ-KL error bound and smoothness assumptions.
  • Derive convergence guarantees with explicit dependence on batch size B, sequence length S, and token budget T.
  • Translate iteration complexity to token complexity via T = KBS to obtain BST scaling rules.
  • Derive and present the BST scaling: BS ~ T^{2/3}, β ~ 1/K, α = const, and a two-stage training protocol.
  • Propose adaptive scheduling rules for adjusting B, S, and β across training stages and token-budget growth.
  • Validate theory with experiments on NanoGPT showing regime transitions and alignment with predictions.

Experimental results

Research questions

  • RQ1How do batch size B, sequence length S, and token budget T jointly influence optimization error under stochastic SCG with μ-KL?
  • RQ2What is the regime-dependent behavior of performance as BS changes, and what is the optimal BST scaling under a fixed token budget?
  • RQ3Can we derive practical, token-budget-aware guidelines for adapting (B, S, β) during training?
  • RQ4Do the theoretical predictions hold empirically on large-scale language model training (NanoGPT) and how do they manifest in regime transitions?

Key findings

  • There are three regimes: noise-dominated (increasing BS helps), intermediate (error largely independent of BS), and large-batch (error grows with BS under fixed T).
  • The BST scaling rule BS ~ T^{2/3} captures the principal tradeoffs and yields a regime where large batches can be effective with proper scaling.
  • The Frank–Wolfe stepsize β should scale as 1/K and momentum α can be kept constant under BST, enabling token-budget-aware schedules.
  • A two-stage (or multi-stage) training protocol with adaptive BST and step-size preserves convergence guarantees while improving token efficiency.
  • Empirical results on NanoGPT align with the predicted scaling regimes and demonstrate the emergence of the scaling behavior with increasing token budgets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.