betaFeedback

WorksComputer Science

Adaptive Expert Guidance for Efficient On-Policy Reinforcement Learning

Abstract

With massively parallel simulation, on-policy Reinforcement Learning methods such as PPO have become standard in many domains. However, learning from scratch is sample-inefficient and fails to exploit the potential existence of a suboptimal expert, such as a heuristic, a model-based controller, or a policy trained on a related task. Such an expert is often available and can guide early training, but its sub-optimality limits final performance. The challenge then becomes balancing expert guidance against learning from rewards. Existing methods set the expert's influence through a blending weight, a schedule, or an evaluation-driven curriculum. Alternatively, they adapt it with additional learned components such as critics over expert actions or auxiliary agents. However, none optimizes it using the same on-policy objective as the policy itself. We propose a method in which the learner and the expert alternate control within each training episode, and the expert's share of control is a single learnable parameter optimized jointly with the policy. The learner benefits from the expert early in training, but its share of control declines as the learner becomes more competent, until eventually vanishing completely. This leaves the learner acting alone and better than the suboptimal expert. We evaluate our method on 34 tasks across two benchmarks, spanning discrete and continuous action spaces, using both learned and model-based experts. Our method improves sample efficiency over guided and unguided baselines while requiring minimal hyperparameter variation. The expert's share decays to zero as the learner improves, vanishing when the expert is no longer useful.

Introduction

Reinforcement learning (RL) has demonstrated remarkable ability to solve complex sequential decision-making problems [36, 3, 17, 11], but it requires many environment interactions, as the agent must explore the usually high-dimensional state space before it can discover and exploit high-reward behaviors. GPU-parallel simulation [22] favors on-policy methods such as proximal policy optimization (PPO) [34], because a single GPU can step thousands of environments in parallel and cut the wall-clock cost of collecting experience. Off-policy and model-based methods need fewer interactions [12, 13] but require more computation per interaction. Their higher per-interaction cost therefore limits the wall-clock gains they can obtain from massively parallel simulation. In this paper, we therefore focus on on-policy methods.

In practice, training does not need to start from scratch [2] when an expert is available, that is, an algorithm that delivers a useful, though not necessarily optimal, policy. Examples include controllers and planners built on approximate physical models [7], hand-engineered policies (Uch et al., 2023), previously trained agents [32, 33], and agents trained on a related task [40] (Zhu et al. 2023). Imitating the expert’s actions limits the learner to the expert’s quality [31, 7]. Other methods keep the expert in the control loop, and therefore in the deployed system, through residual control [37, 16, 15], uncertainty-weighted fusion of expert and learner actions [27, 28], model predictive control (MPC) as an optimization layer [29, 30, 1], or MPC whose value estimates are blended with a learned value function (Bhadhwaj et al., 2021).

Since the expert is suboptimal, training should exploit its guidance early and then hand control to the learner, so that the learner can improve beyond the expert and act alone after training. Most existing approaches set the expert’s influence independently of the learning objective. Expert-regularized RL decays the imitation weight on a schedule [25] or tunes it by population-based training [33]. When the expert contributes experience during training, its share is shortened on an evaluation-driven curriculum [42], decayed on a schedule (Yang et al., 2023), or kept at a fixed ratio of pre-collected expert traces to learner samples [44]. Methods that adapt the expert’s role to its value rely on a learned selector or a critic over the expert’s actions [23, 43, 18] (Zhang et al. 2023), or on a counterfactual agent that learns from rewards alone [35].

We instead propose a guided policy-gradient algorithm in which the expert and learner share control during training, with the expert’s share represented by a single parameter optimized under the same return objective as the policy. We show that its gradient corresponds to the expert advantage: the expected gain in return from letting the expert act instead of the learner, from the same states. Naively learning this share is ineffective: switching policies at every step makes the comparison too noisy, while optimizing return alone does not necessarily withdraw an expert. We therefore commit to one policy for blocks of kk steps, yielding a more reliable comparison, and introduce a price on expert use, making withdrawal part of the objective. An imitation term on expert blocks further trains the learner whenever the expert acts. Once the learner catches up, the expert’s share decreases to zero and training reduces to standard policy gradient.

The proposed algorithm is evaluated on 34 tasks across two common benchmarks spanning discrete and continuous action spaces, with minimal hyperparameter variation. The experts, learned or model-based, range in quality from near-optimal to substantially worse than the converged learner. Our method improves sample efficiency over guided and unguided baselines, and the learner asymptotically recovers the performance of Proximal Policy Optimization (PPO) or better, so the expert’s suboptimality does not limit the final policy. The rate of expert withdrawal adapts to expert quality, with weaker experts withdrawn faster.

Related Work

We group prior work by how the expert enters training: as a source of target actions (imitation), as an extra term in the objective (regularization), or as a policy that collects part of the rollouts. Each group must decide how strongly and for how long the expert should influence the learner, the question that our method answers with a learned expert share. Our method belongs to the third group, and the last paragraph relates its block structure to temporal abstraction.

Imitating an expert. Behavior cloning suffers from compounding errors off the demonstration distribution, which dataset aggregation (DAgger) [31] corrects by querying the expert on the states the learner visits, and a learner that regresses onto a fixed expert’s actions inherits the expert’s ceiling. Guided policy search [19, 20] and expert iteration [4, 36] avoid that ceiling with a teacher that improves during training, whereas our expert is fixed and imitation acts only as a regularizer that vanishes once the expert is withdrawn. Other methods surpass a fixed expert by combining imitation with reward-driven updates: LOKI [8] imitates for a randomized number of iterations before switching to policy gradient, while MAMBA [9] and RPI [21] imitate black-box oracles state-wise, wherever an oracle’s estimated value exceeds the learner’s. RPI is the closest of these to our setting, but its handover compares value functions learned from each oracle’s rollouts, whereas we use the learner’s own critic on the training rollouts.

Expert-regularised reinforcement learning. A second family adds an expert-derived term to the reward objective: a large-margin [14] or behavior-cloning [23] loss on demonstrations, an imitation term in the policy gradient [25], or distillation from a teacher on the student’s rollouts [33, 2]. The learner can surpass the expert, so the design question is the regularizer weight. The Q-filter of Nair et al. [23] applies imitation only where the critic prefers the demonstrated action, and TGRL [35] adapts the weight by comparing the guided agent with a reward-only counterfactual agent.

Experts that act during training. Several methods let the expert control part of the rollout and shrink that part over training: a prefix of each episode shortened by a curriculum in Jump-Start Reinforcement Learning (JSRL) (Uchendu et al., [42]), or a probability of acting decayed on a schedule (Yang et al., 2023). Others arbitrate between expert and learner with a learned selector or critic, at every step ([43] (Zhang et al. 2023)) or with commitment until a Bayesian critic favors switching (Kurenkov et al., [18]). In our method, blocks have fixed length and the switch ignores the state, so the share gradient reduces to a comparison of expert and learner block advantages, which we estimate from the training rollouts with the learner’s own critic. No selector, critic over expert actions, evaluation phase, or auxiliary agent is needed, and the share follows the same objective as the learner, so withdrawal is part of it.

Temporal abstraction. Our method can be connected to the options framework (Sutton et al., [38]), in which an agent chooses among temporally extended actions. Each of our blocks can be seen as the execution of one of two such options, the expert or the learner, which last a fixed number of steps and of which only the learner is trained. Under this view, our learner update corresponds to the intra-option policy gradient of option-critic (Bacon et al., [5]), which learns a set of options that together solve the task, whereas we learn to withdraw one of ours.

Method

Our approach belongs to the policy gradient family of algorithms, with the learner’s parameters optimized from on-policy rollouts. The key difference is that the expert and the learner take turns controlling the agent during these rollouts. As shown in Figure 1, we split each training episode into blocks of a fixed number of steps; at the start of each block, a random draw decides whether the expert or the learner acts for the entire block. We refer to the probability of selecting the expert for a given block as the expert share, which is automatically adjusted as training proceeds. It starts high, so that the expert’s blocks can bring the agent to states the learner is unlikely to reach on its own. For instance, in tasks with sparse rewards, these are states where rewards appear and generate the non-zero gradients the learner can benefit from. As the learner becomes more proficient, the expert share progressively diminishes, eventually vanishing altogether.

The expert share is learned from block-level performance

Figure 1. The expert share is learned from block-level performance. The expert (orange) and learner (blue) alternate control in temporally committed blocks, with λ\lambda determining the expert’s share. The difference between expert- and learner-block advantages drives the update of λ\lambda: as the learner improves, the expert is progressively withdrawn until λ=0\lambda= 0.

