Skip to content
StackDecode
AI & ML Atlas
Reinforcement LearningalgorithmAnimated walkthrough

Twin Delayed DDPG (TD3)

DDPG with two critics, delayed actor updates and smoothed targets.

The idea

TD3 fixes DDPG's overestimation with three tricks: learn two critics and use the smaller value in the target; update the actor and targets less often than the critics; and add clipped noise to the target action so the critic cannot exploit sharp peaks.

y = r + γ min(Q′₁, Q′₂)(s′, π′(s′) + ε)

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Compute the target with the minimum of the two target critics and a noisy target action.
  2. 2Update both critics toward it.
  3. 3Every few steps update the actor with one critic.
  4. 4Softly update the target networks.

y = r + γ min(Q′₁, Q′₂)(s′, π′(s′) + ε)

1/4

Step by step

  1. 1Compute the target with the minimum of the two target critics and a noisy target action.
  2. 2Update both critics toward it.
  3. 3Every few steps update the actor with one critic.
  4. 4Softly update the target networks.

Where it is used

Reliable continuous control.

Watch out for

More hyper-parameters than DDPG.

Related