Curvature-Sensitive Predictive Coding with Approximate Laplace Monte Carlo

Umais Zahid, Qinghai Guo, Karl Friston, Zafeirios Fountas
3/9/2023
cs.LGcs.AIcs.CV

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Predictive coding (PC) accounts of perception now form one of the dominant computational theories of the brain, where they prescribe a general algorithm for inference and learning over hierarchical latent probabilistic models. Despite this, they have enjoyed little export to the broader field of machine learning, where comparative generative modelling techniques have flourished. In part, this has been due to the poor performance of models trained with PC when evaluated by both sample quality and marginal likelihood. By adopting the perspective of PC as a variational Bayes algorithm under the Laplace approximation, we identify the source of these deficits to lie in the exclusion of an associated Hessian term in the PC objective function, which would otherwise regularise the sharpness of the probability landscape and prevent over-certainty in the approximate posterior. To remedy this, we make three primary contributions: we begin by suggesting a simple Monte Carlo estimated evidence lower bound which relies on sampling from the Hessian-parameterised variational posterior. We then derive a novel block diagonal approximation to the full Hessian matrix that has lower memory requirements and favourable mathematical properties. Lastly, we present an algorithm that combines our method with standard PC to reduce memory complexity further. We evaluate models trained with our approach against the standard PC framework on image benchmark datasets. Our approach produces higher log-likelihoods and qualitatively better samples that more closely capture the diversity of the data-generating distribution.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zahid2023curvaturesensitive,
  title  = {Curvature-Sensitive Predictive Coding with Approximate Laplace Monte Carlo},
  author = {Umais Zahid and Qinghai Guo and Karl Friston and Zafeirios Fountas},
  year   = {2023},
  eprint = {2303.04976},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.04976v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.04976.svg)](https://codeofpaper.com/paper/2303.04976)

Discussion