Track VI · Frontier Tech Reports · 17/20

Nemotron 3 Ultra — 하이브리드 Mamba·LatentMoE와 다중 teacher 증류Nemotron 3 Ultra — hybrid Mamba, LatentMoE and multi-teacher distillation

NVIDIA의 550B-A55B 하이브리드 Mamba-Attention MoE 보고서를 읽는다. 층 배치가 KV cache를 어떻게 줄이는지, LatentMoE가 통신 예산을 expert 수로 바꾸는 계산, NVFP4 사전학습과 4/6 양자화, 그리고 열 개가 넘는 teacher를 on-policy로 합치는 MOPD의 목적함수를 직접 계산해 본다.A reading of NVIDIA's 550B-A55B hybrid Mamba-Attention MoE report. We work out how the layer layout shrinks the KV cache, how LatentMoE turns a communication budget into more experts, NVFP4 pretraining and 4/6 quantization, and the objective of MOPD, which merges more than ten teachers on-policy.

Nemotron 3 Ultra is the largest model in the Nemotron 3 family, released by NVIDIA in June 2026. Among the public reports from US labs, this lesson picks it for its methodological density. Google’s Gemma 4 report from the same period runs 17 pages and is mostly about architecture and evaluation, and Meta has not published an official technical report since Llama 3 (2024). The Ultra report spends 65 pages disclosing, with numbers, a hybrid Mamba-Attention architecture, LatentMoE, NVFP4 pretraining and its instabilities, multi-environment RLVR, on-policy distillation that merges more than ten teachers into one (MOPD), MTP-based rollout acceleration, and post-training quantization, and it also releases the weights, the data and even the RL environments. For anyone working on agentic post-training, the MOPD section alone is worth the read.

At a glance

ItemNemotron 3 Ultra
Lab · releaseNVIDIA · 2026-06 (arXiv 2606.15007, submitted June 12)
Size550B total / 55B active
Architecture108-layer hybrid: Mamba-2 48 · attention (GQA) 12 · LatentMoE 48, 2 MTP heads (shared weights)
MoE512 experts per layer, top-22, latent size 2048 (hidden 8192), shared expert (intermediate 10240)
Context1M tokens (RULER 1M: base 76.83, 94.7 after post-training)
Pretraining20T text tokens, NVFP4, two-phase mixture (15T diversity → 5T quality) + a 33B-token long-context phase
Post-trainingSFT → unified RLVR → MOPD twice (10+ domain teachers) → MTP Boosting
ReleasedBase, post-trained and NVFP4 checkpoints, GenRM, training recipes, data, RL environments (HuggingFace, GitHub NVIDIA-NeMo)
LinksarXiv · NVIDIA PDF · Recipes

What is new:

  • Super’s architecture, scaled up almost 5×. It is the same Mamba-2/attention/LatentMoE hybrid as Super (120B-A12B, 88 layers). Mamba-2 handles 80% of token mixing and there are only 12 attention layers, so decode memory and time are barely tied to length. In an 8K-input / 64K-output setting the report shows 5.9×, 4.8× and 1.6× higher throughput than GLM-5.1, Kimi-K2.6 and Qwen-3.5 respectively (§1, Figure 1).
  • NVFP4 pretraining at 550B scale. 20T tokens were trained with 4-bit GEMMs. The train-loss gap to control runs branched off in BF16 averages under 0.4% (§2.2, Figure 3). In exchange, the report also documents two divergences and its analysis of their causes (§2.7).
  • MOPD. Mixed-environment RLVR dilutes each domain’s signal; MOPD addresses this by training separate domain teachers and then giving token-level reverse-KL signals on the student’s rollouts. The report includes the ablation showing the teachers do not merge without warmup, and the limitation that it works poorly on reasoning (HLE) (§3.3).
  • MTP is used three times. As a pretraining auxiliary loss, for RL rollout acceleration (1.46× at k=5, §3.6.1), and for deployment-time speculative decoding (MTP Boosting, §3.4).
  • Post-training quantization chosen along a bits-per-element axis. NVFP4 routed experts plus FP8 for some layers, at 5.03 BPE, using Four-Over-Six, which picks per block whether the FP4 grid maximum is 4 or 6 (§4).

Architecture

Layer layout: mostly Mamba, attention as “anchors”

Ultra’s 108 layers repeat three block types in a fixed order (report Figure 2, Table 1). Token mixing is split between 48 Mamba-2 layers and 12 GQA attention layers, with 48 LatentMoE layers interleaved between them. The Super report calls attention the global “anchor” for propagating global information (§2.1.3). The attention layers have no positional embeddings, dropout or bias.

Mamba-2 (SSD) is a linear recurrence that carries a P×NP \times N state matrix hth_t per head. In head ii, for token tt‘s input xt∈RPx_t \in \mathbb{R}^P,

ht=at ht−1+xtBt⊤,yt=ht Ct,at=exp⁡(−ΔtA)∈(0,1)h_t = a_t\, h_{t-1} + x_t B_t^{\top}, \qquad y_t = h_t\, C_t, \qquad a_t = \exp(-\Delta_t A) \in (0,1)

where Bt,Ct∈RNB_t, C_t \in \mathbb{R}^N and Δt\Delta_t are computed from the input (a selective state space). The key point is that the size of hth_t does not depend on sequence length. One layer’s state is heads × head dim × state dim =256×64×128≈2.1M= 256 \times 64 \times 128 \approx 2.1\text{M} elements (Table 1). An attention layer, by contrast, keeps K,VK, V for every past token.

So the decode memory of one sequence is the sum of two terms:

nattn⋅2⋅nkv⋅dh⋅bKV⏟KV per token⋅T  +  nmamba⋅H⋅P⋅N⋅bSSM⏟constant\underbrace{n_{\text{attn}} \cdot 2 \cdot n_{kv} \cdot d_h \cdot b_{\text{KV}}}_{\text{KV per token}} \cdot T \;+\; \underbrace{n_{\text{mamba}} \cdot H \cdot P \cdot N \cdot b_{\text{SSM}}}_{\text{constant}}

Plugging in Ultra’s values (nattn=12, nkv=2, dh=128, nmamba=48, H=256, P=64, N=128n_{\text{attn}}=12,\ n_{kv}=2,\ d_h=128,\ n_{\text{mamba}}=48,\ H=256,\ P=64,\ N=128), the BF16 KV is 12⋅2⋅2⋅128⋅2=12,28812 \cdot 2 \cdot 2 \cdot 128 \cdot 2 = 12{,}288 bytes per token and the FP32 SSM state is about 403 MB per sequence. The two terms are equal at T=403MB/12KB=32,768T = 403\text{MB}/12\text{KB} = 32{,}768 tokens. At 1M tokens the KV is about 12.9 GB, 32 times the state, but had the same 60 mixing layers all been attention, the KV would be five times that. Check it yourself in the figure below.

→ Go deeper: Nemotron — the hybrid Mamba lineage for how this layout evolved, and Linear attention and SSMs for Mamba next to the other fixed-state layers.

Nemotron 3 Ultra는 NVIDIA가 2026년 6월에 낸 Nemotron 3 가족의 가장 큰 모델이다. 미국 연구소의 공개 보고서 가운데 이 레슨이 이것을 고른 이유는 방법론의 밀도다. 같은 시기 Google의 Gemma 4 보고서는 17쪽 분량에 구조와 평가 위주이고, Meta는 Llama 3(2024) 이후 공식 기술 보고서를 내지 않았다. Ultra 보고서는 65쪽에 걸쳐 하이브리드 Mamba-Attention 구조, LatentMoE, NVFP4 사전학습과 그 불안정, 다중 환경 RLVR, 열 개가 넘는 teacher를 하나로 합치는 on-policy distillation(MOPD), MTP 기반 rollout 가속, 사후 양자화를 숫자와 함께 공개하고, 가중치·데이터·RL 환경까지 공개했다. 에이전트 사후학습을 하는 사람에게 MOPD 절 하나만으로도 읽을 가치가 있다.

한눈에

항목Nemotron 3 Ultra
연구소 · 공개NVIDIA · 2026-06 (arXiv 2606.15007, 6월 12일 제출)
크기550B total / 55B active
구조108층 하이브리드: Mamba-2 48 · attention(GQA) 12 · LatentMoE 48, MTP head 2개(가중치 공유)
MoE층마다 512 experts, top-22, latent 크기 2048 (hidden 8192), shared expert(intermediate 10240)
컨텍스트1M 토큰 (RULER 1M에서 base 76.83, 사후학습 후 94.7)
사전학습20T 텍스트 토큰, NVFP4, 2단계 혼합(15T 다양성 → 5T 품질) + 33B 토큰 long-context 단계
사후학습SFT → 통합 RLVR → MOPD 2회(10개 이상의 domain teacher) → MTP Boosting
공개Base·사후학습·NVFP4 체크포인트, GenRM, 학습 레시피, 데이터, RL 환경 (HuggingFace, GitHub NVIDIA-NeMo)
링크arXiv · NVIDIA PDF · 레시피

무엇이 새로운가.

  • Super의 구조를 5배 가까이 키웠다. Super(120B-A12B, 88층)와 같은 Mamba-2/attention/LatentMoE 하이브리드다. token mixing의 80%를 Mamba-2가 맡고 attention은 12층뿐이라 decode 메모리와 시간이 길이에 거의 묶이지 않는다. 보고서는 8K 입력 / 64K 출력 설정에서 GLM-5.1, Kimi-K2.6, Qwen-3.5보다 각각 5.9배, 4.8배, 1.6배 높은 처리량을 보고한다(§1, Figure 1).
  • 550B 규모의 NVFP4 사전학습. 4비트 GEMM으로 20T 토큰을 학습했다. BF16으로 갈라 낸 대조 run과의 train loss 차이는 평균 0.4% 미만이다(§2.2, Figure 3). 대신 두 번의 발산과 그 원인 분석이 함께 실렸다(§2.7).
  • MOPD. 혼합 환경 RLVR이 도메인마다 묽어지는 문제를, 도메인별 teacher를 따로 키운 뒤 학생의 rollout에 토큰 단위 reverse-KL 신호를 주는 방식으로 합쳤다. warmup이 없으면 합쳐지지 않는다는 ablation과, 추론(HLE)에서는 잘 안 된다는 한계까지 적었다(§3.3).
  • MTP를 세 번 쓴다. 사전학습 보조 손실, RL rollout 가속(k=5에서 1.46배, §3.6.1), 배포용 speculative decoding(MTP Boosting, §3.4).
  • 사후 양자화를 bits-per-element 축으로 고른다. NVFP4 routed expert + FP8 일부 층으로 5.03 BPE를 택했고, 블록마다 FP4 격자 최댓값을 4와 6 중 고르는 Four-Over-Six를 썼다(§4).

아키텍처

층 배치: 대부분 Mamba, attention은 “닻”

Ultra의 108층은 세 종류의 블록이 정해진 순서로 반복된다(보고서 Figure 2, Table 1). token mixing은 Mamba-2 48층과 GQA attention 12층이 나눠 맡고, 그 사이마다 LatentMoE 48층이 들어간다. Super 보고서는 attention을 전역 정보 전달을 위한 global “anchor”라고 부른다(§2.1.3). attention 층에는 위치 임베딩, dropout, bias가 없다.

Mamba-2(SSD)는 head마다 P×NP \times N 크기의 상태 행렬 hth_t를 들고 다니는 선형 recurrence다. head ii에서 토큰 tt의 입력 xt∈RPx_t \in \mathbb{R}^P에 대해

ht=at ht−1+xtBt⊤,yt=ht Ct,at=exp⁡(−ΔtA)∈(0,1)h_t = a_t\, h_{t-1} + x_t B_t^{\top}, \qquad y_t = h_t\, C_t, \qquad a_t = \exp(-\Delta_t A) \in (0,1)

이고 Bt,Ct∈RNB_t, C_t \in \mathbb{R}^N, Δt\Delta_t는 입력에서 계산된다(선택적 상태공간). 핵심은 hth_t의 크기가 시퀀스 길이와 무관하다는 것이다. 한 층의 상태는 heads × head dim × state dim =256×64×128≈2.1M= 256 \times 64 \times 128 \approx 2.1\text{M} 원소다(Table 1). 반면 attention 층은 지나간 모든 토큰의 K,VK, V를 보관한다.

그래서 시퀀스 하나의 decode 메모리는 다음 두 항의 합이다.

nattn⋅2⋅nkv⋅dh⋅bKV⏟토큰당 KV⋅T  +  nmamba⋅H⋅P⋅N⋅bSSM⏟상수\underbrace{n_{\text{attn}} \cdot 2 \cdot n_{kv} \cdot d_h \cdot b_{\text{KV}}}_{\text{토큰당 KV}} \cdot T \;+\; \underbrace{n_{\text{mamba}} \cdot H \cdot P \cdot N \cdot b_{\text{SSM}}}_{\text{상수}}

Ultra 값(nattn=12, nkv=2, dh=128, nmamba=48, H=256, P=64, N=128n_{\text{attn}}=12,\ n_{kv}=2,\ d_h=128,\ n_{\text{mamba}}=48,\ H=256,\ P=64,\ N=128)을 넣으면 BF16 KV는 토큰당 12⋅2⋅2⋅128⋅2=12,28812 \cdot 2 \cdot 2 \cdot 128 \cdot 2 = 12{,}288 바이트, FP32 SSM 상태는 시퀀스당 약 403 MB다. 두 항은 T=403MB/12KB=32,768T = 403\text{MB}/12\text{KB} = 32{,}768 토큰에서 같아진다. 1M 토큰이면 KV가 약 12.9 GB로 상태보다 32배 크지만, 같은 60개 mixing 층을 모두 attention으로 채웠다면 KV는 그 다섯 배가 된다. 아래 그림에서 직접 확인해 보자.

