The generalized Hierarchical Gaussian Filter
Open accessAbstract
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 empi…
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Predictive coding networks can be reformulated as deep hierarchical Gaussian filters that replace iterative state inference with closed-form variational updates.
“We close this gap by expressing predictive coding networks as generalised hierarchical Gaussian filters (gHGF)”
From Closed-form predictive coding via hierarchical Gaussian filters (2026) · cites this paper as Weber et al., 2026
The gHGF tracks the posterior up to second order, updating both the mean and precision of every belief at each step, whereas standard predictive coding schemes optimize only the first moment and treat precisions as fixed or slowly learned hyperparameters.
“The gHGF tracks the posterior up to second order, updating both the mean µ and the precision π of every belief at each step, whereas standard PC schemes optimize only the first moment and treat precisions as fixed or slowly learned hyperparameters.”
From Closed-form predictive coding via hierarchical Gaussian filters (2026) · cites this paper as Weber et al., 2026
The gHGF natively supports volatility coupling, in which a parent modulates the rate of change rather than the mean of its child.
“The gHGF natively supports volatility (and noise) coupling, in which a parent modulates the rate of change rather than the mean of its child via”
From Closed-form predictive coding via hierarchical Gaussian filters (2026) · cites this paper as Weber et al., 2026
Modulation of precision by prediction error itself requires volatility coupling.
“Modulation of precision by prediction error itself, the mechanism by which surprising observations should inflate uncertainty, requires volatility coupling [Weber et al., 2026].”
From Closed-form predictive coding via hierarchical Gaussian filters (2026) · cites this paper as Weber et al., 2026
Cites
Whatever next? Predictive brains, situated agents, and the future of cognitive science
Clark, A. (2013) · Behavioral and Brain Sciences · doi:10.1017/s0140525x12000477 · Cited by 5,924 · see citing works
Rao, R. P. N., & Ballard, D. H. (1999) · Nature Neuroscience · doi:10.1038/4580 · Cited by 5,483 · see citing works
Canonical Microcircuits for Predictive Coding
Bastos, A. M., Usrey, W. M., Adams, R. A., Mangun, G. R., Fries, P., & Friston, K. J. (2012) · Neuron · doi:10.1016/j.neuron.2012.10.038 · Cited by 2,421 · see citing works
The Predictive Coding Account of Psychosis
Sterzer, P., Adams, R. A., Fletcher, P., Frith, C., Lawrie, S. M., Muckli, L., Petrovic, P., Uhlhaas, P., Voss, M., & Corlett, P. R. (2018) · Biological Psychiatry · doi:10.1016/j.biopsych.2018.05.015 · Cited by 941 · see citing works
Predictive Processing: A Canonical Cortical Computation
Keller, G. B., & Mrsic-Flogel, T. D. (2018) · Neuron · doi:10.1016/j.neuron.2018.10.003 · Cited by 836 · see citing works
Anatomy of hierarchy: Feedforward and feedback pathways in macaque visual cortex
Markov, N. T., Vezoli, J., Chameau, P., Falchier, A., Quilodran, R., Huissoud, C., Lamy, C., Misery, P., Giroud, P., Ullman, S., et al. (2014) · Journal of Comparative Neurology · doi:10.1002/cne.23458 · Cited by 759 · see citing works
Adults with autism overestimate the volatility of the sensory environment
Lawson, R. P., Mathys, C., & Rees, G. (2017) · Nature Neuroscience · doi:10.1038/nn.4615 · Cited by 470 · see citing works
Self-citationMultisensory integration: psychophysics, neurophysiology, and computation
Angelaki, D. E., Gu, Y., & DeAngelis, G. C. (2009) · Current Opinion in Neurobiology · doi:10.1016/j.conb.2009.06.008 · Cited by 383 · see citing works
From drugs to deprivation: A Bayesian framework for understanding models of psychosis
Corlett, P. R., Frith, C. D., & Fletcher, P. C. (2009) · Psychopharmacology · doi:10.1007/s00213-009-1561-0 · Cited by 367 · see citing works
Evaluating the neurophysiological evidence for predictive processing as a model of perception
Walsh, K. S., McGovern, D. P., Clark, A., & O'Connell, R. G. (2020) · Annals of the New York Academy of Sciences · doi:10.1111/nyas.14321 · Cited by 333 · see citing works
Computations of uncertainty mediate acute stress responses in humans
de Berker, A. O., Rutledge, R. B., Mathys, C., Marshall, L., Cross, G. F., Dolan, R. J., & Bestmann, S. (2016) · Nature Communications · doi:10.1038/ncomms10996 · Cited by 330 · see citing works
Self-citationGlutamatergic model psychoses: prediction error, learning, and inference
Corlett, P. R., Honey, G. D., Krystal, J. H., & Fletcher, P. C. (2011) · Neuropsychopharmacology · doi:10.1038/npp.2010.163 · Cited by 229 · see citing works
Predictive Coding Approximates Backprop Along Arbitrary Computation Graphs
Millidge, B., Tschantz, A., & Buckley, C. L. (2022) · Neural Computation · doi:10.1162/neco_a_01497 · Cited by 95 · see citing works
Attractor-like dynamics in belief updating in schizophrenia
Adams, R. A., Napier, G., Roiser, J. P., Mathys, C., & Gilleen, J. (2018) · The Journal of Neuroscience · doi:10.1523/jneurosci.3163-17.2018 · Cited by 77 · see citing works
Self-citationSapey-Triomphe, L.-A., Weilnhammer, V. A., & Wagemans, J. (2022) · Autism · doi:10.1177/13623613211045026 · Cited by 45 · see citing works
Fitting predictive coding to the neurophysiological data
Spratling, M. W. (2019) · Brain Research · doi:10.1016/j.brainres.2019.146313 · Cited by 23 · see citing works
Mikus, N., Lamm, C., & Mathys, C. (2025) · Biological Psychiatry · doi:10.1016/j.biopsych.2024.08.021 · Cited by 16 · see citing works
Self-citationA predictive-coding network that is both discriminative and generative
Sun, W., & Orchard, J. (2020) · Neural Computation · doi:10.1162/neco_a_01311 · Cited by 11 · see citing works
Flagged first, then by citations
Cited by
Sorted by citations
Closed-form predictive coding via hierarchical Gaussian filters
Baskakovs, A., Estebe, S., Enevoldsen, K., Nielbo, K., Mathys, C., & Legrand, N. (2026) · arXiv · doi:10.48550/arxiv.2605.20293
Self-citation
- Authors
- Weber, L. A., Waade, P. T., Legrand, N., Møller, A. H., Stephan, K. E., & Mathys, C.
- Affiliations
- Osnabrück University (DE)
- Aarhus University (DK)
- University of Zurich (CH)
- Scuola Internazionale Superiore di Studi Avanzati (IT)
- ORCID
- Venue
- eLife
- Publisher
- eLife Sciences Publications, Ltd
- Published
- 2026-03-02
- ISSN
- 2050-084X (ISSN-L)
- OpenAlex
- W7133245454
- Cited by
- 0
- References
- 18
- Type
- posted content
- Language
- en
- Open access
- gold
- doi.org
- Locations
- eLife (acceptedVersion, cc-by)
- Funders
- René and Susanne Braginsky Foundation
- Aarhus Universitets Forskningsfond (AUFF-E-2019-7-10)
- Carlsbergfondet (CF21-0439)
- Topics
- Life Sciences › Neuroscience › Cognitive Neuroscience › Embodied and Extended Cognition
- Physical Sciences › Computer Science › Artificial Intelligence › Gaussian Processes and Bayesian Inference
- Physical Sciences › Computer Science › Artificial Intelligence › Bayesian Modeling and Causal Inference
- Keywords
- hierarchical Gaussian filter, predictive coding, Bayesian hierarchical model, generative models, artificial neural networks, modular network architecture, belief propagation, computational psychiatry
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review