This block structure is what makes the automated adjustment of the expert share informative. Because each block is executed entirely by either the learner or the expert, we can attribute its outcome to one of the two, and compare how well the expert’s blocks and the learner’s blocks perform within the same episode. We update the expert share with the same policy-gradient rule that trains the policy network weights. These updates have an intuitive interpretation: they raise the share when the expert’s blocks outperform the learner’s and lower it once the learner catches up. The expert thus hands over control as the learner improves, without requiring a predetermined schedule. Blocks are necessary because switching at every step would blur this comparison, since the outcome of a single action depends mostly on the actions that follow it. Two additional mechanisms complete the method. First, we impose a cost on every block played by the expert, so that the expert retains control only while it is clearly better than the learner. This is necessary because, without it, the expert would keep its share as long as the learner merely matches it, and the learner might never act alone. Second, on the expert’s blocks, we train the learner to imitate the expert’s actions, so that the experience the expert collects also contributes to training the learner; this ensures fuller use of each episode for learner training. Once the expert share reaches zero, the expert is no longer used. Training continues as in ordinary policy gradient, and the final learner acts entirely on its own. Sect. 3.1 formalizes the problem. Sect. 3.2 derives and interprets the gradients for the learner and the expert share. Sect. 3.3 adds the cost and the imitation term.

Problem Formulation

Consider a Markov decision process (MDP) (S,A,P,r,ρ0,γ)(\mathcal{S}, \mathcal{A}, P, r, \rho_0, \gamma) with state space S⊆Rn\mathcal{S} \subseteq\mathbb{R}^n, action space A⊆Rm\mathcal{A} \subseteq\mathbb{R}^m, transition kernel P(⋅∣s,a)P(\cdot\mid s, a), reward r:S×A→Rr : \mathcal{S} \times\mathcal{A} \to\mathbb{R}, initial state distribution ρ0\rho_0, and discount γ∈[0,1)\gamma\in[0, 1). Let π^\hat{\pi} be a fixed expert policy and πθ\pi_\theta a learner policy with parameters θ∈Rd\theta\in\mathbb{R}^d. The objective of learning is to maximize the expected discounted return under the learner, i.e., Eτ∼πθ[∑t≥0γtrt]\mathbb{E}_{\tau\sim\pi_\theta}\left[\sum_{t \ge0} \gamma^t r_t\right].

We partition each episode into blocks of kk steps and denote bj=jkb_j = jk for the start time of block jj. At the beginning of each block, a switch variable zj∼Bernoulli⁡(λ)z_j \sim\operatorname{Bernoulli}(\lambda), where λ\lambda is the expert share, determines whether the expert or the learner rolls out that block. The switches are independent across blocks and independent of the states. Formally, for zj∈{0,1}z_j \in\{0, 1\}, the rollout within block jj is given by

abj+i∼πzj(⋅∣sbj+i),sbj+i+1∼P(⋅∣sbj+i,abj+i),i∈{0,…,k−1},(1)a_{b_j+i} \sim\pi_{z_j}(\cdot\mid s_{b_j+i}), \quad s_{b_j+i+1} \sim P(\cdot\mid s_{b_j+i}, a_{b_j+i}), \quad i \in\{0, \ldots, k-1\}, \tag*{(1)}

where π1:=π^\pi_1 := \hat{\pi} and π0:=πθ\pi_0 := \pi_\theta. We constrain λ∈[0,λmax⁡]\lambda\in[0, \lambda_{\max}] with λmax⁡<1\lambda_{\max} < 1, so that the learner has a nonzero probability of acting in every block. We refer to the policy yielding these interleaved rollouts as the mixture policy. Figure 2 illustrates the block structure. Unless indicated otherwise, expectations are over the joint distribution of the switches z=(z0,z1,…)z = (z_0, z_1, \ldots) and the trajectories τ=(s0,a0,s1,a1,…)\tau= (s_0, a_0, s_1, a_1, \ldots) they induce, with s0∼ρ0s_0 \sim\rho_0.

Temporally committed mixture

Figure 2. Temporally committed mixture. The horizon is split into blocks of kk steps, starting at bj=jkb_j = jk (filled states). At each boundary, a switch zj∼Bernoulli⁡(λ)z_j \sim\operatorname{Bernoulli}(\lambda) hands the whole block to the expert π^\hat{\pi} (orange, zj=1z_j = 1) or to the learner πθ\pi_\theta (blue, zj=0z_j = 0).

Denote the discounted reward of block jj by Rj:=∑i=0k−1γirbj+iR_j := \sum_{i=0}^{k-1} \gamma^i r_{b_j+i} and the block discount factor by Γ:=γk\Gamma:= \gamma^k, and note that the discounted return of an episode can be written with block rewards, ∑t≥0γtrt=∑j≥0ΓjRj\sum_{t \ge0} \gamma^t r_t = \sum_{j \ge0} \Gamma^j R_j. We optimize θ\theta and λ\lambda for the discounted return of the mixture policy,

J(λ,θ)=E[∑j≥0ΓjRj],(2)J(\lambda, \theta) = \mathbb{E}\left[\sum_{j \ge0} \Gamma^j R_j\right], \tag*{(2)}

which equals the learner’s objective when λ=0\lambda= 0. At block boundaries, the rollouts form an MDP with state sbjs_{b_j}, action zjz_j, reward RjR_j, and discount Γ\Gamma.

Policy gradient estimator under block rollouts

On the MDP at block boundaries, define the block-wise switch-value function and value function

Q(s,z):=E[∑m≥0ΓmRj+m∣sbj=s, zj=z],V(s)=λQ(s,1)+(1−λ)Q(s,0),(3)Q(s,z) := \mathbb{E}\left[\left.\sum_{m \ge0} \Gamma^m R_{j+m}\right|s_{b_j}=s,\ z_j=z\right], \qquad V(s) = \lambda Q(s,1) + (1-\lambda)Q(s,0), \tag*{(3)}

where V(s)V(s) is derived by taking the expectation of Q(s,z)Q(s,z) with respect to zjz_j. The block advantage A(s,z):=Q(s,z)−V(s)A(s,z) := Q(s,z)-V(s) compares committing the block at ss to policy zz with the average over the switch. We estimate it with the block temporal-difference residual A^j:=Rj+ΓV(sbj+1)−V(sbj)\hat{A}_j := R_j + \Gamma V(s_{b_{j+1}})-V(s_{b_j}).

The gradients of the objective equation 2 with respect to the learner parameters θ\theta and the expert share λ\lambda are given by

∇θJ=E[∑j≥0Γj(1−zj)A^j∑i=0k−1∇θlog⁡πθ(abj+i∣sbj+i)](4)\nabla_\theta J = \mathbb{E}\left[\sum_{j \ge0} \Gamma^j (1-z_j)\hat{A}_j \sum_{i=0}^{k-1} \nabla_\theta\log\pi_\theta(a_{b_j+i}\mid s_{b_j+i})\right] \tag*{(4)}
∂J∂λ=E[∑j≥0Γjzj−λλ(1−λ)A^j](5)\frac{\partial J}{\partial\lambda} = \mathbb{E}\left[\sum_{j \ge0} \Gamma^j \frac{z_j-\lambda}{\lambda(1-\lambda)}\hat{A}_j\right] \tag*{(5)}

Eq. (4) implies that the learner is updated only on the blocks it rolled out, with the block advantage in place of the per-step advantage, and Prop. 1 below gives the λ\lambda-gradient a simple reading. When λ=0\lambda= 0, we have zj=0z_j = 0 for every block, and equation 4 reduces to the standard actor-critic gradient for πθ\pi_\theta at block resolution. At this point, the block structure is unnecessary: no switching occurs and a single policy acts throughout, so training can revert to per-step updates with the per-step advantage. We now derive eq. 4 and 5.

Derivation. Write τj:=(abj,sbj+1,…,abj+1−1,sbj+1)\tau_j := (a_{b_j}, s_{b_j+1}, \ldots, a_{b_{j+1}-1}, s_{b_{j+1}}) for the trajectory within block jj, excluding the initial boundary state. The joint density of τj\tau_j and the switch zjz_j, conditioned on the boundary state sbjs_{b_j} is given by