→ 더 깊이: 이 배치가 어떻게 진화했는지는 Nemotron — Mamba 하이브리드 계보, Mamba를 다른 고정 크기 상태 층과 비교하는 것은 Linear attention과 SSM.

KV/토큰KV/token – SSM state/시퀀스SSM state/sequence – KV = SSM 지점KV = SSM at – 이 길이에서 합계total at this length – all-attention 대비vs all-attention –
The strip at the top unrolls the 108 layers of the report's Figure 2 exactly (Mamba-2 48 · attention 12 · LatentMoE 48). Drag the context length and only the KV cache of the 12 attention layers (blue) grows with length, while the state of the 48 Mamba layers (green) stays flat. Beyond a few tens of thousands of tokens the KV overtakes the state, but had the same 48 layers been attention too (dashed), the KV would be five times larger at 1M tokens. Figures are per sequence; conv state and activations are left out. 위 띠는 보고서 Figure 2의 108개 층을 그대로 펼친 것이다(Mamba-2 48 · attention 12 · LatentMoE 48). 컨텍스트 길이를 끌어 보면 attention 12층의 KV cache(파랑)만 길이에 비례해 커지고 Mamba 48층의 state(초록)는 평평하다. 수만 토큰을 넘으면 KV가 state를 추월하지만, 같은 48층을 attention으로 채웠다면(점선) 1M 토큰에서 다섯 배가 된다. 시퀀스 하나 기준이며 conv state와 activation은 뺐다.

This calculation ties into the report’s interpretation of throughput (§5.1). Prefill is bound by compute, that is, by active parameters, so Ultra with 55B active is at roughly a 3.2× disadvantage against Qwen-3.5 with 17B active, and in the 50K-input / 2K-output setting it does in fact trail Qwen-3.5 (Figure 15). Large-batch decode, on the other hand, is dominated by total weight I/O (550B vs 397B, about 1.39×) and token-mixing cost, and there the length-independent Mamba cost wins. In other words, the hybrid’s advantage comes from “agentic work with long outputs”.

The Mamba state has a price too. When a draft token is rejected in speculative decoding, attention can simply truncate its KV, but the Mamba state is a single value overwritten at every token, so there is no past to roll back to. The report solves this by snapshotting the SSM state at every draft step, and uses the same mechanism at fixed token intervals to implement prefix caching (§5.1).

→ Go deeper: Long-context serving — state snapshots and prefix caching for hybrid models.

LatentMoE: turning the communication budget into experts

The Super report (§2.1.1) splits MoE inference cost into two regimes. At small batch sizes the bottleneck is the memory bandwidth for reading expert weights (a d×md \times m matrix, with dd the hidden size and mm the expert hidden size); at large batch sizes it is all-to-all communication (d×Kd \times K per token). Quality depends on the nonlinear budget K⋅mK \cdot m and on the number of combinations (NK)\binom{N}{K}. That leaves dd as the only axis that can be reduced.

LatentMoE computes only the routed experts in a latent space Rℓ\mathbb{R}^{\ell}:

x~=W↓x∈Rℓ,y=x+W↑∑i∈TopK(g(x))gi(x) Ei(x~)+S(x)\tilde x = W_{\downarrow} x \in \mathbb{R}^{\ell}, \qquad y = x + W_{\uparrow} \sum_{i \in \text{TopK}(g(x))} g_i(x)\, E_i(\tilde x) + S(x)

The router gg and the shared expert SS run in the original dimension dd. Expert weights and all-to-all volume shrink by a factor of d/ℓd/\ell, and that saving is spent on N′=N d/ℓN' = N\, d/\ell and K′=K d/ℓK' = K\, d/\ell. Ultra has d=8192d = 8192 and ℓ=2048\ell = 2048, so d/ℓ=4d/\ell = 4, and it uses top-22 out of 512 experts (Table 1). Converted to a standard MoE of the same cost, that is 128 experts with top-5.5.

이 계산은 보고서의 throughput 해석과 맞물린다(§5.1). prefill은 연산량, 즉 active 파라미터에 묶이므로 55B active인 Ultra가 17B active인 Qwen-3.5보다 약 3.2배 불리하고, 실제로 50K 입력 / 2K 출력 설정에서는 Qwen-3.5에 뒤진다(Figure 15). 반대로 큰 batch decode는 전체 가중치 I/O(550B 대 397B, 약 1.39배)와 token mixing 비용이 좌우하는데, 여기서 길이에 무관한 Mamba 비용이 이긴다. 하이브리드의 이득은 “출력이 긴 에이전트 작업”에서 나온다는 뜻이다.

Mamba 상태에는 대가도 있다. speculative decoding에서 draft 토큰이 거절되면 attention은 KV를 잘라 내면 되지만, Mamba 상태는 토큰마다 덮어쓰이는 값 하나라 되돌릴 과거가 없다. 보고서는 draft step마다 SSM 상태를 snapshot해 해결하고, 같은 장치를 일정 토큰 간격으로 돌려 prefix caching도 구현했다(§5.1).

→ 더 깊이: 긴 문맥 서빙 — 하이브리드 모델의 상태 snapshot과 prefix caching.

LatentMoE: 통신 예산을 expert 수로 바꾸기

Super 보고서(§2.1.1)는 MoE 추론 비용을 두 갈래로 나눈다. 작은 batch에서는 expert 가중치를 읽는 메모리 대역폭(d×md \times m 행렬, dd hidden, mm expert hidden)이, 큰 batch에서는 all-to-all 통신(토큰당 d×Kd \times K)이 병목이다. 품질은 비선형 예산 K⋅mK \cdot m과 조합 수 (NK)\binom{N}{K}에 달려 있다. 그러면 줄일 수 있는 축은 dd뿐이다.

LatentMoE는 routed expert만 latent 공간 Rℓ\mathbb{R}^{\ell}에서 계산한다.

x~=W↓x∈Rℓ,y=x+W↑∑i∈TopK(g(x))gi(x) Ei(x~)+S(x)\tilde x = W_{\downarrow} x \in \mathbb{R}^{\ell}, \qquad y = x + W_{\uparrow} \sum_{i \in \text{TopK}(g(x))} g_i(x)\, E_i(\tilde x) + S(x)

router gg와 shared expert SS는 원래 차원 dd에서 돈다. expert 가중치와 all-to-all 양이 d/ℓd/\ell배 줄어든 만큼 N′=N d/ℓN' = N\, d/\ell, K′=K d/ℓK' = K\, d/\ell로 늘린다. Ultra는 d=8192d = 8192, ℓ=2048\ell = 2048이니 d/ℓ=4d/\ell = 4이고, 512 experts에서 top-22를 쓴다(Table 1). 같은 비용의 표준 MoE로 환산하면 128 experts에 top-5.5인 셈이다.

d/ℓ – experts N – top-K – 조합 수combinations log₁₀ C(N,K) – latent 투영 파라미터/층latent projection params/layer –
Keep Ultra's hidden d = 8192 and expert hidden m = 5120 and vary the latent size ℓ. ℓ = 2048 is Ultra (512 experts, top-22). With the box checked, per-token weight reads (∝ K·ℓ·m) and all-to-all traffic (∝ K·ℓ) stay put while the nonlinear budget K·m and the number of expert combinations grow (design principles 1–5 of the report). With the box unchecked, N and K stay fixed and shrinking ℓ simply cuts communication and memory cost. The report warns that shrinking ℓ too far collapses quality because of principle 4 (a lower bound on effective feature rank); the value of that bound is not disclosed. hidden d = 8192, expert hidden m = 5120은 Ultra 그대로 두고 latent 크기 ℓ을 바꿔 보자. ℓ = 2048이 Ultra(512 experts, top-22)다. 체크를 켜 두면 per-token 가중치 읽기(∝ K·ℓ·m)와 all-to-all 통신량(∝ K·ℓ)은 그대로인 채 비선형 예산 K·m과 expert 조합 수만 커진다(보고서의 설계 원칙 1–5). 체크를 끄면 같은 N, K에서 ℓ을 줄인 만큼 통신·메모리 비용이 그냥 줄어든다. ℓ을 너무 줄이면 원칙 4(유효 feature rank 하한) 때문에 품질이 무너진다고 보고서는 경고한다(하한 값은 공개되지 않았다).

In the figure’s “same budget” mode, shrinking ℓ\ell keeps weight reads and communication flat while only K⋅mK \cdot m and log⁡10(NK)\log_{10}\binom{N}{K} rise. It is not free. The two projections W↓,W↑W_\downarrow, W_\uparrow add 2dℓ2 d \ell parameters per layer (about 34M in Ultra), and shrinking ℓ\ell below the effective feature rank that principle 4 refers to makes quality collapse. The report does not give the value of that lower bound.

MTP head: one head, applied recursively

Ultra uses two MTP blocks, each made of one attention layer and one MoE layer, and the two blocks share weights (§2.1). Rather than independent heads that each handle a different offset, the same head is trained to be applied recursively, so at inference it can be run again and again to produce long drafts. The Super report explains that this sharing mitigates the drop in acceptance rate as draft depth grows (Super §2.1.2). The MTP loss coefficient in pretraining is 0.1 (0.05 per block). This small coefficient is tied to the cause of the first divergence we will see later.

→ Go deeper: Speculative decoding in depth — how an MTP head serves as a draft and what acceptance length buys.

Data

Pretraining: 20T tokens

The mixture inherits Super’s and Nano’s and adds new datasets (§2.3.6). Nineteen top-level categories are used in two phases: a diversity-oriented phase 1 up to about 15T (75%), and a quality-oriented phase 2 for the last 5T. The largest chunk is quality-filtered web crawl and its synthetic rewrites (crawl-*, syn-crawl-*), about 49% of phase 1 and about 38% of phase 2.

Category (Figure 4)phase 1phase 2
syn-crawl-high (synthetically rewritten web, high quality)22.4%22.4%
syn-crawl-medium10.3%3.8%
crawl-high / crawl-medium-high / crawl-medium6.5 / 5.7 / 4.3%6.5 / 5.7 / –
code + nemotron-cc-code14.0 + 2.1%14.0 + 2.1%
sft-stem / sft-code / sft-general (synthetic, SFT format)9.2 / 3.9 / 1.6%9.2 / 3.9 / 4.0%
math6.4%6.4%
finepdfs4.9% (unfiltered)10.7% (high) + 2.5% (medium)
multilingual (11 languages)5.0%5.0%
academic / wiki / crawl++ / legal1.6 / 0.6 / 1.4 / –1.6 / 0.6 / 1.4 / 0.1%

Moving into phase 2, mid-quality web is dropped and its place is taken by quality-filtered PDFs and SFT-format data. Mixing SFT-format data into pretraining is also a deliberate choice (14.7% of phase 1 and 17.1% of phase 2 combined).

The datasets newly released with Ultra, and their ablations, are as follows (§2.3). All were measured by training Nano or another Nemotron checkpoint for an extra 100B tokens.

DatasetContentsAblation
Code-v3173B tokens of GitHub code up to 2025-09-30–
Multiple-Choice / GenerativeSynthetic Q&A seeded from the train splits of public datasets (test splits unused)MMLU-Pro 64.8→66.6, GPQA 30.8→41.9, code average 73.2→75.1
Fact-SeekingFactual questions generated from FineWiki sentencesSimpleQA (converted to multiple choice) 40.24→50.16
LegalExtraction of regulations and case law, LLM cleanup, synthetic classification tasksLegalBench average 64.6→74.7

The result that synthetic data seeded from benchmark train splits raised GPQA by 11 points deserves a moment’s thought before being taken at face value. The report states that it did not use held-out test splits and that the questions were newly synthesized, but the fact remains that this is “data matched to the benchmarks’ task formats” (see Reading critically below).

Long-context phase

At the end of pretraining, 33B tokens of continued pretraining open up the 1M context (§2.5). The data is 46% long-context document QA and long-context SFT-format data and 54% phase-2 data; no RULER-style data was included. 92% of iterations train at 1M length and 8% at 4K length to preserve performance on short benchmarks (lengths are not mixed within an iteration), and math and code SFT-format data go only into the 4K iterations.

Post-training data

SFT data is centered on domain-specific synthetic trajectories (§3.1.1). A few things stand out.

  • Terminal use: about 370K multi-turn conversations. These are trajectories produced by DeepSeek-V3.2 interacting with a real terminal as the Terminus-2 agent of the Harbor framework.
  • Search: Super’s Wikidata multi-hop (4–8 hop) search data, about 21.7K examples from a commercially usable subset of OpenResearcher, and vendor problems that require 50–100 searches.
  • SWE: issue-resolution trajectories collected with several models and harnesses, filtered by a rule-based analyzer. It drops forbidden git commands (push, fetch, reflog …), endless edit–test loops, cases that only explore and never fix anything, patches with leftover debug traces, and cases that never ran the tests.
  • Safety: about 135K (45K English + 15K each translated into 6 languages). Translations with back-translation similarity below 0.8 were discarded.
  • Reasoning efficiency: medium mode is bootstrapped from gpt-oss-120b’s medium-effort outputs, and samples whose reasoning trace is cut off at a random budget are added. The </think> of these truncated samples is masked out of the loss.

Training

Pretraining recipe

