Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor
Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor
Problem
Framing
Deep RL in continuous control faced a bad tradeoff: on-policy methods were stable but sample-inefficient, while off-policy actor-critics were brittle. SAC closes it by optimizing a maximum-entropy objective with an off-policy stochastic actor and clipped double-Q updates, yielding stable gains on Hopper, Walker2d, HalfCheetah, Ant, and Humanoid.
Currently Used Methods
Foundational
- @schulmanTRPO2015 — trust-region policy gradients for stable continuous-control updates.
- Limitation in context: on-policy sampling makes learning far less efficient.
- @lillicrapDDPG2015 — deterministic off-policy actor-critic for continuous actions.
- Limitation in context: unstable optimization and weak exploration on hard tasks.
- @mnihA3C_2016 — asynchronous on-policy training that improves robustness.
- Limitation in context: still spends too many environment interactions.
- "Trust Region Path Consistency Learning" — maximum-entropy RL with path-consistency constraints.
- Limitation in context: weaker performance on the hardest MuJoCo tasks.
Proposed Method
Architecture
SAC uses a stochastic Gaussian policy, two soft Q-functions, one soft value network, and a target value network. The policy samples an unconstrained Gaussian action and squashes it with to satisfy action bounds.
Loss / Objective
SAC maximizes reward plus entropy under the discounted occupancy measure.
The practical critic, value, and actor losses are:
Sampling Rule / Algorithm
Training alternates soft policy evaluation, reparameterized actor updates, and Polyak target updates.
Training Procedure
- Optimizer: Adam.
- Learning rate: .
- Discount: .
- Replay buffer size: .
- Target smoothing coefficient: .
- Target update interval: 1 gradient step.
- Hidden units per layer: 300.
- Minibatch size: 256.
- Gradient steps per environment step: 1.
Evaluation
Datasets
- Hopper-v1
- Walker2d-v1
- HalfCheetah-v1
- Ant-v1
- Humanoid-v1
- Humanoid (rllab)
Metrics
- Average return versus environment steps.
- Final control performance on continuous-control benchmarks.
- Stability across random seeds.
Headline results
- Hopper-v1: SAC reaches about 3.3k average return by 1M steps.
- Walker2d-v1: SAC reaches about 3.7k by 1M steps, below concurrent TD3 early.
- HalfCheetah-v1: SAC reaches about 15k by 3M steps, best among compared methods.
- Ant-v1: SAC reaches about 6k by 3M steps, ahead of PPO, SQL, and DDPG.
- Humanoid-v1 / Humanoid (rllab): SAC is the only compared method with strong sustained gains on the hardest tasks.

Ablations
- Evaluation mode: deterministic mean-action evaluation scores above stochastic evaluation.
- Reward scale: intermediate values work best; too small or too large hurts return.
- Target smoothing coefficient : very small slows learning, very large destabilizes it.
Table 1: Sensitivity of SAC on Ant-v1 to evaluation mode, reward scale, and target smoothing coefficient.
| Setting | Observation |
|---|---|
| Deterministic vs stochastic evaluation | Deterministic evaluation finishes higher. |
| Reward scale | Mid-range scales perform best; scale 1 underperforms. |
| Target smoothing coefficient | and work well; collapses. |
Method Strengths and Weaknesses
Strengths
- Off-policy updates cut sample cost relative to TRPO-class methods.
- Stochastic actor improves exploration over deterministic DDPG-style control.
- Clipped double-Q and target smoothing improve stability across seeds.
- Strongest gains appear on Ant and both Humanoid benchmarks.
Weaknesses
- Performance depends strongly on reward scale.
- Performance depends on target smoothing coefficient .
- Walker2d learning lags concurrent TD3 early in training.
- This version needs an extra learned value network, adding complexity.
Suggestions from the authors
- Remove sensitivity to reward scaling.
- Reduce hyperparameter tuning across environments.
- Extend the method to harder real-world robotic tasks.
- Study simpler updates without losing SAC stability.
Links
Prior Papers
- @schulmanTRPO2015 — SAC targets the sample-efficiency and stability limits of trust-region on-policy control.
- @lillicrapDDPG2015 — SAC keeps off-policy continuous control but replaces deterministic exploration with a maximum-entropy stochastic actor.
Further Papers
- @hafnerDreamerV1_2019 — Dreamer inherits SAC's entropy-regularized actor-critic style inside a learned world model.
- @hafnerDreamerV2_2021 — DreamerV2 extends the same entropy-regularized control recipe to stronger latent-model agents.
- @hafnerDreamerV3_2023 — DreamerV3 continues the SAC-like actor-critic line with broader task robustness.