mirror of
https://github.com/vale981/ray
synced 2025-03-06 18:41:40 -05:00
![]() * [RLlib] Unify the way we create and use LocalReplayBuffer for all the agents. This change 1. Get rid of the try...except clause when we call execution_plan(), and get rid of the Deprecation warning as a result. 2. Fix the execution_plan() call in Trainer._try_recover() too. 3. Most importantly, makes it much easier to create and use different types of local replay buffers for all our agents. E.g., allow us to easily create a reservoir sampling replay buffer for APPO agent for Riot in the near future. * Introduce explicit configuration for replay buffer types. * Fix is_training key error. * actually deprecate buffer_size field. |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
README.md | ||
rnnsac.py | ||
rnnsac_torch_model.py | ||
rnnsac_torch_policy.py | ||
sac.py | ||
sac_tf_model.py | ||
sac_tf_policy.py | ||
sac_torch_model.py | ||
sac_torch_policy.py |
Soft Actor Critic (SAC)
Overview
SAC is a SOTA model-free off-policy RL algorithm that performs remarkably well on continuous-control domains. SAC employs an actor-critic framework and combats high sample complexity and training stability via learning based on a maximum-entropy framework. Unlike the standard RL objective which aims to maximize sum of reward into the future, SAC seeks to optimize sum of rewards as well as expected entropy over the current policy. In addition to optimizing over an actor and critic with entropy-based objectives, SAC also optimizes for the entropy coeffcient.
Documentation & Implementation:
Soft Actor-Critic Algorithm (SAC) with also discrete-action support.