---
title: 'ExpRL: Exploratory RL for LLM Mid-Training'
url: https://www.emergentmind.com/topics/exprl
type: topic
---

# ExpRL: Exploratory RL for LLM Mid-Training

ExpRL, short for **Exploratory RL for LLM Mid-Training**, is a reinforcement-learning-based mid-training method for large language model reasoning that uses human-written reference solutions as **reward scaffolds** rather than imitation targets. In ExpRL, the reference solution is hidden from the policy and used only to construct a problem-specific grading rubric: the policy samples from the original problem prompt, while an LLM judge compares the sampled reasoning trace against the reference and assigns either outcome-level or process-level dense rewards. The stated purpose is to improve the model’s **coverage** over productive reasoning paths, yielding a stronger initializer for subsequent sparse-reward RL on harder downstream tasks [2606.17024].

## 1. Conceptual basis and motivation

ExpRL is motivated by two limitations of standard reasoning post-training. First, sparse reward RL with binary final-answer correctness depends critically on the coverage already present in the base model; if the model rarely samples correct or partially correct chain-of-thoughts, the RL signal becomes weak. Second, conventional mid-training on curated reasoning traces can teach useful primitive skills such as decomposition, verification, or self-correction, but it requires manually specifying what the model should learn, and it remains unclear whether such primitive coverage is sufficient for much harder problems that require combining these skills into broader solution strategies [2606.17024].

The method therefore studies a more automated form of **RL-based mid-training** on large corpora of human-written question-answer data. Rather than treating reference solutions as targets to imitate, ExpRL treats them as hidden scaffolds for reward construction. The judge compares an on-policy reasoning trace with the human reference and assigns dense feedback that can reinforce partial progress, useful intermediate reductions, and productive reasoning behaviors that sparse final-answer rewards often fail to upweight [2606.17024].

A common misunderstanding is to treat ExpRL as a variant of supervised fine-tuning. Its defining design choice is the opposite: the reference solution is not exposed to the policy as a target sequence. This is intended to avoid the failure mode in which SFT on $(x,y^\star)$ “overshoot[s]” and collapses the model’s own reasoning coverage [2606.17024].

## 2. Formal setup and the role of coverage

ExpRL defines a mid-training dataset
$$
\mathcal D_{\text{mid}}=\{(x_i,y_i^\star)\}_{i=1}^N,
$$
where $x$ is a hard question prompt and $y^\star$ is a human-written step-by-step solution. The policy is denoted by $\pi_\theta$, with the untuned base model written as $\pi_0$. For a prompt $x$, a rollout
$$
y=(y^1,\dots,y^T)
$$
is the generated reasoning trace ending in a final answer, while the human reference is
$$
y^\star=(y^{\star,1},\dots,y^{\star,M}).
$$
The downstream objective is not only immediate accuracy on $\mathcal D_{\text{mid}}$, but producing a better initialization for later sparse-reward RL on a downstream dataset $\mathcal D'$ [2606.17024].

The paper uses **pass@\(\!k\)** as its operational proxy for coverage. Pass@\(\!k\) is measured by sampling $k$ independent rollouts and checking whether at least one final answer matches the ground truth. In this setup, high pass@\(\!k\) is treated as evidence that the model covers more productive reasoning paths, which is exactly the property sparse-reward RL needs in order to improve efficiently [2606.17024].

This setup also sharpens the distinction between ExpRL and standard sparse-reward GRPO. Under a binary reward $r(x,y)\in\{0,1\}$ defined only by final answer correctness, training can fail when the base model seldom reaches correct answers. ExpRL instead supplies graded supervision without turning the human reference into an imitation target [2606.17024].

## 3. Reward scaffolds and dense feedback

The core mechanism is an LLM judge $J$ that is prompted to **verify rather than solve**. Given $(x,y,y^\star)$, the judge returns an integer score
$$
\tilde s\in\{1,2,3,4,5\},
$$
under a fixed rubric that can include matching key decomposition steps and correct intermediate reductions. This score is renormalized as
$$
s(x,y,y^\star)=\frac{\tilde s-1}{4}\in[0,1].
$$
The reference solution thus functions as a hidden grading key rather than a demonstrated trajectory [2606.17024].

ExpRL extracts two dense reward forms from this score.

