All models

DDPG

The DDPG actor: a two-layer MLP that maps a state to a bounded continuous action, trained by deterministic policy gradient.

Reinforcement learning and control · 8 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (10 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
135.1K
Operations
8
Framework
PyTorch
Recurrent
No
Published
2015
Cited by
18,036 (as of 24 November 2026)
Authors
Timothy P. Lillicrap, Jonathan J. Hunt, Alexander Pritzel and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m485
Graph hash
aecbadf5772ee781ceaadd05a673773618db1d8b6ea51362df00dc541a0d8630
Skeleton hash
a560a049f6c74e102754b389e799d89400aa941ddbe1996527b8e8191e88f119
Architecture hash
7011d3878017679239066732914507898c7e897a5efa43d60f73afbc5f9d527c
Diagram SHA-256
42a2e3216b6ef1c49c12da97c36948788ba035eaedec18d541936558f69b06e8
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

DDPG, Deep Deterministic Policy Gradient, carried the Deep Q-Learning recipe into continuous control, where actions are real-valued rather than a menu of discrete choices. It is an actor-critic, model-free method built on the deterministic policy gradient. The member traced here is the actor alone, a small fully connected network whose final tanh layer bounds the actions. In the paper's low-dimensional setting that network has two hidden layers of 400 and 300 units, about 130,000 parameters.

The motivation was that DQN copes with rich observations but only with small discrete action sets. A plain actor-critic with neural networks was unstable, so the authors borrowed DQN's replay buffer and target networks and added batch normalization. The target networks are updated softly, slowly tracking the learned weights instead of being copied outright. Exploration adds Ornstein-Uhlenbeck noise to the actor's output, giving temporally correlated exploration suited to systems with inertia.

With one set of hyper-parameters the method solved more than 20 simulated physics tasks, among them cartpole swing-up, dexterous manipulation, legged locomotion and car driving. For many of those tasks it learned policies end to end from raw pixels. Stable-Baselines3, the maintained PyTorch implementation saved in this folder, lists DDPG among its algorithms for Box action spaces.

Key idea. A deterministic policy gradient actor-critic made stable by a replay buffer, soft target networks and batch normalization, so one setup solves many continuous control tasks.

  • ddpg
  • deep deterministic policy gradient
  • continuous control
  • actor-critic
  • deterministic policy gradient
  • dpg
  • actor network
  • stable-baselines3
  • mujoco
  • off-policy

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{lillicrap2019continuouscontroldeepreinforcement,
      title={Continuous control with deep reinforcement learning}, 
      author={Timothy P. Lillicrap and Jonathan J. Hunt and Alexander Pritzel and Nicolas Heess and Tom Erez and Yuval Tassa and David Silver and Daan Wierstra},
      year={2019},
      eprint={1509.02971},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1509.02971}, 
}