ItemValue (§2.4–2.5)
PrecisionNVFP4 GEMMs (fprop, dgrad, wgrad). The last 15% (16 layers), Mamba output projections, latent projections, QKV and attention projections, MTP and embeddings stay in higher precision
LR scheduleWSD. 200B-token warmup → hold peak 2.5×10−42.5\times10^{-4} → minus-sqrt decay to 2.5×10−62.5\times10^{-6} over the last 5T
MTP loss coefficient0.1
Checkpoint mergingCheckpoints every 25B are merged over a 500B window for evaluation. The final base was chosen among several merges with windows of 125B–1T
long-contextConstant LR 2.5×10−62.5\times10^{-6}, CP 32 · TP 8 · EP 128 · PP 2 (GB200), 25,165,824 tokens per iteration, 33B tokens

The remaining hyperparameters are only said to match Super’s, so the optimizer and batch size cannot be determined from the Ultra report alone.

NVFP4 pretraining

NVFP4 stores elements as FP4 E2M1 (±{0,0.5,1,1.5,2,3,4,6}\pm\{0, 0.5, 1, 1.5, 2, 3, 4, 6\}), with one FP8 E4M3 scale per 16-element block and one FP32 scale per tensor (Super §2.2). The training recipe adds three more devices: weights are quantized in 2D blocks so that forward and backward use the same quantized values, a Random Hadamard Transform is applied to the wgrad inputs to spread out outliers, and gradients use stochastic rounding.

The health check is interesting. From the 5T, 10T and 16T checkpoints, branches were created that switch every tensor to BF16 and train for 74B more tokens, and the relative train-loss difference from the original NVFP4 run was measured (Figure 3). Over the first 5B tokens the differences were 0.27%, 0.28% and 0.25%; after 74B they were 0.33%, 0.34% and 0.03%. The report notes that this is smaller than the NVFP4–BF16 gap seen in smaller models.

Two divergences

This is the most candid part of the report (§2.7).

Divergence 1 (around 8T). The cause was lowering the precision of the output layer’s local gradient accumulation from FP32 to BF16 for throughput. The MTP blocks share the output layer and have a loss coefficient of only 0.05 per block, so the MTP’s wgrad contribution to the output layer effectively vanishes in BF16 accumulation, which has a 7-bit mantissa. Indeed, the MTP-2 loss started spiking before the main loss did (Figure 6). Rolling back to an earlier checkpoint and restoring FP32 reduction stabilized training.

Divergence 2 (around 16T). The cause was never found. Rolling back to the 15T checkpoint and starting LR annealing immediately made the divergence disappear, so the total training length was cut to 20T. Two phenomena observed during diagnosis:

  • Expert imbalance. MaxVio =max⁡iTi/μ= \max_i T_i / \mu (TiT_i is the number of tokens routed to expert ii, μ\mu the mean) is at most E/k=512/22=23.27E/k = 512/22 = 23.27. Early in training Ultra started with a per-layer median of 1.2 and a maximum of 4.8 (the first MoE layer); the median stayed put while the maximum rose to about 12 around 12T tokens.
  • Residual norm. The spread of residual norms across depth was three orders of magnitude in Super and four in Ultra, and in Ultra the norms of the early layers started rising again from around 7.5T and spiked sharply near 11T (Figure 8).

It matters that switching to BF16 did not make divergence 2 go away (bottom of Figure 3). This is presented as evidence that the instability is not caused by 4-bit precision.

Post-training pipeline

Base(1M) ─ SFT(2 stages) ─ unified RLVR ─┬─ MOPD warmup ─ MOPD 1 ─ MOPD 2 ─ MTP Boosting ─ Ultra
                                         └─ 10+ domain teachers (SFT/PivotRL/RL) ───┘

SFT (§3.1). Stage 1 uses 294,912-token packed sequences and global batch 64 for 204,800 samples, cosine LR with peak 1.5×10−51.5\times10^{-5}. Stage 2 adds long-context data up to 512K tokens, packs to 515,000 tokens, and runs 19,200 samples at peak 1×10−51\times10^{-5}. The shared MTP loss (coefficient 0.1) is kept during SFT as well.

Unified RLVR (§3.2). All environments (terminal, office, SWE, search, tool calling, math, code, STEM, safety, chat, instruction following, long-context QA, structured output and so on) run in a single run. Global batch 8192, 16 rollouts per sample, and a maximum generation length raised from 48K to 64K. The algorithm is Super’s asynchronous GRPO. For a group {yi}i=1G\{y_i\}_{i=1}^{G}, with A^i=(ri−mean⁡(r))/std⁡(r)\hat A_i = (r_i - \operatorname{mean}(r))/\operatorname{std}(r) and token ratio ρi,t=πθ(yi,t∣x,yi,<t)/πold(yi,t∣x,yi,<t)\rho_{i,t} = \pi_\theta(y_{i,t}\mid x, y_{i,<t}) / \pi_{\text{old}}(y_{i,t}\mid x, y_{i,<t}), it maximizes

J(θ)=E[1∑i∣yi∣∑i,tmi,t min⁡(ρi,tA^i, clip⁡(ρi,t,1−ε,1+ε)A^i)]\mathcal{J}(\theta) = \mathbb{E}\Big[\tfrac{1}{\sum_i |y_i|}\sum_{i,t} m_{i,t}\,\min\big(\rho_{i,t}\hat A_i,\ \operatorname{clip}(\rho_{i,t}, 1-\varepsilon, 1+\varepsilon)\hat A_i\big)\Big]

According to the Super report (§3.2.4), inference workers may lag training by up to one step, and the KV cache is not recomputed even when the weights change mid-rollout. So tokens whose logprob ratio between the training engine and the inference engine diverges too far are masked (mi,tm_{i,t}). The normalization and mask thresholds are not given in the Ultra report, so the 1/∑i∣yi∣1/\sum_i|y_i| above is written in the common token-level form. Background on this problem is in the training–inference mismatch lesson. Data mixing and curriculum use the Gaussian-based method introduced in Nano.

Domain teachers (§3.3.2). The SWE teacher is built as agentic SFT → PivotRL (a method that picks out uncertain turns within SFT trajectories and runs RL on them) → end-to-end SWE-RL with up to 200 turns and 192K length (binary reward for passing hidden tests, GRPO). Unfinished trajectories are excluded from the loss, and broken reasoning and tool-call tokens receive a negative advantage. To prevent peeking at the gold patch, git history after the base commit is physically deleted and commands that fetch from GitHub are blocked. Other teachers cover office work (GDPval-style), search (trained with discard-all context management that drops earlier observations when the context overflows), terminal, conversational tool use, usability, and agentic safety against indirect prompt injection.

MOPD and MTP Boosting are covered in detail in the next section. There are three reasoning modes: reasoning-off, regular and medium-effort. About 2.5% of RLVR prompts are in medium mode and receive a length-based reward adjustment. Medium mode uses on average about 2.5× fewer tokens than regular, at about 7% lower accuracy (§3.5, Figure 11).

Core methods in depth

1. MOPD: multi-teacher on-policy distillation

Why it is needed. With dozens of environments, each domain contributes few samples to a batch, so per-domain signals get diluted and are hard to balance (§3.3). So a teacher πTi\pi_{T_i} is trained for each domain in its own pipeline, and the teachers then score the student’s own rollouts token by token.

Objective. For a domain-ii prompt x∼Dix \sim \mathcal{D}_i, a student sample y∼πθy \sim \pi_\theta and prefix st=(x,y<t)s_t = (x, y_{<t}) (Eq. 1),

JMOPD(θ)=∑iλi Ex∼Di, y∼πθ[∑t=1Hlog⁡πTi(yt∣st)−log⁡πθ(yt∣st)].\mathcal{J}_{\text{MOPD}}(\theta) = \sum_i \lambda_i\, \mathbb{E}_{x\sim\mathcal{D}_i,\, y\sim\pi_\theta}\Big[\sum_{t=1}^{H} \log \pi_{T_i}(y_t\mid s_t) - \log\pi_\theta(y_t\mid s_t)\Big].

The expectation inside the brackets is the sum over prefixes of −DKL(πθ(⋅∣st) ∥ πTi(⋅∣st))-D_{\text{KL}}(\pi_\theta(\cdot\mid s_t)\,\Vert\,\pi_{T_i}(\cdot\mid s_t)). It is reverse KL. Turned into a policy gradient, the “reward” for a single token becomes log⁡πT(yt)−log⁡πθ(yt)\log\pi_{T}(y_t) - \log\pi_\theta(y_t). Let us verify this at a single state. With logits zz, p=softmax⁡(z)p = \operatorname{softmax}(z) and teacher qq,

∇zDKL(p∥q)=p⊙(log⁡p−log⁡q−DKL(p∥q)),\nabla_z D_{\text{KL}}(p\Vert q) = p \odot \big(\log p - \log q - D_{\text{KL}}(p\Vert q)\big),

and setting y∼py \sim p, A^=log⁡qy−log⁡py\hat A = \log q_y - \log p_y, since ∇zlog⁡py=ey−p\nabla_z \log p_y = e_y - p,

Ey∼p[A^ (ey−p)]=p⊙(log⁡q−log⁡p)−p∑ypy(log⁡qy−log⁡py)=−∇zDKL(p∥q).\mathbb{E}_{y\sim p}\big[\hat A\,(e_y - p)\big] = p\odot(\log q - \log p) - p\sum_y p_y(\log q_y - \log p_y) = -\nabla_z D_{\text{KL}}(p\Vert q).

Multiplying the advantage of one sampled token by the policy gradient gives an unbiased estimate of the reverse-KL gradient. Unlike RLVR, which gives a single 0/1 at the end of a rollout, there is a signal at every token, so it is dense. The reward depends on the policy itself through A^t\hat A_t, but treating it as an advantage with log⁡py\log p_y under stop-gradient, as in the equation above, makes it exact.

Asynchronous version. In actual training, rollout, teacher scoring and training overlap in a pipeline. So the policy that produced the rollout, πbehav\pi_{\text{behav}}, is separated from the center of the trust region, πprox\pi_{\text{prox}} (Eqs. 2–3).

A^t=sg⁡[log⁡πTi(yt∣st)−log⁡πprox(yt∣st)],ct=sg⁡[πprox(yt∣st)πbehav(yt∣st)],ρt=πθ(yt∣st)πprox(yt∣st)\hat A_t = \operatorname{sg}\big[\log\pi_{T_i}(y_t\mid s_t) - \log\pi_{\text{prox}}(y_t\mid s_t)\big],\quad c_t = \operatorname{sg}\Big[\frac{\pi_{\text{prox}}(y_t\mid s_t)}{\pi_{\text{behav}}(y_t\mid s_t)}\Big],\quad \rho_t = \frac{\pi_\theta(y_t\mid s_t)}{\pi_{\text{prox}}(y_t\mid s_t)}Jasync(θ)=Ey∼πbehav[∑tmt ct min⁡(ρtA^t, clip⁡(ρt,1−ε,1+ε)A^t)]\mathcal{J}_{\text{async}}(\theta) = \mathbb{E}_{y\sim\pi_{\text{behav}}}\Big[\sum_t m_t\, c_t\, \min\big(\rho_t \hat A_t,\ \operatorname{clip}(\rho_t, 1-\varepsilon, 1+\varepsilon)\hat A_t\big)\Big]

ctc_t is the importance weight that brings stale rollouts back to πprox\pi_{\text{prox}}, and ρt\rho_t is clipped as in PPO. mtm_t is an IcePop-style token mask that drops tokens whose probability ratio diverges too far. The training setup is 1,024 prompts with one rollout each and a maximum generation length of 192K. Sampling multiple rollouts reportedly gave no benefit. No group baseline is needed because the advantage is already a per-token teacher score.

그림의 “같은 예산” 모드에서 ℓ\ell을 줄이면 weight 읽기와 통신은 평평하게 유지되고 K⋅mK \cdot m과 log⁡10(NK)\log_{10}\binom{N}{K}만 오른다. 공짜는 아니다. W↓,W↑W_\downarrow, W_\uparrow 두 투영이 층마다 2dℓ2 d \ell 파라미터를 더하고(Ultra에서 약 34M), 원칙 4가 말하는 유효 feature rank 아래로 ℓ\ell을 줄이면 품질이 무너진다. 보고서는 그 하한의 값을 밝히지 않았다.

MTP head: 하나의 head를 재귀로

Ultra는 attention 1층 + MoE 1층으로 된 MTP 블록 2개를 쓰는데 두 블록이 가중치를 공유한다(§2.1). 서로 다른 offset을 맡는 독립 head 대신 같은 head를 재귀적으로 적용하도록 학습하면, 추론 때 그 head를 몇 번이고 다시 돌려 긴 draft를 만들 수 있다. Super 보고서는 이 공유가 draft 깊이가 깊어질 때의 수락률 하락을 완화한다고 설명한다(Super §2.1.2). 사전학습에서 MTP 손실 계수는 0.1이다(블록당 0.05). 이 작은 계수가 뒤에서 볼 첫 번째 발산의 원인과 엮인다.

→ 더 깊이: Speculative decoding 심화 — MTP head를 draft로 쓰는 방법과 수락 길이가 주는 속도.

데이터

사전학습 20T 토큰

혼합은 Super·Nano의 혼합을 이어받아 새 데이터셋을 더한 것이다(§2.3.6). 19개 상위 카테고리를 두 단계로 나눠 쓴다. 약 15T(75%)까지는 다양성 위주의 phase 1, 마지막 5T는 품질 위주의 phase 2다. 가장 큰 덩어리는 품질 필터를 거친 웹 크롤과 그 합성 재작성(crawl-, syn-crawl-)으로, phase 1의 약 49%, phase 2의 약 38%다.