p(zj,τj∣sbj)=λzj(1−λ)1−zj∏i=0k−1πzj(abj+i∣sbj+i)P(sbj+i+1∣sbj+i,abj+i),(6)p(z_j,\tau_j \mid s_{b_j}) = \lambda^{z_j}(1-\lambda)^{1-z_j} \prod_{i=0}^{k-1} \pi_{z_j}(a_{b_j+i} \mid s_{b_j+i})P(s_{b_j+i+1} \mid s_{b_j+i},a_{b_j+i}), \tag*{(6)}

where the first factor does not depend on sbjs_{b_j} because the switch is independent of the state. The joint density of the trajectory τ\tau and the switches zz is then the block-wise product p(z,τ)=ρ0(s0)∏j≥0p(zj,τj∣sbj)p(z,\tau) = \rho_0(s_0)\prod_{j\ge0}p(z_j,\tau_j \mid s_{b_j}). Writing log⁡πzj(a∣s)=zjlog⁡π^(a∣s)+(1−zj)log⁡πθ(a∣s)\log\pi_{z_j}(a \mid s) = z_j \log\hat{\pi}(a \mid s) + (1-z_j)\log\pi_\theta(a \mid s) and noting that ∇θlog⁡π^(a∣s)=0\nabla_\theta\log\hat{\pi}(a \mid s) = 0 for the expert for all a,sa,s, it follows that the score for θ\theta is

∇θlog⁡p(z,τ)=∑j≥0∇θlog⁡p(zj,τj∣sbj)=∑j≥0(1−zj)∑i=0k−1∇θlog⁡πθ(abj+i∣sbj+i),(7)\nabla_\theta\log p(z,\tau) = \sum_{j\ge0}\nabla_\theta\log p(z_j,\tau_j \mid s_{b_j}) = \sum_{j\ge0}(1-z_j)\sum_{i=0}^{k-1}\nabla_\theta\log\pi_\theta(a_{b_j+i} \mid s_{b_j+i}), \tag*{(7)}

and the score for λ\lambda is

∂log⁡p(z,τ)∂λ=∑j≥0zj−λλ(1−λ).(8)\frac{\partial\log p(z,\tau)}{\partial\lambda} = \sum_{j\ge0}\frac{z_j-\lambda}{\lambda(1-\lambda)}. \tag*{(8)}

Neither score contains the expert’s action probabilities, so the expert can be a black box that only returns actions. Writing ∇\nabla for either ∇θ\nabla_\theta or ∂λ\partial_\lambda, the policy gradient theorem [39] yields ∇J=E[∑j≥0Γj∇log⁡p(zj,τj∣sbj)A^j]\nabla J = \mathbb{E}\left[\sum_{j\ge0}\Gamma^j \nabla\log p(z_j,\tau_j \mid s_{b_j})\hat{A}_j\right], and substituting eq. 7 and 8 yields equation 4 and equation 5.

Reading the λ\lambda-gradient. The λ\lambda-gradient in equation 5 has a simple reading once the switch is marginalized out. Let

aE(s):=E[A^j∣sbj=s,zj=1],aA(s):=E[A^j∣sbj=s,zj=0](9)a_E(s) := \mathbb{E}[\hat{A}_j \mid s_{b_j}=s,z_j=1], \qquad a_A(s) := \mathbb{E}[\hat{A}_j \mid s_{b_j}=s,z_j=0] \tag*{(9)}

be the expected advantage of a block that starts in ss and is executed by the expert or by the learner.

Proposition 1. Because the switch is independent of the boundary state,

∂J∂λ=∑j≥0ΓjEsbj[aE(sbj)−aA(sbj)],(10)\frac{\partial J}{\partial\lambda} = \sum_{j\ge0}\Gamma^j\mathbb{E}_{s_{b_j}}\left[a_E(s_{b_j})-a_A(s_{b_j})\right], \tag*{(10)}

where the expectation is over the marginal distribution of the boundary states that the mixture visits.

We prove Prop. 1 in App. § 8. Because the switch ignores the state, the expert’s blocks and the learner’s blocks start from the same distribution of states, so equation 10 compares the two policies on equal footing: the gradient is positive when, on the states the mixture visits, a block executed by the expert earns more in expectation than one executed by the learner, and negative otherwise. Gradient ascent therefore raises λ\lambda while the expert is ahead on average and lowers it once the learner is ahead. Since aE(s)=A(s,1)a_E(s)=A(s,1) and aA(s)=A(s,0)a_A(s)=A(s,0), the difference also equals Q(s,1)−Q(s,0)Q(s,1)-Q(s,0): the extra return from ss when the expert, not the learner, plays the next block.

Penalty on expert use and imitation

Penalizing expert use. Without a penalty, λ\lambda decreases only when the learner’s blocks strictly outperform those of the expert. Once the learner matches the expert, which the imitation term below encourages, the gradient equation (5) vanishes and λ\lambda remains at its current value, potentially preventing the learner from acting independently. We therefore maximize

Φ(λ,θ)=J(λ,θ)−cEσλ,cE>0,(11)\Phi(\lambda,\theta) = J(\lambda,\theta) - c_E \sigma\lambda,\qquad c_E > 0, \tag*{(11)}

where σ\sigma is the sample standard deviation of the block advantage over a batch, treated as a constant in the gradient, and cEc_E is the price of expert use in units of σ\sigma. Expressing the price in units of σ\sigma avoids tuning it per task. The price does not depend on θ\theta, so it changes only the λ\lambda-gradient: the expert share increases only while the expert’s blocks outperform the learner’s on average by more than a margin proportional to cEσc_E\sigma, and decreases once the margin falls below it.

Imitation on expert blocks. The factor (1−zj)(1-z_j) in equation (4) removes the expert’s blocks from the learner update, so a fraction λ\lambda of the collected experience does not train the learner. We use it through an imitation term on those blocks,

I(θ)=E[∑j≥0Γjzj∑i=0k−1log⁡πθ(abj+i∣sbj+i)],(12)\mathcal{I}(\theta) = \mathbb{E}\left[\sum_{j\geq0}\Gamma^j z_j \sum_{i=0}^{k-1}\log\pi_\theta(a_{b_j+i}\mid s_{b_j+i})\right], \tag*{(12)}

weighted by cI≥0c_I \geq0 and differentiated with the sampling distribution held fixed, as is standard for auxiliary losses. As in DAgger Ross et al. [31], imitation uses states the learner helps reach rather than fixed demonstrations. Imitating a mediocre expert can hold the learner back, so we set cIc_I per benchmark ( Sect. 4.5), and the term fades with the expert because it acts only on expert blocks. We do not differentiate I\mathcal{I} with respect to λ\lambda: doing so would let λ\lambda rise to generate more blocks to imitate, whereas it should respond only to the block comparison and its price.

Resulting update. The learner ascends J+cIIJ+c_I\mathcal{I} and the expert share ascends Φ\Phi so the complete gradients are:

∇θ(J+cII)=E[∑j≥0Γj((1−zj)A^j+cIzj)∑i=0k−1∇θlog⁡πθ(abj+i∣sbj+i)],∂Φ∂λ=E[∑j≥0Γjzj−λλ(1−λ)A^j]−cEσ,(13)\begin{aligned} \nabla_\theta(J+c_I\mathcal{I}) &= \mathbb{E}\left[\sum_{j\geq0}\Gamma^j\left((1-z_j)\widehat{A}_j+c_Iz_j\right)\sum_{i=0}^{k-1}\nabla_\theta\log\pi_\theta(a_{b_j+i}\mid s_{b_j+i})\right],\\ \frac{\partial\Phi}{\partial\lambda} &= \mathbb{E}\left[\sum_{j\geq0}\Gamma^j\frac{z_j-\lambda}{\lambda(1-\lambda)}\widehat{A}_j\right]-c_E\sigma, \tag*{(13)} \end{aligned}

with λ\lambda projected onto [0,λmax⁡][0,\lambda_{\max}] after each update. On learner blocks, the learner follows the policy gradient; on expert blocks, it imitates the expert. Once λ=0\lambda=0, no expert block is sampled, the imitation term vanishes, and training is standard policy gradient.

Experiments

We address four questions. (Q1) Does the learned handover yield higher returns with fewer environment steps than guided and unguided baselines? (Sect. 4.2) (Q2) Does λ\lambda correlate well with the expert’s declining superiority over the learner and eventually vanish, as equation (13) predicts? (Sect. 4.3) (Q3) Can a weak expert that often fails help and enable the learner to surpass it? (Sect. 4.4) (Q4) How much does each hyper-parameter, the block length kk, the imitation weight cIc_I, and the expert price cEc_E, matter? (Sect. 4.5)

Experimental Setup

