First-stage Zero RL on Ling-2.5-flash-Base (104B MoE) via SLIME — Ring-2.5-flash-Zero
harbor run -t ale/ring-flash-104b-zero-rl-stage1harbor download ale/ring-flash-104b-zero-rl-stage1Run the first-stage Zero RL of the Ring-2.5 recipe on the flash-scale model: apply RLVR (Reinforcement Learning with Verifiable Rewards) directly on the inclusionAI/Ling-2.6-flash-base pretrained base model — a 104B-parameter MoE with 7.4B activated parameters — with no supervised fine-tuning, using the SLIME RL framework. The trained model corresponds to Ring-2.5-flash-Zero (First Stage RL).
This is a full-stack pipeline task. The primary goal is to stand up and run the complete Zero-RL loop — environment → assets → data → rollout ↔ train closed loop → evaluation — from a MoE base model and produce a genuinely trained checkpoint. Hitting the exact target accuracy is secondary to demonstrating that every stage of the pipeline actually works at this scale.
Only first-stage RL is in scope. The later stages of the full recipe (self-distillation, second-stage sample-level RL, third-stage tier-based RL) are out of scope for this task.
The verifier assigns a continuous reward in [0, 1] based on how far through the pipeline you get and how well the trained model performs. Write nothing to /app/result.txt directly — the verifier inspects real training artifacts and evaluation output (see "Deliverables" below). Reward breakdown:
| Stage | What must be true | Reward |
|---|---|---|
| Environment + assets | SLIME importable; inclusionAI/Ling-2.6-flash-base + training data downloaded |
0.15 |
| Data prepared | dataset converted to SLIME's RLVR format with the <think>/<answer> template and rule-based verifier wired |
+0.10 |
| Rollout ↔ train closed loop | a real training run: checkpoint(s) + optimizer state written, training log shows ≥ 500 gradient steps with a non-trivial, increasing train reward | +0.35 |
| Evaluation ran | AIME 2024 + AIME 2025 evaluated with the specified protocol; scores produced | +0.10 |
| Accuracy | AIME 2024 pass@1 (avg over 64 runs) above the inclusionAI/Ling-2.6-flash-base baseline, scaling up to the target |
+0.30 |
The heaviest weight is on the rollout ↔ train closed loop — the hardest and most telling part of any large-MoE RLVR stack. A trained checkpoint with a climbing reward curve is worth more than a high number you cannot back up with artifacts.
Accuracy sub-score is linear on AIME 2024 pass@1:
< base → 0.0base → 71% → scales 0.0 → 0.30≥ 71% → 0.30 (full) — first-stage flash reaches ≈71.2% AIME 2024 / 63.5% AIME 2025inclusionAI/Ling-2.6-flash-base — 104B MoE, 7.4B activated. Zero RL trains directly from this base with NO SFT.Elicit latent reasoning from the base model by aggressively amplifying low-probability reasoning tokens. Use SLIME's implementation with these exact behaviors:
ε_high = 5.0 to prevent excessively large updates. computed from group-normalized rewards over the G rollouts per prompt.|o_i|. This is essential in the first stage to incentivize long reasoning chains from scratch (longer correct responses accumulate stronger gradient signals).β = 1e-4, K3 estimator. Refresh the reference model every 400 steps with the latest checkpoint.L = −J(θ) + β · L_KL(θ).Reward = accuracy + format:
r_format ∈ {0,1}: response follows the required structure with <think>...</think> and <answer>...</answer> tags.r_acc ∈ {0,1}: final answer correctness. Use deterministic rule-based matching for the easily verifiable (early-curriculum) problems. For harder problems where answers take multiple valid forms, an LLM-as-a-Judge (e.g. Qwen3-Next-80B-A3B-Instruct) may return a binary correctness judgment given the response + reference answer.| Hyperparameter | Value |
|---|---|
| Advantage estimator | GRPO group-normalized |
| Batch size | 512, then 256 (off-policy setup) |
| Minibatch size | 32 |
| Optimizer | Adam (β1=0.9, β2=0.999), weight decay 0.01 |
| Learning rate | 2×10⁻⁶ (constant) |
| Rollouts per prompt (G) | 16 |
| Rollout temperature | 1.0 |
| IS ratio lower bound | none |
| IS ratio upper clip (ε_high) | 5.0 |
| Loss reduction | token-level (no length normalization) |
| KL penalty (β) | 1e-4 (K3 estimator) |
| Reference model refresh | every 400 steps |
| Response window (curriculum) | 4k → 64k tokens, doubling every 800 steps |
| Target first-stage steps | ~5,000 |
The Ring-2.5 experiments run on 320 × H200 GPUs with a hybrid architecture (training engine + rollout engine). For this flash-scale (104B MoE) task, use SLIME's disaggregated rollout ↔ train setup across the available GPUs. The base model is MoE, so expert parallelism / the appropriate model-parallel layout must be configured. Getting the rollout ↔ train weight-sync loop running stably for a large MoE is the crux of the task.
GPU Configuration: TODO — set to the available cluster (the paper used 320×H200 for the shared infra across both scales).
inclusionAI/Ling-2.6-flash-base and the math training data.<think>...</think><answer>...</answer> output.<answer>...</answer>; score with the rule-based verifier (+ judge as needed).inclusionAI/Ling-2.6-flash-base baseline under the identical protocol, so the improvement is measurable.Write all of the following so the graded verifier can confirm the pipeline ran:
/app/checkpoints/ — trained checkpoint(s) including model weights and optimizer state./app/logs/train.jsonl (or SLIME's native log) — per-step metrics including step and train_reward (or equivalent), showing the reward trajectory./app/eval/results.json — evaluation output containing at least:
{"trained_aime2024_pass@1": <float 0-100>, "base_aime2024_pass@1": <float 0-100>, "trained_aime2025_pass@1": <float 0-100>, "n_runs": 64, "temperature": 0.6, "top_k": 0.95}
/app/result.txt — the trained AIME 2024 pass@1 as a single float (e.g. 71.2), consistent with results.json.Ring-2.5-flash-Zero first-stage reaches ≈71.2% (AIME 2025 ≈63.5%) after ~5,200 steps.