Split-Half Step Agreement: Sizing Batches for Optimizers That Separate Direction from Step Size

Several recent optimizers split each update into two separate decisions. One decides which way to move: the sign of each coordinate, or the nearest orthogonal matrix. The other decides how far to move, using a scalar or per-coordinate scale. Examples are Signum, Grams, and Muon. For these optimizers, the batch size (how many examples are averaged into each gradient estimate) no longer controls how large the step is. Its main job is to make the chosen direction reliable. This note proposes measuring that reliability directly. At each measurement step we split the global batch into two halves, run each half through the optimizer's own direction rule, and use the agreement between the two resulting steps to decide when to double the batch. We also make the step-size channel insensitive to batch size, so that growing the batch does not silently change how far the model moves.

The opportunity is concrete. Geometry-aware batch schedules already cut gradient steps by 66% at matched validation loss for Signum and Muon on a 160M Llama trained on C4 (Adaptive Batch Sizes Using Non-Euclidean Gradient Noise Scales). That result has two limits. The derivation covers only memoryless sign and spectral descent. Its spectral version costs up to 40% extra compute at 1B parameters. Split-half agreement needs no optimizer-specific derivation, covers optimizers with momentum by construction, and for Muon costs two extra orthogonalizations every few steps.

Core Claim

Consider an optimizer whose update is $d(g; s)$, a direction map applied to a gradient estimate $g$ given optimizer state $s$ (for example momentum), which is then scaled by a separately computed magnitude. For such an optimizer, the quantity a batch-size controller should target is how much of the step is signal and how much is noise. Draw two independent half-batch gradients $g_1, g_2$ of size $B/2$ that share the same state $s$. Because their noise is independent,

$$ \mathbb{E}\,\langle d(g_1; s),\, d(g_2; s)\rangle \;=\; \big\|\mathbb{E}\, d(g_{B/2}; s)\big\|^2 , $$

where $g_{B/2}$ is a gradient averaged over $B/2$ examples. For direction maps of fixed norm (sign vectors, orthogonal matrices), dividing by $\|d\|^2$ gives the signal fraction $\rho(B/2)\in[0,1]$. This is the share of the step that would survive averaging over infinitely many independent batches. It is measured in the geometry the optimizer actually uses, so no dual-norm theory is required.

The controller doubles $B$ when $\rho$, projected to the current batch size, falls below a target $\tau$. Doubling respects the power-of-two layouts that sharded training requires. In parallel, the magnitude channel is made invariant to batch size by averaging squared micro-batch gradients, following Batch size invariant Adam. Batch size then governs only direction reliability, and changing it does not perturb the step scale.

This division of labor is the new element. Prior controllers either measure raw-gradient noise and hand the gradient to an optimizer that couples direction and size, or derive a noise scale for one specific stateless update rule.

Relation to Prior Work

Three lines of work motivate the proposal by showing that directional statistics can drive batch size.

Dynamically Adjusting Transformer Batch Size by Monitoring Gradient Direction Change accumulates micro-batches until the angle of the running gradient stops stabilizing. It reports +0.73 BLEU on WMT14 En-De and roughly halved training time.

SimiGrad sizes batches from the cosine similarity between gradients from two groups of replicas. It reached 78k-sample batches on BERT-Large with 10–15 ms overhead.

Both measure agreement of the raw Euclidean gradient and then feed it to Adam. SimiGrad's replica-split is mechanically the closest thing to our measurement. The difference is that we measure agreement after the optimizer's direction map and momentum. For sign and spectral updates the two can diverge sharply. Euclidean cosine is dominated by a few large coordinates or singular directions, whereas a sign or orthogonal update weights all of them equally.

Naganuma et al. supply the key constraint. Euclidean noise scale mismatches sign and spectral geometry, and the ℓ1 dual-norm version trains signSGD noticeably better. Our measurement inherits that lesson without re-deriving a dual norm per optimizer. It also addresses what their paper names as open: stateful optimizers with momentum. For spectral updates it replaces Gram-matrix eigendecompositions with the orthogonalization Muon already performs.

