Skip to main content
QUICK REVIEW

[Paper Review] Boosting Trust Region Policy Optimization by Normalizing Flows Policy

Yunhao Tang, Shipra Agrawal|arXiv (Cornell University)|Sep 27, 2018
Reinforcement Learning in RoboticsComputer Science23 references20 citations
TL;DR

This paper proposes using normalizing flows (NF) as a policy architecture to enhance Trust Region Policy Optimization (TRPO), enabling more effective exploration by generating diverse, non-Gaussian action distributions. The NF policy reduces the restrictive impact of KL divergence constraints, leading to faster convergence and superior performance—especially on high-dimensional, complex control tasks—outperforming standard Gaussian policies in both TRPO and ACKTR frameworks.

ABSTRACT

We propose to improve trust region policy search with normalizing flows policy. We illustrate that when the trust region is constructed by KL divergence constraints, normalizing flows policy generates samples far from the 'center' of the previous policy iterate, which potentially enables better exploration and helps avoid bad local optima. Through extensive comparisons, we show that the normalizing flows policy significantly improves upon baseline architectures especially on high-dimensional tasks with complex dynamics.

Motivation & Objective

  • To improve trust region policy optimization (TRPO) by replacing standard Gaussian policies with more expressive normalizing flow (NF) policies.
  • To investigate whether NF policies can alleviate the restrictive impact of KL divergence constraints in TRPO, enabling better exploration and faster convergence.
  • To evaluate the robustness and performance of NF policies across diverse high-dimensional control tasks with complex dynamics.
  • To compare NF policies with baseline architectures (e.g., factorized Gaussian) in TRPO and ACKTR frameworks, assessing gains in sample efficiency and asymptotic performance.

Proposed method

  • Employ normalizing flows (NF) as a continuous normalizing flow-based policy parameterization, enabling flexible, multi-modal, and correlated action distributions.
  • Integrate NF policies into TRPO and ACKTR by maintaining the KL divergence trust region constraint between consecutive policies to ensure training stability.
  • Use a normalizing flow with K coupling layers, where each layer applies an invertible transformation with learnable parameters, and condition the flow on the state via a neural network embedding.
  • Approximate the KL divergence constraint using the Fisher information matrix for computational tractability, preserving the trust region's geometric properties.
  • Train the policy using on-policy rollouts with advantage-weighted policy gradient updates, where the NF policy's likelihood ratio is computed via the change-of-variable formula.
  • Apply a state-conditional flow: the input to the NF is the state embedding from a two-layer MLP, allowing the policy to adaptively model complex action distributions per state.

Experimental results

Research questions

  • RQ1Can normalizing flow policies improve exploration in trust region policy optimization by reducing the restrictive effect of KL divergence constraints?
  • RQ2How does the performance of normalizing flow policies compare to standard Gaussian policies in high-dimensional control tasks with complex dynamics?
  • RQ3Does the use of normalizing flows enhance robustness to hyper-parameter choices such as the KL constraint threshold ε?
  • RQ4To what extent do normalizing flow policies improve sample efficiency and final performance when combined with TRPO and ACKTR?

Key findings

  • The normalizing flow policy significantly outperforms the factorized Gaussian policy on high-dimensional MuJoCo and Roboschool tasks, particularly in Ant and Humanoid environments, achieving asymptotic returns of approximately 800 and 2000, respectively.
  • On the HalfCheetah task, the NF policy achieves a return of approximately 1500, while the Gaussian policy fails to learn (return ≈ 0), demonstrating a critical performance gap in complex dynamics.
  • The NF policy shows superior robustness to hyper-parameter settings, especially the KL constraint threshold ε, due to less restrictive sampling behavior even at small ε values.
  • In the ACKTR framework, the NF policy consistently achieves better performance than Gaussian policies on complex tasks like Ant and Humanoid, with gains up to 2000 vs. 550 in Humanoid.
  • The NF policy achieves state-of-the-art performance on several benchmarks, with results matching or exceeding those reported in prior work (e.g., Schulman et al., 2017b; Wu et al., 2017), even with fewer training steps.
  • Ablation studies confirm that NF policy performance is robust to variations in the number of flow layers (K ∈ {2,4,6}) and hidden unit size (l₁ ∈ {3,5,7}), indicating stable and scalable design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.