카테고리 (Figure 4)phase 1phase 2
syn-crawl-high (합성 재작성 웹, 고품질)22.4%22.4%
syn-crawl-medium10.3%3.8%
crawl-high / crawl-medium-high / crawl-medium6.5 / 5.7 / 4.3%6.5 / 5.7 / –
code + nemotron-cc-code14.0 + 2.1%14.0 + 2.1%
sft-stem / sft-code / sft-general (SFT 형식 합성)9.2 / 3.9 / 1.6%9.2 / 3.9 / 4.0%
math6.4%6.4%
finepdfs4.9% (필터 없음)10.7% (high) + 2.5% (medium)
multilingual (11개 언어)5.0%5.0%
academic / wiki / crawl++ / legal1.6 / 0.6 / 1.4 / –1.6 / 0.6 / 1.4 / 0.1%

phase 2로 가면서 중간 품질 웹을 빼고 그 자리를 품질 필터를 거친 PDF와 SFT 형식 데이터로 채운다는 점이 읽힌다. SFT 형식 데이터를 사전학습에 섞는 것도 의도된 선택이다(합쳐서 phase 1 14.7%, phase 2 17.1%).

Ultra에서 새로 공개한 데이터셋과 각각의 ablation은 다음과 같다(§2.3). 모두 Nano 또는 다른 Nemotron 체크포인트에서 100B 토큰을 더 학습해 잰 값이다.

데이터셋내용ablation
Code-v32025-09-30까지의 GitHub 코드 173B 토큰–
Multiple-Choice / Generative공개 데이터셋의 train split을 seed로 한 합성 Q&A (test split 미사용)MMLU-Pro 64.8→66.6, GPQA 30.8→41.9, code 평균 73.2→75.1
Fact-SeekingFineWiki 문장에서 만든 사실 질문SimpleQA(객관식 변환) 40.24→50.16
Legal규정·판례 추출, LLM 정제, 합성 분류 과제LegalBench 평균 64.6→74.7

벤치마크 train split을 seed로 쓴 합성 데이터가 GPQA를 11점 올렸다는 결과는 그대로 받아들이기 전에 한 번 생각할 대목이다. 보고서는 held-out test split은 쓰지 않았고 문항을 새로 합성했다고 밝히지만, “벤치마크의 과제 형식에 맞춘 데이터”라는 점은 변하지 않는다(아래 비판적으로 읽기).

Long-context 단계

사전학습 끝에 33B 토큰의 연속 사전학습으로 1M 컨텍스트를 연다(§2.5). 데이터는 long-context 문서 QA와 long-context SFT 형식 데이터 46%, phase 2 데이터 54%이고, RULER 형식 데이터는 넣지 않았다. iteration의 92%는 1M 길이, 8%는 4K 길이로 학습해 짧은 벤치마크 성능을 지켰고(한 iteration 안에서는 길이를 섞지 않는다), 수학·코드 SFT 형식 데이터는 4K iteration에만 넣었다.

사후학습 데이터

SFT 데이터는 도메인별 합성 trajectory가 중심이다(§3.1.1). 몇 가지가 눈에 띈다.

  • 터미널 사용 약 370K 멀티턴 대화. DeepSeek-V3.2가 Harbor 프레임워크의 Terminus-2 agent로 실제 터미널과 상호작용하며 만든 trajectory다.
  • 검색. Super의 Wikidata 다단계(4–8 hop) 검색 데이터, 상업 이용이 가능한 OpenResearcher 부분집합 약 21.7K, 그리고 50–100번의 검색이 필요한 vendor 문제.
  • SWE. 여러 모델과 harness로 모은 이슈 해결 trajectory를 규칙 기반 분석기로 거른다. 금지된 git 명령(push, fetch, reflog …), 편집–테스트 무한 반복, 탐색만 하고 고치지 않는 경우, 디버그 흔적이 남은 patch, 테스트를 한 번도 돌리지 않은 경우를 뺀다.
  • 안전 약 135K(영어 45K + 6개 언어 번역 각 15K). 역번역 유사도 0.8 미만은 버렸다.
  • 추론 효율. gpt-oss-120b의 medium effort 출력으로 medium 모드를 시작시키고, 추론 흔적을 무작위 예산에서 자른 샘플을 넣는다. 이때 잘린 샘플의 </think>는 손실에서 마스크한다.

학습

사전학습 레시피

항목값 (§2.4–2.5)
정밀도NVFP4 GEMM (fprop, dgrad, wgrad). 마지막 15%(16층), Mamba 출력 투영, latent 투영, QKV·attention 투영, MTP, 임베딩은 고정밀
LR 스케줄WSD. 200B 토큰 warmup → peak 2.5×10−42.5\times10^{-4} 유지 → 마지막 5T 동안 minus-sqrt로 2.5×10−62.5\times10^{-6}까지
MTP 손실 계수0.1
체크포인트 병합25B 간격 체크포인트를 500B 창으로 병합해 평가. 최종 base는 125B–1T 창의 여러 병합 중 고름
long-context상수 LR 2.5×10−62.5\times10^{-6}, CP 32 · TP 8 · EP 128 · PP 2 (GB200), iteration당 25,165,824 토큰, 33B 토큰

나머지 하이퍼파라미터는 Super와 같다고만 적혀 있어, optimizer와 batch 크기는 Ultra 보고서만으로는 알 수 없다.

NVFP4 사전학습

NVFP4는 원소를 FP4 E2M1(±{0,0.5,1,1.5,2,3,4,6}\pm\{0, 0.5, 1, 1.5, 2, 3, 4, 6\})로 저장하고, 16개 원소 블록마다 FP8 E4M3 scale 하나, 텐서마다 FP32 scale 하나를 둔다(Super §2.2). 학습 레시피에는 세 가지 장치가 더 붙는다. weight는 2D 블록으로 양자화해 forward와 backward에서 같은 양자화 값을 쓰고, wgrad의 입력에는 Random Hadamard Transform을 걸어 outlier를 펴며, gradient에는 stochastic rounding을 쓴다.

건강 진단 방법이 흥미롭다. 5T, 10T, 16T 체크포인트에서 모든 텐서를 BF16으로 바꿔 74B 토큰을 더 학습한 갈래를 만들고, 원래 NVFP4 run과의 상대 train loss 차이를 쟀다(Figure 3). 처음 5B 토큰 동안의 차이는 0.27%, 0.28%, 0.25%였고, 74B 뒤에는 0.33%, 0.34%, 0.03%였다. 작은 모델에서 본 NVFP4–BF16 차이보다 작다고 보고서는 적는다.

두 번의 발산

이 보고서의 가장 솔직한 부분이다(§2.7).

발산 1 (약 8T). throughput을 위해 출력층의 local gradient 누적 정밀도를 FP32에서 BF16으로 낮춘 것이 원인이었다. MTP 블록은 출력층을 공유하고 손실 계수가 블록당 0.05뿐이라, MTP가 출력층에 주는 wgrad 기여가 가수 7비트인 BF16 누적에서 사실상 사라진다. 실제로 MTP-2 손실이 본 손실보다 먼저 튀기 시작했다(Figure 6). 이전 체크포인트로 돌아가 FP32 reduction을 복구하자 안정됐다.

발산 2 (약 16T). 원인을 끝내 찾지 못했다. 15T 체크포인트로 돌아가 바로 LR annealing을 시작하면 발산이 사라졌고, 그래서 전체 학습 길이를 20T로 줄였다. 진단 과정에서 본 두 현상은 이렇다.

  • expert 불균형. MaxVio =max⁡iTi/μ= \max_i T_i / \mu(TiT_i는 expert ii로 간 토큰 수, μ\mu는 평균)는 최대 E/k=512/22=23.27E/k = 512/22 = 23.27이다. Ultra는 학습 초반 층별 중앙값 1.2, 최대 4.8(첫 MoE 층)로 시작했는데, 중앙값은 그대로인 채 최대가 12T 토큰 무렵 약 12까지 올랐다.
  • residual norm. 층 깊이에 따른 residual norm 차이가 Super는 세 자릿수, Ultra는 네 자릿수였고, Ultra는 7.5T 무렵부터 앞쪽 층의 norm이 다시 오르다 11T 근처에서 크게 튀었다(Figure 8).

BF16으로 바꿔도 발산 2는 사라지지 않았다는 점(Figure 3 아래)이 중요하다. 불안정의 원인이 4비트 정밀도가 아니라는 증거로 제시된다.

사후학습 파이프라인

Base(1M) ─ SFT(2단계) ─ 통합 RLVR ─┬─ MOPD warmup ─ MOPD 1 ─ MOPD 2 ─ MTP Boosting ─ Ultra
                                  └─ 10개 이상의 domain teacher (SFT/PivotRL/RL) ──┘

SFT(§3.1). 1단계는 294,912 토큰 packed sequence, global batch 64로 204,800 샘플, cosine LR peak 1.5×10−51.5\times10^{-5}. 2단계는 512K 토큰까지의 long-context 데이터를 더해 515,000 토큰 packing으로 19,200 샘플, peak 1×10−51\times10^{-5}. SFT에서도 공유 MTP 손실(계수 0.1)을 유지한다.

통합 RLVR(§3.2). 터미널, 오피스, SWE, 검색, tool calling, 수학, 코드, STEM, 안전, 채팅, instruction following, long-context QA, 구조화 출력 등 모든 환경을 한 run에서 돌린다. global batch 8192, 샘플당 rollout 16개, 최대 생성 길이 48K에서 64K로 늘린다. 알고리즘은 Super의 비동기 GRPO다. 그룹 {yi}i=1G\{y_i\}_{i=1}^{G}에 대해 A^i=(ri−mean⁡(r))/std⁡(r)\hat A_i = (r_i - \operatorname{mean}(r))/\operatorname{std}(r), 토큰 ratio ρi,t=πθ(yi,t∣x,yi,<t)/πold(yi,t∣x,yi,<t)\rho_{i,t} = \pi_\theta(y_{i,t}\mid x, y_{i,<t}) / \pi_{\text{old}}(y_{i,t}\mid x, y_{i,<t})로

J(θ)=E[1∑i∣yi∣∑i,tmi,t min⁡(ρi,tA^i, clip⁡(ρi,t,1−ε,1+ε)A^i)]\mathcal{J}(\theta) = \mathbb{E}\Big[\tfrac{1}{\sum_i |y_i|}\sum_{i,t} m_{i,t}\,\min\big(\rho_{i,t}\hat A_i,\ \operatorname{clip}(\rho_{i,t}, 1-\varepsilon, 1+\varepsilon)\hat A_i\big)\Big]

를 최대화한다. Super 보고서(§3.2.4)에 따르면 추론 worker는 학습보다 최대 한 step 뒤처질 수 있고, 가중치가 rollout 중간에 바뀌어도 KV cache를 다시 계산하지 않는다. 그래서 학습 엔진과 추론 엔진의 logprob 비가 너무 어긋난 토큰을 마스크(mi,tm_{i,t})한다. 정규화 방식과 마스크 임계값은 Ultra 보고서에 적혀 있지 않아 위 식의 1/∑i∣yi∣1/\sum_i|y_i|는 흔한 token-level 형태로 쓴 것이다. 이 문제의 배경은 학습–추론 불일치 레슨에 있다. 데이터 혼합과 커리큘럼에는 Nano에서 소개한 Gaussian 기반 방법을 쓴다.

domain teacher(§3.3.2). SWE teacher는 agentic SFT → PivotRL(SFT trajectory 안의 불확실한 turn을 골라 RL하는 방법) → 최대 200 turn, 192K 길이의 end-to-end SWE-RL(hidden test 통과 여부의 binary 보상, GRPO)로 만든다. 끝나지 않은 trajectory는 손실에서 빼고, 깨진 추론·tool call 토큰에는 음의 advantage를 준다. gold patch를 훔쳐보지 못하게 base commit 이후의 git 이력을 물리적으로 지우고, GitHub에서 받아 오는 명령을 막는다. 오피스(GDPval형), 검색(context 초과 시 이전 관찰을 버리는 discard-all 관리 학습), 터미널, 대화형 tool use, 사용성, 간접 prompt injection 방어용 agentic safety teacher 등이 있다.

MOPD와 MTP Boosting은 다음 절에서 자세히 본다. 추론 모드는 reasoning-off, regular, medium-effort 세 가지다. RLVR prompt의 약 2.5%가 medium 모드이며 길이 기반 보상 조정을 받는다. medium 모드는 regular보다 평균 약 2.5배 적은 토큰으로 약 7% 낮은 정확도를 낸다(§3.5, Figure 11).

핵심 method 깊게 보기

1. MOPD: 다중 teacher on-policy 증류

왜 필요한가. 환경이 수십 개가 되면 한 batch에서 각 도메인이 차지하는 샘플이 적어져 도메인별 신호가 묽어지고 균형을 맞추기 어렵다(§3.3). 그래서 도메인마다 별도 파이프라인으로 teacher πTi\pi_{T_i}를 키운 뒤, 학생이 스스로 만든 rollout을 teacher가 토큰 단위로 채점하게 한다.

목적함수. 도메인 ii의 prompt x∼Dix \sim \mathcal{D}_i와 학생 샘플 y∼πθy \sim \pi_\theta, prefix st=(x,y<t)s_t = (x, y_{<t})에 대해(식 1)

JMOPD(θ)=∑iλi Ex∼Di, y∼πθ[∑t=1Hlog⁡πTi(yt∣st)−log⁡πθ(yt∣st)].\mathcal{J}_{\text{MOPD}}(\theta) = \sum_i \lambda_i\, \mathbb{E}_{x\sim\mathcal{D}_i,\, y\sim\pi_\theta}\Big[\sum_{t=1}^{H} \log \pi_{T_i}(y_t\mid s_t) - \log\pi_\theta(y_t\mid s_t)\Big].