Two further lines constrain how the measurement is used.

On magnitude, AdaBatchGrad shows that an adaptive step size can act as a safety net when batch tests accept noisy gradients. It pays for this with AdaGrad's monotone decay, and it is evaluated only on small convex and CNN tasks. We rely on the decoupled optimizer's own magnitude channel instead.

On schedules, Critical Batch Size Revisited finds that the useful batch size grows early and then plateaus, and that this trajectory is nearly identical at 1B and 7B. That finding is the strongest argument that a fixed schedule could suffice, and we treat it as the main threat below.

The direction maps themselves come from existing optimizers:

Research Program

The estimator. We will build $\rho$ inside a data-parallel training loop. Ranks are split into two fixed groups. Each group all-reduces its own half gradient, which adds one extra reduction on a measurement step. Each half is then passed through the optimizer's direction map using the shared momentum state. For Signum this is the sign of the updated momentum. For Grams it is the sign of the raw half gradient, because Grams keeps momentum out of the direction. For Muon it is a Newton–Schulz orthogonalization of each half's momentum. The inner product is taken layer by layer and aggregated.

Projecting to full batch size. Converting $\rho(B/2)$ into a projection at $B$ requires a noise model.

  • For sign maps, a per-coordinate Gaussian model gives a closed form linking half-batch agreement to per-coordinate signal-to-noise ratio. Signal-to-noise ratio scales as $\sqrt{B}$ under averaging.
  • For Muon, we fit $\rho$ empirically over occasional three-point checks at $B/4$, $B/2$ and $B$.
  • A layer-subsampled variant, motivated by the finding that LayerNorm-only noise estimates track full-model estimates at $r\approx 0.99$ (Normalization Layer Per-Example Gradients), will test whether a few layers suffice.

The analysis. For Grams, the measurement makes a sharp, falsifiable prediction. Because Grams' direction carries no momentum smoothing, its $\rho$ at a given batch size should be much lower than Signum-with-momentum's. Its controller should therefore request larger batches. This quantifies the small-batch sign-flip concern raised about Grams.

For momentum optimizers, high $\beta$ inflates agreement, because both halves share the momentum. We will check whether this reflects genuine reliability or merely stale consensus. To do so, we compare $\rho$ against the alignment of each step with a large held-out reference gradient. This check is also how we validate the estimator as a whole.

Baselines

Naive reference: constant batch. Each optimizer (Signum with momentum, Grams, Muon) is trained at a constant batch size with warmup and cosine decay. The learning rate is tuned per optimizer over the same grid given to every method. The same token budget and model are used. This is the reference that every step-savings number is measured against.

Strongest existing method: Naganuma et al.'s non-Euclidean GNS schedules. These are ℓ1 GNS for Signum and nuclear-norm GNS for Muon, run with the authors' distributed variance estimator on the same 160M and 1B Llama/C4 setup they used. On that setup they report a 66% reduction in gradient steps at matched validation loss for both Signum and Muon, with under 1% overhead for ℓ1 and up to 40% for the spectral version at 1B. It is the strongest competitor because it is the only method already built for sign and spectral geometry. Beating it means two things:

  • For Muon, matching its step reduction and validation loss at a fraction of its wall-clock overhead.
  • For Grams and momentum Signum, which lie outside its theory, reaching the same validation loss in fewer steps. For these optimizers we will apply its formulas as-is.

Critical-batch-size warmup. The dynamic batch warmup of Critical Batch Size Revisited is fitted once by branched mini-runs and then fixed. On OLMo 1B it reports 43% fewer gradient steps, with final loss 2.5891 against 2.6057 for the small-batch control and 2.5962 for the fixed large-batch control. We will fit it to our setup with the same branching budget. Its branching cost counts against it in the compute total.

