[Paper Review] Learning on Arbitrary Graph Topologies via Predictive Coding
This paper introduces PC graphs, a framework that enables training and inference on arbitrary directed graph topologies using predictive coding (PC), a biologically plausible learning algorithm. By leveraging local error-driven updates and flexible node querying, PC graphs support simultaneous classification, generation, and associative memory tasks without retraining, outperforming standard backpropagation baselines on diverse input structures like partial or labeled images.
Training with backpropagation (BP) in standard deep learning consists of two main steps: a forward pass that maps a data point to its prediction, and a backward pass that propagates the error of this prediction back through the network. This process is highly effective when the goal is to minimize a specific objective function. However, it does not allow training on networks with cyclic or backward connections. This is an obstacle to reaching brain-like capabilities, as the highly complex heterarchical structure of the neural connections in the neocortex are potentially fundamental for its effectiveness. In this paper, we show how predictive coding (PC), a theory of information processing in the cortex, can be used to perform inference and learning on arbitrary graph topologies. We experimentally show how this formulation, called PC graphs, can be used to flexibly perform different tasks with the same network by simply stimulating specific neurons, and investigate how the topology of the graph influences the final performance. We conclude by comparing against simple baselines trained~with~BP.
Motivation & Objective
- To develop a learning framework that operates on arbitrary graph topologies, including cyclic and heterarchical structures, overcoming the limitations of backpropagation in standard deep learning.
- To enable a single neural network to perform multiple tasks—such as classification, generation, and associative memory—by simply conditioning specific nodes, without retraining.
- To demonstrate the feasibility of predictive coding as a biologically plausible alternative to backpropagation that supports end-to-end training on complex, brain-like network architectures.
- To investigate how graph topology influences model performance and compare PC graphs against standard backpropagation baselines on tasks with varying input structures.
Proposed method
- Proposes PC graphs, a generalization of predictive coding to arbitrary directed graphs, where each node maintains a prediction and error signal.
- Uses local error-driven synaptic updates based on the original Rao-Ballard predictive coding framework, enabling learning without global backpropagation.
- Enables flexible querying by conditioning specific nodes (e.g., input, label, or reconstruction nodes) to perform different tasks such as classification or generation.
- Employs a fixed-point iteration scheme to converge predictions and errors across the graph, allowing inference and learning in a single forward pass.
- Applies the method to image tasks using MNIST and FashionMNIST, with top-k clustering used to clean reconstruction noise.
- Compares performance against standard backpropagation baselines on the same architectures, evaluating generalization and robustness across input formats.
Experimental results
Research questions
- RQ1Can predictive coding be generalized to arbitrary directed graph topologies, including those with cycles and heterarchical connections?
- RQ2Can a single PC graph model perform multiple machine learning tasks—such as classification, generation, and associative memory—by simply changing the input conditioning?
- RQ3How does the topology of the graph influence the performance of PC graphs compared to standard backpropagation models?
- RQ4To what extent can PC graphs achieve performance comparable to backpropagation while maintaining biological plausibility and computational efficiency?
Key findings
- PC graphs successfully perform inference and learning on arbitrary graph topologies, including cyclic and small-world structures, which are infeasible for standard backpropagation.
- The same network can be queried in multiple ways—e.g., for classification with labels, generation from noise, or reconstruction from partial inputs—without retraining.
- Top-k activation on the last cluster significantly improves reconstruction quality by cleaning noise, demonstrating robustness to incomplete inputs.
- PC graphs achieve competitive performance on MNIST and FashionMNIST across classification, generation, and associative memory tasks, outperforming standard backpropagation baselines in flexible querying scenarios.
- The framework supports end-to-end training on the same chip using energy-based computation, suggesting potential for ultra-low-power neuromorphic hardware deployment.
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.