arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.13124cs.LGcs.AIcs.NE
收藏

$μ$PC:将预测编码扩展到100多层网络

$μ$PC: Scaling Predictive Coding to 100+ Layer Networks

School of Engineering and Informatics University of Sussex, UK(工程与信息学学院 苏塞克斯大学 英国);UM6P College of Computing Rabat, Morocco(计算机学院 马里-乌姆6P 非洲);VERSES AI Research Lab Los Angeles, CA, USA(VERSES AI研究实验室 美国洛杉矶加州)

Francesco Innocenti, El Mehdi Achour, Christopher L. Buckley

AI总结:

μPC通过深度-μP参数化实现100多层PCN的可靠训练,具有竞争力的性能和跨宽度深度的零样本迁移能力。

摘要:

生物上不可信的反向传播(BP)已激发了许多替代的、受大脑启发的算法,这些算法试图仅依赖局部信息,例如预测编码(PC)和平衡传播。然而,这些算法在训练非常深的网络时一直面临困难,阻碍了它们在大规模设置中与BP竞争。事实上,扩展PC网络(PCNs)最近已成为社区面临的挑战(Pinchetti等人,2024)。在此,我们展示使用深度-μP参数化(Yang等人,2023;Bordelon等人,2023)可以可靠地训练100多层的PCN,我们称之为“μPC”。通过分析PCN的扩展行为,我们揭示了使标准PCN在大深度下难以训练的几种病理学。然后我们显示,尽管只解决了其中一些不稳定性,μPC允许在简单的分类任务上稳定地训练非常深(高达128层)的残差网络,其性能具有竞争力,且比当前基准需要更少的调整。此外,μPC能够在不同宽度和深度上实现零样本迁移,将权重和活动学习率的迁移。我们的结果为将PC扩展到更复杂的架构迈出了第一步,并对其他局部算法有影响。μPC的代码作为PCN的JAX库的一部分提供。

英文摘要:

The biological implausibility of backpropagation (BP) has motivated many alternative, brain-inspired algorithms that attempt to rely only on local information, such as predictive coding (PC) and equilibrium propagation. However, these algorithms have notoriously struggled to train very deep networks, preventing them from competing with BP in large-scale settings. Indeed, scaling PC networks (PCNs) has recently been posed as a challenge for the community (Pinchetti et al., 2024). Here, we show that 100+ layer PCNs can be trained reliably using a Depth-$μ$P parameterisation (Yang et al., 2023; Bordelon et al., 2023) which we call "$μ$PC". By analysing the scaling behaviour of PCNs, we reveal several pathologies that make standard PCNs difficult to train at large depths. We then show that, despite addressing only some of these instabilities, $μ$PC allows stable training of very deep (up to 128-layer) residual networks on simple classification tasks with competitive performance and little tuning compared to current benchmarks. Moreover, $μ$PC enables zero-shot transfer of both weight and activity learning rates across widths and depths. Our results serve as a first step towards scaling PC to more complex architectures and have implications for other local algorithms. Code for $μ$PC is made available as part of a JAX library for PCNs.

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

↑