[Paper Review] The generalized Hierarchical Gaussian Filter
This paper generalizes the Hierarchical Gaussian Filter (HGF) by introducing nonlinear hierarchical coupling between belief nodes, enabling higher-level nodes to predict both the state and rate of change of lower-level states—thus unifying HGF with predictive coding frameworks. The resulting modular architecture supports flexible, open-source implementations for computational psychiatry and perceptual inference.
Hierarchical Bayesian models of perception and learning feature prominently in contemporary cognitive neuroscience where, for example, they inform computational concepts of mental disorders. This includes predictive coding and hierarchical Gaussian filtering (HGF), which differ in the nature of hierarchical representations. In this work, we present a new class of artificial neural networks that unifies computational principles of PC and HGFs. We extend the space of generative models underlying HGF to include a form of nonlinear hierarchical coupling between state values akin to predictive coding and artificial neural networks in general. We derive the update equations corresponding to this generalization of HGF and conceptualize them as connecting a network of (belief) nodes where parent nodes either predict the state of child nodes or their rate of change. This enables us to (1) create modular architectures with generic computational steps in each node of the network, and (2) disclose the hierarchical message passing implied by generalized HGF models and to compare this to comparable schemes under predictive coding. The practical advances of this work are twofold: on the one hand, our extension allows for a modular construction of ANNs of arbitrarily complex hierarchical structure under the general principles of HGF. On the other hand, by providing a highly flexible implementation of hierarchical Bayesian models available as open source software, it enables new types of empirical data analysis in computational psychiatry.
Motivation & Objective
- To extend the Hierarchical Gaussian Filter (HGF) to include cross-level couplings akin to predictive coding, where higher levels predict not only the rate of change but also the state of lower levels.
- To develop a modular, generic computational architecture for hierarchical Bayesian models that allows flexible reconfiguration without re-deriving update equations.
- To clarify and compare the message-passing mechanisms in generalized HGF with those in classical predictive coding models.
- To enable more versatile and user-friendly implementations of HGF for empirical data analysis in cognitive neuroscience and computational psychiatry.
- To lay the groundwork for future integration of within-trial continuous-time dynamics into the HGF framework, compatible with neurobiological simulations.
Proposed method
- Derive generalized update equations for HGF that allow parent nodes to influence both the mean (state) and precision (volatility) of child node beliefs.
- Formulate the generalized HGF as a network of belief nodes where each node performs local, modular updates based on prediction errors and precision-weighted inputs.
- Introduce a hierarchical message-passing scheme that generalizes the standard HGF by incorporating predictive coding-style couplings through mean predictions.
- Use mean-field approximation to derive tractable, sequential update rules for belief updating across discrete trials, preserving Bayesian optimality.
- Implement the generalized HGF as open-source software to support extensibility and reuse in empirical modeling.
- Propose a path toward modeling within-trial continuous-time dynamics by treating HGF posterior estimates as equilibrium points of differential equations.
Experimental results
Research questions
- RQ1How can the HGF be generalized to allow higher-level beliefs to predict the state (mean) of lower-level beliefs, not just their rate of change?
- RQ2What are the algorithmic and architectural implications of introducing predictive coding-style couplings into the HGF framework?
- RQ3How does the message-passing structure of the generalized HGF compare to that of classical predictive coding models in terms of computational dynamics?
- RQ4Can the generalized HGF support modular, extensible, and reusable model architectures without requiring full re-derivation of update equations?
- RQ5What are the potential implications of extending HGF to support within-trial continuous-time dynamics, and how might this be formalized?
Key findings
- The generalized HGF successfully extends the HGF framework to include state-level predictions from higher to lower levels, thereby unifying it with predictive coding mechanisms.
- The generalized HGF supports a modular architecture where each node performs generic belief update operations based on prediction errors and precision, enabling flexible model design.
- The derived update equations reveal a hierarchical message-passing scheme that is largely compatible with predictive coding but includes unique predictions arising from precision and volatility computations.
- The generalized HGF maintains approximate Bayesian optimality for trial-wise belief updating, making it suitable for ideal observer modeling and fitting to behavioral data.
- The model’s open-source implementation enables broader application in computational psychiatry and cognitive neuroscience for analyzing perceptual inference and learning.
- The framework provides a foundation for future integration of continuous-time dynamics into HGF, potentially enabling direct comparison with neurophysiological data.
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.