
A C++ library called Deepity tests Predictive Coding Networks.
It reached 97.73% accuracy on MNIST in 59.5s.
That is close to PyTorch backprop's 98.27% in about 70s.
What happened
A developer built Deepity, a C++ machine learning library, to test Predictive Coding Networks (PCNs), an alternative to backpropagation. On MNIST (50 epochs), Deepity's DKPPCN achieved 97.73% test accuracy in 59.5s, close to PyTorch backprop's 98.27% in ~70s.
Why it matters
Naive PCN implementations are slow, but this version closes the performance gap with backprop on CPU, suggesting PCNs could be practical for continual learning where backprop struggles.
What to watch
The developer plans to port Deepity's kernels to CUDA to scale up the architecture and test continual learning scenarios.
Ask the AI about this article →
The article introduces Deepity, a C++ library developed over the past month to explore Predictive Coding Networks (PCNs), which are biologically plausible and promising for continual learning. However, naive PCN implementations are slow, limiting their practical use. By incorporating recent research and algorithmic caching to skip redundant computations during inference, the developer achieved near-backprop performance on a CPU, a significant milestone for PCN viability.
This result positions PCNs as a credible alternative to backpropagation, especially for continual learning, where standard backpropagation is known to struggle. The accuracy gap on MNIST is small: 97.73% versus 98.27%, with Deepity even training faster (59.5s versus ~70s). While MNIST is a simple benchmark, the achievement suggests that with further optimization, such as CUDA porting, PCNs might scale to more complex tasks.
The developer's immediate focus is scaling up the architecture and testing continual learning, which could reveal whether PCNs offer real advantages in that domain. For business readers, this matters as it hints at more efficient, human-like learning algorithms that could eventually lead to AI systems that adapt without forgetting, though such applications remain speculative at this stage.
For example, today's edition would include:
AI-summarized, only the topics you pick — one digest a day via Email, Slack, or Discord.
Free · takes 30 seconds · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. Q&As are published on this page for other readers too.
Meta released Muse Spark 1.3, which per AAII is now the #3 model in the world

The original author of CABiNet (ICRA 2021) rebuilt the repo and compared its performance against YOLO26-sem on…

Meta Platforms Inc. released Muse Spark 1.3, which it says puts it at the same level as the most recent models…
Meta announced Muse Spark 1.3 on September 2 and started offering it to developers through Muse Code and the M…

The author tested AI writing tools over three years and found AI automates mechanical tasks but does not reduc…

Anthropic's latest model, Claude Fable 5.1, is now available in private preview on Snowflake Cortex AI, with s…
