On the Role of Batch Size in Stochastic Conditional Gradient Methods
summary
The gist
The gist The study derives a new analysis that explicitly captures the interaction between stepsize, batch size, and stochastic noise in momentum-based stochastic conditional gradient methods under a
In short
The study analyzes how batch size affects momentum-based optimization methods under a specific mathematical condition ($\mu$-Kurdyka–Łojasiewicz condition). It finds that increasing batch size helps initially, but beyond a certain point, it saturates or degrades performance if the total token budget is fixed. A derived scaling rule suggests setting the effective batch-sequence scale to $BS \sim T^{2/3}$ for optimal efficiency.
Key concepts
- $\mu$-Kurdyka–Łojasiewicz ($\mu$-KL) condition
- This is a mathematical property that describes the shape of the loss function in optimization. It guarantees that the optimization process will converge reliably, even when dealing with non-smooth functions, by ensuring a certain level of regularity near the minimum.
- Effective Batch–Sequence Scale (BS)
- This concept combines batch size ($B$) and sequence length ($S$) into a single measure. The paper shows that the optimal performance depends on this combined scale, not just batch size alone, guiding how to balance data utilization with computational constraints.
- BST Scaling Rule
- This is a derived formula suggesting an optimal relationship between the effective batch-sequence-token scale ($BS$) and the total token budget ($T$). It provides a concrete guideline for selecting $B$ and $S$ (e.g., $BS \sim T^{2/3}$) to maintain high efficiency across different model sizes.
Terminology used across episodes
This episode discusses
- On the Role of Batch Size in Stochastic Conditional Gradient Methods · Paper Radio
- Why Do We Need Warm-up? A Theoretical Perspective
- DeepSeek LLM: Scaling Open-Source Language Models with Longtermism
- Unbiased and Sign Compression in Distributed Learning: Comparing Noise Resilience via SDEs
- An Exploration of Non-Euclidean Gradient Descent: Muon and its Many Variants
- Don't be lazy: CompleteP enables compute-efficient deep transformers
- Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour
- No Wrong Turns: The Simple Geometry Of Neural Networks Optimization Paths
- Accelerated Methods for alpha-Weakly-Quasi-Convex Problems
- Training Compute-Optimal Large Language Models
- Scaling Laws for Neural Language Models
- Understanding Gradient Orthogonalization for Deep Learning via Non-Euclidean Trust-Region Optimization
- An Empirical Model of Large-Batch Training
- Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Duration
- Generalized Gradient Norm Clipping & Non-Euclidean (L 0,L 1) -Smoothness
- Gluon: Making Muon & Scion Great Again! (Bridging Theory and Practice of LMO-based Optimizers for LLMs)
- The Surprising Agreement Between Convex Optimization Theory and Learning-Rate Scheduling for Large Model Training
- RoFormer: Enhanced Transformer with Rotary Position Embedding
- Reevaluating Theoretical Analysis Methods for Optimization in Deep Learning
- Rethinking Conventional Wisdom in Machine Learning: From Generalization to Scaling
- Feature Learning in Infinite-Width Neural Networks
The paper
On the Role of Batch Size in Stochastic Conditional Gradient Methods · Read on arXiv
Rustem Islamov, Roman Machacek, Aurelien Lucchi, Antonio Silveti-Falls, Eduard Gorbunov, Volkan Cevher
University of Basel, Switzerland · University of Bern, Switzerland · CentraleSupélec, France · MBZUAI, UAE · EPFL, Switzerland
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.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Hi, I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "On the Role of Batch Size in Stochastic Conditional Gradient Methods".
Jane: Here's the gist of the paper. The gist The study derives a new analysis that explicitly captures the interaction between stepsize, batch size, and stochastic noise in momentum-based stochastic conditional gradient methods under a µKurdyka–Łojasiewicz (µ-KL) condition.
Tom: Role of Batch Size in Optimization The paper investigates the role of batch size in stochastic conditional gradient methods under a µ-KL condition, focusing on momentum-based algorithms like Scion, and reveals a regime-dependent behavior where increasing the batch size initially improves optimization accuracy but saturates beyond a critical threshold beyond a critical threshold, the benefits saturate and can eventually degrade performance under a fixed token budget.
Jane: The theory predicts the magnitude of the optimal stepsize and aligns well with empirical practices observed in large-scale training.
Tom: Theoretical Framework and Convergence Guarantees The analysis is conducted for stochastic optimization under smoothness (A1), norm equivalence (A2), and a µ-KL error bound (A3).
Title and authors: Tom: So we're looking at the paper "On the Role of Batch Size in Stochastic Conditional Gradient Methods," and what it's about is really about how batch size interacts with stepsize and noise when you use momentum-based methods.
Jane: It sounds super technical, so if I translate that, are they trying to figure out if making your batch size bigger always helps you train better, or if there's a point where it actually starts hurting things?
Lu: Exactly. The core idea here is that they’ve created a new analysis that explicitly captures how those three things—stepsize, batch size, and stochastic noise—are all linked together under this mu-KL condition.
Meng: So they're moving beyond just saying "big batches are better" and showing us the specific mathematical reason why that benefit eventually hits a ceiling when you have a fixed token budget.
Lalam: They specialize their convergence bounds for the fixed-token setting, which means they've made it explicit how much your optimization error depends on the effective batch-sequence scale BS, which is what they callBS star zero S star zero T one over T zero mu one over mu zero rho one over rho zero L one over L0 two over three.
Tom: That specific scaling rule they derive is actually a huge piece of information because it gives us a concrete target for setting our batch size and sequence length, rather than just guessing.
Jane: So what this means for the listener is that we’re not just looking at batch size in isolation; we have to consider how it relates to the overall token budget of the training run.
The paper's summary: Tom: We've covered the context, so now let's get into what they actually found in "On the Role of Batch Size in Stochastic Conditional Gradient Methods." They show a regime-dependent behavior where increasing batch size initially helps accuracy, but then beyond a certain point, it just levels off or starts getting worse under a fixed token budget.
Jane: When you say "level off," what does that look like in practice? Is the model still learning effectively even if we keep feeding it more data?
Lu: It means they found three distinct regimes: first, a noise-dominated regime where bigger batches are good; second, an intermediate regime where the best error doesn't change much with batch size; and third, a large-batch regime where performance actually starts to degrade under a fixed token budget.
Meng: That "too-large batch hurts" idea is important because it moves it from just being an observation from training runs to something they’ve modeled mathematically.
Lalam: They show that this happens even when using momentum-based algorithms like Scion, and they align this theory with what we see happening in large-scale training practices.
Tom: So the big takeaway here is that performance isn't just a smooth climb; it has these distinct phases depending on how you set your batch size and sequence length relative to the total token budget.
Jane: It’s a bit like trying to optimize a recipe: sometimes adding more ingredients makes things taste better, but past a certain point, you just end up with too much salt or too much sugar for the dish.
Lu: Precisely. And they derive this BST scaling rule, which is BS equal to T two over three up to some problem-dependent factors that they figured out themselves <ref:2603.21191#pg1>.
The paper's improvements: Tom: Now we get into the actionable advice from "On the Role of Batch Size in Stochastic Conditional Gradient Methods." This is where they give us strategies for actually designing our training schedules.
Jane: Are we talking about a specific schedule, like a warm-up phase that tells us when to change our batch size dynamically as training goes on?
Lu: They derive principled guidelines for selecting and updating the momentum parameter alpha by deriving scaling relations seven and eight, which helps with this.
Meng: And they propose a two-stage protocol, which can be generalized into multi-stage protocols, that they tested empirically on NanoGPT. That suggests we can actually build these stages directly into our training pipeline for better performance when scaling up the model size.
Lalam: For increasing the model size, the strategy involves picking B and S using that specific formula involving BS star zero S star zero T one over T zero mu one over mu zero rho one over rho zero L one over L0 two over three.
Tom: And then they scale the momentum parameter alpha by a factor involving square roots of those ratios, which is exactly what they suggest for keeping things stable when you switch from smaller base models to bigger ones, so we don't have to manually retune it.
Jane: So these improvements are focused on giving us concrete scaling relations and protocols that we can use to dynamically adjust batch size and sequence length as training progresses based on the available token budget, which sounds very practical for our production pipelines.
Lu: The main improvement is deriving this BST scaling rule itself, which tells us we should pick the batch size and sequence length right at that crossover point between the second and third regimes <ref:2603.21191#pg1>.
Conclusion: Tom: So we've covered a lot about "On the Role of Batch Size in Stochastic Conditional Gradient Methods." We've talked about the theoretical framework for batch size scaling and the new protocols they suggest.
Jane: What does this all mean for us as a listener who doesn't read the paper? Can you give us that final summary of what this means in plain English?
Lu: It means we have a new way to think about batch size not as a fixed number, but something that should be adjusted dynamically based on where we are in the training stage and how many tokens we have left.
Meng: For production, it means we can build more robust schedules that handle that saturation effect where performance levels off and starts degrading under resource constraints if we don't follow the right scaling rules.
Lalam: This paper gives us a framework for global scaling laws that were missing before, providing a solid mathematical foundation for how those components should scale globally with the token budget.
Tom: To wrap up, "On the Role of Batch Size in Stochastic Conditional Gradient Methods" gives us a solid theoretical framework for understanding batch size scaling in stochastic conditional gradient methods and offers guidance for designing efficient training schedules.
Jane: And for us, it means moving towards more principled guidelines for selecting batch size and sequence length based on that BST scaling rule and adaptive strategies validated on NanoGPT.
Lu: It offers a way to understand the paper's core idea: that large batch sizes don't inherently degrade performance when you choose your parameters according to the BST scaling rule, suggesting setting BS at the crossover between the second and third regime.
Meng: I just want to add that they also point out some limitations, like they didn’t provide explicit optimization error laws as functions of B S T, nor did they characterize exactly when increasing batch size becomes provably detrimental under a fixed token budget.
Lalam: They also flagged that the transfer of the momentum parameter alpha might be shifting to lower values when increasing model size because they think that could be due to insufficient data points or perhaps we should incorporate parameters like the token budget into their scaling analysis.
Tom: So, "On the Role of Batch Size in Stochastic Conditional Gradient Methods" gives us a solid theoretical framework for understanding batch size scaling in stochastic conditional gradient methods and offers guidance for designing efficient training schedules.
More episodes
- The day in conversation for 2026-10-23
- The day in conversation for 2026-10-24
- The day in conversation for 2026-10-24
- Daily Summary for 2026-10-24
- The day in conversation for 2026-10-13
- 2602.15355-DAV-GSWT: Diffusion-Active-View Sampling for Data-Efficient Gaussian Splatting Wang Tiles
- The day in conversation for 2026-10-14
- The day in conversation for 2026-10-15
- The day in conversation for 2026-10-16
- Daily Summary for 2026-10-23