괄호 안의 기댓값은 각 prefix에서 −DKL(πθ(⋅∣st) ∥ πTi(⋅∣st))-D_{\text{KL}}(\pi_\theta(\cdot\mid s_t)\,\Vert\,\pi_{T_i}(\cdot\mid s_t))의 합이다. reverse KL이다. 이것을 정책 경사로 바꾸면 토큰 하나의 “보상”이 log⁡πT(yt)−log⁡πθ(yt)\log\pi_{T}(y_t) - \log\pi_\theta(y_t)가 된다. 한 상태에서 확인해 보자. logits zz, p=softmax⁡(z)p = \operatorname{softmax}(z), teacher qq일 때

∇zDKL(p∥q)=p⊙(log⁡p−log⁡q−DKL(p∥q)),\nabla_z D_{\text{KL}}(p\Vert q) = p \odot \big(\log p - \log q - D_{\text{KL}}(p\Vert q)\big),

그리고 y∼py \sim p, A^=log⁡qy−log⁡py\hat A = \log q_y - \log p_y로 놓으면 ∇zlog⁡py=ey−p\nabla_z \log p_y = e_y - p이므로

Ey∼p[A^ (ey−p)]=p⊙(log⁡q−log⁡p)−p∑ypy(log⁡qy−log⁡py)=−∇zDKL(p∥q).\mathbb{E}_{y\sim p}\big[\hat A\,(e_y - p)\big] = p\odot(\log q - \log p) - p\sum_y p_y(\log q_y - \log p_y) = -\nabla_z D_{\text{KL}}(p\Vert q).

샘플 토큰 하나의 advantage에 정책 경사를 곱하면 reverse-KL gradient의 불편 추정이 된다. RLVR이 rollout 끝에 0/1 하나를 주는 것과 달리 토큰마다 신호가 있으니 dense하다. 보상이 A^t\hat A_t의 꼴로 정책 자신에 의존하지만, 위 식처럼 log⁡py\log p_y를 stop-gradient한 advantage로 다루면 정확히 맞는다.

비동기 버전. 실제 학습은 rollout, teacher 채점, 학습이 pipeline으로 겹친다. 그래서 rollout을 만든 정책 πbehav\pi_{\text{behav}}와 trust region의 중심 πprox\pi_{\text{prox}}를 분리한다(식 2–3).

A^t=sg⁡[log⁡πTi(yt∣st)−log⁡πprox(yt∣st)],ct=sg⁡[πprox(yt∣st)πbehav(yt∣st)],ρt=πθ(yt∣st)πprox(yt∣st)\hat A_t = \operatorname{sg}\big[\log\pi_{T_i}(y_t\mid s_t) - \log\pi_{\text{prox}}(y_t\mid s_t)\big],\quad c_t = \operatorname{sg}\Big[\frac{\pi_{\text{prox}}(y_t\mid s_t)}{\pi_{\text{behav}}(y_t\mid s_t)}\Big],\quad \rho_t = \frac{\pi_\theta(y_t\mid s_t)}{\pi_{\text{prox}}(y_t\mid s_t)}Jasync(θ)=Ey∼πbehav[∑tmt ct min⁡(ρtA^t, clip⁡(ρt,1−ε,1+ε)A^t)]\mathcal{J}_{\text{async}}(\theta) = \mathbb{E}_{y\sim\pi_{\text{behav}}}\Big[\sum_t m_t\, c_t\, \min\big(\rho_t \hat A_t,\ \operatorname{clip}(\rho_t, 1-\varepsilon, 1+\varepsilon)\hat A_t\big)\Big]

ctc_t는 stale한 rollout을 πprox\pi_{\text{prox}} 기준으로 되돌리는 importance weight이고, ρt\rho_t는 PPO와 같은 clip을 받는다. mtm_t는 IcePop 방식의 토큰 마스크로, 확률 비가 너무 어긋난 토큰을 뺀다. 학습 설정은 prompt 1,024개에 rollout 하나씩, 최대 생성 길이 192K다. rollout을 여러 개 뽑아도 이득이 없었다고 한다. 그룹 baseline이 필요 없는 것은 advantage가 이미 토큰별 teacher 점수이기 때문이다.

step 0 KL(πθ‖πT) – 샘플 advantage 최소min sampled advantage – 학생이 간 모드student's mode –
Grey bars are the teacher πT (large mode at 8, small mode at 22); blue is the student πθ. Press ▶ Distill and the student draws G tokens itself and learns only from the per-token advantage the teacher assigns (right, blue: sample-based KL; grey dashed: exact reverse-KL gradient). With the start at 28, the student latches onto the nearby small mode. Reverse KL pulls toward where the teacher has support (mode-seeking), but receives no information about regions the student never samples. Moving the start to around 10 corresponds to the report's MOPD warmup (a light SFT that places the student near the teacher's distribution). Lowering the teacher floor probability to −9 makes the advantage of out-of-support tokens very large, so the trajectory gets rough when G is small. 회색 막대가 teacher πT(큰 모드 8, 작은 모드 22), 파랑이 학생 πθ다. ▶ 증류를 누르면 학생이 G개 토큰을 직접 뽑고, teacher가 매긴 토큰별 advantage로만 배운다(오른쪽 파랑: 샘플 기반 KL, 회색 점선: 정확한 reverse-KL gradient). 시작 위치를 28로 두면 학생은 가까운 작은 모드에 붙는다. reverse KL은 teacher가 지지하는 곳으로 몰려가지만(mode-seeking) 학생이 뽑지 않는 영역의 정보는 받지 못한다. 시작 위치를 10 근처로 옮기는 것이 보고서의 MOPD warmup(가벼운 SFT로 학생을 teacher 분포 쪽에 놓기)에 해당한다. teacher 바닥 확률을 −9로 내리면 지지 밖 토큰의 advantage가 매우 커져 G가 작을 때 경로가 거칠어진다.

Two things you can see in the figure correspond to two observations in the report.

  1. Mode-seeking. Reverse KL looks at the teacher only where the student samples. Regions where the teacher puts a lot of probability but the student rarely samples (the large mode in the figure) send no signal. If the student starts near the small mode, it stays there.
  2. The support problem and warmup. When the teacher and the student grew out of different SFTs, the student’s rollouts are out of distribution for the teacher and its scoring becomes inaccurate (§3.3.3). The fix is a warmup before MOPD that gives the student a very light SFT on data drawn from the teacher’s training distribution. This is the same as moving the start position in the figure. In the report’s ablation (Table 4), without warmup GDPVal was 35.3 instead of 46.7 and BrowseComp 33.0 instead of 44.4. HLE was 26.7 vs 26.3, almost no difference.

The report also lists variants it “tried, with no benefit” (§3.3.5). Logit matching over the top-k or the full vocabulary was worse than the sampled-token objective (especially on Terminal Bench). The hypothesis is that when the student-generated prefix lies outside the teacher’s support, the teacher’s full distribution is inaccurate, and matching it wholesale amplifies the noise. Also, rollouts that run multi-turn agent environments to completion differed too much in length from single-turn reasoning and were inefficient, so most agentic tasks were handled with single-turn rollouts, as in PivotRL.

NumPy MOPD: sampled-token advantage = reverse-KL gradient, and the async surrogate objective
import numpy as np
rs = np.random.default_rng(1)

def softmax(z):
    z = z - z.max(-1, keepdims=True)
    e = np.exp(z)
    return e / e.sum(-1, keepdims=True)

def rkl(p, q):                                   # KL(p || q), over the last axis
    return (p * (np.log(p) - np.log(q))).sum(-1)

# (1) expected sampled-token advantage = negative gradient of the reverse KL
V = 12
z, zT = rs.normal(size=V), 2 * rs.normal(size=V)
p, q = softmax(z), softmax(zT)
exact = -p * (np.log(p) - np.log(q) - rkl(p, q))            # -dKL(p||q)/dz
y = rs.choice(V, size=200_000, p=p).astype(np.intp)
A = np.log(q[y]) - np.log(p[y])                              # A_t = log pi_T - log pi_theta (stop-grad)
mc = (A[:, None] * (np.eye(V)[y] - p)).mean(0)               # E[A * grad_z log pi_theta(y)]
print("MC estimate vs exact -∇KL, max error:", np.abs(mc - exact).max().round(4))

# (2) toy of the async MOPD surrogate (report Eq. 3): S states, one token per state
S, V, eps, lr = 64, 16, 0.2, 0.5
qT = softmax(3 * rs.normal(size=(S, V)))         # teacher
z = rs.normal(size=(S, V))                       # student logits
z_behav = z.copy()                               # rollout policy, one version behind
lo, hi = 0.5, 2.0                                # IcePop-style mask range (example values)
idx = np.arange(S)
for it in range(41):
    p_behav, p_prox = softmax(z_behav), softmax(z)
    y = np.array([rs.choice(V, p=p_behav[s]) for s in range(S)]).astype(np.intp)
    A = np.log(qT[idx, y]) - np.log(p_prox[idx, y])               # Eq. (2)
    c = p_prox[idx, y] / p_behav[idx, y]                          # behav -> prox correction
    m = (c > lo) & (c < hi)                                       # drop tokens that are too far off
    z_behav = z.copy()                                            # the next rollout uses this version
    clipped = 0
    for _ in range(2):                                            # 2 updates on the same batch
        p_th = softmax(z)
        rho = p_th[idx, y] / p_prox[idx, y]
        active = ~(((A > 0) & (rho > 1 + eps)) | ((A < 0) & (rho < 1 - eps)))
        clipped += (~active).sum()
        w = (m * c * A * rho * active)[:, None]                   # d/dz of min(rho*A, clip(rho)*A)
        z += lr * w * (np.eye(V)[y] - p_th)
    if it % 10 == 0:
        print(f"iter {it:2d}  mean KL(πθ‖πT) = {rkl(softmax(z), qT).mean():.3f}"
              f"   masked {1 - m.mean():.2f}   clip {clipped / (2 * S):.2f}")

# (3) recovery from the report's Table 5: (MOPD2 - RLVR) / (Teacher - RLVR)
rows = {"Terminal Bench 2.0": (44.5, 54.0, 50.0), "SWE-Bench Verified": (65.8, 71.7, 72.5),
        "BrowseComp": (31.0, 44.4, 51.0), "HLE (no tools)": (25.6, 26.7, 32.1)}
for k, (rl, m2, t) in rows.items():
    print(f"{k:<20} recovery {100 * (m2 - rl) / (t - rl):6.1f}%")
 

The first line should show an error close to 0 (about 0.002). In the second part, the mean reverse KL falls from around 3.5 to below 1, and the fraction of clipped tokens shrinks as training proceeds. The third part reproduces exactly the 172.7%, 88.1%, 67.0% and 16.9% given in the report.

PyTorch PyTorch: async MOPD loss (for reference) 로컬에서 실행run locally (pip install torch)
import torch

def async_mopd_loss(logp_theta, logp_prox, logp_behav, logp_teacher, mask,
                    eps=0.2, icepop=(0.5, 2.0)):
    """All inputs are logprobs of the sampled tokens, shape [B, T]. mask is 1 on response tokens, 0 elsewhere.
    logp_prox / logp_behav / logp_teacher are assumed precomputed, with no gradient."""
    adv = (logp_teacher - logp_prox).detach()                  # Eq. (2): per-token reverse-KL reward
    c = torch.exp(logp_prox - logp_behav).detach()             # behav -> prox importance weight
    keep = mask * ((c > icepop[0]) & (c < icepop[1])).float()  # IcePop-style token mask (range is an example)
    rho = torch.exp(logp_theta - logp_prox)                    # current policy / prox
    surr = torch.minimum(rho * adv, torch.clamp(rho, 1 - eps, 1 + eps) * adv)
    obj = (keep * c * surr).sum() / keep.sum().clamp_min(1.0)
    return -obj                                                # loss to minimize

# teacher logprobs come from one forward pass of the domain teacher over the same (prompt, rollout):
#   logp_teacher = teacher(input_ids).log_softmax(-1).gather(-1, next_ids[..., None]).squeeze(-1)
 
확인 문제Check yourself

In MOPD the teacher is much stronger than the student, but its strength comes from reasoning paths the student rarely samples. In light of the report and the figure above, what is the most likely outcome?

MOPD only sees log⁡πT(yt)−log⁡πθ(yt)\log\pi_T(y_t) - \log\pi_\theta(y_t) on tokens with y∼πθy \sim \pi_\theta. Paths the student does not sample never appear in the gradient, and reverse KL is mode-seeking. The report’s HLE is exactly this case. The reasoning teacher received extra SFT and RL on DeepSeek-V4-Pro-generated data the student had never seen, and recovery reached only 16.9%. Warmup barely helped HLE either (26.7 vs 26.3). The report notes that sampling multiple rollouts gave no benefit.

2. NVFP4 and Four-Over-Six

In block quantization the “largest value in the block” sets the scale. With aba_b the maximum absolute value of block bb and MM the maximum of the FP4 grid, the default (max) rule is

sb=QE4M3 ⁣(abM sg) sg,x^=sb QE2M1(x/sb),sg=max⁡∣X∣448⋅6s_b = Q_{\text{E4M3}}\!\Big(\frac{a_b}{M\, s_g}\Big)\, s_g, \qquad \hat x = s_b\, Q_{\text{E2M1}}(x / s_b), \qquad s_g = \frac{\max|X|}{448 \cdot 6}

(M=6M = 6; 448 is the maximum of E4M3). MXFP4 (32-element blocks) has power-of-two scales, so when aba_b does not line up with the top of the grid, the upper grid points go unused. NVFP4 has smaller 16-element blocks and a scale with 3 mantissa bits, so that loss is small. Storage costs 4+8/16=4.54 + 8/16 = 4.5 bits per element, slightly more than MXFP4’s 4.25 bits.

