Sven Mika d5bfb7b7da [RLlib] Preparatory PR for multi-agent multi-GPU learner (alpha-star style) #03 (#21652) 2 年之前
..
tests d5bfb7b7da [RLlib] Preparatory PR for multi-agent multi-GPU learner (alpha-star style) #03 (#21652) 2 年之前
README.md 4bcd475671 [RLlib] Improved Documentation for PPO, DDPG, and SAC (#12943) 3 年之前
__init__.py d0fab84e4d [RLlib] DDPG PyTorch version. (#7953) 4 年之前
apex.py d5bfb7b7da [RLlib] Preparatory PR for multi-agent multi-GPU learner (alpha-star style) #03 (#21652) 2 年之前
ddpg.py d5bfb7b7da [RLlib] Preparatory PR for multi-agent multi-GPU learner (alpha-star style) #03 (#21652) 2 年之前
ddpg_tf_model.py 7588bfd315 [Lint] Add flake8-bugbear (#19053) 3 年之前
ddpg_tf_policy.py 2317c693cf [RLlib] Use SampleBrach instead of input dict whenever possible (#20746) 2 年之前
ddpg_torch_model.py 7588bfd315 [Lint] Add flake8-bugbear (#19053) 3 年之前
ddpg_torch_policy.py 2317c693cf [RLlib] Use SampleBrach instead of input dict whenever possible (#20746) 2 年之前
noop_model.py 43043ee4d5 [RLlib] Tf2x preparation; part 2 (upgrading `try_import_tf()`). (#9136) 4 年之前
td3.py 9e38f6f613 [RLlib] Trainer sub-class DDPG/TD3/APEX-DDPG (instead of `build_trainer`). (#20636) 2 年之前

README.md

Deep Deterministic Policy Gradient (DDPG)

Overview

DDPG is a model-free off-policy RL algorithm that works well for environments in the continuous-action domain. DDPG employs two networks, a critic Q-network and an actor network. For stable training, DDPG also opts to use target networks to compute labels for the critic's loss function.

For the critic network, the loss function is the L2 loss between critic output and critic target values. The critic target values are usually computed with a one-step bootstrap from the critic and actor target networks. On the other hand, the actor seeks to maximize the critic Q-values in its loss function. This is done by sampling backpropragable actions (via the reparameterization trick) from the actor and evaluating the critic, with frozen weights, on the generated state-action pairs. Like most off-policy algorithms, DDPG employs a replay buffer, which it samples batches from to compute gradients for the actor and critic networks.

Documentation & Implementation:

1) Deep Deterministic Policy Gradient (DDPG) and Twin Delayed DDPG (TD3)

**[Detailed Documentation](https://docs.ray.io/en/latest/rllib-algorithms.html#ddpg)**

**[Implementation](https://github.com/ray-project/ray/blob/master/rllib/agents/ddpg/ddpg.py)**

2) Ape-X variant of DDPG (Prioritized Experience Replay)

**[Detailed Documentation](https://docs.ray.io/en/latest/rllib-algorithms.html#apex)**

**[Implementation](https://github.com/ray-project/ray/blob/master/rllib/agents/ddpg/ddpg.py)**