预测编码作为硬件基底计算梯度的速度优于反向传播
Predictive Coding Implemented as a Hardware Substrate Computes Gradients faster than Backpropagation
AI 导读
一篇 arXiv 论文提出,预测编码可被实例化为离散时间数字硬件基底:每个预测编码神经元对应一个物理核心,拥有本地存储与计算、无指令集架构,各核心并发执行局部梯度更新。该架构在网络更新上达到 O(J+K) 时钟周期,对宽度为 n 的稠密层每次更新仅需 O(n) 周期,而反向传播需串行处理 O(n^2) 次连接操作,且该优势随网络规模扩大仍可保持。
正文 · 原文
Abstract:Backpropagation has enabled modern deep learning but is difficult to realize as an online, fully distributed hardware system due to global error propagation, separate phases, and centralized memory. Predictive coding is an alternative learning algorithm with similar dynamics to backpropagation that arises from local prediction error dynamics. This paper shows that predictive coding can be instantiated as a discrete time digital hardware substrate, with local memory and computation, no instruction set architecture, and one physical core for each predictive-coding neuron. Each core stores its own activity and weights, communicates with the cores that it's connected to, and performs local gradient updates. By updating neuron cores concurrently, the architecture computes a network update in O(J+K) clock cycles. For dense layers of width n, this is O(n) cycles per update, compared with O(n^2) connection operations processed serially. This result is retained with scaling to larger predictive coding networks, demonstrating a decisive theoretical advantage for predictive coding instantiated in hardware.
| Subjects: | Neural and Evolutionary Computing (cs.NE); Artificial Intelligence (cs.AI); Hardware Architecture (cs.AR); Machine Learning (cs.LG) |
| Cite as: | arXiv:2603.18066 [cs.NE] |
| (or arXiv:2603.18066v3 [cs.NE] for this version) | |
| https://doi.org/10.48550/arXiv.2603.18066 arXiv-issued DOI via DataCite |
Submission history
From: Timothy Oh [view email]
[v1]
Wed, 18 Mar 2026 03:07:19 UTC (289 KB)
[v2]
Sat, 2 May 2026 22:37:55 UTC (931 KB)
[v3]
Wed, 25 Nov 2026 02:58:41 UTC (61 KB)
来源:arXiv cs.AI · arxiv.org