arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.20137cs.LGcs.AI
收藏

ePC:数字仿真中的快速深度预测编码

ePC: Fast and Deep Predictive Coding in Digital Simulation

IDLab, Ghent University -- imec, Belgium(ID实验室,根特大学——imec,比利时);Brain Network Dynamics Unit, University of Oxford, UK(脑网络动力学单位,牛津大学,英国)

Cédric Goemaere, Gaspard Oliviers, Rafal Bogacz, Thomas Demeester

AI总结:

提出误差预测编码(ePC),通过重新参数化解决标准状态预测编码(sPC)在数字仿真中的指数信号衰减问题,实现与反向传播相当的深度模型训练速度。

摘要:

预测编码(PC)为神经网络训练提供了一种受大脑启发的反向传播替代方案,被描述为最小化其内部能量的物理系统。然而,在实践中,PC主要是在数字仿真中实现的,需要大量的计算,同时难以扩展到更深的架构。本文重新构建了PC以克服这种硬件-算法不匹配。首先,我们揭示了规范的状态基PC(sPC)在数字仿真中本质上是深度低效的,不可避免地导致指数级信号衰减,从而阻碍整个最小化过程。然后,为了克服这一根本限制,我们引入了误差基PC(ePC),这是一种新的PC重新参数化,不会遭受信号衰减。虽然不再具有生物合理性,但ePC数值计算精确的PC权重梯度,运行速度比sPC快几个数量级。跨多个架构和数据集的实验表明,即使在sPC难以处理的更深模型中,ePC也能匹配反向传播的性能。除了实际改进,我们的工作还提供了对PC动力学的理论洞察,并为在数字硬件及更广泛领域将基于PC的学习扩展到更深架构奠定了基础。

英文摘要:

Predictive Coding (PC) offers a brain-inspired alternative to backpropagation for neural network training, described as a physical system minimizing its internal energy. However, in practice, PC is predominantly digitally simulated, requiring excessive amounts of compute while struggling to scale to deeper architectures. This paper reformulates PC to overcome this hardware-algorithm mismatch. First, we uncover how the canonical state-based formulation of PC (sPC) is, by design, deeply inefficient in digital simulation, inevitably resulting in exponential signal decay that stalls the entire minimization process. Then, to overcome this fundamental limitation, we introduce error-based PC (ePC), a novel reparameterization of PC which does not suffer from signal decay. Though no longer biologically plausible, ePC numerically computes exact PC weights gradients and runs orders of magnitude faster than sPC. Experiments across multiple architectures and datasets demonstrate that ePC matches backpropagation's performance even for deeper models where sPC struggles. Besides practical improvements, our work provides theoretical insight into PC dynamics and establishes a foundation for scaling PC-based learning to deeper architectures on digital hardware and beyond.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