# Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima

DevFeed: [Nexus: Same Pretraining Loss, Better Downstream Generalization via Common Minima](<https://devfeed.tech/articles/nexus-same-pretraining-loss-better-downstream-generalization-via-common-minima-120403.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2604.09258>)

Author: Huanran Chen, Huaqing Zhang, Xiao Li, Yinpeng Dong, Ke Shen, Jun Zhu

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [arxiv](<https://devfeed.tech/tags/arxiv.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [improvement](<https://devfeed.tech/tags/improvement.md>), [internet](<https://devfeed.tech/tags/internet.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [nexus](<https://devfeed.tech/tags/nexus.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pretraining](<https://devfeed.tech/tags/pretraining.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [sources](<https://devfeed.tech/tags/sources.md>), [standard](<https://devfeed.tech/tags/standard.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

## AI overview

The abstract reports that Nexus seeks better downstream generalization by bringing data source specific minima closer during pretraining. It does this by maximizing gradient similarity, addressing a pattern the authors say they observe with standard optimizers such as AdamW, which can converge where those minima remain distant. Across models from 130M to 3B parameters and varied data mixtures and schedules, Nexus reportedly improves downstream performance at the same pretraining loss. On a 3B model, the authors report a 0.012 reduction in out of distribution loss and up to a 15.0% accuracy gain on complex reasoning tasks such as GSM8k. The results suggest pretraining loss alone may not capture downstream generalization. This overview is based on the supplied abstract.

## Source excerpt

arXiv:2604.09258v3 Announce Type: replace Abstract: The foundational capabilities of large language models are acquired during pretraining on internet-scale, highly heterogeneous data mixtures. In this work, we investigate an interesting geometric question regarding the converged state of pretraining: Does the model converge to a common minimizer across all data sources (e.g., Fig. 2b), or merely a minimizer of the summed loss (e.g., Fig. 2a)? We hypothesize that the geometric "closeness" of task-specific minima is intrinsically linked to downstream generalization. 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 Nexus optimizer, which encourages the closeness of these minima by maximizing gradient similarity during optimization. Experiments across models ranging from 130M to 3B parameters, various data mixtures and hyperparameter schedules, show that Nexus significantly boosts downstream performance, despite achieving the same pretraining loss (see Fig. 1). 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). This finding challenges the reliance on pretraining loss as the sole proxy for model evaluation and demonstrates the importance of implicit biases in unlocking downstream generalization.