Euclidean-agreement ablation. A SimiGrad-style controller computes the cosine of the raw half gradients, using the same split, the same doubling rule and a threshold tuned over the same grid. This isolates the key ingredient: measuring agreement after the direction map rather than before it.

Two further ablations.

  • Turning off micro-batch squared averaging in the magnitude channel tests whether batch-size invariance matters under a changing batch.
  • Excluding momentum from the direction map during measurement tests whether measuring the actual step is necessary.

Why not just…?

Why not just use a fixed ramp fitted once, since critical batch size is scale-invariant? This is a real threat. Merrill et al. show the trajectory transfers from 1B to 7B, which suggests one fitted schedule may be all anyone needs. Our response is empirical. We will fit their warmup to each optimizer and compare. If a fixed ramp matches our controller in steps and loss, the right conclusion is that online control is unnecessary, and we will report that.

The controller could still earn its place in two ways. It could remove the branched mini-runs (about 2B tokens each in their setup). It could also behave differently across optimizers: Naganuma et al. find improvement curves with respect to batch size that are convex for sign and spectral methods, unlike SGD. A schedule fitted for AdamW may then misplace the knee. We test this by transferring a ramp fitted for one optimizer to another.

Why not just use raw-gradient cosine agreement as SimiGrad does? It is cheaper and nearly identical in mechanism. For Adam-like optimizers it may well suffice. The evidence against it for decoupled optimizers is indirect: the ℓ2-versus-ℓ1 mismatch that Naganuma et al. document for signSGD. The Euclidean-agreement ablation is the direct test. If raw cosine matches our measurement on Signum and Muon, the post-map measurement adds nothing, and we will say so.

Why not just apply Naganuma et al.'s ℓ1 GNS, which costs under 1% overhead, and ignore momentum? For Signum this may work well. Our claimed advantage there is modest. The case for split-half agreement rests on two situations. The first is Muon, where their spectral estimator is expensive. The second is Grams, where the direction comes from a gradient without momentum while the magnitude uses momentum, and their theory does not cover that split. Running their estimator unmodified on these optimizers settles whether its mismatch costs anything.

Why not just keep the batch small and let the magnitude channel absorb the noise, as a line search or $L^4$ would? AdaBatchGrad documents that stochastic line searches accept noisy directions and diverge. $L^4$ reports that smooth magnitude adaptation alone loses test accuracy to piecewise decay on CIFAR-10. Magnitude can shrink a bad step, but it cannot correct its direction. A constant-small-batch arm with the same decoupled optimizer is included in the constant-batch baseline to confirm this in our setting.

Proposed Experiments

Main setting. Llama 160M and 1B pretrained on C4, matching Naganuma et al. so that their 66% figure is a like-for-like reference. Optimizers are Signum with momentum, Grams and Muon. Grams' reported Llama-60M C4 perplexity of 38.60 against Adam's 49.83 (Grams) gives a small-scale sanity check before scaling up.

Replication setting. The 274M NanoGPT on 1.4B tokens of FineWeb-Edu (HuggingFaceFW/fineweb), where DeVA reports 6.6% fewer tokens than Muon ( Decoupling Variance and Scale-Invariant Updates in Adaptive Gradient Descent for Unified Vector and Matrix Optimization). This adds DeVA's direction map as a fourth optimizer.

Metrics. For each method we report:

  • validation loss at a fixed token budget;
  • gradient steps to a target loss;
  • wall-clock time including measurement and branching overhead;
  • final downstream zero-shot accuracy on a small suite.

Decisive checks. The first check validates the estimator. On a held-out set of steps, $\rho$ should predict alignment with a very-large-batch reference direction better than raw-gradient cosine does. If it does not, the core claim fails.

The second check is the Grams prediction. Its controller should request measurably larger batches than momentum Signum's at matched loss.

The third check is Muon. It should reach Naganuma et al.'s step savings with overhead near that of their ℓ1 estimator rather than their spectral one.

The fourth check is the fixed-ramp comparison, which decides whether closed-loop control is worth deploying at all.