A Neural Network Implementation for Free Energy Principle

06/11/2023
by   Jingwei Liu, et al.
0

The free energy principle (FEP), as an encompassing framework and a unified brain theory, has been widely applied to account for various problems in fields such as cognitive science, neuroscience, social interaction, and hermeneutics. As a computational model deeply rooted in math and statistics, FEP posits an optimization problem based on variational Bayes, which is solved either by dynamic programming or expectation maximization in practice. However, there seems to be a bottleneck in extending the FEP to machine learning and implementing such models with neural networks. This paper gives a preliminary attempt at bridging FEP and machine learning, via a classical neural network model, the Helmholtz machine. As a variational machine learning model, the Helmholtz machine is optimized by minimizing its free energy, the same objective as FEP. Although the Helmholtz machine is not temporal, it gives an ideal parallel to the vanilla FEP and the hierarchical model of the brain, under which the active inference and predictive coding could be formulated coherently. Besides a detailed theoretical discussion, the paper also presents a preliminary experiment to validate the hypothesis. By fine-tuning the trained neural network through active inference, the model performance is promoted to accuracy above 99%. In the meantime, the data distribution is continuously deformed to a salience that conforms to the model representation, as a result of active sampling.

READ FULL TEXT
research
11/20/2021

Kalman filters as the steady-state solution of gradient descent on variational free energy

The Kalman filter is an algorithm for the estimation of hidden variables...
research
06/30/2021

Applications of the Free Energy Principle to Machine Learning and Neuroscience

In this PhD thesis, we explore and apply methods inspired by the free en...
research
08/30/2021

A Mathematical Walkthrough and Discussion of the Free Energy Principle

The Free-Energy-Principle (FEP) is an influential and controversial theo...
research
03/13/2015

A Minimal Active Inference Agent

Research on the so-called "free-energy principle" (FEP) in cognitive neu...
research
05/12/2020

Active Inference for Integrated State-Estimation, Control, and Learning

This work presents an approach for control, state-estimation and learnin...
research
02/28/2019

The principles of adaptation in organisms and machines I: machine learning, information theory, and thermodynamics

How do organisms recognize their environment by acquiring knowledge abou...
research
03/03/2021

Controlling the Sense of Agency in Dyadic Robot Interaction: An Active Inference Approach

This study investigated how social interaction among robotic agents chan...

Please sign up or login with your details

Forgot password? Click here to reset