Papers
Topics
Authors
Recent
Search
2000 character limit reached

Predictive Coding with Bayesian Priors via Proximal Gradients

Published 6 Jun 2026 in eess.SY and cs.LG | (2606.08374v1)

Abstract: We recast predictive coding as continuous-time proximal gradient descent applied to a regularized maximum-a-posteriori (MAP) objective. We study first a single-level problem and then a multi-level hierarchy. For the single-level problem, we show that proximal gradient descent is precisely a leaky firing-rate network: the membrane leak, the effective recurrent matrix, the local synaptic drive, and the static nonlinearity all follow from one optimization principle, and the resulting circuit is the one proposed by Rao and Ballard. The prior selects the nonlinearity through its proximal operator, and the likelihood precision sets the gain on the observation. For the hierarchy, we show that a classical variable-splitting relaxation of the deep MAP problem yields hierarchical predictive coding as the interconnection of local and distributed solvers. In probabilistic modeling terms, this relaxation replaces the directed generative chain by an undirected Markov random field whose node potentials are the level-wise priors. Each level then applies its own activation function, namely the proximal operator of its prior.

Authors (1)

Summary

  • The paper establishes a unified framework where predictive coding is derived as continuous-time proximal gradient descent on a regularized MAP objective.
  • It demonstrates that neural activation functions, like ReLU and soft-threshold, emerge naturally from specific Bayesian priors via proximal mappings.
  • Through hierarchical extension and variable-splitting, the framework offers modular design and robust convergence guarantees for deep neural inference.

Predictive Coding with Bayesian Priors via Proximal Gradients: An Expert Review

Introduction and Motivation

The paper "Predictive Coding with Bayesian Priors via Proximal Gradients" (2606.08374) offers a substantial advancement in the theoretical foundation of predictive coding by unifying the core constituents of neural circuit dynamics with a principled optimization framework. This work formalizes predictive coding as continuous-time proximal gradient descent applied to a regularized maximum-a-posteriori (MAP) estimation objective, systematically elucidating the ties between probabilistic priors, neural dynamics, and static activation functions. Both single-level and hierarchical architectures are analyzed, with a special emphasis on the role of Bayesian priors and the emergence of nonlinearities as proximal operators.

Predictive Coding as Proximal Gradient Descent

At the single-level, the paper demonstrates that the neural firing-rate dynamics—comprising membrane leakage, effective recurrent interaction matrix, feedforward drive, and static nonlinearity—arise directly from continuous-time proximal gradient descent on a regularized MAP objective. Specifically, the standard predictive coding equations for a linear-Gaussian model, classically derived by Rao and Ballard, are generalized. The introduction of an explicit prior R(x)R(x) augments the likelihood-driven inference with a regularization or constraint, and its proximal operator directly determines the neuron's activation function.

The key insight is that the static nonlinearities ubiquitous in models of firing-rate networks (e.g., ReLU, soft-threshold, softmax) need not be postulated a priori, but instead are derived as consequences of the assumed Bayesian prior through the mechanism of the proximal operator. For instance, a Laplace prior yields a soft-thresholding nonlinearity, a nonnegativity constraint yields ReLU, and a shifted entropy barrier yields softmax. This framework subsumes the construction of generative circuits and unifies neural inference with the optimization literature on proximal splitting methods.

Extension to Hierarchical Architectures

For hierarchical predictive coding, the paper leverages variable-splitting techniques, which facilitate the decomposition of deep generative models into collections of local and distributed subproblems. A variable-splitting relaxation of the deep MAP objective results in a Markov random field (MRF) in which each layer imposes its own prior (node potential), and inter-level interactions are modeled by pairwise Gaussian potentials.

The hierarchical extension is characterized by:

  • Locality of Computation: Each level communicates only prediction errors and predictions with its immediate neighbors.
  • Level-wise Heterogeneity: Each level has a distinct prior, time constant, likelihood precision, and consequently, a unique activation function.
  • Modularity: The resulting circuit is not monolithic but composed of distinct modules—each can be tuned for sparse coding, nonnegativity, or categorical inference by setting the appropriate prior.
  • Distributed Optimization: The distributed proximal gradient system at equilibrium solves the MAP problem for the entire hierarchy, with no need for a central coordinator.

The construction enables the synthesis of multilevel neural architectures where, for example, the lowest level employs a Laplace prior (soft-threshold activation for sparse features), intermediate levels enforce nonnegativity (ReLU-like features), and the top level exploits an entropic prior (softmax for categorical inference).

Theoretical and Numerical Implications

The proximal mapping perspective clarifies longstanding points in computational neuroscience, including the connection between energy-based models (Hopfield networks) and inference in hierarchical generative models. The explicit relationships among priors, proximal mappings, and activation functions facilitate the design of biologically plausible and mathematically grounded neural circuits that support both continuous and categorical inference.

Notably, the framework permits the integration of arbitrary convex/nonconvex and possibly nonsmooth priors, generalizing beyond quadratic energies and Gaussian noise typical of classical approaches. The dynamical systems thus derived inherit established convergence properties from the proximal algorithm literature, potentially enabling guarantees of stability and monotonicity across a broad class of models.

Contrasts and Comparisons

In contrast with prior approaches that enforce certain forms of local nonlinearities ad hoc or require switching between continuous and discrete inference mechanisms at different levels (as in hybrid VAE-predictive coding schemes), the presented formalism retains a unified inference algorithm throughout the hierarchy. The correspondence between variable-splitting relaxations and MRFs also sharpens the separation between directed Bayesian hierarchical inference and energy-based modeling.

Additionally, the work relates predictive coding with Hebbian plasticity-based approximations to backpropagation, supporting ongoing research into biologically plausible learning algorithms within variational frameworks.

Practical and Theoretical Significance

The immediate implication for neuroscientific modeling is the ability to systematically map subjective priors, metabolic costs, or circuit constraints onto neural architectures and their corresponding nonlinearities. This has potential to guide the development of more precise large-scale cortical models and inform the design of neuromorphic computational systems.

For machine learning and computational inference, this approach bridges energy-based models, deep autoencoders, and hierarchical Bayesian inference, suggesting opportunities to improve the expressiveness and interpretability of existing neural network models via the direct incorporation of structured priors and modular optimization.

Conclusion

This paper establishes a comprehensive and technically rigorous framework that recasts predictive coding, both flat and hierarchical, within the paradigm of continuous proximal gradient descent for MAP estimation with structured priors. Static neural nonlinearities, circuit connectivity, and overall network function are all subservient to the choice of prior and emerge from the unifying optimization principle. The hierarchical extension via variable splitting and MRF interpretation paves the way for the principled design of deep neural architectures with explicit statistical semantics at each level. This formalism provides robust theoretical underpinning for future explorations in both neuroscience and machine learning, particularly in the synthesis of neural networks with richer and more adaptive representational capabilities.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.