- Rating
- 5
- Clarity
- 4
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 4
Read review
Summary
This work studies optimizer algorithms for LLM pretraining, aiming to improve generalization on downstream tasks. The authors provide a theoretical analysis identifying the geometric closeness between the converged parameters and task-specific minimizers as a key driver of downstream generalization, and propose Nexus, a feasible approximation algorithm that encourages this closeness by maximizing gradient similarity across tasks. Notably, these downstream gains are achieved at the same pretraining loss. Empirically, the authors validate Nexus across model scales from 130M to 3B parameters, reporting consistent downstream improvements at matched pretraining loss. Overall, the paper addresses an important problem and offers a clear and practically useful approach.
Strengths and weaknesses
Strengths: This is a good paper that addresses an important and timely problem: why models with the same pretraining loss can differ in downstream generalization. The authors identify closeness as the key factor, and propose Nexus to optimize it. The theoretical analysis is clear and motivates the method well, decomposing the downstream loss into closeness and flatness terms. The experiments support the claims, showing consistent downstream gains at matched pretraining loss across model scales. The paper also makes a nice observation that Muon improves downstream performance because it reaches a lower pretraining loss, not through a distinct implicit bias, which cleanly contrasts with Nexus.
Weaknesses: My main concern is the lack of baselines. The only external comparison is Muon; the other methods are ablations of Nexus itself. Two baselines are missing:
- Reptile [1] /Lookahead [2], whose update rule (take several inner steps, use the displacement as the outer gradient) is essentially the same mechanism as Nexus, so a comparison is needed to show the closeness framing adds value beyond the existing mechanism;
- SAM [3], which the paper's own closeness × flatness decomposition motivates — it would test whether the gains come from closeness rather than incidental flattening.
Adding these would significantly strengthen the paper.
[1] Nichol, Alex, Joshua Achiam, and John Schulman. "On first-order meta-learning algorithms." arXiv preprint arXiv:1803.02999 (2018).
[2] Zhang, Michael, et al. "Lookahead optimizer: k steps forward, 1 step back." Advances in neural information processing systems 32 (2019).
[3] Oikonomou, Dimitris, and Nicolas Loizou. "Sharpness-aware minimization: General analysis and improved rates." arXiv preprint arXiv:2503.02225 (2025).
Questions
- How does Nexus compare to the baselines listed in the Weaknesses section?
- The robustness experiments (Sec. H.3) hold the sampler fixed and vary only the data proportions. However, since Nexus maximizes cosine similarity between consecutive mini-batches, the regularizer's behavior should depend on the sampling strategy, not just the mixture. Could the authors clarify:
- What fraction of consecutive batches are actually drawn from different sources in their setup?
- How robust Nexus is to sampling strategies that violate the diversity assumption — e.g., source-contiguous or curriculum samplers, where consecutive batches tend to come from the same source?
Limitations
yes
Paper formatting concerns
No.
Final justification
Although SAM can also achieve the “same pretraining loss, better downstream performance” effect, this paper provides some new insights into generalization. I support accepting this paper.
Thank you for the review and for the constructive questions on training dynamics, uncertainty, and positioning. We respond to each point below.
Thank you for your suggestions. We ran two additional 1B runs and one additional 3B run. The standard deviations are listed as follows:
This is consistent with [1] (Fig. 6) and [2] (Appendix C.1, "Seed science"), which suggest that pretraining loss variance is typically small, often within
0.01. This is also why we use0.01as the significance level in the paper. Since all of our runs use the same data order due to infrastructure constraints, the remaining variance in our setup should be smaller than0.01.Thank you for your suggestions. We will describe Nexus more consistently as a gradient approximator / regularizer built on top of a base optimizer, rather than as a standalone optimizer.
Thank you for your advice. We agree that Theorem 2.1 should be positioned as motivation, and we will make this positioning clearer in the revision.
Thank you for your advice. We will revise the wording around Muon to make this point more precise and avoid overstating the comparison.
Thank you for this suggestion. In the revision, we will include the full plot of gradient similarity throughout training in the paper.
At present, due to the rebuttal format, we can only present summary tables. Therefore, for the
3Bmodel, we report the pretrain-to-OOD gradient similarity at representative early, middle, and late checkpoints under differentinner LRsettings below. As discussed in the paper, the loss : regularizer ratio is approximately1 : O(inner LR), so a largerinner LRimplies a larger regularizer coefficient.The late-stage gradient similarity decreases toward zero because the model is approaching convergence. If the gradient similarity remained significantly positive, that would generally indicate that the model is not yet near a stationary point, since $ \left\| \sum_i g_i \right\|^2 = \sum_i \|g_i\|^2 + \sum_{i \ne j} g_i^\top g_j $.
We also conducted an additional experiment on the
1Bmodel to isolate the regularization effect more directly. Specifically, we use twice the compute: one pass to compute theNexus directionand one pass to compute thevanilla direction. We then defineNexus regularizer = Nexus direction - vanilla direction, and train withNexus direction + λ * Nexus regularizer. The results are as follows.These results suggest that increasing the regularization strength initially improves gradient similarity and downstream performance, until an overly large
λbegins to hurt both pretraining and downstream performance.Thank you for this suggestion. We agree that representation-space or function-space similarity could also be useful alternatives. In this work, however, we focus on gradient similarity because it has the most direct first-order connection to downstream generalization. In particular, by the first-order Taylor expansion in the paper, LT(θ−η∇Ltrain(θ))=LT(θ)−η∇LT(θ)⊤∇Ltrain(θ)+O(η2). Therefore, to first order, the downstream loss decrease is directly controlled by the alignment between the training gradient and the downstream gradient. Under gradient flow, this relation can be stated more strongly as an exact identity rather than a first-order approximation. If θ˙(t)=−η(t)∇θLtrain(t). then dtdLT(t)=−η(t)∇θLT(t)⊤∇θLtrain(t). so LT(T)−LT(0)=−∫0Tη(t)∇θLtrain(t)⊤∇θLT(t),dt. Likewise, Ltrain(T)−Ltrain(0)=−∫0Tη(t)∣∇θLtrain(t)∣2,dt. Therefore, the downstream loss change can also be written as an integral along the training loss: LT(T)−LT(0)=∫Ltrain(0)Ltrain(T)∣∇Ltrain∣2∇LT⊤∇Ltrain,dLtrain. If ∣∇Ltrain∣2∇LT⊤∇Ltrain is improved by δ throughout training, then ΔLT=(Ltrain(T)−Ltrain(0))δ. For this reason, a small improvement in gradient similarity may lead to more than
0.01improvement in downstream loss.Thank you for this question. We did not sweep a grid of hyperparameters for Nexus to find an optimal
inner LR. Instead, our tuning principle is to make theinner LRas large as possible while still matching the baseline in thesame pretraining lossregime, thereby maximizing the coefficient of the regularization term.Although the MuP implementations of NSGD and AdamW are not theoretically identical, we believe this tuning principle can still identify a suitable
inner LRquickly in practice.Kmatters.Thank you for this question. Since we cannot change the data order due to infrastructure constraints,
Kmainly determines the micro-batch granularity. For example, when the global batch size is256,K=2means that Nexus encourages gradient similarity between two128-sample micro-batches, whileK=4means that Nexus encourages gradient similarity among four64-sample micro-batches.Empirically, when
K <= 4, the performance of Nexus appears quite stable with respect toK:K=2)K=4, in the paper)Reference
[1] PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runs.
[2] Pre-training under Infinite Compute.