The **outcome-level dense reward** is defined directly as
$$
r_{\mathrm{outcome}}(x,y,y^\star)=s(x,y,y^\star).
$$
This provides graded feedback even when the final answer is wrong, so long as the sampled reasoning aligns partially with the reference [2606.17024].

The **process-level dense reward** is computed on partial prefixes. The rollout is sliced into $T$ segments using the delimiter “###”. For each prefix $y_{\le t}$, the judge score is
$$
s_t=s(x,y_{\le t},y^\star),\quad t=1,\dots,T.
$$
Segment-wise advantages are then defined as
$$
A_t=
\begin{cases}
s_t-s_{t-1}, & t>1,\\
s_1-s_T, & t=1.
\end{cases}
$$
In this formulation, each segment is rewarded according to its relative improvement in alignment with the reference [2606.17024].

The distinction between these two variants is substantive. ExpRL-Outcome rewards the quality of the whole rollout, whereas ExpRL-Process attributes credit at the segment level. The paper reports that both substantially improve pass@\(\!k\), but that on the hardest tasks process-level advantages unlock more prompts faster, while outcome-level ExpRL reaches higher late-training entropy [2606.17024].

## 4. Optimization objective and training pipeline

ExpRL solves the on-policy objective
$$
\max_\theta\;\mathbb E_{(x,y^\star)\sim\mathcal D_{\text{mid}}}\Bigl[\mathbb E_{y\sim\pi_\theta(\cdot\mid x)}[R(x,y,y^\star)]-\beta\,\mathrm{KL}(\pi_\theta(\cdot\mid x)\,\|\,\pi_0(\cdot\mid x))\Bigr],
$$
where $R$ is either the single outcome reward $s(x,y,y^\star)$ or the summed process-level advantages $\sum_t A_t$ [2606.17024].

In practice, the method has two concrete variants. **ExpRL-Outcome** uses GRPO updates with outcome reward group-normalized across $n$ rollouts per prompt. **ExpRL-Process** uses a vanilla REINFORCE update at the segment level, substituting $A_t$ into
$$
\nabla_\theta J=
\frac1N\sum_{i=1}^N\frac1n\sum_{j=1}^n\sum_{t=1}^{T_{ij}}
A_t^{(i,j)}\;\nabla_\theta\log\pi_\theta\!\bigl(y_{ij}^t\mid y_{ij}^{<t},x_i\bigr),
$$
with the same KL penalty [2606.17024].

The training workflow is explicitly two-stage. In **Stage I**, ExpRL performs judge-based mid-training on $\mathcal D_{\text{mid}}$. In **Stage II**, the resulting policy is used as the initialization for sparse binary-reward RL. The pseudocode in the paper initializes $\pi_\theta\leftarrow$ base LLM, $\pi_0\leftarrow$ base LLM, and $J\leftarrow$ copy(base), then samples rollouts, scores them with the judge, computes either outcome or process rewards, applies the policy gradient with KL regularization, and finally switches to sparse final-answer reward RL after Stage I [2606.17024].

The implementation details reported are specific. The policy is **Qwen3-4B-Instruct-2507**, which “emits chain-of-thought by default,” and the judge is a frozen copy of the 4B policy, with **Qwen3-0.6B** used in calibration tests. Stage-I uses $n=10$ rollouts per prompt, sampling temperature $0.8$, maximum response length $16\,384$ tokens, batch size $36$ prompts per update, and $230$ updates. Stage-II uses $500$ sparse-reward RL updates with batch size $32$. The KL penalty coefficient $\beta$ is set to match GRPO defaults, “e.g. 0.01” [2606.17024].

## 5. Empirical results, priming effects, and behavioral changes

The mid-training data $\mathcal D_{\text{mid}}$ consists of **InT + POPE hard math problems** with approximately **1.5k examples**. The downstream benchmarks are **AIME ’25, AIME ’26, HMMT Nov 2025, and IMO-AnswerBench (held-out)**. A separate mixed-domain study uses **4,001 examples** spanning **Math, SciKnow (MCQ/OE), and LiveCodeBench coding tasks** [2606.17024].

The baselines are **SFT**, **Sparse GRPO**, and **Self-distillation**. After Stage-II sparse RL, the reported **Pass@1** results are:

- **Base Qwen3-4B Instruct**: 46.46 on AIME25, 51.40 on AIME26, 40.60 on HMMT, 31.37 on IMO-Ans.
- **SFT**: 26.62, 30.26, 20.09, 21.80.
- **GRPO (sparse)**: 55.99, 58.75, 42.91, 35.28.
- **Self-Distillation**: 55.59, 58.41, 46.08, 35.18.
- **ExpRL-Outcome**: **59.07**, **61.74**, **49.11**, **37.85**.
- **ExpRL-Process**: 58.08, **63.41**, 48.13, 35.73 [2606.17024].

These numbers establish two distinct effects. First, both ExpRL variants outperform SFT, sparse GRPO, and self-distillation overall. Second, the two dense-reward schemes differ by benchmark: **ExpRL-Outcome** is strongest on AIME25, HMMT, and IMO-AnswerBench, whereas **ExpRL-Process** is highest on AIME ’26 at **63.41%** [2606.17024].

The paper also reports a Stage-I priming ablation. After mid-training alone, before Stage-II sparse RL, ExpRL yields higher pass@\(\!k\) on all benchmarks than SFT, sparse GRPO, and self-distillation. This is used to argue that the method improves coverage directly, rather than only benefiting from downstream optimization [2606.17024].

Behaviorally, ExpRL priming changes the model’s reasoning style. Compared to base, SFT, and sparse RL, the model shows net gains in **verification steps**, **self-correction**, and **backtracking and restarts**. The analysis further states that outcome-level ExpRL reaches higher late-training entropy, suggesting broader exploration, while process-level training grows response length [2606.17024].

The paper includes two additional diagnostic findings. On math and science tasks, **correct-reference judging** yields the lowest misplacement rate, while wrong or no reference degrades discrimination. On coding tasks from LiveCodeBench, wrong reference and no reference perform similarly because code execution is the primary judge. It also argues that self-distillation is hindered by KL mismatch: the self-distillation “teacher” lies far outside the KL ball reachable by on-policy RL, which is presented as an explanation for unstable coverage relative to ExpRL [2606.17024].

## 6. Limitations, misconceptions, and position within exploration-oriented RL

ExpRL has two explicit limitations. It **requires reference solutions for mid-training**, which may not exist in some domains, and it **relies on a capable LLM judge (≥ 4 B parameters)** for reliable reward. The paper also lists several extensions: extracting the judge’s natural-language critiques and training on them, combining ExpRL priming with oracle prefix insertion during downstream RL, and systematic study of rubric design, length normalization, and KL annealing [2606.17024].

The method is best understood as part of a broader family of exploration-oriented RL methods for reasoning, but its mechanism is distinct. **EFRame** augments GRPO with additional rollouts, online filtering, and experience replay [2506.22200]. **ExPO** generates self-explanations by conditioning on the ground-truth answer and integrates them into DPO or GRPO updates [2507.02834]. **ExTra** adds a correctness-gated embedding-based novelty reward after GRPO normalization and uses entropy-guided prefix regeneration on all-incorrect groups [2606.24994]. **XRPO** combines adaptive rollout allocation, in-context seeding, and novelty-aware advantage sharpening [2510.06672]. **ReLaX** introduces Dynamic Spectral Dispersion and augments GRPO with a latent-exploration regularizer derived from Koopman spectral analysis [2512.07558]. **ExpLang** instead expands the action space by allowing on-policy thinking-language selection in multilingual RL post-training [2602.21887].

This comparison clarifies a second common misconception: ExpRL is not merely another rollout-exploration heuristic inside GRPO. Its defining move is earlier in the pipeline. It uses human references to produce dense, judge-mediated reward during a **mid-training** stage, and then uses the resulting policy as a better initializer for later sparse-reward RL [2606.17024].

A plausible implication is that ExpRL occupies a complementary position in the exploration literature. The reported results show that it improves both **coverage** and final downstream **Pass@1**, while the related methods above focus on exploration–exploitation tradeoffs during sparse-reward post-training itself. Within that landscape, ExpRL’s distinctive contribution is to turn abundant human solutions into a reward source without turning them into imitation targets [2606.17024].

Source: https://www.emergentmind.com/topics/exprl