Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Efficient On-policy Visual-RL via Stochastic Decoupled Policy Gradient

Published 26 May 2026 in cs.RO, cs.AI, cs.CV, cs.LG, and eess.SY | (2605.26478v1)

Abstract: We present the stochastic decoupled policy gradient (SDPG), a lightweight visual reinforcement learning (RL) method that trains diverse visuomotor control policies end-to-end within a few hours on a single NVIDIA RTX 4080 GPU. SDPG estimates policy gradients via random perturbations of trajectory rollouts, requiring orders of magnitude fewer batch-rendered environments and substantially reducing compute and memory overhead. On visual MuJoCo benchmarks, SDPG consistently outperforms baseline methods in training time, memory usage, and rewards. Finally, to support future research, we introduce a suite of realistic visual robotics benchmarks spanning dexterous manipulation, challenging locomotion, and demonstrate effective sim-to-real transfer on physical hardware.

Citations (2)

Summary

  • The paper introduces SDPG, which estimates smoothed action-space policy gradients with stochastic perturbations, avoids differentiable simulators and backward passes, and matches state-based performance across visual MuJoCo tasks.
  • SDPG uses only 64 rendered environments paired with 63 physics-only perturbation environments, reducing memory use to about 10.2–10.5 GB versus roughly 48–50 GB for PPO with 4,096 environments.
  • The method enables end-to-end visual control on a single RTX 4080, including zero-shot transfer of a simulated Go2 depth policy to real-world stairs, boxes, stones, and uneven terrain, despite sensitivity to random seeds and discarded rollouts.

Motivation and problem setting

Training control policies directly from visual observations remains substantially more resource-intensive than learning from low-dimensional states. The paper identifies two dominant cost drivers in existing approaches. Off-policy and model-based methods such as DrQ-v2, TD-MPC2, and DreamerV3 require extensive sequential updates to learn effective representations, resulting in slow wall-clock training. On-policy methods such as PPO avoid this but rely on thousands of parallel environments with batch rendering, which is memory-intensive and difficult to scale without GPU clusters. Teacher–student distillation pipelines are efficient but suffer from information asymmetry (the student lacks privileged state information) and distributional shift from compounding imitation errors, often yielding suboptimal final performance.

A third family of methods combines differentiable simulation with first-order RL, including the decoupled policy gradient of You et al., which stops gradients through observations to avoid backpropagating through the rendering pathway. The authors note three practical obstacles that limit adoption of these first-order approaches: gradient instability from backpropagating through long-horizon dynamics, particularly in contact-rich manipulation; reduced physical fidelity due to soft contact models required for full trajectory differentiation; and limited support for differentiable dynamics in popular simulators such as Isaac Sim, ManiSkill3, MuJoCo Warp, and Genesis.

Method: stochastic decoupled policy gradient

SDPG replaces the analytical trajectory Jacobian ∇AJ\nabla_{\mathbf{A}}\mathcal{J} with a stochastic smoothing estimate. For each action sequence A\mathbf{A} sampled from the current policy, MM Gaussian perturbations δEj\delta\mathcal{E}^j are applied and evaluated in auxiliary physics-only environments, yielding the estimator

∇Jsmooth(A)=1M∑j=1MJ(A+δEj)−J(A)σ Ej,\nabla \mathcal{J}_{\text{smooth}}(\mathbf{A}) = \frac{1}{M}\sum_{j=1}^M \frac{\mathcal{J}(\mathbf{A} + \delta\mathcal{E}^j) - \mathcal{J}(\mathbf{A})}{\sigma}\,\mathcal{E}^j,

where σ\sigma is the standard deviation of returns across perturbations. A theorem establishes that this estimator is proportional to the gradient of a smoothed surrogate objective Jδ(A)=EE[J(A+δE)]\mathcal{J}_\delta(\mathbf{A}) = \mathbb{E}_{\mathcal{E}}[\mathcal{J}(\mathbf{A}+\delta\mathcal{E})], specifically ∇Jsmooth=(δ/σ)∇AJδ\nabla\mathcal{J}_{\text{smooth}} = (\delta/\sigma)\nabla_{\mathbf{A}}\mathcal{J}_\delta. This has three practical consequences: updates are smoother than analytical gradients (the paper shows SAPO exhibits large gradient-norm spikes while SDPG does not), no simulator differentiability is required, and eliminating backward passes halves computation time relative to differentiable-simulation first-order RL.

The policy update is implemented via a supervised trick: any update rule of the form θk+1←θk+β(∂A/∂θ)⊤d(A)\theta_{k+1} \leftarrow \theta_k + \beta (\partial\mathbf{A}/\partial\theta)^\top \mathbf{d}(\mathbf{A}) can be written as gradient descent on a behavior-cloning loss toward a stop-gradient target sg(A+d(A))\mathrm{sg}(\mathbf{A} + \mathbf{d}(\mathbf{A})). This avoids likelihood-ratio estimation, which the authors note facilitates future integration with high-capacity policy classes such as diffusion policies.

Unified view of policy-based methods

The paper derives that classical REINFORCE under a diagonal Gaussian policy with baseline A\mathbf{A}0 (the return of the mean action) reduces exactly to SDPG with A\mathbf{A}1. The only difference is the normalizing constant (A\mathbf{A}2 versus A\mathbf{A}3), introduced for numerical stability. The practical significance is substantial: vanilla policy gradient requires many nominal trajectories A\mathbf{A}4 with batched rendering, whereas SDPG obtains reliable gradient estimates by averaging multiple perturbations over the same nominal trajectories, so only A\mathbf{A}5 environments need rendering regardless of A\mathbf{A}6.

