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

脉冲神经网络的并行超参数优化

Parallel Hyperparameter Optimization Of Spiking Neural Network

CNRS(法国国家科学研究中心);Inria(法国国家信息与自动化研究所);Centrale Lille(里尔中央理工学院);Université de Lille(里尔大学)

Thomas Firmin, Pierre Boulet, El-Ghazali Talbi

AI总结:

针对SNN超参数敏感且易形成静默网络的问题,提出早停检测与约束贝叶斯异步并行优化,在Petascale多GPU上加速搜索并保持性能。

摘要:

脉冲神经网络(Spiking Neural Networks,SNN)。与通常的人工神经网络相比,SNN基于一种更具生物启发性的方法。此类模型的特点是神经元与脉冲之间具有复杂的动力学。它们对超参数非常敏感,这使其优化颇具挑战性。为解决SNN的超参数优化问题,我们首先将SNN的信号丢失问题扩展为我们所称的静默网络。由于超参数或架构调节不当,这些网络无法在其输出端产生足够的脉冲。通常,搜索空间会受到严格限制,有时甚至被离散化,以防止采样到此类网络。通过定义检测静默网络的早停准则并设计特定约束,我们得以实例化更大、更灵活的搜索空间。由于SNN的评估时间具有高度随机性,我们采用了一种异步并行化的约束贝叶斯优化技术。大规模实验在多GPU Petascale架构上开展。通过利用静默网络,结果表明搜索得到加速,同时优化算法和所获得最佳解决方案均保持良好性能。我们能够将该方法应用于两种流行的训练算法,即脉冲时序依赖可塑性和替代梯度。早期检测使我们能够避免无价值且代价高昂的计算,将搜索引向有前景的超参数组合。我们的方法可应用于多目标问题,在这类问题中,为降低能耗,脉冲活动通常被最小化。在这种情形下,找到低脉冲网络与静默网络之间微妙的边界变得至关重要。最后,我们的方法可能对神经架构搜索产生影响,尤其是在定义合适的脉冲架构方面。

英文摘要:

Spiking Neural Networks (SNN). SNNs are based on a more biologically inspired approach than usual artificial neural networks. Such models are characterized by complex dynamics between neurons and spikes. These are very sensitive to the hyperparameters, making their optimization challenging. To tackle hyperparameter optimization of SNNs, we initially extended the signal loss issue of SNNs to what we call silent networks. These networks fail to emit enough spikes at their outputs due to mistuned hyperparameters or architecture. Generally, search spaces are heavily restrained, sometimes even discretized, to prevent the sampling of such networks. By defining an early stopping criterion detecting silent networks and by designing specific constraints, we were able to instantiate larger and more flexible search spaces. We applied a constrained Bayesian optimization technique, which was asynchronously parallelized, as the evaluation time of a SNN is highly stochastic. Large-scale experiments were carried-out on a multi-GPU Petascale architecture. By leveraging silent networks, results show an acceleration of the search, while maintaining good performances of both the optimization algorithm and the best solution obtained. We were able to apply our methodology to two popular training algorithms, known as spike timing dependent plasticity and surrogate gradient. Early detection allowed us to prevent worthless and costly computation, directing the search toward promising hyperparameter combinations. Our methodology could be applied to multi-objective problems, where the spiking activity is often minimized to reduce the energy consumption. In this scenario, it becomes essential to find the delicate frontier between low-spiking and silent networks. Finally, our approach may have implications for neural architecture search, particularly in defining suitable spiking architectures.

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

↑