Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima
Huanran Chen, Huaqing Zhang, Xiao Li, Yinpeng Dong, Ke Shen, Jun Zhu
HiLD @ ICML 2026
TL;DR. We achieve "same pretraining loss, better downstream generalization" in LLM pretraining by inducing an implicit bias toward minimizer closeness.
Abstract. The foundational capabilities of large language models are acquired during pretraining on internet-scale, highly heterogeneous data mixtures. In this work, we investigate a geometric question regarding the converged state of this pretraining process: Does the model converge to a common minimizer across all data sources (e.g., \cref{fig:cwa_illustration:close}), or merely a minimizer of the averaged loss (e.g., \cref{fig:cwa_illustration:distant})? We hypothesize that the geometric ``closeness'' of task-specific minima is intrinsically linked to downstream generalization. However, we reveal that standard optimizers (e.g., AdamW) often converge to points where task-specific minima are distant from each other. To address this, we propose the \textit{Nexus} optimizer, which encourages the closeness of these minima by maximizing gradient similarity during optimization. Extensive experiments across models ranging from 130M to 3B parameters demonstrate that Nexus significantly boosts downstream performance, despite achieving nearly \textit{the same pretraining loss} (see \cref{fig:demo:benchmark}). Notably, on the 3B model, Nexus reduces the out-of-distribution loss by 0.012 and yields up to a 15.0% accuracy improvement on complex reasoning tasks (e.g., GSM8k). Our findings challenge the reliance on pretraining loss as the sole proxy for model evaluation and highlight the critical role of optimizer implicit bias in unlocking downstream generalization.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies why models with similar pretraining loss can differ in downstream performance and introduces Nexus, which modifies gradient accumulation to increase cross-source gradient similarity and bring task-specific minima closer.
Reviewers consider the question important. Two view the theoretical development positively, and the experiments report downstream gains at matched pretraining loss across model scales from 130M to 3B parameters.
The following concerns should be addressed.
- The theory relies on idealized assumptions, including IID tasks, strong curvature conditions, and downstream tasks drawn from the same latent distribution as the pretraining sources. Please clarify its scope and whether consecutive minibatches provide cross-source information under the reported sampler, source imbalance, and alternative data orderings.
- The main results lack seed variation and uncertainty estimates, while the reported changes in gradient similarity and parameter closeness are small. Please provide representative multiseed results and track these diagnostics throughout training. Figure 2, whose panels use different tasks and downstream losses, does not establish a link to downstream gains.
- Please compare against Reptile/Lookahead and SAM, clarify the claimed Muon compatibility and comparable performance, and describe Nexus consistently as either an optimizer or a gradient approximator/regularizer used with a base optimizer.
- Please report wall-clock overhead and clarify whether the comparison with doubling pretraining compute uses a compute-matched AdamW run or an extrapolation.
Final justification
I have read the authors' response and the discussion with reviewers. The rebuttal addressed the main concerns mention in my initial meta review, including multiseed results for 1B and 3B, gradient similarity tracked during training, and direct SAM and Reptile-style comparisons, among others.
There is remaining disagreement among the reviewers about the positioning of the paper: SAM also provides the same-pretraining-loss, better-downstream effect, so Nexus is not yet cleanly isolated as a distinct mechanism. But this paper offers a concrete closeness-based explanation of why pretraining loss does not fully characterize downstream performance, together with a practical method that delivers gains across scales. This perspective is interesting and valuable. I therefore recommend acceptance.
The authors should incorporate the reviews and discussion into the revision.
Read meta-review
Meta-review
The paper studies why models with similar pretraining loss can differ in downstream performance and introduces Nexus, which modifies gradient accumulation to increase cross-source gradient similarity and bring task-specific minima closer.
Reviewers consider the question important. Two view the theoretical development positively, and the experiments report downstream gains at matched pretraining loss across model scales from 130M to 3B parameters.
The following concerns should be addressed.
- The theory relies on idealized assumptions, including IID tasks, strong curvature conditions, and downstream tasks drawn from the same latent distribution as the pretraining sources. Please clarify its scope and whether consecutive minibatches provide cross-source information under the reported sampler, source imbalance, and alternative data orderings.
- The main results lack seed variation and uncertainty estimates, while the reported changes in gradient similarity and parameter closeness are small. Please provide representative multiseed results and track these diagnostics throughout training. Figure 2, whose panels use different tasks and downstream losses, does not establish a link to downstream gains.
- Please compare against Reptile/Lookahead and SAM, clarify the claimed Muon compatibility and comparable performance, and describe Nexus consistently as either an optimizer or a gradient approximator/regularizer used with a base optimizer.
- Please report wall-clock overhead and clarify whether the comparison with doubling pretraining compute uses a compute-matched AdamW run or an extrapolation.
Final justification
I have read the authors' response and the discussion with reviewers. The rebuttal addressed the main concerns mention in my initial meta review, including multiseed results for 1B and 3B, gradient similarity tracked during training, and direct SAM and Reptile-style comparisons, among others.
There is remaining disagreement among the reviewers about the positioning of the paper: SAM also provides the same-pretraining-loss, better-downstream effect, so Nexus is not yet cleanly isolated as a distinct mechanism. But this paper offers a concrete closeness-based explanation of why pretraining loss does not fully characterize downstream performance, together with a practical method that delivers gains across scales. This perspective is interesting and valuable. I therefore recommend acceptance.
The authors should incorporate the reviews and discussion into the revision.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
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.
Formatting concerns
No.
6 comments
Part 1/2
Thank you for the review and for these insightful suggestions. We appreciate the suggestions, and respond to each point below.
- Missing baselines / Reptile and SAM.
Thank you for these insightful suggestions. We agree that these baselines are relevant, and we discuss them separately below.
For Reptile, we agree that the high-level inner-outer structure looks similar. However, as discussed in Sec. 3, the key point in Nexus is not the loop structure alone, but the specific role of the inner and outer updates: the outer step is a standard optimizer update, while the inner steps serve as a gradient approximator for the similarity-inducing effect. Correspondingly, as we also discuss in the Appendix, the inner step in Nexus must remain a simple memory-free update such as NSGD. Otherwise, historical momentum would unequally weight the first-order gradients from different inner steps and disrupt the intended similarity-maximization effect. In this sense, Nexus is not simply reusing Reptile in a new setting; rather, it uses a more constrained inner-outer design to induce gradient closeness in standard LLM pretraining. To make this distinction concrete, we compare the inner optimizer of NSGD, SGDM, and AdamW below (the first two lines are from the paper's 1B main-results table):
| Method | pretraining loss | OOD loss | avg downstream loss | avg downstream benchmark |
|---|---|---|---|---|
| AdamW | 1.826 | 1.433 | 1.786 | 21.9 |
| Nexus (inner NSGD, outer AdamW) | 1.826 | 1.428 | 1.758 | 23.6 |
| Nexus (inner SGDM, outer AdamW) | 1.820 | 1.431 | 1.780 | 22.7 |
| Nexus (inner AdamW, outer SGD) | 1.937 | 1.506 | 1.864 | 17.0 |
For SAM, we agree that this is an important baseline. As discussed in our related work section, a concurrent work [4] uses SAM and reports a similar "same pretraining loss, better downstream performance" phenomenon in LLM pretraining. We also measured the top Hessian eigenvalue statistics of 1B AdamW and Nexus during training, and indeed find that Nexus is substantially flatter than AdamW:
| Step | Method | top-1 | avg top-4 | avg top-16 |
|---|---|---|---|---|
| 10000 | AdamW | 3.668 | 3.034 | 2.095 |
| 10000 | Nexus | 2.652 | 1.507 | 0.823 |
| 20000 | AdamW | 3.926 | 3.312 | 2.628 |
| 20000 | Nexus | 1.296 | 1.119 | 0.713 |
| 30000 | AdamW | 3.477 | 2.600 | 1.803 |
| 30000 | Nexus | 1.091 | 0.940 | 0.633 |
| 40000 | AdamW | 6.189 | 4.815 | 3.597 |
| 40000 | Nexus | 0.891 | 0.812 | 0.608 |
| 50000 | AdamW | 8.330 | 7.072 | 5.930 |
| 50000 | Nexus | 1.609 | 1.385 | 0.989 |
We therefore agree with the reviewer's point that, at present, it is difficult to cleanly disentangle the closeness and flatness hypotheses. It seems that fully ablating this point may require simultaneously controlling two regularization effects, namely maximizing gradient similarity and maximizing sharpness (to hold flatness approximately fixed); otherwise, it is difficult to isolate them cleanly. We are currently trying to supplement such an experiment. For this reason, we currently do not want to overclaim that our evidence uniquely isolates closeness from incidental flattening. Our intended claim is narrower: closeness is the main perspective developed in this paper, both theoretically and algorithmically, while we agree that closeness and flatness may be difficult to cleanly disentangle in practice and may in fact be coupled.
Part 2/2
- Sampler / whether Nexus depends on consecutive batches coming from different sources.
Thank you for raising this important question. We agree that this point was not clarified clearly enough in the paper, and we would like to clarify it here.
To begin with, Nexus and the baseline use the same data order in all of our experiments. This is determined by the training infrastructure, and we did not modify data order.
Under the corpus-level notion of source used in the OLMo V2 mixture, we think the intuition in the paper is reasonable. OLMo V2 contains 112,601 corpora, while we follow [1] with batch size 256. At this scale, two consecutive mini-batches are overwhelmingly likely to be drawn from different corpora.
More importantly, we do not view "source" itself as the most fundamental notion here. We believe the more essential condition for Nexus is that consecutive micro-batches are sufficiently heterogeneous and initially have relatively low gradient similarity, so that increasing their similarity can meaningfully change training dynamics. In Nexus, the resulting loss : regularizer ratio is approximately 1 : O(inner LR). The following experiments with different regularizer coefficients (inner LR) may better justify this point.
| Inner LR | pretrain loss | grad sim on Pretrain | grad sim Between Pretrain and OOD | avg downstream loss | avg downstream benchmark |
|---|---|---|---|---|---|
| baseline | 1.606 | 0.4499 | 0.2228 | 1.633 | 37.1 |
| 0.01 | 1.598 | 0.4540 | 0.2252 | 1.623 | 38.2 |
| 0.04 | 1.600 | 0.5416 | 0.2880 | 1.612 | 39.5 |
| 0.10 | 1.602 | 0.5465 | 0.3042 | 1.609 | 40.2 |
| 0.40 | 1.622 | 0.5656 | 0.3514 | 1.629 | 37.7 |
Within the same pretrain loss regime (baseline, 0.01, 0.04, 0.1), larger inner LR means a larger regularizer coefficient. Correspondingly, the gradient similarity between consecutive pretraining batches increases, and the gradient similarity between pretraining and OOD data also increases. By Eq. (8) in the paper, this is exactly the setting where, at the same pretraining loss, higher similarity implies better downstream generalization. We believe these results support the view that Nexus improves generalization by increasing the gradient similarity of consecutive heterogeneous micro-batches that are initially relatively dissimilar.
Reference
-
[1] Wen et al. 2025, Fantastic Pretraining Optimizers and Where to Find Them.
-
[2] Nichol et al. 2018, On First-Order Meta-Learning Algorithms.
-
[3] Oikonomou and Loizou. 2025, Sharpness-Aware Minimization: General Analysis and Improved Rates.
-
[4] Watts et al. 2026, Sharpness-Aware Pretraining Mitigates Catastrophic Forgetting.
Thanks to the authors for the response, but I think my points were missed.
- Thanks for addressing the novelty question, but what about the performance comparison?
- The inner LR sweep varies the regularizer strength while holding the sampler fixed, so heterogeneity is the same across all five runs. My question was what happens when it is reduced. Could you run a small test (130M would be enough) with source-contiguous vs shuffled sampling? Combining a few clearly distinct datasets would make the heterogeneity easy to control. Also, could you report the initial gradient similarity?
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes Nexus, a gradient approximator built atop a base optimizer, which encourages task-specific local minima to be geometrically closer by maximizing similarity between their respective gradients. The authors posit that this closeness of task-specific minima is coupled with better downstream performance, and construct their argument starting from studying a convex quadratic and a subsequent toy model, and provide rigorous supporting theory. They state the algorithm and provide relevant implementation details. The authors provide extensive empirical results demonstrating the efficacy of nexus in boosting downstream performance despite attaining similar pre-training loss, calling into question whether or not pretraining loss actually informs model quality, and how optimizer design may improve downstream generalization.
Strengths and weaknesses
Strengths:
- This paper asks a timely and important question. With many new optimization papers, most fixate on aggressive validation loss minimization, when this may not be a reliable proxy for downstream performance.
- The theoretical development is strong: Theorem 3.1 which upper bounds geometric closeness with cosine similarity, is clever. Theorem 3.2 is also strong: and helped contextualize why the nexus inner loop approximately optimizes the second-orde
- I appreciate the theoretical rigor the authors provide, especially in appendices E, F, and G. In appendix G, this sort of third-order analysis is valuable for understanding fine-grained behavior of modern optimizers and is of benefit to the community. Overall, the authors genuinely attempt to give a mechanistic explanation of the technique, which is refreshing.
- The scaling analysis is practically useful, and the fact that gains grow with model scale is extremely compelling.
Weaknesses
- My biggest problem with this paper is that none of the main experimental results are mentioned to have multiple seeds. I don’t see error bars on any error bars or standard deviations on tables. Many of the gains are modest enough to the point where I’d consider them seed noise without more rigorous evaluation.
- You brand Nexus as an optimizer in the title, but acknowledge it as a gradient approximator/regularization method in section 3, the latter of which is more accurate. If you go with approximator/regularizer, it’s easier to understand the compositionality with existing optimizers, and it avoids overselling the method as a standalone optimizer
- Figure 2 is misleading because it seems like the authors would like to demonstrate that an intersection type minimizer yields different, perhaps favorable downstream performance, but panels a and b feature different tasks and downstream losses, which just depict a favorable toy setting.
- Theorem 2.1 provides useful intuition, but the assumptions are very strong; in particular, the IID tasks and isotropic curvature are particularly unrealistic for LLM pretraining. My biggest problem with this theorem is that implicitly, spread out task optima would seemingly increase generalization error, but in practice, choosing diverse tasks almost always helps downstream. That being said, this theorem is not key to their paper, and mostly provides intuition for the imposing closeness.
- The authors claim compatibility with muon in the introduction (line 151), but the paper doesn’t seem to have nexus + muon results. They acknowledge this in the limitations, saying that Muon-Nexus underperforms Adam-Nexus. Still, the contribution should be reframed here.
- Muon is compared to Nexus in Table 10 under Appendix H.7. Here, Muon outperforms Adam + Nexus on all benchmarks except math (where Nexus does drastically outperform Muon) and code-humaneval. This is referred to as “comparable performance,” but I don’t think that’s the case. Here, Muon achieves a lower pretraining and validation loss than Adam and Adam+nexus, which does seem to contradict the author’s main claim.
- I would appreciate a plot of what the gradient similarities look like THROUGHOUT the course of training. Because these gradients live in a high-dimensional space, it’s often the case that similarity measures are quite small (everything being approximately orthogonal). Table 2 corroborates this observation, where the gradient similarities and parameter closeness are extremely similar between both Adam and Adam+nexus, so how can we know that your optimizer is performing as intended? I’d like to see rigorous experimental evidence that closeness/similarity between minima actually triggers downstream gains.
- To this end, I think that strict geometric similarity in parameter space may not actually squeeze as much juice from this approach as possible. Did you try other similarity measures, perhaps one that lives in representation or function space?
Questions
- Is it possible to provide multiseed evaluations/more rigorous statistics on all of your experiments?
- Does hyperparameter transfer persist with Nexus as in \mu P? Did you sweep a grid of hyperparameters for Nexus as well?
- Does the granularity or number of tasks k, affect the performance of Nexus?
- Can you show me experiments + ablations, even on a small model, that show that the closeness/similarity actually meaningfully changes over the course of training, and subsequently improves generalization?
Limitations
yes
Final justification
Please read the strengths portion of my review for the justification of my recommendation. I raised my score because the reviewers addressed my concerns in the weaknesses portion of the review, which I weigh heavily. I still think there's "juice left to squeeze" regarding what geometry to consider similarity under, and perhaps some more due diligence on hyperparameter/scaling of the inner rate, which is why I didn't give a higher rating. Overall, great work!
Formatting concerns
n/a
3 comments
Rebuttal
Thank you for the review and for the constructive questions on training dynamics, uncertainty, and positioning. We respond to each point below.
- Representative multiseed results / uncertainty estimates.
Thank you for your suggestions. We ran two additional 1B runs and one additional 3B run. The standard deviations are listed as follows:
| Setting | Method | Pretrain loss (mean +- std) | Avg downstream loss (mean +- std) | Avg downstream benchmark (mean +- std) |
|---|---|---|---|---|
| 1B | AdamW | 1.818 +- 0.0055 | 1.786 +- 0.0012 | 22.43 +- 0.41 |
| 1B | Nexus | 1.818 +- 0.0055 | 1.756 +- 0.0017 | 24.07 +- 0.59 |
| 3B | AdamW | 1.607 +- 0.0005 | 1.631 +- 0.0020 | 37.40 +- 0.30 |
| 3B | Nexus | 1.602 +- 0.0000 | 1.609 +- 0.0000 | 40.33 +- 0.12 |
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 use 0.01 as 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 than 0.01.
- Positioning / optimizer vs. gradient approximator or regularizer.
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.
- Theorem 2.1 should position as motivation.
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.
- Muon compatibility / comparison / wording in the introduction and limitations.
Thank you for your advice. We will revise the wording around Muon to make this point more precise and avoid overstating the comparison.
- Training dynamics / whether the optimizer is performing as intended throughout training.
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 3B model, we report the pretrain-to-OOD gradient similarity at representative early, middle, and late checkpoints under different inner LR settings below. As discussed in the paper, the loss : regularizer ratio is approximately 1 : O(inner LR), so a larger inner LR implies a larger regularizer coefficient.
| Inner LR | Early pretrain-OOD sim (step 1000) | Mid pretrain-OOD sim (step 55000) | Late pretrain-OOD sim (step 110000) |
|---|---|---|---|
| baseline | 0.4638 | 0.1719 | 0.0022 |
| 0.01 | 0.5196 | 0.1903 | 0.0076 |
| 0.04 | 0.4802 | 0.2362 | 0.0090 |
| 0.10 | 0.5851 | 0.2644 | 0.0079 |
| 0.40 | 0.7273 | 0.3601 | 0.0091 |
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 1B model to isolate the regularization effect more directly. Specifically, we use twice the compute: one pass to compute the Nexus direction and one pass to compute the vanilla direction. We then define Nexus regularizer = Nexus direction - vanilla direction, and train with Nexus direction + λ * Nexus regularizer. The results are as follows.
| λ | pretrain loss | grad sim on Pretrain | grad sim Between Pretrain and OOD | avg downstream loss | avg downstream benchmark |
|---|---|---|---|---|---|
| AdamW | 1.826 | 0.600 | 0.314 | 1.786 | 21.9 |
| 0.0 (Nexus) | 1.826 | 0.619 | 0.331 | 1.758 | 23.6 |
| 0.1 | 1.823 | 0.654 | 0.348 | 1.733 | 25.1 |
| 0.2 | 1.842 | 0.758 | 0.481 | 1.823 | 20.9 |
| 0.4 | 1.963 | 0.877 | 0.631 | 1.888 | 18.8 |
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.
- Other similarity measures / whether representation- or function-space similarity could be useful.
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,
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
then
so
Likewise,
Therefore, the downstream loss change can also be written as an integral along the training loss:
If
is improved by throughout training, then
For this reason, a small improvement in gradient similarity may lead to more than 0.01 improvement in downstream loss.
- Hyperparameter transfer / whether Nexus preserves transfer behavior.
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 the inner LR as large as possible while still matching the baseline in the same pretraining loss regime, 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 LR quickly in practice.
- Task granularity / whether the number or granularity of tasks
Kmatters.
Thank you for this question. Since we cannot change the data order due to infrastructure constraints, K mainly determines the micro-batch granularity. For example, when the global batch size is 256, K=2 means that Nexus encourages gradient similarity between two 128-sample micro-batches, while K=4 means that Nexus encourages gradient similarity among four 64-sample micro-batches.
Empirically, when K <= 4, the performance of Nexus appears quite stable with respect to K:
| Model | Method | Pretrain loss | Avg downstream loss | Avg downstream benchmark |
|---|---|---|---|---|
| 3B | Nexus (K=2) |
1.602 | 1.609 | 40.2 |
| 3B | Nexus (K=4, in the paper) |
1.602 | 1.609 | 40.3 |
Reference
-
[1] PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runs.
-
[2] Pre-training under Infinite Compute.
Thank you for the comprehensive response and additional experiments. I believe this paper is highly valuable to the community and will raise my score to 5.
Thank you very much for your positive feedback and for reconsidering our work. We sincerely appreciate your thoughtful review and constructive suggestions, which have helped us improve the paper substantially.
- Rating
- 3/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The submission proposes an optimizer (Nexus) which has a modification intended to encourage common minima across pretraining data sources by maximizing gradient similarity. While the motivation is intuitively appealing, I do not find the paper scientifically convincing. The central contribution appears to be a heuristic modification of gradient accumulation using an auxiliary inner model while the paper presents it as if it were supported by a much stronger theory.
Strengths and weaknesses
Strengths
-
The paper is well motivate, and written.
-
The problem is interesting: studying the implicit bias of optimizers in pretraining.
Weaknesses
-
The key results rely on highly idealized assumptions: i.i.d. tasks examples, locally and directionally strongly convex landscapes (at least in the theory part), and downstream tasks sampled from the same latent distribution as pretraining sources.
-
Algorithm 2 operates over consecutive mini-batches inside gradient accumulation. The claim that consecutive mini-batches are “highly likely” to come from different sources is asserted rather than measured.
Overall this submission has an interesting optimizer heuristic, but the theory is too idealized (e.g. theorems are not back of the envelope) and the writing repeatedly turns assumptions into conclusions.
Questions
-
Can you report actual wall-clock throughput compared to Adam-W?
-
The paper claims the downstream-loss improvement is comparable to what typically requires doubling pretraining compute. Did you actually run a compute-matched AdamW baseline with more tokens or FLOPs, or is this only inferred from prior scaling-law literature?
-
How sensitive is Nexus to source imbalance and data ordering?
Limitations
see above.
Final justification
I thank the authors for the detailed rebuttal and additional experiments. After the rebuttal, I am raising my score from 2 to 3. Mainly I still see that Nexus still reads more like a useful heuristic or regularizer than a clearly isolated new mechanism. The added SAM/Reptile-style discussion is helpful but it also shows that similar methods can achieve the same headline phenomenon. Thus I think the paper needs more careful positioning within this broader family of methods.
Formatting concerns
The writing is fine.
2 comments
Dear Reviewer,
As the Phase 2 discussion period is coming to a close, we would greatly appreciate any feedback you may have on our clarifications and additional evidence. If any concerns remain, we would be happy to address them.
Best regards,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for summarizing the reviewers' concerns. We addressed all four groups of concerns through additional experiments, clarifications, and revised claims. For convenience, we summarize the resolution and its location for each concern below.
Resolution: theory scope and sampler robustness clarified.
1.857vs.2.159pretraining loss;19.4vs.14.3average benchmark).Resolution: uncertainty and training dynamics now quantified.
1Bruns and one additional3Brun, reporting mean and standard deviation for pretraining loss, downstream loss, and benchmark accuracy.Resolution: baseline comparisons expanded and positioning corrected.
Resolution: overhead measured and unsupported compute claim removed.
0.55%for1Band2.52%for3B.