Normalizing Flows are Capable Models for RL

Raj Ghugare, Benjamin Eysenbach
5/1/2025
17 citations
diffusion-flowtransformer-attentionrl

Official code: Princeton-RL/normalising-flows-4-reinforcement-learning (20 stars, Python, MIT, last commit 2025-06-03).

Abstract

Modern reinforcement learning (RL) algorithms have found success by using powerful probabilistic models, such as transformers, energy-based models, and diffusion/flow-based models. To this end, RL researchers often choose to pay the price of accommodating these models into their algorithms -- diffusion models are expressive, but are computationally intensive due to their reliance on solving differential equations, while autoregressive transformer models are scalable but typically require learning discrete representations.

Show full abstract

Normalizing flows (NFs), by contrast, seem to provide an appealing alternative, as they enable likelihoods and sampling without solving differential equations or autoregressive architectures. However, their potential in RL has received limited attention, partly due to the prevailing belief that normalizing flows lack sufficient expressivity. We show that this is not the case. Building on recent work in NFs, we propose a single NF architecture which integrates seamlessly into RL algorithms, serving as a policy, Q-function, and occupancy measure. Our approach leads to much simpler algorithms, and achieves higher performance in imitation learning, offline, goal conditioned RL and unsupervised RL.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the paper Normalizing Flows are Capable Models for RL

202PythonMay 7, 20251 years agoMIT

Similar Papers

Cite this paper

@article{ghugare2025normalizing,
  title  = {Normalizing Flows are Capable Models for RL},
  author = {Raj Ghugare and Benjamin Eysenbach},
  year   = {2025},
  eprint = {2505.23527},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.23527},
  url    = {https://doi.org/10.48550/arXiv.2505.23527},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.23527.svg)](https://codeofpaper.com/paper/2505.23527)

Discussion