[Paper Review] Reinforcement Learning through Active Inference
The paper introduces the free energy of the expected future (FEEF), an active inference–based objective for decision making in reinforcement learning, yielding a natural balance between exploration and exploitation and strong performance across sparse, well-shaped, and no-reward continuous control tasks.
The central tenet of reinforcement learning (RL) is that agents seek to maximize the sum of cumulative rewards. In contrast, active inference, an emerging framework within cognitive and computational neuroscience, proposes that agents act to maximize the evidence for a biased generative model. Here, we illustrate how ideas from active inference can augment traditional RL approaches by (i) furnishing an inherent balance of exploration and exploitation, and (ii) providing a more flexible conceptualization of reward. Inspired by active inference, we develop and implement a novel objective for decision making, which we term the free energy of the expected future. We demonstrate that the resulting algorithm successfully balances exploration and exploitation, simultaneously achieving robust performance on several challenging RL benchmarks with sparse, well-shaped, and no rewards.
Motivation & Objective
- Motivate combining active inference with RL to exploit Bayesian inference and model bias toward preferred outcomes.
- Formulate and implement the free energy of the expected future as a decision objective.
- Demonstrate that the proposed objective provides a tractable bound on conventional RL objectives.
- Show robust performance across continuous control benchmarks with varying reward structures.
Proposed method
- Formulate decision making in a POMDP with a biased generative model encoding preferences.
- Define the free energy of the expected future and derive that policy q(pi) minimizes this quantity.
- Decompose the negative free energy into an expected information gain term and an extrinsic term, linking exploration and exploitation.
- Implement model-based RL with planning horizon H and optimize q(pi) via the cross-entropy method (CEM).
- Approximate beliefs about future states, observations, and parameters using factorized variational distributions and tractable KL terms.
- Evaluate on continuous control tasks with sparse rewards (Mountain Car, Cup Catch), well-shaped rewards (Half Cheetah), and no rewards (Ant Maze).
Experimental results
Research questions
- RQ1Does minimizing the free energy of the expected future yield a natural balance between exploration and exploitation in RL?
- RQ2Can active inference–based objectives achieve robust performance in continuous control with sparse or no reward signals?
- RQ3How does FEEF relate to and bound traditional probabilistic RL objectives?
- RQ4Is the approach scalable to high-dimensional, continuous state-action spaces and model-based planning?
- RQ5Do preferences represented as distributions over observations offer benefits for flexible reward modeling?
Key findings
- The FEEF objective induces a natural exploration–exploitation trade-off through an information gain term and an extrinsic term.
- In Mountain Car (sparse rewards), the method achieves optimal performance in a single trial, indicating strong directed exploration.
- In Cup Catch (sparse rewards), the method matches baseline performance across methods, showing robustness where exploration suffices.
- In Half Cheetah (well-shaped rewards), the method substantially outperforms SAC after 100 episodes, demonstrating improved sample efficiency.
- In Ant Maze (no rewards), the method achieves higher exploration, covering a larger portion of the maze than random policy baselines.
- Overall, the approach demonstrates robust performance across diverse reward structures and scales to continuous, high-dimensional 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.