The authors further connect decoupled policy gradients to guided policy search: a single step of trajectory optimization followed by one supervised distillation step recovers the decoupled policy gradient exactly. Under this view, policy gradient methods and guided search differ only in the number of trajectory-search and behavior-cloning iterations per rollout batch. The stated benefit is an explicit separation of hyperparameters governing trajectory search from those governing representation learning — search hyperparameters can be tuned on low-dimensional state inputs and transferred directly to visual settings by adding a CNN encoder.

Practical algorithm design

Three components make SDPG operational. First, an asymmetric actor–critic setup bootstraps short-horizon returns with a learned value function trained via TD(A\mathbf{A}7); the critic consumes privileged state while the actor uses deployment-available observations. Second, short-horizon rollouts segment trajectories, updating after each segment: each of A\mathbf{A}8 batch-rendered nominal environments is paired with A\mathbf{A}9 state-only auxiliary environments (4096 total simulated environments, only 64 rendered). Terminated auxiliary environments reset to their nominal state; nominal termination resets the whole group. Third, the exploration factor MM0 is learned per action dimension via a target update derived from the Gaussian policy-gradient objective, with entropy regularization in the actor and optional soft-critic-style entropy rewards with automatic temperature tuning. The appendix reports that causal returns and eligibility traces had negligible effect, and that pre-activation clipping before MM1 mitigates saturation-induced loss of exploration noise.

Empirical results

On Visual MuJoCo benchmarks (Hopper, Walker, Ant, Humanoid) reimplemented in Genesis with third-person RGB observations at 84×84 resolution, SDPG achieves the highest rewards among compared methods, matching state-based performance on all tasks. It is competitive with teacher–student distillation in training time and significantly faster than DrQ-v2 and DreamerV3, all on a single NVIDIA RTX 4080 GPU within a few hours per task. Memory usage is comparable to off-policy and model-based baselines despite being on-policy:

Method Hopper Walker Ant Humanoid
SDPG 10.2 GB 10.3 GB 10.3 GB 10.5 GB
PPO (4096 envs) ~48 GB ~48 GB ~49 GB ~50 GB
DrQ-v2 10.6 GB 8.2 GB 10.5 GB 11.6 GB
DreamerV3 10.8 GB 10.8 GB 10.8 GB 10.9 GB
Distillation 10.6 GB 10.6 GB 10.3 GB 10.7 GB

The implication is that accurate gradient estimation with 64 rendered environments (versus 4096 for PPO) makes end-to-end visual RL feasible on consumer hardware. Notably, the comparison against You et al.'s decoupled policy gradient was not run directly because Genesis lacked rigid-body differentiability at the time; the authors instead argue comparability from reported training times, which weakens the claim of strict superiority over prior first-order methods.

Two findings address when visual RL is preferable to distillation. On humanoid tasks, distilled students visit unstable or falling configurations underrepresented in teacher data, where supervision degrades and policies plateau suboptimally, whereas end-to-end visual RL remains stable. Additionally, for the G1 hurdle task, height-map observations have limited effective range and made teacher training harder than learning directly from RGB, which provides richer long-range information. Across modalities, identical hyperparameters yield similar final rewards for state and vision inputs, though visual tasks require 2–4× more iterations to converge.

Benchmarks and sim-to-real transfer

The paper introduces an egocentric task suite spanning dexterous manipulation (Franka pick, bimanual ALOHA peg insertion, Allegro and Shadow Hand in-hand reorientation) and locomotion (Walker and G1 hurdling, Go2 procedural terrain), with proprioception plus onboard RGB or depth cameras and asymmetric critics receiving privileged object and terrain state. All tasks train end-to-end on a single RTX 4080 within hours. For hardware validation, a Go2 policy trained entirely in simulation within 2 hours using egocentric depth transfers zero-shot to real stairs, boxes, stones, and uneven terrain.

Limitations and open questions

The authors are explicit about constraints. Because rollouts are discarded after each iteration, overall cost remains dominated by physical simulation; SDPG is closer to early A2C-style methods than to PPO, which reuses samples across multiple updates. Incorporating PPO-style sample reuse and techniques from related first-order methods is identified as a promising direction for improving efficiency and stability. The method also exhibits sensitivity to random seeds and occasional training instability, which the paper acknowledges without fully resolving. Two questions remain open: whether the likelihood-free supervised formulation extends effectively to diffusion-policy architectures, as suggested but left untested, and whether the reported seed sensitivity can be systematically mitigated rather than addressed through hyperparameter tuning.

Conclusion

SDPG demonstrates that stochastic smoothing of the action-space return gradient, combined with decoupled gradients and a small number of batch-rendered nominal environments, yields stable end-to-end visual RL with wall-clock time, memory, and reward profiles competitive with or superior to established off-policy, model-based, and distillation baselines on a single consumer GPU. Its theoretical contributions — the equivalence of REINFORCE under Gaussian policies to a single-perturbation special case, and the reduction of policy gradients to one-step guided search — provide a coherent framework that also informs practice, notably enabling hyperparameters tuned on state inputs to transfer directly to visual settings.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 3 tweets with 16 likes about this paper.