Benchmarks. We evaluate on 34 tasks from two common benchmarks, both in the GPU-parallel implementations that motivate our on-policy setting. DMControl (Tunyasuvunakool et al. [41]), through MuJoCo Playground (Zakka et al. (2025)), covers continuous control at varying difficulty, including sparse-reward tasks. MiniGrid (Chevalier-Boisvert et al. [10]), through NAVIX (Pignatelli et al. [24]), adds sparse-reward gridworlds with discrete actions. Each method trains for 20M environment steps on 5 seeds per task.

Baselines. All methods share the same PPO learner, network, and optimizer settings (App. § 10). They differ only in how they use the expert. PPO (Schulman et al., [34]) is the unguided baseline. BC →\rightarrow PPO follows Ramrakhya et al. [26] in its simplest form: MM steps of behavior cloning (BC), then PPO. Scheduled λ\lambda uses the same block structure and imitation component, but we modify the learned share with the schedule λ(t)=max⁡(0,1−t/T)\lambda(t) = \max(0, 1-t/T), for T∈{1,2.5,5}×106T \in\{1, 2.5, 5\} \times10^{6} steps as proposed by Yang et al. (2023). JSRL (Uchendu et al., [42]) lets the expert act for a prefix of each episode and shortens the prefix as the learner improves. JSRL was designed for off-policy learning, so we exclude expert actions from the policy-gradient loss and keep them for value learning and BC. Kickstarting (Schmitt et al., [33]) adds a distillation loss toward the expert on the learner’s rollouts and with a population-based adaptation.

Experts. Our target setting is an expert that comes from outside the training run, such as a controller, a planner, or a heuristic, available as a black box that returns actions. On MiniGrid, the expert is of this kind: a depth-first-search (DFS) planner with injected noise, tuned to reach about 70% of the maximum return on average across tasks. On DMControl, handcrafting such an expert for each task is impractical, so we emulate it with learned experts: PPO checkpoints stopped before convergence and TD-MPC2 policies (Hansen et al., [13]), which reach about 60% of the best final return of any method on average. Our method never reads their parameters or resumes training from them; it only queries them for actions. App. § 11 reports per-task expert returns, and we will release all experts. Sects. 4.3 and 4.4 add two model-based experts that plan with inaccurate models: an MPC controller with a perturbed dynamics model and a grid planner with a PD tracker.

Metrics. Asymptotic return is the deterministic return averaged over the final 20% of training. Steps to bar is the number of environment steps needed to first reach 75% of the best asymptotic return any method achieved on that task, so the bar is the same for all methods; runs that never reach it count as 20M in medians. In tables, normalized return is the return divided by the best method’s return on that task. Aggregate curves normalize each task by its observed range.

Comparison of Return Performance

Tab. 1 summarizes both metrics by task family, and Figure 3 shows the aggregate learning curves and the learned expert share λ\lambda; per-task tables, curves, and λ\lambda trajectories are in App. § 9. On DMControl, our method has the lowest median steps to bar, 4.8M against 5.6M for JSRL, 6.1M for BC→\rightarrowPPO, 9.1M for Kickstarting, and 10.1M for PPO, a median per-task speed-up of 2.55×\times over PPO. It also has the highest mean normalized return, and it is the fastest method on 16 of 25 tasks, while no other method is fastest on more than 5 (Table 2). On MiniGrid, reward is sparse, and the methods separate more sharply. PPO reaches the bar on only 3 of 9 tasks and ends with zero return on three of the four KeyCorridor variants. BC→\rightarrowPPO reaches the bar fastest when cloning covers most of the state space, but it collapses on the two largest KeyCorridor variants and on DoorKey-Random-16x16. Because our method queries the expert on the states the learner itself visits, it avoids this collapse: it obtains the highest final return on 4 tasks and ties for the highest on 3 more (Table 3). The scheduled-λ\lambda arms show why the share has to be learned rather than fixed in advance. No single linear schedule horizon TT works across all tasks at the same time. Our method beats every baseline on both metrics in every family except on Finger and steps to bar in MiniGrid, and the λ\lambda trajectories it learns share no common shape (Figure 3).

Figure 3. Aggregate results on both benchmarks. Normalized return (min-max per task, averaged over tasks and seeds) and the expert share λ\lambda per task.

TaskbarOursJSRLKickBC→PPOλ1Mλ2.5Mλ5MPPO
AcrobotSwingup1455.8 / 1759.3 / 1569.1 / 152<u>7.7</u> / 1928.7 / 1857.8 / 1938.7 / 18914.8 / 189
AcrobotSwingupSparse418.6 / 5412.3 / 36– / 2712.4 / 5014.0 / 5214.0 / 5011.9 / 49– / 19
BallInCup7301.9 / 9743.3 / 9734.2 / 968<u>2.2</u> / 9712.9 / 9733.3 / 9744.6 / 9736.6 / 974
CartpoleBalance6651.0 / 8541.3 / 8221.3 / 8340.1 / 8841.3 / 8171.3 / 8141.7 / 8212.5 / 886
CartpoleBalanceSparse7501.1 / 987<u>3.3</u> / 10008.7 / 74316.5 / 6424.2 / 9965.0 / 9985.0 / 9336.0 / 944
CartpoleSwingup5661.5 / 6616.6 / 7042.5 / 5725.7 / 7193.3 / 6974.6 / 6902.5 / 6934.2 / 754
CartpoleSwingupSparse6114.1 / 783<u>5.8</u> / 8159.1 / 43213.7 / 6357.4 / 7177.4 / 7297.0 / 78815.0 / 566
CheetahRun6365.4 / 8293.7 / 8487.0 / 5766.1 / 8017.0 / 8155.8 / 826<u>9.5</u> / 823<u>5.2</u> / 816
FingerSpin7279.3 / 9145.4 / 96911.9 / 808<u>5.7</u> / 9629.1 / 7926.2 / 9268.7 / 9318.0 / 923
FingerTurnEasy6727.7 / 89618.5 / 570– / 6005.7 / 8748.7 / 77711.9 / 78716.0 / 77310.1 / 880
FingerTurnHard6255.7 / 8337.4 / 73014.8 / 6067.1 / 8316.2 / 8247.4 / 82710.3 / 81511.1 / 635
FishSwim4294.6 / 5677.4 / 57216.0 / 4447.9 / 5527.4 / 5587.4 / 55010.3 / 54412.6 / 471
HopperHop2837.2 / 3785.6 / 37418.5 / 276– / 13714.8 / 26217.8 / 28815.2 / 30419.7 / 134
HopperStand6472.0 / 7785.0 / 7683.3 / 8639.2 / 7635.8 / 7452.9 / 7665.8 / 770– / 436
HumanoidRun2107.7 / 2385.4 / 280– / 19814.1 / 221– / 76– / 7– / 62– / 144
HumanoidStand7455.5 / 9935.7 / 75411.1 / 89210.6 / 951– / 36– / 35– / 3511.9 / 936
HumanoidWalk71214.4 / 7689.1 / 950– / 606– / 663– / 213– / 18– / 238– / 162
PendulumSwingup6294.8 / 8286.2 / 698<u>5.0</u> / 7745.9 / 8327.0 / 8395.8 / 8297.4 / 839– / 63
PointMass6550.1 / 7482.5 / 7430.9 / 8733.0 / 7402.5 / 7332.9 / 7395.8 / 7413.3 / 751
ReacherEasy7161.7 / 8992.5 / 8812.5 / 9100.6 / 9552.5 / 8642.5 / 8722.5 / 865<u>1.3</u> / 955
ReacherHard7041.3 / 9263.3 / 9222.5 / 832.1 / 9322.5 / 9304.2 / 9254.6 / 9383.3 / 909
SwimmerSwimmer63796.9 / 5058.7 / 326– / 29211.6 / 43410.7 / 49111.9 / 44716.0 / 41516.0 / 403
WalkerRun5246.0 / 6985.8 / 691– / 4804.0 / 6745.0 / 6967.0 / 6799.1 / 6677.2 / 672
WalkerStand7321.7 / 9772.5 / 9732.5 / 9232.2 / 9732.5 / 9735.4 / 9747.0 / 9734.6 / 973
WalkerWalk7211.5 / 961<u>2.5</u> / 9594.2 / 9163.0 / 9572.9 / 9596.2 / 9577.8 / 9574.4 / 962
Median steps / norm. return4.8 / 0.957<u>5.6</u> / 0.9089.1 / 0.7946.1 / 0.9017.0 / 0.8416.2 / 0.8298.7 / 0.84310.1 / 0.784
# fastest / # best return16 / 9<u>5 / 7</u>0 / 24 / 10 / 10 / 20 / 20 / 5

