Introduction
In Reinforcement Learning (RL), agents must effectively explore high-dimensional environments to discover optimal strategies. However, complex tasks, such as humanoid locomotion, are often characterized by "local minima"—suboptimal behaviors that are easy to learn but difficult to escape. A primary limitation of the state-of-the-art Soft Actor-Critic (SAC) algorithm is its reliance on unimodal Gaussian distributions to represent policies. This constraint forces agents to "average" potential actions, which can lead to poor performance in environments requiring multimodal decision-making.
Methods
To overcome the limitations of Gaussian policies, the researchers propose SAC-NF, which integrates Normalizing Flows (NF) into the SAC framework. Instead of directly outputting parameters for a simple Gaussian, the SAC-NF agent samples from a base distribution and applies a series of invertible, trainable mathematical transformations.
These transformations "warp" the initial distribution into a complex, multi-peaked shape. The authors specifically utilize radial flows, which are computationally efficient and capable of representing the multimodal policies necessary for sophisticated exploration. This approach allows the agent to simultaneously consider distinct strategies—such as moving either the left or right leg—rather than settling for a suboptimal "average" action.
Experimental Setup
The SAC-NF algorithm was evaluated across a diverse set of continuous control benchmarks:
- MuJoCo Environments: Standard physics simulations including Ant, HalfCheetah, Hopper, Humanoid, and Walker2d.
- Roboschool PyBullet: Realistic open-source tasks like "Humanoid Flagrun."
- Sparse Humanoid: A challenging variant where rewards are only granted after surpassing a distance threshold, intensifying the need for effective exploration.
- Toy Navigation: A synthetic environment designed to test an agent's ability to navigate around "deceptive" negative reward regions.
Results and Discussion
SAC-NF demonstrated superior or competitive performance against vanilla SAC and TD3 across most benchmarks. Notably, it excelled in the most complex environments, such as Humanoid (rllab) and Ant-v2.
Parameter Efficiency
A significant finding was the extreme parameter efficiency of SAC-NF. In the "Hopper" environment, SAC-NF achieved better results than standard SAC while using only 5.5% of the parameters. This suggests that the expressiveness of the policy distribution is a more critical factor for success than the sheer size of the neural network.
Symmetry Breaking and Robustness
In deceptive environments, SAC-NF's ability to "split" its policy allowed it to explore multiple safe paths simultaneously, avoiding traps that ensnare Gaussian agents. Statistical analysis using the "Gap Statistic" and "Kurtosis" confirmed that the learned policies were indeed non-Gaussian and multi-peaked. Furthermore, SAC-NF successfully learned the "Sparse Humanoid" task, where traditional algorithms often failed to make any progress.
Conclusion
SAC-NF significantly enhances exploration in off-policy RL by breaking the Gaussian constraint. While highly effective in simulation, future work will focus on the "sim-to-real" transition to ensure multimodal policies are stable on physical hardware. Additionally, exploring different flow architectures, such as Inverse Autoregressive Flows, may further improve performance across varied problem domains.
Summary updated