Skip to content

Priming Base Models for Agentic Post-Training: An Open Midtraining Recipe

Oct 2026 · 0 citations · 61 references
Computer Science

TL;DR

An open midtraining recipe is presented that primes base models for agentic post-training, and its effectiveness on two Nemotron models of different sizes is shown, improving robustness across agent harnesses on both models.

Abstract

Frontier models, general-purpose and domain-specific alike, now include a midtraining stage between pretraining and post-training, but little has been published about how this stage is built. We present an open midtraining recipe that primes base models for agentic post-training, and we show its effectiveness on two Nemotron models of different sizes. Pretraining typically runs at short context and sees almost no agent interactions, while SFT data is mostly synthetic, and very long SFT stages can hurt the model's later RL trainability. Our midtraining stage sits between the two. It trains at 256K context for hundreds of billions of tokens on a diverse mixture of natural software-engineering data like packed repositories, pull requests, commit histories, and build logs together with a small share of agentic traces. On Nemotron 3.5 Lightning, 500B midtraining tokens improve SWE-bench Verified from 60.7 to 64.5, SWE-bench Multilingual from 55.8 to 62.8, and SWE-bench Pro from 32.0 to 35.5 after identical full SFT. On the larger Nemotron 3.5 Super, 280B midtraining tokens improve DeepSWE, a harder benchmark of long-horizon tasks, from 11.7 to 15.7 and SWE-bench Verified from 72.9 to 74.3 after identical full SFT. Midtraining also improves robustness across agent harnesses on both models. We report the ablations behind the recipe and an evaluation protocol built on short fixed SFT runs, since base-model proxy metrics did not correlate reliably with post-training results.

View source

Similar papers

#natural language process... Preprint Sep 2026

Inoculation Midtraining with Learned Neologisms

Results show that inoculation with a learned association introduced via midtraining can shape selective generalisation, and more work is needed before this approach can become a load-bearing component in a developer's safety framework.

Kyle O'Brien, Edward James Young, Puria Radmard et al. · 0 citations
Preprint Aug 2026

SPT: Skills as Pre-Training Data for Agentic Language Models

Experiments show that SPT consistently improves agentic performance over mid-training on general or trajectory data, while largely preserving general performance, indicating that skill packages are a valuable data source for pre-training agentic language models.

Yufei Sun, Yu-Dong Li, Yi-Min Cheng · 0 citations
#artificial intelligence Preprint Oct 2026

A Sovereign, Indic-First, Reasoning Model

Gnani-Evon-v3.3-30B-A3B is a long-context hybrid Mamba-Transformer mixture-of-experts model for reasoning, instruction following, and tool use in English and eight Indian languages. Starting from NVIDIA's Nemotron-3-Nano-30B-A3B checkpoint, it retains the 52-layer backbone and changes the vocabulary, training data, and...

Sutanshu Saksena Raj, Prasanjith Pasunuti, Parijat Chatterjee et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Self-Designed Evaluators and Warm Memory for Long-Horizon Agents

SelfSuite is presented, in which the agent's own base model, given only the world's public materials, designs a small evaluation suite of weighted judges and grounded per-task briefs, freezes it, and uses it to gate a keep-best retry and to label a typed, outcome-tracked memory.

Saeid Asgari, Emre Kıcıman, Leonardo de Oliveira Nunes et al. · 0 citations
#natural language process... Preprint Oct 2026

TrajLong: Co-Designing Agentic and Long-Context Supervision for Mid-Training

This work introduces TrajLong, a novel framework that compiles trajectories into long-context training tasks with dense supervision, targeting three representative atomic capabilities: evidence grounding, cross-evidence aggregation, and temporal state maintenance, and investigates the relationship between long-context...

Miao Peng, Qin-Tong Zhang, Nuo Chen et al. · 0 citations
#machine learning Preprint Oct 2026

Out of Support, Not Out of Reach: In-Context Learning with Unsupported Instructions and Composed Tasks

In-Context Learning (ICL) enables pretrained LLMs to adapt to downstream tasks from a small set of input-output demonstrations, without parameter updates. Yet existing theory primarily explains ICL as identifying a latent task already represented in pretraining, leaving unclear whether ICL can succeed when either the i...

Xu-Han Tong, Yu-Chen Zeng, Jia-Wei Zhang · 0 citations

Related blog posts

MIT News · Artificial Intelligence Sep 29, 2026

Who we become when we talk to machines

Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.