Table 2. Sample efficiency and final performance per task on DMC. Each cell shows steps to bar (M) / asymptotic return (median over 5 seeds; “–” if not reached within 20M steps). In the median-steps row, runs that do not reach the bar count as 20M. Normalized return is the return divided by the best method’s return on that task, averaged over tasks. Bold: best. <u>Underline</u>: second best. Ties are marked for every tied method and counted for each of them in the last row.

TaskbarOursJSRLKickBC→PPOλ1Mλ2.5Mλ5MPPO
KeyCorridorS4R30.754.7 / 0.985.9 / 0.9916.7 / 0.752.2 / 0.944.2 / 0.924.9 / 1.007.4 / 0.99– / 0.00
KeyCorridorS5R30.728.5 / 0.967.9 / 0.9217.9 / 0.69– / 0.009.1 / 0.779.1 / <u>0.94</u>12.4 / 0.90– / 0.00
KeyCorridorS6R30.677.8 / 0.9012.3 / 0.7715.7 / 0.75– / 0.00– / 0.00– / 0.4614.8 / 0.77– / 0.00
DoorKey-16x160.708.5 / 0.9310.5 / 0.7916.7 / 0.69<u>8.6</u> / 0.819.0 / 0.909.6 / <u>0.90</u>12.5 / 0.77– / 0.17
DoorKey-Random-16x160.5210.3 / 0.69– / 0.15– / 0.34– / 0.09– / 0.2115.8 / 0.4914.5 / 0.61– / 0.03
LavaCrossingS11N50.48– / 0.4212.5 / 0.42– / 0.304.3 / 0.588.7 / 0.5610.9 / 0.6418.9 / 0.45– / 0.06
FourRooms-13x130.750.7 / 1.007.0 / 1.001.9 / 1.000.5 / 1.000.7 / 1.000.7 / 1.000.7 / 1.008.2 / 1.00
KeyCorridorS3R30.752.1 / 1.00<u>1.9</u> / 1.006.7 / <u>0.98</u>0.5 / 1.003.0 / 1.003.8 / 1.004.6 / 1.006.9 / 0.77
FourRooms-17x170.751.0 / 1.001.2 / 0.992.6 / 1.000.5 / 1.001.5 / 1.001.6 / 1.001.0 / 1.0011.9 / 0.93
Median steps / norm. return<u>7.8</u> / 0.9607.9 / 0.83516.7 / 0.7754.3 / 0.6498.7 / 0.7719.1 / 0.90612.4 / 0.90720.0 / 0.336
# fastest / # best return<u>3 / 7</u>1 / 20 / 25 / 30 / 30 / 50 / 30 / 1

Table 3. Sample efficiency and final performance per task on MiniGrid. Each cell shows steps to bar / final return. Steps to bar is the number of environment steps (in millions) needed to reach 75% of the best final return on that task (median over 5 seeds; “–” if not reached within 20M steps). Final return is the deterministic return after 20M steps (mean over 5 seeds). In the median-steps row, runs that do not reach the bar count as 20M. Normalized return is the final return divided by the best method’s final return on that task, averaged over tasks. Bold: best. <u>Underline</u>: second best. Ties are marked for every tied method and counted for each of them in the last row.

Does lambda track expert quality?

Sect. 4.2 varies the expert and the task together, so here we fix the task and vary only the expert’s quality, using a different type of expert to also test generality. Following Bhardwaj et al. [6], we use a model predictive path integral (MPPI) controller on CartpoleSwingupSparse whose internal model scales the cart and pole masses by (1+b)(1 + b), with b∈{0,−0.1,…,−0.9}b \in\{0, -0.1, \ldots, -0.9\}; at b=0b = 0, the model is exact. The environment itself never changes. Figure 4 shows that the handover adapts to expert quality: λ\lambda reaches zero at 9.8M steps for the exact model and at 2.2M for b=−0.9b = -0.9, with the intermediate levels ordered in between. No hyperparameters change across the sweep. The learner reaches about 0.7 normalized return at every level of mismatch except b=−0.9b = -0.9. There, the expert helps little, the handover withdraws it within 2.2M steps, and the learner ends still above PPO: with a poor expert, the method automatically falls back to PPO rather than being held back.

Figure 4. CartpoleSwingupSparse with an MPC expert whose model masses are scaled by (1+b)(1 + b). Left: learner return. Right: learned expert share λ\lambda. b=0b = 0 is the exact model; as the error grows, λ\lambda reaches zero sooner.

Can a failing expert help?

In the above examples, we make the experts suboptimal on purpose. Here we explore a scenario common in practice: the expert can fail because it plans with an oversimplified model. In our continuous version of the Frozen Lake Problem, a point mass must cross a 36 × 36 lake by commanding 2D accelerations. A third of the cells are holes that end the episode, some lined up in rows with alternating gaps that force a serpentine route. Reward comes only at the goal. The ice is slippery: with probability pslip=0.3p_{\mathrm{slip}} = 0.3, the commanded acceleration is rotated by ±90∘\pm90^\circ. The expert uses a breadth-first search PD controller to track the shortest grid path. Because this path grazes the holes and the plan ignores the slip, the expert never reaches the goal (Figure 5, full setup in App. § 9.§ 3). Exploration is hard in this continuous task, with PPO never leaving the start. Our learner keeps the expert’s route but learns to avoid the holes. It reaches the goal in 98.5% of the episodes, against 4% for Kickstarting, 28% for JSRL, and 0% for BC→\toPPO. Thus, a failing expert can help if the learner may deviate where it fails.

Figure 5. Frozen Lake with a failing expert (pslip=0.3p_{\mathrm{slip}} = 0.3). 60 evaluation episodes per method on the same map, with the success rate above each panel. Only our learner reliably completes the route.

Ablations

Imitation regularization. We sweep cI∈{0,0.01,0.1,1}c_I \in\{0, 0.01, 0.1, 1\} (Figure 6a). The term matters where exploration is hard: for instance, on the Humanoid tasks, removing it leaves the learner at the floor for the entire budget. Excessive imitation instead anchors the learner to the expert and hinders exploration, so cI=0.1c_I = 0.1 gives the best trade-off across tasks (per-task curves in Figure 11).

Figure 6. Hyperparameter ablations. (a) Imitation weight: normalized return vs. cIc_I (Figure 11). (b) Expert price: withdrawal step of λ\lambda (top) and relative return (bottom) vs. cEc_E (Figure 12). (c) Block size trade-off: dotted line marks k=100k=100. Stars mark the maximum. Per-task plots in App. § 9.§ 4.

Imitation weight per task across six DMControl tasks

Figure 11. Imitation weight per task. Return over training on six DMControl tasks for each cIc_I. With cI∈{0,0.01}c_I \in\{0, 0.01\}, the learner stays near zero return on the three Humanoid tasks. With cI=1c_I = 1, it stays near the expert’s return on FingerSpin and ends lower on the Humanoid tasks. On BallInCup and WalkerWalk, cIc_I has little effect.

Block size. By Prop. 1, λ\lambda moves with the gap aE−aAa_E-a_A. We measure its visibility on a block by the per-block signal-to-noise ratio d(k):=E[aE−aA]/σd(k) := \mathbb{E}[a_E-a_A]/\sigma, where σ\sigma is the standard deviation of the block advantage (untrained learner, λ=0.5\lambda= 0.5, no critic). Maximizing dd alone favors long blocks, but a batch of NN steps contains N/kN/k blocks, giving gradient signal-to-noise d(k)N/kd(k)\sqrt{N/k}. Thus, at fixed budget, we maximize d(k)/kd(k)/\sqrt{k} (Figure 6c). At k=1k = 1, dd is near zero or negative, so single steps provide little information about which policy is better; it then grows with kk on every task. In contrast, d(k)/kd(k)/\sqrt{k} peaks at intermediate lengths, k≈75k \approx75–300300, with our k=100k = 100 near the peak.

Price on expert use. Without the price (cE=0c_E = 0), λ\lambda stays above 0 on 13 of 25 DMC tasks, even once the learner matches the expert, capping performance at the expert’s level. Raising cEc_E withdraws the expert sooner: mean withdrawal falls from 17.4M steps at cE=0c_E = 0 to 0.6M at cE=3c_E = 3. However, too high a price withdraws it before it pays off, so relative return peaks at the default cE=0.3c_E = 0.3, the value we use on every task without per-task tuning (Figure 6b and Figure 12).

