Abstract
This paper introduces a novel framework for intelligent exploration in Reinforcement Learning (RL) by modeling value functions as probability distributions rather than point estimates. By integrating Multiplicative Normalizing Flows (MNF), the authors develop a flexible, high-dimensional posterior distribution over neural network weights. This architecture enables efficient approximate Thompson sampling, facilitating deep, temporally consistent exploration in complex environments. The proposed methods, MNF-DQN and MNF-DDPG, demonstrate significant improvements over standard exploration techniques across toy benchmarks, Atari 2600 games, and continuous control tasks.
Introduction
A fundamental challenge in Reinforcement Learning is the trade-off between exploration (discovering new states) and exploitation (maximizing reward based on current knowledge). Standard deep RL algorithms, such as DQN, typically rely on "naive" exploration strategies like $\epsilon$-greedy. These methods are undirected and often fail in environments requiring a specific sequence of actions to reach sparse rewards.
Thompson sampling offers a more principled approach by maintaining a posterior distribution over value functions. However, representing a rich distribution over the millions of parameters in a deep neural network is computationally intensive. Previous attempts using simple Gaussian distributions often lacked the expressive power to capture the true uncertainty of the model. This work addresses these limitations by using Normalizing Flows to represent complex, multi-modal weight distributions.
Methodology
The authors propose MNF-DQN and MNF-DDPG, which incorporate Multiplicative Normalizing Flows into the value function network architecture.
Variational Inference and Normalizing Flows
Instead of learning fixed weights $w$, the model learns the parameters of a distribution $q(w)$ by optimizing the Evidence Lower Bound (ELBO). To move beyond the limitations of the Mean Field Approximation (where weights are assumed independent), the authors use an auxiliary latent variable $z$ that acts multiplicatively on the weights. This variable $z$ is transformed through a Normalizing Flow—a sequence of invertible mappings—allowing the model to represent highly correlated and complex posterior distributions.
Approximate Thompson Sampling
At the beginning of each episode, the agent samples a set of weights from the MNF posterior. The agent then follows a greedy policy relative to this specific sample for the duration of the episode. This ensures that exploration is "deep" and consistent over time, rather than jittering randomly at every step.
Experimental Evaluation
The approach was evaluated on three distinct benchmarks: toy tasks ($n$-chain and Mountain Car), Atari 2600 games, and continuous control simulations (MuJoCo).
Toy Tasks: n-chain and Mountain Car
The $n$-chain environment is specifically designed to test an agent's ability to perform deep exploration. As the chain length $n$ increases, the probability of reaching the high-reward state via random actions decreases exponentially.
In the Mountain Car environment, MNF-DQN demonstrates faster convergence and higher average rewards compared to NoisyDQN and $\epsilon$-greedy variants, showcasing the benefits of a more expressive posterior.
Atari and Continuous Control
In the Atari game Gravitar, MNF-DQN provided a substantial performance boost over NoisyDQN and Bootstrapped DQN. Similarly, in continuous control tasks like HalfCheetah, MNF-DDPG outperformed standard DDPG and other Bayesian variants, proving the method's versatility across action spaces.
Key Insights and Discussion
- Expressive Power: The primary advantage of MNF is its ability to capture complex dependencies between weights that simple Gaussian approximations miss.
- Directed Exploration: By committing to a sampled "hypothesis" for an entire episode, the agent discovers sparse rewards much more efficiently than undirected methods.
- Efficiency: The formulation scales linearly with the number of parameters, making it practical for deep architectures despite the added complexity of the flows.
Limitations
Despite its success, the method requires careful tuning of the hyperparameter $\lambda$, which balances the KL divergence against reconstruction loss. Additionally, while computationally linear, the auxiliary variables and flow transformations increase memory and processing requirements. Future work may address more rigorous temporal consistency in uncertainty propagation, as current methods may treat Bellman errors as independent draws.
Conclusion
Multiplicative Normalizing Flows provide a powerful mechanism for representing uncertainty in deep RL. By enabling rich, high-dimensional posteriors for Thompson sampling, MNF-DQN and MNF-DDPG offer a robust solution for directed exploration in challenging environments, outperforming both naive and ensemble-based baselines.
Summary updated