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

为Loihi 2设计的计算与通信运行时模型

A Compute and Communication Runtime Model for Loihi 2

Intel Corporation(英特尔公司);LMU Munich(慕尼黑大学)

Jonathan Timcheck, Alessandro Pierro, Sumit Bam Shrestha

AI总结:

本文提出首个针对Loihi 2的计算与通信运行时模型,通过微基准测试定量分析计算和通信时间,实现高精度运行时预测,助力高效算法设计。

摘要:

类脑计算机因其异步、计算-内存共置、空间分布和可扩展的特性,有潜力大幅提升各种计算内核的速度和效率。然而,缺乏简单但足够表达力的性能模型来预测实际类脑硬件上的运行时间,给研究人员和开发者设计快速算法和内核带来了挑战。由于打破传统冯·诺依曼架构的内存带宽瓶颈是类脑的主要优势,建模通信时间尤为重要。同时,建模通信时间具有挑战性,因为网络-on-chip中会出现复杂的拥堵模式。在本工作中,我们引入了首个最大仿射下界运行时模型——多维屋顶线模型——用于英特尔的Loihi 2类脑芯片,该模型基于一系列微基准测试,定量考虑了计算和通信。尽管是一个下界模型,我们观察到在Loihi 2上神经网络线性层(即矩阵向量乘法)和一个示例应用(二次无约束二进制优化求解器)中,我们的模型估计的运行时间与测量的运行时间之间存在紧密对应(皮尔逊相关系数大于等于0.97)。此外,我们推导了通信瓶颈运行时间的解析表达式,以研究线性层的可扩展性,揭示了不同空间工作负载配置下的面积-运行时间权衡,具有线性到超线性运行时间缩放的多种常数因子。我们的最大仿射运行时模型有助于赋能Loihi 2的高速算法和内核设计。

英文摘要:

Neuromorphic computers hold the potential to vastly improve the speed and efficiency of a wide range of computational kernels with their asynchronous, compute-memory co-located, spatially distributed, and scalable nature. However, performance models that are simple yet sufficiently expressive to predict runtime on actual neuromorphic hardware are lacking, posing a challenge for researchers and developers who strive to design fast algorithms and kernels. As breaking the memory bandwidth wall of conventional von-Neumann architectures is a primary neuromorphic advantage, modeling communication time is especially important. At the same time, modeling communication time is difficult, as complex congestion patterns arise in a heavily-loaded Network-on-Chip. In this work, we introduce the first max-affine lower-bound runtime model -- a multi-dimensional roofline model -- for Intel's Loihi 2 neuromorphic chip that quantitatively accounts for both compute and communication based on a suite of microbenchmarks. Despite being a lower-bound model, we observe a tight correspondence (Pearson correlation coefficient greater than or equal to 0.97) between our model's estimated runtime and the measured runtime on Loihi 2 for a neural network linear layer, i.e., matrix-vector multiplication, and for an example application, a Quadratic Unconstrained Binary Optimization solver. Furthermore, we derive analytical expressions for communication-bottlenecked runtime to study scalability of the linear layer, revealing an area-runtime tradeoff for different spatial workload configurations with linear to superlinear runtime scaling in layer size with a variety of constant factors. Our max-affine runtime model helps empower the design of high-speed algorithms and kernels for Loihi 2.

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

↑