存内模拟计算架构与张量处理单元的异构集成
Heterogeneous Integration of In-Memory Analog Computing Architectures with Tensor Processing Units
AI总结:
本文提出将存内模拟计算单元与边缘TPU异构集成,并设计统一混合精度训练算法,在保持精度的同时实现最高2.59倍性能提升和88%内存减少。
摘要:
张量处理单元(TPUs)是面向机器学习任务的专用硬件加速器,在执行卷积神经网络(CNNs)中的卷积层时已展现出显著的性能提升。然而,它们在处理全连接(FC)层时难以保持同样的效率,导致硬件利用率不理想。相比之下,存内模拟计算(IMAC)架构在执行全连接层方面已表现出明显的加速效果。本文提出了一种新颖的异构、混合信号、混合精度架构,将IMAC单元与边缘TPU集成,以提升移动端CNN的性能。为了发挥TPU在卷积层上的优势以及IMAC电路在稠密层上的优势,我们提出了一种统一学习算法,该算法结合混合精度训练技术,以缓解模型部署到TPU-IMAC架构上时可能出现的精度下降问题。仿真结果表明,与传统的TPU架构相比,TPU-IMAC配置在多种CNN模型上实现了最高2.59倍的性能提升和88%的内存减少,同时保持了可比的精度。TPU-IMAC架构在边缘计算和移动设备实时处理等对能效和高性能有重要要求的各种应用中展现出潜力。统一训练算法以及IMAC与TPU架构的集成,有助于扩大这项研究对更广泛机器学习领域的潜在影响。
英文摘要:
Tensor processing units (TPUs), specialized hardware accelerators for machine learning tasks, have shown significant performance improvements when executing convolutional layers in convolutional neural networks (CNNs). However, they struggle to maintain the same efficiency in fully connected (FC) layers, leading to suboptimal hardware utilization. In-memory analog computing (IMAC) architectures, on the other hand, have demonstrated notable speedup in executing FC layers. This paper introduces a novel, heterogeneous, mixed-signal, and mixed-precision architecture that integrates an IMAC unit with an edge TPU to enhance mobile CNN performance. To leverage the strengths of TPUs for convolutional layers and IMAC circuits for dense layers, we propose a unified learning algorithm that incorporates mixed-precision training techniques to mitigate potential accuracy drops when deploying models on the TPU-IMAC architecture. The simulations demonstrate that the TPU-IMAC configuration achieves up to $2.59\times$ performance improvements, and $88\%$ memory reductions compared to conventional TPU architectures for various CNN models while maintaining comparable accuracy. The TPU-IMAC architecture shows potential for various applications where energy efficiency and high performance are essential, such as edge computing and real-time processing in mobile devices. The unified training algorithm and the integration of IMAC and TPU architectures contribute to the potential impact of this research on the broader machine learning landscape.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。