The FP4 grid gets sparser toward the top (there is no value between 4 and 6). Four-Over-Six builds two candidates per block, M=6M = 6 and M=4M = 4, and picks the one with smaller reconstruction error (§4.2). Choosing M=4M = 4 places the block maximum on the grid’s 4 and gives up the 4–6 range, but in exchange the grid below it becomes denser. The block scale then becomes 1.5× larger, so in the block holding the tensor-wide maximum the E4M3 code would be 448⋅6/4=672448 \cdot 6/4 = 672 and overflow. Hence the per-tensor scale is raised by 1.75× (672/1.75=384≤448672/1.75 = 384 \le 448). This is how the two numbers in the report, “global scale ×1.75; M=4 uses a 1.5× larger block scale”, fit together.

그림에서 볼 수 있는 두 가지가 보고서의 두 관찰과 대응한다.

  1. mode-seeking. reverse KL은 학생이 샘플한 곳에서만 teacher를 본다. teacher가 큰 확률을 두지만 학생이 거의 뽑지 않는 영역(그림의 큰 모드)은 신호가 오지 않는다. 학생이 작은 모드 근처에서 출발하면 거기 머문다.
  2. support 문제와 warmup. teacher와 학생이 서로 다른 SFT로 자라면 학생의 rollout이 teacher에게 분포 밖이 되어 채점이 부정확해진다(§3.3.3). 해결책은 MOPD 전에 teacher의 학습 분포에서 뽑은 데이터로 학생을 아주 가볍게 SFT하는 warmup이다. 그림에서 시작 위치를 옮기는 것과 같다. 보고서의 ablation(Table 4)에서 warmup이 없으면 GDPVal은 46.7 대신 35.3, BrowseComp는 44.4 대신 33.0이었다. HLE는 26.7 대 26.3으로 거의 차이가 없다.

보고서가 “시도했지만 이득이 없었다”고 밝힌 변형도 있다(§3.3.5). top-k 또는 전체 어휘에 대한 logit matching은 샘플 토큰 목적보다 나빴다(특히 Terminal Bench). 학생이 만든 prefix가 teacher의 지지 밖이면 teacher의 전체 분포가 부정확해서, 그것을 통째로 맞추는 것이 잡음을 키운다는 가설이다. 또 멀티턴 agent 환경을 끝까지 돌리는 rollout은 단일 turn 추론과 길이 차이가 너무 커서 비효율적이었고, 대부분의 agentic 과제는 PivotRL처럼 단일 turn rollout으로 처리했다.

NumPy MOPD: 샘플 토큰 advantage = reverse-KL gradient, 그리고 비동기 대리 목적
import numpy as np
rs = np.random.default_rng(1)

def softmax(z):
    z = z - z.max(-1, keepdims=True)
    e = np.exp(z)
    return e / e.sum(-1, keepdims=True)

def rkl(p, q):                                   # KL(p || q), 마지막 축
    return (p * (np.log(p) - np.log(q))).sum(-1)

# (1) 샘플 토큰 advantage의 기댓값 = reverse-KL의 음의 gradient
V = 12
z, zT = rs.normal(size=V), 2 * rs.normal(size=V)
p, q = softmax(z), softmax(zT)
exact = -p * (np.log(p) - np.log(q) - rkl(p, q))            # -dKL(p||q)/dz
y = rs.choice(V, size=200_000, p=p).astype(np.intp)
A = np.log(q[y]) - np.log(p[y])                              # A_t = log pi_T - log pi_theta (stop-grad)
mc = (A[:, None] * (np.eye(V)[y] - p)).mean(0)               # E[A * grad_z log pi_theta(y)]
print("MC 추정 vs 정확한 -∇KL, 최대 오차:", np.abs(mc - exact).max().round(4))

# (2) 비동기 MOPD 대리 목적(보고서 식 3)의 장난감: S개 상태, 상태마다 토큰 하나
S, V, eps, lr = 64, 16, 0.2, 0.5
qT = softmax(3 * rs.normal(size=(S, V)))         # teacher
z = rs.normal(size=(S, V))                       # student logits
z_behav = z.copy()                               # 한 버전 늦은 rollout 정책
lo, hi = 0.5, 2.0                                # IcePop식 마스크 구간 (예시 값)
idx = np.arange(S)
for it in range(41):
    p_behav, p_prox = softmax(z_behav), softmax(z)
    y = np.array([rs.choice(V, p=p_behav[s]) for s in range(S)]).astype(np.intp)
    A = np.log(qT[idx, y]) - np.log(p_prox[idx, y])               # 식 (2)
    c = p_prox[idx, y] / p_behav[idx, y]                          # behav -> prox 보정
    m = (c > lo) & (c < hi)                                       # 너무 어긋난 토큰은 뺀다
    z_behav = z.copy()                                            # 다음 rollout은 이 버전
    clipped = 0
    for _ in range(2):                                            # 같은 batch로 2번 update
        p_th = softmax(z)
        rho = p_th[idx, y] / p_prox[idx, y]
        active = ~(((A > 0) & (rho > 1 + eps)) | ((A < 0) & (rho < 1 - eps)))
        clipped += (~active).sum()
        w = (m * c * A * rho * active)[:, None]                   # d/dz of min(rho*A, clip(rho)*A)
        z += lr * w * (np.eye(V)[y] - p_th)
    if it % 10 == 0:
        print(f"iter {it:2d}  평균 KL(πθ‖πT) = {rkl(softmax(z), qT).mean():.3f}"
              f"   마스크 {1 - m.mean():.2f}   clip {clipped / (2 * S):.2f}")

# (3) 보고서 Table 5의 회복률: (MOPD2 - RLVR) / (Teacher - RLVR)
rows = {"Terminal Bench 2.0": (44.5, 54.0, 50.0), "SWE-Bench Verified": (65.8, 71.7, 72.5),
        "BrowseComp": (31.0, 44.4, 51.0), "HLE (no tools)": (25.6, 26.7, 32.1)}
for k, (rl, m2, t) in rows.items():
    print(f"{k:<20} 회복률 {100 * (m2 - rl) / (t - rl):6.1f}%")
 

첫 줄은 0에 가까운 오차(약 0.002)를 내야 한다. 둘째 부분에서는 평균 reverse KL이 3.5 근처에서 1 아래로 줄고, 학습이 진행되며 clip되는 토큰 비율이 줄어든다. 셋째 부분은 보고서가 적은 172.7%, 88.1%, 67.0%, 16.9%를 그대로 재현한다.

PyTorch PyTorch: 비동기 MOPD 손실 (참고용) 로컬에서 실행run locally (pip install torch)
import torch

def async_mopd_loss(logp_theta, logp_prox, logp_behav, logp_teacher, mask,
                    eps=0.2, icepop=(0.5, 2.0)):
    """모든 입력은 샘플된 토큰의 logprob, shape [B, T]. mask는 응답 토큰 1, 나머지 0.
    logp_prox / logp_behav / logp_teacher는 이미 계산되어 gradient가 없다고 가정한다."""
    adv = (logp_teacher - logp_prox).detach()                  # 식 (2): 토큰별 reverse-KL 보상
    c = torch.exp(logp_prox - logp_behav).detach()             # behav -> prox importance weight
    keep = mask * ((c > icepop[0]) & (c < icepop[1])).float()  # IcePop식 토큰 마스크 (구간은 예시)
    rho = torch.exp(logp_theta - logp_prox)                    # 현재 정책 / prox
    surr = torch.minimum(rho * adv, torch.clamp(rho, 1 - eps, 1 + eps) * adv)
    obj = (keep * c * surr).sum() / keep.sum().clamp_min(1.0)
    return -obj                                                # 최소화할 손실

# teacher logprob는 해당 도메인 teacher로 같은 (prompt, rollout)을 한 번 forward해서 얻는다:
#   logp_teacher = teacher(input_ids).log_softmax(-1).gather(-1, next_ids[..., None]).squeeze(-1)
 
확인 문제Check yourself

MOPD에서 teacher가 학생보다 훨씬 강하지만, 그 강점이 학생이 거의 샘플하지 않는 추론 경로에서 나온다. 보고서와 위 그림에 비추어 가장 가능성 높은 결과는?

MOPD는 y∼πθy \sim \pi_\theta인 토큰에서만 log⁡πT(yt)−log⁡πθ(yt)\log\pi_T(y_t) - \log\pi_\theta(y_t)를 본다. 학생이 뽑지 않는 경로는 gradient에 등장하지 않고, reverse KL은 mode-seeking이다. 보고서의 HLE가 이 경우다. 추론 teacher는 학생이 본 적 없는 DeepSeek-V4-Pro 생성 데이터로 추가 SFT·RL을 받았고, 회복률은 16.9%에 그쳤다. warmup도 HLE에는 거의 도움이 되지 않았다(26.7 대 26.3). 보고서는 rollout을 여러 개 뽑아도 이득이 없었다고 적었다.

2. NVFP4와 Four-Over-Six

블록 양자화는 “블록 안에서 가장 큰 값”이 scale을 정한다. 블록 bb의 최대 절댓값을 aba_b, FP4 격자의 최댓값을 MM이라 하면 기본(max) 규칙은

sb=QE4M3 ⁣(abM sg) sg,x^=sb QE2M1(x/sb),sg=max⁡∣X∣448⋅6s_b = Q_{\text{E4M3}}\!\Big(\frac{a_b}{M\, s_g}\Big)\, s_g, \qquad \hat x = s_b\, Q_{\text{E2M1}}(x / s_b), \qquad s_g = \frac{\max|X|}{448 \cdot 6}

이다(M=6M = 6, 448은 E4M3의 최댓값). MXFP4(32개 블록)는 scale이 2의 거듭제곱이라 aba_b가 격자 끝에 잘 맞지 않으면 위쪽 격자를 버린다. NVFP4는 블록이 16개로 더 작고 scale에 가수 3비트가 있어 그 손실이 작다. 저장 비용은 원소당 4+8/16=4.54 + 8/16 = 4.5비트로 MXFP4의 4.25비트보다 조금 크다.

FP4 격자는 위로 갈수록 성기다(4와 6 사이에 값이 없다). Four-Over-Six는 블록마다 M=6M = 6과 M=4M = 4 두 후보를 만들어 재구성 오차가 작은 쪽을 고른다(§4.2). M=4M = 4를 고르면 블록 최댓값이 격자의 4에 놓이고 4–6 구간을 쓰지 않는 대신 그 아래 격자가 촘촘해진다. 이때 block scale이 1.5배 커지므로, 텐서 전체의 최댓값이 있는 블록에서 E4M3 code가 448⋅6/4=672448 \cdot 6/4 = 672가 되어 넘친다. 그래서 per-tensor scale을 1.75배 키운다(672/1.75=384≤448672/1.75 = 384 \le 448). 보고서가 “global scale ×1.75, M=4는 1.5배 큰 block scale”이라고 적은 두 숫자가 이렇게 맞물린다.

bits/원소bits/element – 이 블록 scalethis block's scale – 4/6에서 M=4를 고른 블록blocks choosing M=4 under 4/6 – 4/6 vs max 상대 MSE4/6 vs max relative MSE –
Left: the original values (dots) and quantized values (×) of one block (16 values; for MXFP4, the first 16 of 32). The horizontal lines are the FP4 grid representable in that block. Right: the relative MSE over all 4096 weights. Lower the degrees of freedom to 2–3 to fatten the tails, and in each block a single large value sets the scale while the rest get crushed onto the grid points near 0. NVFP4, with smaller blocks and an E4M3 scale, has lower error than MXFP4 with its power-of-two scales, and 4/6, which picks a grid maximum of 4 or 6 per block, cuts the error once more. The report states that on real routed-expert weights, 4/6 reduced the median relative MSE by 16.4% versus max. 왼쪽은 한 블록(16개 값, MXFP4는 32개 중 앞 16개)의 원래 값(점)과 양자화 값(×), 가로선은 그 블록에서 표현 가능한 FP4 격자다. 오른쪽은 4096개 가중치 전체의 상대 MSE. 자유도를 2–3으로 내려 꼬리를 두껍게 하면 블록마다 큰 값 하나가 scale을 정하고 나머지는 0 근처 격자로 뭉개진다. 블록이 작고 scale이 E4M3인 NVFP4가 2의 거듭제곱 scale만 쓰는 MXFP4보다 오차가 작고, 블록마다 격자 최댓값을 4와 6 중 고르는 4/6은 여기서 오차를 한 번 더 줄인다. 보고서는 실제 routed-expert 가중치에서 4/6이 max 대비 중앙값 상대 MSE를 16.4% 줄였다고 적었다.
NumPy Implementing NVFP4 / MXFP4 / Four-Over-Six quantization from scratch
import numpy as np

E2M1 = np.array([0, 0.5, 1, 1.5, 2, 3, 4, 6])          # positive FP4 E2M1 grid

def round_e2m1(v):
    a = np.minimum(np.abs(v), 6.0)
    idx = np.abs(a[..., None] - E2M1).argmin(-1)
    return np.sign(v) * E2M1[idx]

def round_e4m3(v):                                      # FP8 E4M3 (positive scales only)
    v = np.asarray(v, dtype=np.float64)
    e = np.maximum(np.floor(np.log2(np.maximum(v, 1e-30))), -6)
    step = 2.0 ** (e - 3)                               # 3 mantissa bits
    return np.minimum(np.round(v / step) * step, 448.0)

def mxfp4(x):                                           # 32-element blocks, power-of-two scale
    b = x.reshape(-1, 32)
    amax = np.abs(b).max(1, keepdims=True)
    s = 2.0 ** (np.floor(np.log2(amax)) - 2)            # E2M1 max exponent is 2
    return (round_e2m1(b / s) * s).reshape(x.shape)

