[Paper Review] Improving Exploration in Soft-Actor-Critic with Normalizing Flows Policies
This paper improves exploration in Soft Actor-Critic (SAC) by replacing the standard factored Gaussian policy with Normalizing Flow policies, which learn more expressive, flexible distributions while retaining reparameterization for gradient estimation. The approach enables significantly faster and more effective exploration in sparse-reward continuous control tasks, achieving superior performance compared to Gaussian and exponential policies.
Deep Reinforcement Learning (DRL) algorithms for continuous action spaces are known to be brittle toward hyperparameters as well as \cut{being}sample inefficient. Soft Actor Critic (SAC) proposes an off-policy deep actor critic algorithm within the maximum entropy RL framework which offers greater stability and empirical gains. The choice of policy distribution, a factored Gaussian, is motivated by \cut{chosen due}its easy re-parametrization rather than its modeling power. We introduce Normalizing Flow policies within the SAC framework that learn more expressive classes of policies than simple factored Gaussians. \cut{We also present a series of stabilization tricks that enable effective training of these policies in the RL setting.}We show empirically on continuous grid world tasks that our approach increases stability and is better suited to difficult exploration in sparse reward settings.
Motivation & Objective
- To address the limited modeling expressivity of factored Gaussian policies in SAC, which restricts exploration in complex or sparse-reward environments.
- To investigate whether more expressive policy distributions, such as those modeled via Normalizing Flows, can improve sample efficiency and learning stability in continuous control.
- To evaluate the impact of different policy families and gradient estimators on performance in both dense and sparse reward grid world environments.
Proposed method
- Replace the reparameterized factored Gaussian policy in SAC with a Normalizing Flow policy based on the RealNVP architecture, enabling flexible, normalizing transformations from a simple base distribution.
- Use the change-of-variable formula to maintain a tractable density and enable gradient computation via the pathwise gradient estimator.
- Integrate the Normalizing Flow policy into SAC’s maximum entropy RL framework, preserving off-policy learning and entropy regularization.
- Apply stabilizing techniques such as weight initialization and gradient clipping to enable stable training of flow-based policies in RL.
- Use the squashing function (tanh) in SAC as a baseline one-layer flow, extending it to deeper, more complex flows for improved policy expressivity.
- Train the policy using the pathwise gradient estimator for low-variance updates, while comparing performance against REINFORCE and other policy families.
Experimental results
Research questions
- RQ1How does the choice of policy distribution (e.g., Gaussian, Exponential, Normalizing Flow) affect learning performance in dense and sparse reward environments?
- RQ2What is the impact of different gradient estimators (REINFORCE vs. pathwise) on policy learning and return stability in the context of Normalizing Flow policies?
- RQ3How does the exploration behavior of Normalizing Flow policies differ from that of Gaussian policies in sparse-reward continuous grid world tasks?
- RQ4Can Normalizing Flow policies achieve faster convergence and higher returns in sparse-reward settings compared to standard Gaussian policies?
- RQ5Does using more expressive policy distributions improve sample efficiency and robustness in continuous control tasks?
Key findings
- In sparse-reward environments, Normalizing Flow policies outperform Gaussian and Exponential policies by reaching the goal state significantly faster, with some runs achieving optimal returns almost immediately.
- In dense-reward settings, Normalizing Flow policies converge to optimal performance at a rate comparable to Gaussian policies, indicating minimal overhead.
- The REINFORCE gradient estimator led to higher variance in performance across all policy types, though final returns were similar to those achieved with the pathwise estimator.
- Normalizing Flow policies exhibit more targeted exploration, focusing near goal states in sparse-reward settings, while Gaussian policies explore inefficiently in low-reward regions.
- In dense-reward settings, Normalizing Flow policies do not over-exploratory beyond early sub-goals, unlike Gaussian policies, which frequently visit non-rewarding areas.
- The choice of policy distribution significantly impacts performance, with Normalizing Flows providing a favorable trade-off between expressivity and stability across both dense and sparse reward tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.