一种基于ADMM的边缘计算SVM训练算法
A Hardware-Efficient ADMM-Based SVM Training Algorithm for Edge Computing
摘要:
这项工作演示了一个硬件高效的支持向量机(SVM)的训练算法,通过交替方向乘法器(ADMM)优化器。采用Nyström方法,利用低秩近似来降低核矩阵的维数。在四个数据集上验证,所提出的基于ADMM的秩近似训练算法减少了32 $\times$的矩阵维数,推理精度仅下降2%。与传统的顺序最小优化(SMO)算法相比,基于ADMM的训练算法能够实现9.8 $\times$ 10 $^7$更短的训练2048个样本的延迟。硬件设计技术,包括预计算和内存共享,提出了减少62%的计算复杂度和60%的内存使用。作为概念证明,癫痫发作检测器芯片的设计,以证明所提出的硬件高效的训练算法的有效性。与高端CPU相比,该芯片实现了153,310 $\times$更高的能效和364 $\times$更高的SVM训练吞吐量面积比。这项工作为需要低功耗和实时训练的边缘设备提供了一个有前途的解决方案。
英文摘要:
This work demonstrates a hardware-efficient support vector machine (SVM) training algorithm via the alternative direction method of multipliers (ADMM) optimizer. Low-rank approximation is exploited to reduce the dimension of the kernel matrix by employing the Nyström method. Verified in four datasets, the proposed ADMM-based training algorithm with rank approximation reduces 32$\times$ of matrix dimension with only 2% drop in inference accuracy. Compared to the conventional sequential minimal optimization (SMO) algorithm, the ADMM-based training algorithm is able to achieve a 9.8$\times$10$^7$ shorter latency for training 2048 samples. Hardware design techniques, including pre-computation and memory sharing, are proposed to reduce the computational complexity by 62% and the memory usage by 60%. As a proof of concept, an epileptic seizure detector chip is designed to demonstrate the effectiveness of the proposed hardware-efficient training algorithm. The chip achieves a 153,310$\times$ higher energy efficiency and a 364$\times$ higher throughput-to-area ratio for SVM training than a high-end CPU. This work provides a promising solution for edge devices which require low-power and real-time training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。