LIMO:面向边缘计算的低功耗内存退火与矩阵乘法原语
LIMO: Low-Power In-Memory-Annealer and Matrix-Multiplication Primitive for Edge Computing
AI总结:
LIMO是一种面向边缘计算的低功耗内存退火与矩阵乘法原语,通过混合信号计算宏实现高效退火算法,提升大规模TSP求解质量和速度,并支持神经网络推断。
摘要:
组合优化(CO)在科学和工程领域有着广泛应用,从物流到电子设计自动化。经典例子是NP难的旅行商问题(TSP)。对于大规模TSP实例寻找精确解仍然计算上不可行;在冯·诺依曼架构中,此类求解器受到内存墙的限制,导致计算-内存交通随着实例规模的增长而增加。元启发式方法,如在计算-内存(CiM)架构上实现的模拟退火,提供了一种缓解冯·诺依曼瓶颈的方法。这是通过在内存中进行优化循环快速找到TSP实例的近似解来实现的。然而,这种方法随着实例规模的增加会导致解的质量下降,原因是状态空间探索效率低下。为了解决这个问题,我们提出了LIMO,一种混合信号计算宏,实现了具有降低搜索空间复杂度的内存退火算法。退火过程通过自旋转移极矩磁隧道结(STT-MTJs)的随机开关来逃逸局部极小值。对于大规模实例,我们的宏共设计由基于细化的分治算法补充,该算法适用于空间架构中的并行优化。因此,由多个LIMO宏组成的系统在85,900个城市实例上实现了比先前硬件退火器更优的解质量和更快的求解时间。我们退火外围的模块化允许LIMO宏被重用于其他应用,如向量-矩阵乘法(VMMs)。这使我们的架构能够支持神经网络推断。作为示例,我们展示了图像分类和人脸识别,其软件相当的精度,同时在基准CiM架构下实现了更低的延迟和能耗。
英文摘要:
Combinatorial optimization (CO) underpins applications in science and engineering, ranging from logistics to electronic design automation. A classic example is the NP-complete Traveling Salesman Problem (TSP). Finding exact solutions for large-scale TSP instances remains computationally intractable; on von Neumann architectures, such solvers are constrained by the memory wall, incurring compute-memory traffic that grows with instance size. Metaheuristics, such as simulated annealing implemented on compute-in-memory (CiM) architectures, offer a way to mitigate the von Neumann bottleneck. This is accomplished by performing in-memory optimization cycles to rapidly find approximate solutions for TSP instances. Yet this approach suffers from degrading solution quality as instance size increases, owing to inefficient state-space exploration. To address this, we present LIMO, a mixed-signal computational macro that implements an in-memory annealing algorithm with reduced search-space complexity. The annealing process is aided by the stochastic switching of spin-transfer-torque magnetic-tunnel-junctions (STT-MTJs) to escape local minima. For large instances, our macro co-design is complemented by a refinement-based divide-and-conquer algorithm amenable to parallel optimization in a spatial architecture. Consequently, our system comprising several LIMO macros achieves superior solution quality and faster time-to-solution on instances up to 85,900 cities compared to prior hardware annealers. The modularity of our annealing peripherals allows the LIMO macro to be reused for other applications, such as vector-matrix multiplications (VMMs). This enables our architecture to support neural network inference. As an illustration, we show image classification and face detection with software-comparable accuracy, while achieving lower latency and energy consumption than baseline CiM architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。