PreprintCited by 1Gaussian Processes and Bayesian InferenceTarget Tracking and Data Fusion in Sensor NetworksBayesian Modeling and Causal Inference

Robust volatility updates for Hierarchical Gaussian Filtering

Open access
Mathys, Christoph, Legrand, Nicolas, Waade, Peter Thestrup, Mikus, Nace, Weber, Lilian Aline·2026·arXiv

Abstract

Hierarchical Gaussian Filtering (HGF) networks allow for efficient updating of posterior distributions (beliefs) about hidden states of an agent's environment. HGF parent nodes can target the mean or variance of their children. New information entering at input nodes leads to a cascade of belief updates across the network according to one-step update equations for each node's mean and precision (inverse variance). However, the original form of the update equations for variance-targeting parents(volatility coupling) can in some regions of parameter space lead to negative posterior precision, a logical impossibility which causes the updating algorithm to terminate with an error. In this report, we introduce a modified quadratic approximation to the variational energy of volatility-coupled nodes that avoids negative posterior precision. The key idea is to interpolate between two quadratic expansions of the variational energy: one at the prior prediction and one at a second mode whose location is obtained in closed form via the Lambert W function. The resulting update equations are robust across the entire parameter space and faithfully track the variational posterior even for large prediction errors.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2605.00966

Cites

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

No references could be resolved yet.

Research works printed but not linked: 8

  1. Corless, R. M., Gonnet, G. H., Hare, D. E. G., Jeffrey, D. J., and Knuth, D. E. (1996). On the Lambert W function. Advances in Computational Mathematics, 5(1):329-359.
  2. Diaconescu, A. O., Mathys, C., Weber, L. A. E., Daunizeau, J., Kasper, L., Lomakina, E. I., Fehr, E., and Stephan, K. E. (2014). Inferring on the intentions of others by hierarchical Bayesian learning. PLOS Computational Biology, 10(9):e1003810.
  3. Iglesias, S., Mathys, C., Brodersen, K. H., Kasper, L., Piccirelli, M., den Ouden, H. E. M., and Stephan, K. E. (2013). Hierarchical prediction errors in midbrain and basal forebrain during sensory learning. Neuron, 80(2):519-530.
  4. Lawson, R. P., Mathys, C., and Rees, G. (2017). Adults with autism overestimate the volatility of the sensory environment. Nature Neuroscience, 20(9):1293-1299.
  5. Mathys, C. and Weber, L. (2020). Hierarchical Gaussian filtering of sufficient statistic time series for active inference. In Verbelen, T., Lanillos, P., Buckley, C. L., and De Boom, C., editors, Active Inference, pages 52-58. Springer International Publishing.
  6. Plas, F. v. d., Dral, M., Berg, P., Georgakopoulos, P., Huijzer, R., Bocheński, M., Mengali, A., Burns, C., Lungwitz, B., Priyashan, H., Ling, J., Wu, G., Kadowaki, S., Luo, X.-z. R., Weaver, I., Schneider, F. S. S., Zhang, E., Gerritsen, J., Novosel, R., Vargas, S. A., Supanat, Moon, Z., Müller, L., Timothy, fghzxm, karlwessel, kcin96, and Hatherly, M. (2024). fonsp/Pluto.jl: v0.19.46. Powers, A. R., Mathys, C., and Corlett, P. R. (2017). Pavlovian conditioning-induced hallucinations result from overweighting of perceptual priors. Science, 357(6351):596-600.
  7. Waade, P. T., Mikus, N., and Mathys, C. (2021). Inferring in Circles: Active Inference in Continuous State Space Using Hierarchical Gaussian Filtering of Sufficient Statistics. In Machine Learning and Principles and Practice of Knowledge Discovery in Databases, pages 810-818. Springer International Publishing.
  8. Weber, L. A., Waade, P. T., Legrand, N., Møller, A. H., Stephan, K. E., and Mathys, C. (2025). The generalized Hierarchical Gaussian Filter. arXiv:2305.10937 [cs, q-bio]. · arXiv

Cited by

Sorted by citations

Authors
Mathys, C., Legrand, N., Waade, P. T., Mikus, N., & Weber, L. A.
Affiliations
  • Aarhus University (DK)
  • ETH Zurich (CH)
  • Osnabrück University (DE)
Venue
arXiv
Publisher
arXiv
Published
2026
ISSN
2331-8422 (ISSN-L)
OpenAlex
W7160314777
Cited by
0
References
0
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • arXiv (Cornell University) (cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Gaussian Processes and Bayesian Inference
  • Physical Sciences › Computer Science › Artificial Intelligence › Target Tracking and Data Fusion in Sensor Networks
  • Physical Sciences › Computer Science › Artificial Intelligence › Bayesian Modeling and Causal Inference
Keywords
variational energy, second-order approximation, Lambert W function, belief updating, error propagation, variational inference

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