def nvfp4(x, four_six=False):                           # 16-element blocks, E4M3 scale + FP32 global scale
    b = x.reshape(-1, 16)
    sg = np.abs(x).max() / (448 * 6) * (1.75 if four_six else 1.0)
    amax = np.abs(b).max(1, keepdims=True)
    best_q, best_err, chose4 = None, None, None
    for M in ([6, 4] if four_six else [6]):
        s = round_e4m3(amax / M / sg) * sg
        q = round_e2m1(b / s) * s
        err = ((q - b) ** 2).sum(1, keepdims=True)
        if best_q is None:
            best_q, best_err, chose4 = q, err, np.zeros_like(err, dtype=bool)
        else:
            better = err < best_err
            best_q = np.where(better, q, best_q)
            best_err = np.where(better, err, best_err)
            chose4 = chose4 | better
    return best_q.reshape(x.shape), chose4.mean()

rel = lambda x, q: ((x - q) ** 2).sum() / (x ** 2).sum()
rs = np.random.default_rng(0)
print(f"{'dist':<10}{'MXFP4':>9}{'NVFP4 max':>11}{'NVFP4 4/6':>11}{'M=4 frac':>9}")
for name, w in [("normal", rs.normal(0, 0.02, 1 << 16)),
                ("t(df=4)", 0.02 * rs.standard_t(4, 1 << 16)),
                ("t(df=2)", 0.02 * rs.standard_t(2, 1 << 16))]:
    q46, frac4 = nvfp4(w, True)
    print(f"{name:<10}{rel(w, mxfp4(w)):>9.4f}{rel(w, nvfp4(w)[0]):>11.4f}{rel(w, q46):>11.4f}{frac4:>9.2f}")

print("bits/element  MXFP4 =", 4 + 8 / 32, "  NVFP4 =", 4 + 8 / 16)
code = 448 * 6 / 4                                      # max M=4 code with the global scale unchanged
print("max M=4 block-scale code: global x1 ->", code, "(exceeds E4M3 max 448),  global x1.75 ->", round(code / 1.75, 1))
 

On normally distributed weights, 4/6 reduces relative MSE by about 17% compared with the max rule, and close to half of the blocks choose M=4M=4. That is similar in size to the 16.4% median reduction the report measured on 49,152 real routed-expert projection matrices. In the report, however, a scale choice that directly minimizes MSE cut weight MSE by a further 27.1% and still did not consistently improve downstream accuracy. Reconstruction error is not the same thing as model quality.

Results

What MOPD recovers

NumPy NVFP4 / MXFP4 / Four-Over-Six 양자화를 직접 구현
import numpy as np

E2M1 = np.array([0, 0.5, 1, 1.5, 2, 3, 4, 6])          # FP4 E2M1 양수 격자

def round_e2m1(v):
    a = np.minimum(np.abs(v), 6.0)
    idx = np.abs(a[..., None] - E2M1).argmin(-1)
    return np.sign(v) * E2M1[idx]

def round_e4m3(v):                                      # FP8 E4M3 (양수 scale 전용)
    v = np.asarray(v, dtype=np.float64)
    e = np.maximum(np.floor(np.log2(np.maximum(v, 1e-30))), -6)
    step = 2.0 ** (e - 3)                               # 가수 3비트
    return np.minimum(np.round(v / step) * step, 448.0)

def mxfp4(x):                                           # 32개 블록, 2의 거듭제곱 scale
    b = x.reshape(-1, 32)
    amax = np.abs(b).max(1, keepdims=True)
    s = 2.0 ** (np.floor(np.log2(amax)) - 2)            # E2M1 최대 지수 2
    return (round_e2m1(b / s) * s).reshape(x.shape)

def nvfp4(x, four_six=False):                           # 16개 블록, E4M3 scale + FP32 전역 scale
    b = x.reshape(-1, 16)
    sg = np.abs(x).max() / (448 * 6) * (1.75 if four_six else 1.0)
    amax = np.abs(b).max(1, keepdims=True)
    best_q, best_err, chose4 = None, None, None
    for M in ([6, 4] if four_six else [6]):
        s = round_e4m3(amax / M / sg) * sg
        q = round_e2m1(b / s) * s
        err = ((q - b) ** 2).sum(1, keepdims=True)
        if best_q is None:
            best_q, best_err, chose4 = q, err, np.zeros_like(err, dtype=bool)
        else:
            better = err < best_err
            best_q = np.where(better, q, best_q)
            best_err = np.where(better, err, best_err)
            chose4 = chose4 | better
    return best_q.reshape(x.shape), chose4.mean()

rel = lambda x, q: ((x - q) ** 2).sum() / (x ** 2).sum()
rs = np.random.default_rng(0)
print(f"{'분포':<10}{'MXFP4':>9}{'NVFP4 max':>11}{'NVFP4 4/6':>11}{'M=4 비율':>9}")
for name, w in [("정규", rs.normal(0, 0.02, 1 << 16)),
                ("t(df=4)", 0.02 * rs.standard_t(4, 1 << 16)),
                ("t(df=2)", 0.02 * rs.standard_t(2, 1 << 16))]:
    q46, frac4 = nvfp4(w, True)
    print(f"{name:<10}{rel(w, mxfp4(w)):>9.4f}{rel(w, nvfp4(w)[0]):>11.4f}{rel(w, q46):>11.4f}{frac4:>9.2f}")

print("bits/element  MXFP4 =", 4 + 8 / 32, "  NVFP4 =", 4 + 8 / 16)
code = 448 * 6 / 4                                      # 전역 scale 그대로일 때 M=4 최대 code
print("M=4 최대 block-scale code: 전역 x1 ->", code, "(E4M3 최대 448 초과),  전역 x1.75 ->", round(code / 1.75, 1))
 

정규분포 가중치에서 4/6은 max 규칙보다 상대 MSE를 약 17% 줄이고, 블록의 절반 가까이가 M=4M=4를 고른다. 보고서가 실제 routed-expert 가중치 49,152개 투영 행렬에서 잰 중앙값 감소 16.4%와 크기가 비슷하다. 다만 보고서에서 MSE를 직접 최소화하는 scale 선택은 가중치 MSE를 27.1% 더 줄였는데도 downstream 정확도는 일관되게 오르지 않았다. 재구성 오차가 곧 모델 품질은 아니다.

실험 결과

MOPD는 무엇을 회복하는가

RLVR → MOPD2 – teacher와의 격차 회복gap to teacher recovered –
Left: scores of SFT → RLVR → MOPD1 → MOPD2 on the selected benchmark, with the corresponding domain teacher (dashed). Right: recovery (MOPD2 − RLVR)/(Teacher − RLVR) on 11 benchmarks; above 100% the student has overtaken the teacher (numbers exactly as in the report's Table 5). Click a bar or pick HLE from the list to see that, unlike agentic tasks, self-contained reasoning recovers little. Checking the warmup box switches to the "no warmup" MOPD results of Table 4: GDPVal and BrowseComp drop sharply, while HLE barely moves. 왼쪽: 고른 벤치마크에서 SFT → RLVR → MOPD1 → MOPD2의 점수와 해당 도메인 teacher(점선). 오른쪽: 11개 벤치마크의 회복률 (MOPD2 − RLVR)/(Teacher − RLVR), 100%를 넘으면 학생이 teacher를 앞선 것이다(보고서 Table 5의 숫자 그대로). 막대를 클릭하거나 목록에서 HLE를 고르면 에이전트 과제와 달리 자기완결형 추론에서 회복률이 낮은 것이 보인다. warmup 체크를 켜면 Table 4의 "warmup 없음" MOPD 결과로 바뀐다. GDPVal과 BrowseComp는 크게 떨어지지만 HLE는 거의 그대로다.

In Table 5, MOPD improved the RLVR student on every benchmark, and on agentic tasks (Terminal Bench 172.7%, TauBench Telecom 90.3%, SWE-Bench Verified 88.1%, GDPVal 86.4%) and a reliability metric (OmniScience non-hallucination 79.6%) it closed most of the gap to the teacher. On Terminal Bench and Multi-Challenge it surpassed the teacher. The report interprets MOPD2 beating the teacher on Terminal Bench’s data-science tasks as transfer from the office-work teacher. On self-contained reasoning (LiveCodeBench 32.0%, HLE 16.9%) recovery is small.

The contribution of the RLVR stage can also be read off the table. The OmniScience non-hallucination score rose from 4.8 after SFT to 46.3 after RLVR, and TauBench Telecom from 55.7 to 82.7. IMOAnswerBench, on the other hand, dipped slightly from 85.1 to 84.5 during RLVR and recovered to 88.6 with MOPD.

Final model comparison (excerpt from Table 10)

BenchmarkN3 Ultra 550B-A55BMiniMax-2.7GLM-5.1Kimi-K2.6Qwen-3.5 397BDS-v4-ProDS-v4-Flash
Terminal Bench 2.156.455.559.367.249.949.254.2
SWE-Bench Verified70.775.376.275.773.674.573.5
GDPVal46.747.654.750.434.654.650.2
BrowseComp44.454.159.461.340.559.446.9
PinchBench (held-out)90.077.681.290.286.688.691.3
ProfBench Search (held-out)56.052.046.056.053.059.957.0
LiveCodeBench (v6)89.077.285.790.279.392.590.9
HLE (no tools)26.723.127.234.828.537.732.2
GPQA (no tools)87.086.686.191.087.187.888.5
IOI 2025 (/600)570.0–456.5585.0441.3580.1–
RULER (1M)94.7–––90.194.287.7
OmniScience Non-Hallucination78.774.466.867.17.45.72.8

On accuracy, Ultra is not the leader. On most agentic benchmarks GLM-5.1 or Kimi-K2.6 is ahead, and on HLE it trails DeepSeek-V4-Pro by 11 points. The report’s claim is “comparable accuracy at much higher throughput” (Figure 1), and the longer the outputs of agentic work, the stronger that claim becomes. The report stresses that PinchBench and ProfBench are held-out gates that were never looked at during development and were measured only once, on the final model (§3.7.2). The non-hallucination score of 78.7 is the highest in the table.

Base model (excerpt from Table 2)

BenchmarkN3 Ultra BaseDeepSeek-V3.2-Exp BaseMistral-Large-3 BaseKimi-K2 BaseGLM-4.5 Base
MMLU (5-shot)89.0887.8287.3587.6086.50
MMLU-Pro (5-shot CoT)79.0763.2667.4269.1565.78
GPQA (5-shot CoT)50.0031.8234.8543.4334.85
MATH (4-shot)82.0060.1262.8868.4057.58
HumanEval (pass@1, n=32)83.8461.8566.7178.2078.16
WinoGrande (5-shot)79.3283.4382.0884.2185.24
RULER 128K92.4991.8855.7788.610.00
RULER 1M76.83––––

On MMLU-Pro, GPQA and MATH the gaps between base models are large, 10–20 points. Given that the SFT-format and benchmark-seeded synthetic data from the data section are part of pretraining, it is hard to tell whether this reflects “the base’s knowledge” or “a base that is familiar with the format”. On commonsense tasks (WinoGrande, PIQA) the comparison models are actually ahead.

Efficiency ablations

ItemResultSource
MTP speculative decoding for RL rolloutsOf k∈{0,3,5,7}k \in \{0, 3, 5, 7\}, k=5k=5 cuts rollout time by 1.46×; the gain is concentrated in long-tail trajectories§3.6.1, Figure 12
MTP Boosting (draft 7)SPEED-Bench mean acceptance length 4.387 → 4.584 (greedy), an extra 3.15–5.82% speculative-decoding speedup§3.4, Table 6
Quantization BPE sweepFrom 4.85 → 5.03 BPE, AA-LCR 62.25 → 64.69; no change above that (up to 7.19 BPE)§4.1, Table 13
FP4 weight scale rule (5.03 BPE)Median accuracy recovery: max 96.78%, MSE 98.40%, 4/6 98.50%§4.2, Table 14
Same rules (4.85 BPE, Mamba also NVFP4)max 98.32%, MSE 97.57%, 4/6 84.71%Table 14

The quantization results carry a lesson. Most benchmarks were already saturated at the lowest setting, 4.85 BPE, and only long-context reasoning (AA-LCR) recovered at 5.03 BPE, which mixes in FP8 layers. And 4/6 breaks down badly (84.71%) in the aggressive setting that also takes the Mamba linear layers down to FP4. The report speculates that this may be because Mamba linear layers are sensitive to outliers and prefer the max scale. The final quantization recipe is NVFP4 routed experts, FP8 shared experts and Mamba linear layers, BF16 attention and latent projections, an FP8 KV cache, and an FP16 Mamba SSM cache (with stochastic rounding) (Table 12).

확인 문제Check yourself

Serving Ultra in a 50K-input / 2K-output (prefill-heavy) setting is slower than Qwen-3.5-397B-A17B, while at 8K input / 64K output it is 1.6× faster. What is the best explanation?

Prefill is compute-bound, so FLOPs per token, i.e. active parameters, set the cost. Ultra is at roughly a 3.2× disadvantage. In large-batch decode practically every expert is active, so reading the full weights (550B vs 397B, about 1.39×) becomes the cost, and the remaining difference is decided by token mixing. The decode cost of Mamba-2 layers does not depend on length, so the longer the output, the more Ultra comes out ahead (§5.1, Figure 15).

Reading critically

  • Comparison conditions. In the throughput comparison (Figure 1), only Ultra was measured with TRT-LLM and the others with vLLM. All runs were NVFP4 on GB200 and took the better of with and without speculative decoding, but different engines mean part of the result could be software optimization. It is also not clear, row by row, whether the other models’ numbers in the accuracy table (Table 10) were measured directly or taken from official values.
  • Benchmark-shaped synthetic data. Pretraining includes synthetic multiple-choice and generative Q&A seeded from public benchmark train splits, and SFT-format data alone makes up 15–17% of the mixture (the share of synthetic Q&A is not given separately). Test splits were reportedly not used, but the large gaps in the base comparison (Table 2) are entangled with the effect of this data. SimpleQA was measured after conversion to multiple choice, and the report itself states that it is not comparable.
  • Provenance of the teacher data. Many SFT datasets and teachers were built from outputs of other companies’ open-weight models (DeepSeek-V3.2, MiniMax-M2.5, GLM 5.1, gpt-oss-120b, the Qwen3 family), and the reasoning teacher was trained on data generated by DeepSeek-V4-Pro. It is “fully open”, but the distillation chain is long.
  • Missing information. Ultra’s own optimizer, batch size, total post-training compute, MOPD’s λi\lambda_i and per-teacher weighting, the IcePop thresholds, and the details of the unified RLVR reward design are not given. Many sentences read “the rest is the same as Super”, so the two reports have to be read together.
  • Unresolved instability. The second divergence was gotten past without finding its cause, by rewinding to 15T, starting annealing right away and cutting the total length to 20T (Figure 7 compares annealing at the 25T and 20T horizons). The report itself notes that the correlation with MaxVio and residual norm is not causation.
  • Inconsistent labels. The same comparison model, GLM-5.1, appears as 754B-A40B in the introduction and as 744B-A40B in Table 10. The MOPD table (Table 5) uses Terminal Bench 2.0 and the final table (Table 10) uses 2.1, so the two numbers (54.0, 56.4) should not be compared directly.

Summary

  • Ultra is a 550B-A55B hybrid of 48 Mamba-2 layers, 12 attention layers and 48 LatentMoE layers. In decode memory only the KV term of the 12 attention layers grows with length, while the Mamba state (about 403 MB per sequence in FP32) is constant. That is why it leads by a wide margin in throughput on agentic work with long outputs.
  • LatentMoE runs the routed experts in ℓ=d/4\ell = d/4 dimensions and converts the saved weight reads and communication into more experts (512) and a larger top-K (22).
  • 20T-token NVFP4 pretraining stayed within 0.4% in loss of a BF16 control. The first divergence was a precision problem in which MTP’s small gradients vanished in BF16 accumulation; the second, of unknown cause, was gotten past by shortening training.
  • MOPD runs reverse-KL distillation, which uses log⁡πT−log⁡πθ\log\pi_T - \log\pi_\theta as the advantage for every token of the student’s rollouts, in an asynchronous PPO form. On agentic tasks it closes most of the gap to the teacher, but it cannot transfer reasoning paths the student does not sample (HLE). Aligning support with a warmup SFT was decisive.
  • MTP is used three times: as a pretraining auxiliary loss, for RL rollout acceleration (1.46×), and as a deployment draft (Boosting raises acceptance length 4.39 → 4.58). Post-training quantization settled on a 5.03-BPE NVFP4 + FP8 mix with Four-Over-Six scales.

Table 5에서 MOPD는 모든 벤치마크에서 RLVR 학생을 올렸고, 에이전트 과제(Terminal Bench 172.7%, TauBench Telecom 90.3%, SWE-Bench Verified 88.1%, GDPVal 86.4%)와 신뢰성 지표(OmniScience 비환각 79.6%)에서 teacher와의 격차를 대부분 메웠다. Terminal Bench와 Multi-Challenge에서는 teacher를 넘었다. 보고서는 MOPD2가 Terminal Bench의 데이터 과학 과제에서 teacher를 앞선 것을 오피스 업무 teacher에서 온 전이로 해석한다. 자기완결형 추론(LiveCodeBench 32.0%, HLE 16.9%)에서는 회복이 작다.

RLVR 단계의 기여도 표에서 읽힌다. OmniScience 비환각 점수는 SFT 4.8에서 RLVR 46.3으로, TauBench Telecom은 55.7에서 82.7로 올랐다. 반면 IMOAnswerBench는 RLVR에서 85.1에서 84.5로 약간 내려갔다가 MOPD에서 88.6으로 회복된다.

최종 모델 비교 (Table 10에서 발췌)

벤치마크N3 Ultra 550B-A55BMiniMax-2.7GLM-5.1Kimi-K2.6Qwen-3.5 397BDS-v4-ProDS-v4-Flash
Terminal Bench 2.156.455.559.367.249.949.254.2
SWE-Bench Verified70.775.376.275.773.674.573.5
GDPVal46.747.654.750.434.654.650.2
BrowseComp44.454.159.461.340.559.446.9
PinchBench (held-out)90.077.681.290.286.688.691.3
ProfBench Search (held-out)56.052.046.056.053.059.957.0
LiveCodeBench (v6)89.077.285.790.279.392.590.9
HLE (no tools)26.723.127.234.828.537.732.2
GPQA (no tools)87.086.686.191.087.187.888.5
IOI 2025 (/600)570.0–456.5585.0441.3580.1–
RULER (1M)94.7–––90.194.287.7
OmniScience Non-Hallucination78.774.466.867.17.45.72.8

정확도로 보면 Ultra는 선두가 아니다. 에이전트 벤치마크 대부분에서 GLM-5.1이나 Kimi-K2.6이 앞서고, HLE에서는 DeepSeek-V4-Pro와 11점 차이가 난다. 보고서의 주장은 “같은 수준의 정확도를 훨씬 높은 처리량으로”(Figure 1)이고, 에이전트 작업에서 출력 길이가 길수록 그 주장이 유리해진다. PinchBench와 ProfBench는 개발 중 한 번도 보지 않고 최종 모델에서 한 번만 잰 held-out 관문이라는 점을 보고서는 강조한다(§3.7.2). 비환각 점수 78.7은 표에서 가장 높다.

Base 모델 (Table 2에서 발췌)

벤치마크N3 Ultra BaseDeepSeek-V3.2-Exp BaseMistral-Large-3 BaseKimi-K2 BaseGLM-4.5 Base
MMLU (5-shot)89.0887.8287.3587.6086.50
MMLU-Pro (5-shot CoT)79.0763.2667.4269.1565.78
GPQA (5-shot CoT)50.0031.8234.8543.4334.85
MATH (4-shot)82.0060.1262.8868.4057.58
HumanEval (pass@1, n=32)83.8461.8566.7178.2078.16
WinoGrande (5-shot)79.3283.4382.0884.2185.24
RULER 128K92.4991.8855.7788.610.00
RULER 1M76.83––––

MMLU-Pro, GPQA, MATH에서 base 간 격차가 10–20점으로 크다. 앞의 데이터 절에서 본 SFT 형식·벤치마크 seed 합성 데이터가 사전학습에 들어가 있다는 점을 생각하면, 이것이 “base의 지식”인지 “형식에 익숙한 base”인지 구분하기 어렵다. 상식 과제(WinoGrande, PIQA)에서는 오히려 비교 모델이 앞선다.

효율 관련 ablation

항목결과출처
RL rollout에 MTP speculative decodingk∈{0,3,5,7}k \in \{0, 3, 5, 7\} 중 k=5k=5가 rollout 시간 1.46배 단축, 이득은 긴 꼬리 trajectory에 집중§3.6.1, Figure 12
MTP Boosting (draft 7)SPEED-Bench 평균 수락 길이 4.387 → 4.584 (greedy), speculative decoding 속도 이득 3.15–5.82% 추가§3.4, Table 6
양자화 BPE sweep4.85 → 5.03 BPE에서 AA-LCR 62.25 → 64.69, 그 위(7.19 BPE까지)로는 변화 없음§4.1, Table 13
FP4 weight scale 규칙 (5.03 BPE)정확도 회복 중앙값 max 96.78%, MSE 98.40%, 4/6 98.50%§4.2, Table 14
같은 규칙 (4.85 BPE, Mamba까지 NVFP4)max 98.32%, MSE 97.57%, 4/6 84.71%Table 14

양자화 결과에서 배울 점이 있다. 대부분의 벤치마크는 가장 낮은 4.85 BPE에서 이미 포화했고, 오직 long-context 추론(AA-LCR)만 FP8 층을 섞는 5.03 BPE에서 회복됐다. 그리고 4/6은 Mamba 선형층까지 FP4로 내리는 공격적 설정에서 크게 무너진다(84.71%). 보고서는 Mamba 선형층이 outlier에 민감해 max scale을 선호하기 때문일 수 있다고 추측한다. 최종 양자화 레시피는 routed expert NVFP4, shared expert와 Mamba 선형층 FP8, attention과 latent 투영 BF16, KV cache FP8, Mamba SSM cache FP16(stochastic rounding)이다(Table 12).

확인 문제Check yourself

Ultra를 50K 입력 / 2K 출력(prefill 위주) 설정으로 서빙하면 Qwen-3.5-397B-A17B보다 느리고, 8K 입력 / 64K 출력에서는 1.6배 빠르다. 가장 적절한 설명은?

prefill은 연산량이 병목이라 토큰당 FLOPs, 즉 active 파라미터가 비용을 정한다. Ultra는 약 3.2배 불리하다. 큰 batch decode에서는 사실상 모든 expert가 활성화되어 전체 가중치 읽기(550B 대 397B, 약 1.39배)가 비용이 되고, 남은 차이는 token mixing이 가른다. Mamba-2 층의 decode 비용은 길이에 무관하므로 출력이 길수록 Ultra가 유리하다(§5.1, Figure 15).

비판적으로 읽기

  • 비교 조건. 처리량 비교(Figure 1)는 Ultra만 TRT-LLM, 나머지는 vLLM으로 쟀다. 모두 GB200의 NVFP4이고 speculative decoding 유무 중 좋은 쪽을 택했다고 하지만, 엔진이 다르다는 것은 결과의 일부가 소프트웨어 최적화일 수 있다는 뜻이다. 정확도 표(Table 10)의 다른 모델 수치가 직접 잰 것인지 공식 값인지도 행마다 분명하지 않다.
  • 벤치마크형 합성 데이터. 사전학습에는 공개 벤치마크 train split을 seed로 한 합성 객관식·생성형 Q&A가 들어가고, SFT 형식 데이터만 해도 혼합의 15–17%다(합성 Q&A의 비중은 따로 밝히지 않았다). test split은 쓰지 않았다지만 base 비교(Table 2)의 큰 격차는 이 데이터의 효과와 섞여 있다. SimpleQA는 객관식으로 바꿔 쟀다고 보고서도 비교 불가를 명시한다.
  • teacher 데이터의 출처. 여러 SFT 데이터와 teacher가 다른 회사의 공개 가중치 모델(DeepSeek-V3.2, MiniMax-M2.5, GLM 5.1, gpt-oss-120b, Qwen3 계열)의 출력으로 만들어졌고, 추론 teacher는 DeepSeek-V4-Pro 생성 데이터로 학습했다. “fully open”이지만 증류 사슬이 길다.
  • 빠진 정보. Ultra 고유의 optimizer, batch 크기, 사후학습 전체 compute, MOPD의 λi\lambda_i와 teacher별 비중, IcePop 임계값, 통합 RLVR의 보상 설계 세부는 없다. “나머지는 Super와 같다”는 문장이 많아 두 보고서를 같이 읽어야 한다.
  • 해결되지 않은 불안정. 두 번째 발산은 원인을 찾지 못한 채 15T에서 되감아 곧바로 annealing을 시작하고 전체 길이를 20T로 줄여 넘어갔다(Figure 7은 25T·20T 두 horizon의 annealing을 비교한다). MaxVio와 residual norm의 상관은 인과가 아니라고 보고서 스스로 적는다.
  • 표기 차이. 같은 비교 모델 GLM-5.1이 서론에서는 754B-A40B, Table 10에서는 744B-A40B로 적혀 있다. MOPD 표(Table 5)는 Terminal Bench 2.0, 최종 표(Table 10)는 2.1이라 두 숫자(54.0, 56.4)를 바로 비교하면 안 된다.

정리

  • Ultra는 Mamba-2 48층, attention 12층, LatentMoE 48층으로 된 550B-A55B 하이브리드다. decode 메모리의 KV 항은 attention 12층만 길이에 비례하고, Mamba 상태(시퀀스당 FP32 약 403 MB)는 상수다. 그래서 출력이 긴 에이전트 작업에서 처리량이 크게 앞선다.
  • LatentMoE는 routed expert를 ℓ=d/4\ell = d/4 차원에서 돌려 아낀 weight 읽기와 통신을 expert 수(512)와 top-K(22)로 바꾼다.
  • 20T 토큰 NVFP4 사전학습은 BF16 대조군과 0.4% 미만의 loss 차이를 보였다. 첫 발산은 MTP의 작은 gradient가 BF16 누적에서 사라진 정밀도 문제였고, 둘째 발산은 원인 미상으로 학습 길이를 줄여 넘겼다.
  • MOPD는 학생 rollout의 토큰마다 log⁡πT−log⁡πθ\log\pi_T - \log\pi_\theta를 advantage로 주는 reverse-KL 증류를 비동기 PPO 형태로 돌린다. 에이전트 과제에서는 teacher 격차의 대부분을 메우지만, 학생이 샘플하지 않는 추론 경로(HLE)는 옮기지 못한다. warmup SFT로 support를 맞추는 것이 결정적이었다.
  • MTP는 사전학습 보조 손실, RL rollout 가속(1.46배), 배포용 draft(Boosting으로 수락 길이 4.39 → 4.58)로 세 번 쓰인다. 사후 양자화는 5.03 BPE의 NVFP4 + FP8 혼합과 Four-Over-Six scale로 마무리했다.

더 읽을거리Further reading