Open-ended optimization of the Olmo 3 RL-Zero (Math) OlmoRL recipe, graded on accuracy only: maximize AIME 2024 + AIME 2025 pass@1 under a fixed 512k-episode budget (pinned open-instruct, pre-staged Olmo-3-7B + Dolci-RL-Zero-Math)
harbor run -t ale/olmo3-7b-zero-rl-accharbor download ale/olmo3-7b-zero-rl-accImprove the pinned open-instruct OlmoRL RL-Zero (Math) post-training recipe. The environment is fixed and pre-staged: the framework is pinned to a single commit, and the base model, training data, and evaluation sets are already downloaded into the image. Starting from the baseline recipe specified in full below, this is an open-ended optimization task graded on a single axis — model performance: the final AIME 2024 and AIME 2025 pass@1 of your trained checkpoint (both benchmarks graded, equally weighted). How you spend the 512,000-episode hard budget is up to you; only the final accuracy of the checkpoint you deliver counts.
You may change the algorithm, loss, hyperparameters, data curriculum, sampling strategy, and scheduling — anything inside the editable scope below — as long as the pinned model, dataset, and framework starting point are respected.
| Item | Path / value |
|---|---|
| Framework | /opt/open-instruct, pinned allenai/open-instruct@78d1e5aa3cf80a73ce56fd0775e7ad959faf2660 (editable install; contains the OlmoRL / GRPO trainer) |
| Base model | /assets/models/Olmo-3-7B — allenai/Olmo-3-7B base (NOT Instruct/Think), pre-downloaded |
| Training data | /assets/data/dolci-rl-zero-math — allenai/Dolci-RL-Zero-Math-7B, 13,314 decontaminated math prompts with verified answers, pre-downloaded (HF save_to_disk format) |
| Eval data (graded) | /assets/eval/aime2024 — AIME 2024, 30 problems, pre-downloaded |
| Eval data (graded) | /assets/eval/aime2025 — AIME 2025, 30 problems, pre-downloaded |
| Compute | 72× H100 (baseline layout: 8 learner GPUs + 64 vLLM actor GPUs, TP=1); using fewer GPUs is allowed |
| Rollout episode budget | 512,000 episodes hard cap (= baseline 2,000 steps × 32 prompts × 8 rollouts) |
| Writable workspace | /app (checkpoints, logs, eval, output) — /opt/open-instruct may be edited in place |
Do not replace the base model, the training corpus, or the framework with another asset, and do not pull any pretrained RL-tuned checkpoint. All scientific inputs are the staged assets above.
The pinned open-instruct commit, the staged assets, and this document are the
only scientific design sources for the starting point. Everything needed to
run the baseline — algorithm, loss, hyperparameters, prompt template, reward
function, GPU layout, and evaluation protocol — is fully specified in this
document; do not go looking for external references to fill in the task.
The baseline is the OlmoRL algorithm — a GRPO variant with the following exact behaviors, all implemented in the pinned open-instruct trainer:
A_i = r(x, y_i) − mean({r(x, y_j)}_{j=1..G}) — do NOT divide by the
group's reward std (the std term over-weights near-zero-variance prompts)ε_low = 0.2,
clip-higher ε_high = 0.272 — the wider upper bound lets low-probability
tokens grow faster, aiding exploration| Hyperparameter | Baseline value |
|---|---|
| Learning rate | 1.0×10⁻⁶ constant, Adam |
| Training steps | 2,000 |
| Unique prompts per batch | 32 |
| Group size (rollouts per prompt) | 8 |
| Max prompt length | 2,048 tokens |
| Response length | 16,384 tokens |
| Sampling temperature | 1.0 |
| Minibatches | 1 |
| Max asynchrony | 8 |
| Dataset size | 13,314 prompts (the full staged corpus) |
Baseline distributed layout (adapt the GPU/parallelism layout freely; preserve the effective batch = unique prompts × group size if you want a comparable baseline run): a disaggregated actor/learner setup launched with open-instruct's Ray-based launcher — 16 learner GPUs (2 nodes × 8) perform policy updates with DeepSpeed ZeRO-3, 56 vLLM actor GPUs (TP=1 each) generate rollouts, and the learner pushes updated weights back to the actors asynchronously (up to 8 steps of asynchrony). Total = 72 H100 GPUs. Getting this weight-sync loop stable is the crux of standing up the baseline.
Prompt template (RL-Zero Math — editable, report any deviation in
provenance.json). The baseline keeps it simple because <think> /
\boxed{}-style formats tend to hurt when training from a base model. If you
change the template, use the same template at evaluation time:
Solve the following math problem step by step.
The last line of your response should be the answer to the problem in form Answer: $Answer (without quotes) where $Answer is the answer to the problem.
{Math Question}
Remember to put your answer on its own line after "Answer:"
Reward: rule-based binary math verifier — extract the Answer: line, compare
with SymPy-based equivalence. No LLM judge.
Reference outcome and expected dynamics of this baseline recipe:
Olmo-3-7B base ≈ 10% AIME 2024 pass@1; the trained model converges
toward ~45% AIME 2024 / ~36% AIME 2025 after the full 512k-episode
budget.A detailed baseline training log is staged at /assets/baseline/ inside the
container. It includes the full training reward curve, response lengths, and
intermediate AIME eval results at every checkpoint — use it to calibrate
whether your training loop is functioning correctly and to compare your
optimization against the reference trajectory. The baseline peaks at step
1000 for AIME 2024 (46.1%) and step 1600 for AIME 2025 (36.5%); the final
checkpoint is not always the best.
Everything in this section is a reference, not a constraint — except the episode budget and the fixed assets. Beating the baseline's final accuracy is what the reward measures.
The verifier emits a continuous reward in [0, 1]:
reward = S_perf
S_perf — model performance: AIME 2024 and AIME 2025 are graded equally.
With trained pass@1 p24 (AIME 2024) and p25 (AIME 2025), each mapped
linearly against a fixed base reference of 10%:
S24 = clip((p24 − 10) / (55 − 10), 0, 1) # 45% ≈ baseline → 0.78; ≥55% → 1.0
S25 = clip((p25 − 10) / (55 − 10), 0, 1)
S_perf = 0.5 · S24 + 0.5 · S25 # a missing eval scores 0 for its half
Training stability and data efficiency are not scored. The training log
(/app/logs/train.jsonl with step, train_reward, cumulative episode count,
and loss) is still required — it is the evidence that training actually
happened and that the episode budget was respected.
Hard-zero gates (checked before scoring):
result.txt present with no supporting training
artifacts (log + checkpoint) — self-reported numbers alone score 0.result.txt inconsistent with /app/eval/aime2024.json /
/app/eval/aime2025.json.policy.yaml (evaluator tampering, eval-set
training, asset substitution, external RL-tuned checkpoint, provenance
concealment).Missing provenance.json or experiments.jsonl halves the final reward.
In-training evaluation is expected. RL training is inherently unstable —
reward can plateau, collapse, or oscillate — so you should evaluate
intermediate checkpoints periodically during training (e.g. every few steps) using the same fixed evaluation protocol. This serves three purposes:
(1) tracking whether the policy is actually improving, (2) identifying the
best checkpoint which may not be the final one, and (3) deciding whether to
continue training or reallocate remaining episodes to a different
configuration. Report in-training eval results in the training log or
experiments.jsonl so the verifier can confirm continuous improvement.
/app/output/experiments.jsonl.Evaluate the trained checkpoint on both graded benchmarks with the identical protocol:
/assets/eval/aime2024) and
AIME 2025 (30 problems, staged at /assets/eval/aime2025).Answer: line; score with the SymPy math verifier.\boxed{}).Olmo-3-7B base under the identical protocol on both
benchmarks and report it as base_pass@1 (sanity reference ≈ 10% on
AIME 2024).You may edit: the GRPO/OlmoRL trainer code in /opt/open-instruct
(advantage estimator, clipping, filtering, IS correction, loss normalization),
all training hyperparameters, the data pipeline (ordering, filtering,
curriculum, mixing within the staged corpus), sampling strategy, GPU layout,
checkpoint/early-stop schedule, and the prompt template (report deviations).
Locked: the base model identity (Olmo-3-7B base weights as the training
starting point), the training corpus (staged Dolci-RL-Zero-Math only — no
external or synthetic additions from other models), the eval sets and protocol,
the 512,000-episode budget, the verifier, and the rule-based (non-LLM) reward
family. Do not use AIME problems in training, calibration, or prompt selection.
/app/checkpoints/ — trained checkpoint(s) with model weights and
optimizer state; the final/best checkpoint clearly identifiable./app/logs/train.jsonl — per-step metrics: step, train_reward (or
equivalent), a cumulative episode count, and loss. This is the evidence
of real training and of episode-budget compliance./app/eval/aime2024.json and /app/eval/aime2025.json, each:
{"trained_pass@1": <float 0-100>, "base_pass@1": <float 0-100>,
"pass@32": <float 0-100>, "n_samples": 32, "temperature": 1.0,
"episodes_used": <int>, "checkpoint": "<path>"}
/app/result.txt — the average of the trained AIME 2024 and AIME 2025
pass@1 as a single float, consistent with the two eval JSONs./app/output/provenance.json — base_model, framework_commit,
training_data, training_episodes, training_command,
algorithm_changes, evaluation_commands, optimization_attempts./app/output/experiments.jsonl — one row per train/evaluate decision cycle:
hypothesis, change, command, measured episodes/steps, status, raw metrics.