Explore the research collection
6 entries · Follow this search
- Paper
One Model to Loop Them All: Elastic Latent Recurrence for Language Models
Looped language models apply a shared block of layers repeatedly, so one checkpoint can trade inference compute for accuracy by changing the loop count — but existing elastic-depth models (Huginn, Ouro, Parcae) pay a "one-loop tax": at one loop they fall well short of a non-recurrent model of the same size, so a separate non-recurrent model remains the better choice whenever latency matters. Elastic Latent Recurrence (ELR) is NVIDIA's recipe for removing the tax, built on three choices. (1) An adaptive-delta state update: instead of replacing the recurrent state with the block's output, the state takes a gated step along the proposed change with a learned per-token, per-channel step size — the only update rule ablated that matches the baseline at one loop. (2) Loop counts mixed within each optimizer update via one-loop rank overrides (a rotating fraction of data-parallel ranks always runs one loop, keeping p₁≈⅓), which places one-loop and deeper gradients in the same update; uniform or globally reweighted sampling without overrides does not preserve the one-loop endpoint. (3) Loop-conditioned modulation: each pass is conditioned on its progress (i/k) and budget (k/K) through AdaLN/FiLM-style modulation, zero-initialized and grafted when mixed-depth training begins so the model starts as exactly the one-loop checkpoint; it lowers loss at every additional loop. Supporting tricks: delayed mixed-depth training (one loop for the first 75% of pretraining) costs ~1.16× baseline training compute and, with grafted conditioning, beats mixed-depth training from scratch; cross-loop route replay (reusing first-loop MoE expert routes on later loops) cuts mixed-depth update time 11.7% with no measurable accuracy change; last-loop KV caching keeps one attention cache overwritten per loop, holding KV memory at the one-loop level with 0–3-point per-benchmark cost. On Nemotron-3-style hybrid backbones (52 layers: 23 Gated DeltaProduct + 6 attention + 23 feed-forward, middle 24 looped), ELR at one loop scores −0.52 (4B dense, 1T tokens) and +1.04 (30B-A3B MoE, 300B tokens) versus matched non-recurrent baselines on a ten-task average, and four loops add +7.25 and +4.75 points, with the second loop capturing ~80–87% of the gain. Carried through 7T-token pretraining, 256K-context mid-training, SFT, and RLVR, the recipe yields Koi-4B, a single checkpoint scoring an estimated 18 on the Artificial Analysis Intelligence Index at one loop (on par with Qwen3.5-4B) and 29 at four loops, with higher-loop rollouts also producing ~33% fewer output tokens.
- Paper
Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
NVIDIA paper on choosing which base checkpoint deserves an expensive round of agentic post-training. The problem: end-to-end SWE-bench Verified pass@K is near zero for base checkpoints because untuned base models cannot reliably operate tool-use harnesses (Appendix F; the dair_ai thread reports six base models with five solving zero tasks), while non-agentic coding benchmarks correlate inconsistently with post-trained agentic performance (across ten base/post-trained pairs, Spearman rho with post-trained SWE-bench Verified pass@1 ranges from 0.830 on RepoBench XFirst to -0.394 on HumanEval). The method treats successful post-trained agent trajectories as a lookahead signal of base-model potential: replay each trajectory and rerun the task's tests after every code-changing step; the decisive step T* is the first step whose cumulative patch flips the repository from failing to passing, and its action is the golden action - produced by a real coding agent and certified by the same verifier that defines task success, not the human-written gold patch. Three screens are built at the decisive step, none requiring the base checkpoint to drive the harness from a cold start: (i) Decisive-Action BPB (bits per byte) measures the byte-normalized probability mass the checkpoint assigns to the golden action; (ii) Patch MCQ tests the checkpoint's choice between the golden action and distractor alternatives rejected by the same verifier; (iii) prefix-conditioned pass@K draws K continuations from the decisive step and lets the task's own verifier judge them, crediting any continuation the tests accept. Across ten pairs of public base and post-trained models, all three screens rank the cohort in close agreement with post-trained SWE-bench Verified pass@1: Decisive-Action BPB reaches Spearman rho=0.964 on held-out trajectories from DeepSWE (a separate agentic coding benchmark), Patch MCQ reaches rho=0.903, and prefix-conditioned pass@K at K=16 reaches rho=0.988 on SWE-bench Verified trajectories. The construction is a generic recipe: any agentic coding benchmark with successful trajectories and a verifier can be converted into a base-model evaluation. Related-work details worth knowing: motivated by the coverage principle (base-model mass on high-quality behaviors bounds post-training gains); their audit of 1,682 APTBench MCQs found designated-correct options that were wrong or not unique, which motivates the verifier-certified distractor construction for Patch MCQ. License: (c) 2026 NVIDIA, all rights reserved - not CC-BY. No code repo found at catalog time.
- Paper
NeMo-DCR: Bit-Exact Delta-Compressed Refit for Scalable Agentic RL at Trillion-Parameter Scale
NeMo-DCR (Delta-Compressed Refit): bit-exact weight synchronization from training to rollout clusters for agentic RL, where each policy update must reach the rollout clusters before the next batch. Measurements of BF16 training show about 1% of weights (0.6-1.2% across the six models measured) change their stored values per RL step, yet a standard refit copies the full checkpoint every update - 87.5 minutes for a 1T model between two AWS regions. NeMo-DCR sends only the changes and still yields the exact same parameter and buffer bits as a dense refit. For placement, fixed affine mappings project changes from training shards into the checkpoint's canonical coordinates (residual conversion covers the rest), and the serving runtime's native loader places all changes in receiver storage. For exactness, compressible XOR masks carry affine changes whose projection and loader preserve stored bits, while overwrites carry the others; receivers apply both in place. For efficiency, object storage or a relay tree streams payloads while the delta is still being built, with no cross-cluster collective. Retries overwrite partial writes, and a joint commit binds the policy to the baseline for the next delta, recovering from mid-refit failures. Even at 3% and 5% change rates, refits of 30B-1T models are 12-40x faster than a transport-only full-checkpoint reference: a 1T relay-tree refit at 3% change rate takes 150 seconds instead of 87.5 minutes, making refits practical for cross-cluster agentic RL at trillion-parameter scale.
- Paper
UNREAL: Unifying Retrieval and Long-Context with a Single Model
NVIDIA's UNREAL makes RAG and long-context inference two scales of one model-internal evidence-selection mechanism, replacing external bi-encoder retrievers and rerankers. The LLM backbone stays completely frozen; the only trainable parts are fewer than 500K parameters: learned retrieval tokens (a soft prompt appended after the query that elicits a retrieval mode) and layer-mixing weights that combine residual-stream states across layers for evidence ranking. Each corpus chunk is encoded independently by the frozen LLM at an intermediate layer; the query's residual states at the retrieval-token positions (conditioned on the query plus a BM25 initial context) score every chunk via late-interaction MaxSim, trained with a multi-positive InfoNCE contrastive loss. Because the readout operates on the residual stream, the same module works across dense-attention, linear-attention, state-space, and hybrid architectures. On a 3B-token, 21M-chunk Wikipedia index, all four tested UNREAL backbones outperform state-of-the-art retriever-reranker systems: the best raises recall from 49.1% to 73.2% on HotpotQA, 31.7% to 60.1% on 2WikiMultiHopQA, and 8.8% to 14.4% on MuSiQue. The same retrieval-trained module prunes distractors before generation in long-context tasks: NoLiMa accuracy jumps from 1.0% to 24.83% at 128K tokens, and LV-Eval F1 from 49.97% to 54.66% at 256K. Relative to full-context inference, UNREAL reduces FLOPs and time-to-first-token from roughly 32K tokens onward, with larger gains as context grows. arXiv 2610.08463 (cs.CL), submitted 6 Oct 2026; CC BY 4.0. No code repo linked on arXiv at catalog time.
- Paper
NVIDIA Nemotron Nano 2: An Accurate and Efficient Hybrid Mamba-Transformer Reasoning Model
Technical report for NVIDIA's Nemotron Nano 2 family (9B/12B hybrid Mamba-Transformer reasoning models, 128K context) trained on the Nemotron pretraining dataset that includes Nemotron-CC-v2.
- Paper
Pretraining Large Language Models with NVFP4
Large Language Models (LLMs) today are powerful problem solvers across many domains, and they continue to get stronger as they scale in model size, training set size, and training set quality, as shown by extensive research and experimentation across the industry. Training a frontier model today requires on the order o…