Figure 12. Expert price per task. Expert share λ\lambda (top) and return (bottom) over training on three DMControl tasks for each cEc_E. With cE=0c_E = 0, λ\lambda stays above zero until the end of training on WalkerWalk and CheetahRun, and reaches zero on FingerSpin after about 10M steps. With cE=3c_E = 3, λ\lambda reaches zero within 1M steps on all three tasks.

Conclusion

We presented a policy-gradient method in which a fixed expert and the learner share each episode in blocks, with the expert’s share optimized by the same objective as the policy. Committing to blocks reduces the λ\lambda-gradient to the gap between what expert and learner blocks earn. A price on expert use turns withdrawal into part of the objective, and an imitation term on expert blocks lets every block train the learner. Our method reaches a given return in fewer environment steps than guided and unguided baselines, with a median per-task speed-up of 2.55×2.55\times over PPO on DMControl and the largest margins under sparse rewards, even with an expert that never succeeds. The handover needs no per-task tuning, and once λ\lambda reaches zero the deployed policy runs without the expert. Two directions follow. The comparison of block advantages extends to several experts, each with its own share. And since λ\lambda measures what the expert is worth, it could budget queries to expensive experts, such as the model-based controllers common in robotics.

AI Use Statement

We used generative AI tools to polish the writing of the manuscript and as a coding assistant. The authors reviewed all AI-edited text and tested all AI-assisted code, and take full responsibility for the content of this work.

Reproducibility Statement

§ 3 and App. § 8 give the derivations and proofs. § 4 and App. § 10 describe the setup, hyperparameters, and experts, and App. § 9.§ 3 describes the FrozenLake task. We will release the code and all experts upon publication.

Proof of Proposition 1

Proof. The switch zjz_j is drawn independently of the boundary state, so (sbj,zj)(s_{b_j}, z_j) has a product law, and the expectation in equation (5) can be taken in three stages: over the boundary state sbjs_{b_j} under the mixture, then over zj∼Bernoulli⁡(λ)z_j \sim\operatorname{Bernoulli}(\lambda), which the conditioning leaves unchanged, then over the execution of the block:

E[zj−λλ(1−λ)A^j]=Esbj[Ezj[E[zj−λλ(1−λ)A^j∣sbj,zj]]].(14)\mathbb{E}\left[\frac{z_j-\lambda}{\lambda(1-\lambda)}\widehat{A}_j\right] = \mathbb{E}_{s_{b_j}}\left[\mathbb{E}_{z_j}\left[\mathbb{E}\left[\frac{z_j-\lambda}{\lambda(1-\lambda)}\widehat{A}_j \mid s_{b_j},z_j\right]\right]\right]. \tag*{(14)}

In the innermost expectation, the score depends only on zjz_j, so it moves outside:

E[zj−λλ(1−λ)A^j∣sbj=s,zj]=zj−λλ(1−λ)E[A^j∣sbj=s,zj]={aE(s)λ,zj=1,−aA(s)1−λ,zj=0.(15)\mathbb{E}\left[\frac{z_j-\lambda}{\lambda(1-\lambda)}\widehat{A}_j \mid s_{b_j}=s,z_j\right] = \frac{z_j-\lambda}{\lambda(1-\lambda)}\mathbb{E}\left[\widehat{A}_j \mid s_{b_j}=s,z_j\right] = \begin{cases} \frac{a_E(s)}{\lambda}, & z_j=1,\\ \frac{-a_A(s)}{1-\lambda}, & z_j=0. \end{cases} \tag*{(15)}

Averaging over zjz_j, each outcome’s probability cancels the denominator of its own branch:

λ⋅aE(s)λ+(1−λ)⋅−aA(s)1−λ=aE(s)−aA(s).(16)\lambda\cdot\frac{a_E(s)}{\lambda} + (1-\lambda)\cdot\frac{-a_A(s)}{1-\lambda} = a_E(s)-a_A(s). \tag*{(16)}

Substituting into equation (5) for every block gives equation (10).

Additional Results

Task groups. Table 1 summarizes the per-task results of Table 2 and Table 3. It splits the DMControl tasks into three families: Low-dim. control (11 tasks): AcrobotSwingup, AcrobotSwingupSparse, CartpoleBalance, CartpoleBalanceSparse, CartpoleSwingup, CartpoleSwingupSparse, PendulumSwingup, BallInCup, PointMass, ReacherEasy, ReacherHard; Finger (3 tasks): FingerSpin, FingerTurnEasy, FingerTurnHard; Locomotion (11 tasks): CheetahRun, FishSwim, HopperHop, HopperStand, SwimmerSwimmer6, WalkerRun, WalkerStand, WalkerWalk, HumanoidRun, HumanoidStand, HumanoidWalk. The MiniGrid column covers the 9 tasks of Table 3, and the All column covers all 34 tasks. For each column, we report the median steps to bar over tasks, counting a run that does not reach the bar within 20M steps as 20M. We also report the mean over tasks of the return divided by the best method’s return on that task, using the asymptotic return on DMControl and the final return on MiniGrid.

DMControl
Low-dim.FingerLoco.MiniGridAll
Ours1.7/.9527.7/.9815.5/.9577.8/.9605.1/.958
JSRL3.3/.9027.4/.8385.6/.9337.9/.8355.8/.889
Kick4.2/.82014.8/.74416.0/.78116.7/.77510.1/.789
BC→PPO5.7/.9205.7/.9899.2/.8564.3/.6496.0/.834
λ1M3.3/.9448.7/.8917.4/.7268.7/.7717.0/.823
λ2.5M4.6/.9447.4/.9427.4/.6839.1/.9066.6/.849
λ5M5.0/.94410.3/.93410.3/.71812.4/.9078.7/.860
PPO6.0/.80710.1/.89912.6/.73020.0/.33611.9/.665

Table 1. Results by task family. Median steps to bar (M) / mean normalized return; runs that never reach the bar count as 20M. Bold: best, underline: second best. Group definitions and per-task results in App. B.

DMControl

Table 2 reports the steps to bar and the asymptotic return on every DMControl task. Figure 7 shows the learning curves, and Figure 8 shows the expert share λ\lambda of our method over training.

DMControl learning curves per task

Figure 7. DMControl learning curves per task. Return of the learner acting alone with deterministic actions, for each method.

DMControl expert share per task

Figure 8. DMControl expert share per task. Expert share λ\lambda of our method over training.

MiniGrid

Table 3 reports the steps to bar and the final return on every MiniGrid task. Figure 9 shows the learning curves, with the expert’s return as a dotted line, and Figure 10 shows the expert share λ\lambda.

Figure 9. MiniGrid learning curves per task. Return of the learner acting alone with deterministic actions, for each method. The dotted line is the expert’s return.

MiniGrid expert share per task

Figure 10. MiniGrid expert share per task. Expert share λ\lambda of our method over training.

FrozenLake

Task. A point mass moves on a continuous 36×3636 \times36 grid in which 32.9% of the cells are holes. The action is a two-dimensional acceleration. Entering a hole ends the episode. The reward is +1 on the step that enters the goal and 0 otherwise. With probability pslipp_{\mathrm{slip}}, the commanded acceleration is rotated by a quarter turn. Five full-width walls with alternating doorways force a serpentine route of 123 cells with 25 turns. Episodes last at most 700 steps.

Expert. Breadth-first search over the free cells returns a path, and a PD controller tracks it. The expert is suboptimal by construction: the shortest path passes close to the corners of holes, and the planner has no model of the slip. It never reaches the goal (Figure 5).

Protocol. All methods share the environment, the expert, the network, the PPO hyperparameters, and the budget of 2×1072 \times10^{7} transitions. They differ only in how they use the expert. We report the success rate of the learner acting alone with deterministic actions.

Result. Table 4 and Figure 5 give the results at pslip=0.3p_{\mathrm{slip}} = 0.3. PPO never reaches the goal, so its advantages are zero for the whole run and the reward gives it no learning signal. BC→\rightarrowPPO follows a route that ends in a hole. JSRL and Kickstarting get further along the route than the expert, but they usually fall into a hole before the goal. Our learner reaches the goal in 98.5% of the episodes.

MethodSuccess rate
PPO0.000
BC→\rightarrowPPO0.000
Kickstarting0.037
JSRL0.276
Ours0.985

Table 4. Final success rate on FrozenLake (pslip=0.3p_{\mathrm{slip}} = 0.3), mean over 5 seeds.

Ablations per task

Figure 11 and Figure 12 show per-task runs for the imitation-weight and expert-price ablations of § 4.5 (Figure 6a and Figure 6b).

Hyperparameters

Table 5 reports the hyperparameters used for DMControl, while Table 6 reports only the differences with respect to DMControl. All baselines use the same network architecture, with two hidden layers of 256 units for both the actor and critic, and tanh activations.

Table 5: Hyperparameters. The PPO backbone is identical for all methods; only the guidance mechanism differs. All methods use the same frozen guide πE\pi_E with no per-task tuning.

ParameterValue
Shared PPO backbone
NN parallel environments2048
Rollout length TT30
Minibatches / epochs32 / 16
γ\gamma / λGAE\lambda_{\mathrm{GAE}}0.995 / 0.95
Clip ϵ\epsilon0.2
Value / entropy coefficient0.5 / 0.01
Max gradient norm0.5
Activationtanh
Observation normalisationyes
Environment steps2×1072 \times10^7
Evaluation128 ×\times 1000, deterministic
Ours
Block length kk100
λ0\lambda_0 / λmax⁡\lambda_{\max}0.5 / 0.7
ηλ\eta_\lambda / cEc_E / cIc_I0.03 / 0.3 / 0.1
JSRL
Tolerance τ\tau / stages0.2 / 10
Guide horizon / MA window1000 / 0.3
BC coefficient0.1
BC→\toPPO
Transitions / epochs5×1055 \times10^5 / 60
Learning rate / batch size3×10−43 \times10^{-4} / 4096
Kickstarting
Distillation coefficient1.0
Anneal fraction / teacher samples0.5 / 8
PBT population4
Linear λ\lambda
Schedule1→01 \to0
Decay horizon1M (also 2.5M, 5M)
Imitation weight cIc_I0.1

Table 5.

Table 6: MiniGrid hyperparameters. Only differences from the DMControl settings in Table 5 are reported.

ParameterValue
Shared PPO backbone
NN parallel environments512
Rollout length TT64
Minibatches / epochs8 / 2
Learning rate10−310^{-3}
Observation normalisationno
Ours
Block length kk30
Imitation weight cIc_I1.0
JSRL
Tolerance τ\tau0.05
BC coefficient1.0
Linear λ\lambda
Imitation weight cIc_I1.0

Table 6.

Guides

Table 7 and Table 8 provide the reward achieved by each guide.

TaskGuide πE\pi_EceilingπE\pi_E/ceil
AcrobotSwingup139.11930.72
AcrobotSwingupSparse15.7540.29
BallInCup844.09740.87
CartpoleBalance724.98860.82
CartpoleBalanceSparse256.210000.26
CartpoleSwingup693.17540.92
CartpoleSwingupSparse328.98150.40
CheetahRun565.08480.67
FingerSpin635.29690.66
FingerTurnEasy509.18960.57
FingerTurnHard510.58330.61
FishSwim330.35720.58
HopperHop100.43780.27
HopperStand386.18630.45
HumanoidRun203.72800.73
HumanoidStand273.49930.28
HumanoidWalk594.89500.63
PendulumSwingup460.08390.55
PointMass482.08730.55
ReacherEasy927.49550.97
ReacherHard694.89380.74
SwimmerSwimmer6261.15050.52
WalkerRun461.06980.66
WalkerStand705.19770.72
WalkerWalk654.19620.68
mean0.60

Table 7. Guide quality on DMControl. The ceiling is the best asymptotic return of any method on that task (Table 2). Guides are deliberately sub-optimal (mean 0.60× the ceiling, range 0.26–0.97).

TaskGuide πE\pi_EceilingπE\pi_E/ceil
KeyCorridorS4R30.5461.0000.55
KeyCorridorS5R30.7031.0000.70
KeyCorridorS6R30.8251.0000.83
DoorKey-16x160.7761.0000.78
DoorKey-Random-16x160.8571.0000.86
LavaCrossingS11N50.1541.0000.15
FourRooms-13x130.9891.0000.99
KeyCorridorS3R30.7401.0000.74
FourRooms-17x170.9811.0000.98
mean0.73

Table 8. Guide quality on MiniGrid. Guides are deliberately sub-optimal (mean 0.73× the attainable performance).

References

  1. [1]Emre Adabag, Marcus Greiff, John Subosits, and Thomas Lew. Differentiable model predictive control on the GPU, 2025. Accepted at the International Conference on Learning Representations (ICLR) 2026.arxiv.org/abs/2510.06179
  2. [2]Rishabh Agarwal, Max Schwarzer, Pablo Samuel Castro, Aaron Courville, and Marc G. Bellemare. Reincarnating reinforcement learning: Reusing prior computation to accelerate progress. In Advances in Neural Information Processing Systems (NeurIPS), volume 35, 2022.arxiv.org/abs/2206.01626
  3. [3]OpenAI: Marcin Andrychowicz, Bowen Baker, Maciek Chociej, Rafal Józefowicz, Bob McGrew, Jakub Pachocki, Arthur Petron, Matthias Plappert, Glenn Powell, Alex Ray, et al. Learning dexterous in-hand manipulation. The International Journal of Robotics Research, 39(1):3–20, 2020.arxiv.org/abs/1808.00177
  4. [4]Thomas Anthony, Zheng Tian, and David Barber. Thinking fast and slow with deep learning and tree search. In Advances in Neural Information Processing Systems (NeurIPS), volume 30, 2017.arxiv.org/abs/1705.08439
  5. [5]Pierre-Luc Bacon, Jean Harb, and Doina Precup. The option-critic architecture. In Proceedings of the AAAI conference on artificial intelligence, volume 31, 2017.arxiv.org/abs/1609.05140
  6. [6]Mohak Bhardwaj, Sanjiban Choudhury, and Byron Boots. Blending MPC & value function approximation for efficient reinforcement learning. In International Conference on Learning Representations (ICLR), 2021.arxiv.org/abs/2012.05909
  7. [7]Jan Carius, Farbod Farshidian, and Marco Hutter. MPC-Net: A first principles guided policy search. IEEE Robotics and Automation Letters, 5(2):2897–2904, 2020. doi: 10.1109/LRA.2020.2974653.DOI
  8. [8]Ching-An Cheng, Xinyan Yan, Nolan Wagener, and Byron Boots. Fast policy learning through imitation and reinforcement. arXiv preprint arXiv:1805.10413, 2018.arxiv.org/abs/1805.10413
  9. [9]Ching-An Cheng, Andrey Kolobov, and Alekh Agarwal. Policy improvement via imitation of multiple oracles. Advances in Neural Information Processing Systems, 33:5587–5598, 2020.arxiv.org/abs/2007.00795
  10. [10]Maxime Chevalier-Boisvert, Bolun Dai, Mark Towers, Rodrigo Perez-Vicente, Lucas Willems, Salem Lahlou, Suman Pal, Pablo Samuel Castro, and Jordan Terry. Minigrid & miniworld: Modular & customizable reinforcement learning environments for goal-oriented tasks. In Advances in Neural Information Processing Systems 36, New Orleans, LA, USA, December 2023.
  11. [11]Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, et al. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025.DOI
  12. [12]Tuomas Haarnoja, Aurick Zhou, Kristian Hartikainen, George Tucker, Sehoon Ha, Jie Tan, Vikash Kumar, Henry Zhu, Abhishek Gupta, Pieter Abbeel, et al. Soft actor-critic algorithms and applications. arXiv preprint arXiv:1812.05905, 2018.arxiv.org/abs/1812.05905
  13. [13]Nicklas Hansen, Hao Su, and Xiaolong Wang. TD-MPC2: Scalable, robust world models for continuous control. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.16828
  14. [14]Todd Hester, Matej Vecerik, Olivier Pietquin, Marc Lanctot, Tom Schaul, Bilal Piot, Dan Horgan, John Quan, Andrew Sendonaris, Ian Osband, Gabriel Dulac-Arnold, John Agapiou, Joel Z. Leibo, and Audrunas Gruslys. Deep Q-learning from demonstrations. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018.arxiv.org/abs/1704.03732
  15. [15]Se Hwan Jeon, Ho Jae Lee, Seungwoo Hong, and Sangbae Kim. Residual MPC: Blending reinforcement learning with gpu-parallelized model predictive control, 2025.arxiv.org/abs/2510.12717
  16. [16]Tobias Johannink, Shikhar Bahl, Ashvin Nair, Jianlan Luo, Avinash Kumar, Matthias Loskyll, Juan Aparicio Ojea, Eugen Solowjow, and Sergey Levine. Residual reinforcement learning for robot control. In IEEE International Conference on Robotics and Automation (ICRA), pp. 6023–6029, 2019.arxiv.org/abs/1812.03201
  17. [17]Elia Kaufmann, Leonard Bauersfeld, Antonio Loquercio, Matthias Müller, Vladlen Koltun, and Davide Scaramuzza. Champion-level drone racing using deep reinforcement learning. Nature, 620(7976):982–987, 2023.DOI
  18. [18]Andrey Kurenkov, Ajay Mandlekar, Roberto Martin-Martin, Silvio Savarese, and Animesh Garg. Ac-teach: A bayesian actor-critic method for policy learning with an ensemble of suboptimal teachers. arXiv preprint arXiv:1909.04121, 2019.arxiv.org/abs/1909.04121
  19. [19]Sergey Levine and Vladlen Koltun. Guided policy search. In Proceedings of the 30th International Conference on Machine Learning (ICML), volume 28 of Proceedings of Machine Learning Research, pp. 1–9, 2013.
  20. [20]Sergey Levine, Chelsea Finn, Trevor Darrell, and Pieter Abbeel. End-to-end training of deep visuomotor policies. Journal of Machine Learning Research, 17(39):1–40, 2016.arxiv.org/abs/1504.00702
  21. [21]Xuefeng Liu, Takuma Yoneda, Rick L. Stevens, Matthew R. Walter, and Yuxin Chen. Blending imitation and reinforcement learning for robust policy improvement. In International Conference on Learning Representations, 2024.arxiv.org/abs/2310.01737
  22. [22]Viktor Makoviychuk, Lukasz Wawrzyniak, Yunrong Guo, Michelle Lu, Kier Storey, Miles Macklin, David Hoeller, Nikita Rudin, Arthur Allshire, Ankur Handa, et al. Isaac gym: High performance gpu-based physics simulation for robot learning. arXiv preprint arXiv:2108.10470, 2021.arxiv.org/abs/2108.10470
  23. [23]Ashvin Nair, Bob McGrew, Marcin Andrychowicz, Wojciech Zaremba, and Pieter Abbeel. Overcoming exploration in reinforcement learning with demonstrations. In IEEE International Conference on Robotics and Automation (ICRA), pp. 6292–6299, 2018.arxiv.org/abs/1709.10089
  24. [24]Eduardo Pignatelli, Jarek Liesen, Robert Lange, Chris Lu, Pablo Samuel Castro, and Laura Toni. Navix: Scaling minigrid environments with jax. Advances in Neural Information Processing Systems, 38, 2026.arxiv.org/abs/2407.19396
  25. [25]Aravind Rajeswaran, Vikash Kumar, Abhishek Gupta, Giulia Vezzani, John Schulman, Emanuel Todorov, and Sergey Levine. Learning complex dexterous manipulation with deep reinforcement learning and demonstrations. In Robotics: Science and Systems (RSS), 2018.arxiv.org/abs/1709.10087
  26. [26]Ram Ramrakhya, Dhruv Batra, Erik Wijmans, and Abhishek Das. PIRLNav: Pretraining with imitation and RL finetuning for ObjectNav. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2023.arxiv.org/abs/2301.07302
  27. [27]Krishan Rana, Vibhavari Dasagi, Ben Talbot, Michael Milford, and Niko Sünderhauf. Multiplicative controller fusion: Leveraging algorithmic priors for sample-efficient reinforcement learning and safe sim-to-real transfer. In IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2020.
  28. [28]Krishan Rana, Vibhavari Dasagi, Jesse Haviland, Ben Talbot, Michael Milford, and Niko Sünderhauf. Bayesian controller fusion: Leveraging control priors in deep reinforcement learning for robotics. The International Journal of Robotics Research, 2023. doi: 10.1177/02783649231167210.DOI
  29. [29]Rudolf Reiter, Jasper Hoffmann, Joschka Boedecker, and Moritz Diehl. A hierarchical approach for strategic motion planning in autonomous racing. In European Control Conference (ECC), pp. 1–8, 2023. doi: 10.23919/ECC57647.2023.10178143.DOI
  30. [30]Angel Romero, Elie Aljalbout, Yunlong Song, and Davide Scaramuzza. Actor-critic model predictive control: Differentiable optimization meets reinforcement learning for agile flight. IEEE Transactions on Robotics, 42:673–692, 2026. doi: 10.1109/TRO.2025.3644945.DOI
  31. [31]Stéphane Ross, Geoffrey J. Gordon, and J. Andrew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the 14th International Conference on Artificial Intelligence and Statistics (AISTATS), volume 15 of Proceedings of Machine Learning Research, pp. 627–635, 2011.arxiv.org/abs/1011.0686
  32. [32]Andrei A. Rusu, Sergio Gomez Colmenarejo, Çağlar Gülçehre, Guillaume Desjardins, James Kirkpatrick, Razvan Pascanu, Volodymyr Mnih, Koray Kavukcuoglu, and Raia Hadsell. Policy distillation. In International Conference on Learning Representations, 2016.arxiv.org/abs/1511.06295
  33. [33]Simon Schmitt, Jonathan J. Hudson, Augustin Zidek, Simon Osindero, Carl Doersch, Wojciech M. Czarnecki, Joel Z. Leibo, Heinrich Kuttler, Andrew Zisserman, Karen Simonyan, and S. M. Ali Eslami. Kickstarting deep reinforcement learning, 2018.arxiv.org/abs/1803.03835
  34. [34]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms, 2017.arxiv.org/abs/1707.06347
  35. [35]Idan Shenfeld, Zhang-Wei Hong, Aviv Tamar, and Pulkit Agrawal. Tgrl: An algorithm for teacher guided reinforcement learning. In International Conference on Machine Learning, pp. 31077–31093. PMLR, 2023.arxiv.org/abs/2307.03186
  36. [36]David Silver, Thomas Hubert, Julian Schrittwieser, Ioannis Antonoglou, Matthew Lai, Arthur Guez, Marc Lanctot, Laurent Sifre, Dharshan Kumaran, Thore Graepel, Timothy Lillicrap, Karen Simonyan, and Demis Hassabis. A general reinforcement learning algorithm that masters chess, shogi, and go through self-play. Science, 362(6419):1140–1144, 2018a. doi: 10.1126/science.aar6404.DOI
  37. [37]Tom Silver, Kelsey Allen, Josh Tenenbaum, and Leslie Kaelbling. Residual policy learning, 2018b.arxiv.org/abs/1812.06298
  38. [38]Richard S Sutton, Doina Precup, and Satinder Singh. Between mdps and semi-mdps: A framework for temporal abstraction in reinforcement learning. Artificial intelligence, 112(1-2):181–211, 1999.DOI
  39. [39]Richard S. Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in Neural Information Processing Systems (NeurIPS), volume 12, 2000.
  40. [40]Matthew E. Taylor and Peter Stone. Transfer learning for reinforcement learning domains: A survey. Journal of Machine Learning Research, 10(7):1633–1685, 2009.DOI
  41. [41]Saran Tunyasuvunakool, Alistair Muldal, Yotam Doron, Siqi Liu, Steven Bohez, Josh Merel, Tom Erez, Timothy Lillicrap, Nicolas Heess, and Yuval Tassa. dm_control: Software and tasks for continuous control. Software Impacts, 6:100022, 2020. ISSN 2665-9638. doi: https://doi.org/10.1016/j.simpa.2020.100022.
  42. [42]Ikechukwu Uchendu, Ted Xiao, Yao Lu, Banghua Zhu, Mengyuan Yan, Joséphine Simon, Matthew Bernice, Chuyuan Fu, Cong Ma, Jiantao Jiao, Sergey Levine, and Karol Hausman. Jump-start reinforcement learning. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, 2023.arxiv.org/abs/2204.02372
  43. [43]Linhai Xie, Sen Wang, Stefano Rosa, Andrew Markham, and Niki Trigoni. Learning with training wheels: speeding up training with a simple controller for deep reinforcement learning. In 2018 IEEE international conference on robotics and automation (ICRA), pp. 6276–6283. IEEE, 2018.arxiv.org/abs/1812.05027
  44. [44]Jianhao Yan, Yafu Li, Zican Hu, Zhi Wang, Ganqu Cui, Xiaoye Qu, Yu Cheng, and Yue Zhang. Learning to Reason under Off-Policy Guidance. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-3904.DOI

Paper details

vlnc:W_mw8qwbpq
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents