HyperAIHyperAI

Command Palette

Search for a command to run...

Ring-Zero: 創発的推論のための1兆パラメータへのゼロRLのスケーリング

概要

人間の注釈データを用いない検証可能な報酬による強化学習(RLVR)、いわゆる「ゼロRL」は、連鎖的思考(CoT)推論を引き出す強力なパラダイムとして登場した。しかし、計算上の制約から、既存研究は主に小規模モデルに限定されており、大規模での訓練ダイナミクスや創発的能力は未探索のままである。このフロンティアを有意義に探求するため、我々はモデルから高品質な推論行動を引き出すことを目指す。しかし、単純なスケーリングでは、可読性の低さ、トークンの冗長性、適応的推論深度の欠如といった問題が生じることが判明した。これらの課題に対処するため、クリップ付き重点サンプリング、訓練推論比率補正、混合精度制御などのアルゴリズム的・システム的最適化を組み込んだ、安定かつ効率的な訓練パイプラインを提案する。実験により、スケーリングの「苦い教訓」を裏付ける3つの主要な知見が得られた:(1) 1兆パラメータへのスケーリングはサンプル効率と性能上限を著しく向上させる;(2) 訓練プロセスは初期の「発見」フェーズとそれに続く「研ぎ澄まし」フェーズを順次経て進行する;(3) モデルは擬人化、構造化フォーマット、自己検証、並列推論、文脈不安といった高度な認知行動を自発的に発達させ、手作りのヒューリスティクスを不要にする。7つの挑戦的な数学ベンチマークで評価した結果、Ring-2.5-1T-Zeroは競争力のある性能を達成した。さらに、最終回答の正しさを超えてCoTの品質を評価するため、理解可能性、再現性、効率性の3次元にわたる構造化評価フレームワークを提案し、その下で我々のモデルは構造化され簡潔な推論トレースを生成する明確な利点を示した。実験の詳細と観察された創発的現象を共有することで、特に1兆パラメータ規模でのスケーリング行動に関するより深い洞察をコミュニティに提供したい。

One-sentence Summary

Researchers from Renmin University of China, Ant Group, and colleagues present Ring-2.5-1T-Zero, a 1-trillion-parameter model trained with zero RL and a stable pipeline featuring clipped importance sampling, training-inference ratio correction, and mixed-precision control, which exhibits emergent reasoning behaviors like self-verification and parallel reasoning, achieving competitive math benchmark performance and structured, concise chain-of-thought.

Key Contributions

  • A stable training pipeline for zero reinforcement learning at the trillion-parameter scale is built, combining clipped importance sampling, training-inference ratio correction, and mixed-precision control to resolve numerical and structural bottlenecks.
  • Scaling to 1T parameters significantly improves sample efficiency and performance, revealing a two-phase learning process (discovery then sharpening) and the spontaneous emergence of advanced reasoning behaviors such as self-verification and structured formatting, making hand-crafted heuristics unnecessary.
  • A structured evaluation framework is proposed to assess chain-of-thought quality along comprehensibility, reproducibility, and efficiency, and the resulting model, Ring-2.5-1T-Zero, produces clear, concise reasoning traces while achieving competitive results on seven mathematical benchmarks.

Introduction

The authors tackle the challenge of scaling "zero RL" for chain-of-thought reasoning to trillion-parameter models. Prior work demonstrated that reinforcement learning with verifiable rewards applied directly to a base model can elicit emergent reasoning without supervised fine-tuning, but these studies were limited to smaller scales due to computational constraints. Naive application at scale introduced critical issues: reasoning traces became unreadable and unstructured, standard algorithms like GRPO introduced length bias leading to uncontrolled verbose outputs, and models were locked into a single reasoning depth regardless of problem complexity. The authors’ main contribution is a minimalist yet stable self-iterative training pipeline for a 1-trillion-parameter model that relies on clipped importance ratio policy optimization, training-inference ratio correction, sample-level loss normalization, and tier-based adaptive training. This pipeline avoids heavy human-crafted heuristics and instead unlocks spontaneous emergence of structured formatting, self-verification, parallel reasoning, and other advanced cognitive strategies purely through scale, validating the “bitter lesson” that computation overtakes human-engineered design.

Method

The authors adopt a minimalist training framework designed to elicit and scale reasoning capabilities from a base pretrained model without any human-annotated data. The core philosophy is to introduce algorithmic modifications only when strictly necessary to stabilize the iterative learning process. The entire training pipeline consists of four distinct phases: an initial reinforcement learning stage that bootstraps chain-of-thought reasoning, a self-distillation phase that compresses and stabilizes the model, a second RL stage that sustains optimization without uncontrolled length growth, and a final RL stage that equips the model with adaptive reasoning depth for different difficulty levels. Infrastructure optimizations for mixed-precision and context parallelism ensure that the long-context RL training remains numerically stable and computationally efficient.

In the first RL stage, reasoning elicitation, the model rarely generates step-by-step derivations because reasoning tokens have very low probability under the base policy. To amplify these tokens aggressively, the authors use a clipped importance-sampling policy gradient. Unlike standard PPO-clip, which zeroes out gradients outside the clipping range, this variant applies a stop-gradient to the clipped ratio while allowing gradient flow for all tokens, ensuring every token contributes to building reasoning abilities. The objective is:

J(θ)=EqD{oi}i=1GπS[i=1Gt=1oisg(ρ^i,t)A^i,tlogπMθ(oi,tq,oi,<t)],\mathcal{J}(\theta) = \mathbb{E}_{\substack{q \sim \mathcal{D} \\ \{o_i\}_{i=1}^G \sim \pi_{\mathrm{S}}}} \left[ \sum_{i=1}^G \sum_{t=1}^{|o_i|} \operatorname{sg}(\hat{\rho}_{i,t}) \cdot \hat{A}_{i,t} \cdot \log \pi_{\mathrm{M}}^{\theta}(o_{i,t} \mid q, o_{i,<t}) \right],J(θ)=EqD{oi}i=1GπSi=1Gt=1oisg(ρ^i,t)A^i,tlogπMθ(oi,tq,oi,<t),

where qqq is a question from dataset D\mathcal{D}D, {oi}\{o_i\}{oi} are group rollout responses from the inference engine πS\pi_{\mathrm{S}}πS, A^i,t\hat{A}_{i,t}A^i,t are advantage estimates computed with group-normalized rewards, sg()\operatorname{sg}(\cdot)sg() is the stop-gradient operator, and ρ^i,t\hat{\rho}_{i,t}ρ^i,t is the clipped importance ratio.

A critical stability challenge arises from numerical discrepancies between the training engine (Megatron) and the inference engine (SGLang) due to differences in floating-point precision and kernel implementations. To prevent these micro-discrepancies from compounding into macroscopic collapses, the numerator of the importance sampling ratio is replaced with the actual training-engine logits:

ρi,t=πMθ(oi,tq,oi,<t)πSθold(oi,tq,oi,<t),ρ^i,t=clip(ρi,t,ϵlow,ϵhigh),\rho_{i,t} = \frac{\pi_{\mathrm{M}}^{\theta}(o_{i,t} \mid q, o_{i,<t})}{\pi_{\mathrm{S}}^{\theta_{\mathrm{old}}}(o_{i,t} \mid q, o_{i,<t})}, \quad \hat{\rho}_{i,t} = \operatorname{clip}(\rho_{i,t}, \epsilon_{\mathrm{low}}, \epsilon_{\mathrm{high}}),ρi,t=πSθold(oi,tq,oi,<t)πMθ(oi,tq,oi,<t),ρ^i,t=clip(ρi,t,ϵlow,ϵhigh),

where only an upper bound ϵhigh\epsilon_{\mathrm{high}}ϵhigh is applied to prevent excessively large updates while no lower bound is enforced. This correction accurately reflects the true divergence between engines. Additionally, a KL divergence penalty against a frozen reference model constrains the policy drift, and a token-level loss is used, summing over all tokens without normalizing by response length, which explicitly encourages longer generation. The response window length is gradually expanded in a curriculum manner. The combined first-stage loss is:

LRing-2.5-1T-Zero-I(θ)=J(θ)+βLKL(θ),\mathcal{L}_{\mathrm{Ring\text{-}2.5\text{-}1T\text{-}Zero\text{-}I}}(\theta) = -\mathcal{J}(\theta) + \beta \cdot \mathcal{L}_{\mathrm{KL}}(\theta),LRing-2.5-1T-Zero-I(θ)=J(θ)+βLKL(θ),

with β\betaβ balancing exploration and stability.

While the first stage successfully elicits reasoning, the unconstrained token-level loss leads to excessively long, redundant chain-of-thought traces, and the accumulated numerical errors between engines cause optimization instability. To resolve these issues, a self-distillation phase is introduced. The first-stage expert policy πexpert\pi_{\mathrm{expert}}πexpert samples multiple rollouts per query. A two-step length refinement process selects the shortest correct reasoning trace and then prompts the model to self-evaluate and remove any remaining redundant segments. The refined corpus is used to fine-tune the original base model via standard supervised learning:

Lself-distillation(θ)=EqD,oπexpert[t=1ologπθ(otq,o<t)].\mathcal{L}_{\mathrm{self\text{-}distillation}}(\theta) = -\mathbb{E}_{q \sim \mathcal{D}, o \sim \pi_{\mathrm{expert}}} \left[ \sum_{t=1}^{|o|} \log \pi_{\theta}(o_t \mid q, o_{<t}) \right].Lself-distillation(θ)=EqD,oπexpertt=1ologπθ(otq,o<t).

The distilled model retains reasoning abilities while producing concise traces and effectively resets the accumulated numerical errors, providing a clean starting point for the next RL stage.

In the second RL stage, sustained optimization, the same clipped importance-sampling policy gradient and ratio correction are retained, but the loss strategy is changed to a sample-level normalization. Instead of summing unnormalized token losses, the gradient is normalized by the response length:

LRing-2.5-1T-Zero-II(θ)=EqD{oi}i=1Gπ[i=1G1oit=1oisg(ρ^i,t)A^i,tlogπθ(oi,tq,oi,<t)].\mathcal{L}_{\mathrm{Ring\text{-}2.5\text{-}1T\text{-}Zero\text{-}II}}(\theta) = -\mathbb{E}_{\substack{q \sim \mathcal{D} \\ \{o_i\}_{i=1}^G \sim \pi}} \left[ \sum_{i=1}^G \frac{1}{|o_i|} \sum_{t=1}^{|o_i|} \operatorname{sg}(\hat{\rho}_{i,t}) \cdot \hat{A}_{i,t} \cdot \log \pi_{\theta}(o_{i,t} \mid q, o_{i,<t}) \right].LRing-2.5-1T-Zero-II(θ)=EqD{oi}i=1Gπi=1Goi1t=1oisg(ρ^i,t)A^i,tlogπθ(oi,tq,oi,<t).

This eliminates the bias toward length growth inherited from the token-level loss while still allowing the model to optimize for accuracy. The KL penalty is also removed because the distilled model already provides a strong starting point, and further regularization would limit exploration.

The third RL stage introduces adaptive reasoning depth through a tier-based training strategy. Questions are partitioned into three difficulty tiers—low, medium, high—each associated with a maximum token length and a specific system prompt pkp_kpk. The objective incorporates these prompts:

LRing-2.5-1T-Zero-III(θ)=k{l,m,h}EqDk{oi}i=1Gπ(pk,q)[i=1G1oit=1oisg(ρ^i,t)A^i,tlogπθ(oi,tpk,q,oi,<t)].\mathcal{L}_{\mathrm{Ring\text{-}2.5\text{-}1T\text{-}Zero\text{-}III}}(\theta) = -\sum_{k \in \{\mathrm{l}, \mathrm{m}, \mathrm{h}\}} \mathbb{E}_{\substack{q \sim \mathcal{D}_k \\ \{o_i\}_{i=1}^G \sim \pi(\cdot | p_k, q)}} \left[ \sum_{i=1}^G \frac{1}{|o_i|} \sum_{t=1}^{|o_i|} \operatorname{sg}(\hat{\rho}_{i,t}) \cdot \hat{A}_{i,t} \cdot \log \pi_{\theta}(o_{i,t} \mid p_k, q, o_{i,<t}) \right].LRing-2.5-1T-Zero-III(θ)=k{l,m,h}EqDk{oi}i=1Gπ(pk,q)i=1Goi1t=1oisg(ρ^i,t)A^i,tlogπθ(oi,tpk,q,oi,<t).

This conditioning teaches the model to allocate compute adaptively: concise answers for trivial queries and exhaustive chain-of-thought reasoning for complex problems. During inference, users can control the reasoning mode via the system prompt.

To make long-context RL practical at scale, the authors implement two infrastructure optimizations. First, mixed-precision control stabilizes training by keeping the main model body in BF16 but computing the attention softmax and the LM head in FP32. These components involve exponentiation, which naturally amplifies small numerical errors; high precision in these spots eliminates sudden loss spikes and closes the numerical gap between the training and inference engines. Second, a tailored context parallelism strategy breaks the latency bottleneck of standard ring attention. For MLA layers, an all-to-all operation along the head dimension allows each device to compute full attention for a subset of heads across the entire sequence, with low communication volume due to compressed key-value latent representations. For Lightning Attention layers, a single AllGather operation broadcasts local state matrices to all devices simultaneously, enabling immediate computation. Both optimizations are mathematically equivalent to ring attention and produce identical gradients.

Experiment

A multi-stage zero RL pipeline starting from pretrained base models is evaluated on mathematical benchmarks, showing that reinforcement learning alone can develop competitive reasoning capabilities without human demonstrations. The evaluation extends beyond accuracy to measure chain-of-thought quality along three axes: comprehensibility via LLM-as-judge pairwise comparisons, reproducibility through distillation gains for weaker students, and efficiency by comparing token counts on correct traces, with results indicating that the emergent traces are more logically structured, easier to transfer, and less verbose than strong baselines. Additional analyses reveal that careful stabilization such as KL penalties and logit mismatch correction, model scaling, and a dynamic curriculum are essential for stable training, while the RL process undergoes a distinct shift from boundary expansion to solution sharpening, and qualitative inspection uncovers spontaneous self-verification and parallel reasoning behaviors.

Frontier proprietary models achieve very high pass@1 accuracy on recent math benchmarks, with several exceeding 95% on AIME 2026 and the best reaching 96.7% on HMMT Feb. 2026. The Ring-2.5-1T-Zero model, trained purely through RL without human data, reaches 84.2% on AIME 2026 after first-stage training, showing that large language models can self-discover complex reasoning. Multi-stage refinement and adaptive inference modes further improve performance while allowing flexible compute trade-offs. Claude Opus 4.8 leads on HMMT Feb. 2026 with 96.7%, and Qwen3.7-Plus scores 97.0% on AIME 2026, setting top marks among compared proprietary models. Starting from a pretrained base model with no human-annotated reasoning traces, Ring-2.5-1T-Zero’s first RL stage reaches 84.2% on AIME 2026, confirming emergent chain-of-thought from properly regularized exploration. Self-distillation followed by sample-level and tier-based RL yields consistent gains, while adaptive inference (Low, Medium, High) lets users trade off between reasoning depth and compute cost, though joint training across lengths introduces slight negative transfer on the deepest mode.

Frontier proprietary models now achieve near-perfect accuracy on advanced math benchmarks, with top scores exceeding 96% on both AIME 2026 and HMMT Feb. 2026. Training Ring-2.5-1T-Zero purely via reinforcement learning from a base model without any human reasoning traces yields 84.2% on AIME 2026 after one stage, confirming that large language models can spontaneously develop complex chain-of-thought reasoning through properly regularized exploration. Subsequent self-distillation and multi‑stage refinement provide consistent gains, while adaptive inference modes let users trade reasoning depth for compute savings, though joint training across depths introduces minor negative transfer on the deepest setting.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています