arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.24461cs.AIcs.RO
收藏

用于脉冲神经网络序列强化学习的自适应代理梯度

Adaptive Surrogate Gradients for Sequential Reinforcement Learning in Spiking Neural Networks

Delft University of Technology(代尔夫特理工大学);Harvard University(哈佛大学)

Korneel Van den Berghe, Stein Stroobants, Vijay Janapa Reddi, G. C. H. E. de Croon

AI总结:

针对脉冲神经网络在强化学习中代理梯度优化特性不明、训练初期序列短的问题,分析了斜率设置的影响,提出结合特权引导策略与自适应斜率的训练方法,在真实无人机控制任务中性能显著优于现有方法。

摘要:

神经形态计算系统有望通过实现数量级的效率提升,同时支持原生时序处理,为受能量约束的机器人技术带来变革。脉冲神经网络(Spiking Neural Networks, SNNs)是这类系统极具前景的算法实现方式,但其在复杂控制任务中的应用面临两大关键挑战:(1)脉冲神经元的不可微特性要求使用代理梯度,而代理梯度的优化特性尚不明确;(2)SNNs的有状态动力学特性需要基于序列进行训练,而在强化学习(reinforcement learning, RL)中,训练初期的序列长度有限,导致网络无法顺利度过预热期。\n 我们通过系统分析代理梯度的斜率设置来应对这些挑战,研究发现,较浅的斜率会增加深层网络中的梯度幅度,但会降低与真实梯度的一致性。在监督学习中,固定斜率和调度斜率并无明显优劣之分。这种效应在强化学习场景中更为显著:采用较浅斜率或调度斜率时,训练性能和最终部署性能均提升2.1倍。随后,我们提出了一种新颖的训练方法,利用特权引导策略来启动学习过程,同时仍能通过脉冲策略利用在线环境交互。在真实无人机位置控制任务中,将我们的方法与自适应斜率调度相结合,我们取得了400点的平均回报,显著优于现有技术——包括行为克隆(Behavioral Cloning)和TD3BC,后者在相同条件下最多仅能取得-200点的成绩。这项工作既深化了对SNNs中代理梯度学习的理论理解,也推进了已在真实机器人系统中得到验证的神经形态控制器实用训练方法的发展。

英文摘要:

Neuromorphic computing systems are set to revolutionize energy-constrained robotics by achieving orders-of-magnitude efficiency gains, while enabling native temporal processing. Spiking Neural Networks (SNNs) represent a promising algorithmic approach for these systems, yet their application to complex control tasks faces two critical challenges: (1) the non-differentiable nature of spiking neurons necessitates surrogate gradients with unclear optimization properties, and (2) the stateful dynamics of SNNs require training on sequences, which in reinforcement learning (RL) is hindered by limited sequence lengths during early training, preventing the network from bridging its warm-up period. We address these challenges by systematically analyzing surrogate gradient slope settings, showing that shallower slopes increase gradient magnitude in deeper layers but reduce alignment with true gradients. In supervised learning, we find no clear preference for fixed or scheduled slopes. The effect is much more pronounced in RL settings, where shallower slopes or scheduled slopes lead to a 2.1x improvement in both training and final deployed performance. Next, we propose a novel training approach that leverages a privileged guiding policy to bootstrap the learning process, while still exploiting online environment interactions with the spiking policy. Combining our method with an adaptive slope schedule for a real-world drone position control task, we achieve an average return of 400 points, substantially outperforming prior techniques, including Behavioral Cloning and TD3BC, which achieve at most --200 points under the same conditions. This work advances both the theoretical understanding of surrogate gradient learning in SNNs and practical training methodologies for neuromorphic controllers demonstrated in real-world robotic systems.

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

↑