[Paper Review] A Hardware-Efficient ADMM-Based SVM Training Algorithm for Edge Computing
This paper proposes a hardware-efficient ADMM-based SVM training algorithm using low-rank approximation via the Nyström method to reduce computational and memory overhead. By integrating pre-computation, memory sharing, and shared EVD hardware, the design achieves 62% lower computational complexity and 60% less memory usage, enabling a 153,310× higher energy efficiency than a CPU in a real-time epileptic seizure detection chip.
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$ imes$ 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$ imes$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$ imes$ higher energy efficiency and a 364$ imes$ 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.
Motivation & Objective
- Address the challenge of high computational complexity and memory usage in on-line SVM training for edge devices.
- Enable real-time, low-power SVM model adaptation on-chip to overcome limitations of pre-trained models in dynamic environments.
- Develop a hardware mapping strategy that minimizes silicon area and energy consumption while maintaining high inference accuracy.
- Demonstrate the feasibility of on-chip SVM training through a silicon-verified epileptic seizure detection chip.
- Achieve significant reductions in computational complexity and memory usage through algorithm-hardware co-design techniques.
Proposed method
- Employ the Alternating Direction Method of Multipliers (ADMM) to reformulate the SVM training problem into a decomposable optimization structure with less loop dependency, enabling hardware parallelism.
- Apply the Nyström method for low-rank approximation of the kernel matrix, reducing its dimension from 256×256 to 16×16, thereby cutting computational complexity by 97% and memory usage by 87%.
- Introduce pre-computation of the inverse matrix and reuse of intermediate variables (e.g., Z, θ) to reduce computational complexity by 22% and 51%, respectively.
- Share the eigenvalue decomposition (EVD) hardware unit between the Nyström method and the linear system solution phase, reducing silicon area by 37%.
- Implement a systolic CORDIC-based processing element array with shared memory banks and register files to reduce memory usage by 60% through temporal reuse of intermediate variables.
- Use the approximate Jacobi method for EVD with single-cycle rotation, achieving 8.9× faster convergence and 98.6% latency reduction compared to the cyclic Jacobi method.
Experimental results
Research questions
- RQ1Can ADMM-based SVM training be made hardware-efficient enough for real-time on-chip deployment on edge devices?
- RQ2To what extent can low-rank approximation via the Nyström method reduce the computational and memory footprint of non-linear SVM training?
- RQ3How effective are pre-computation and common term reuse in reducing the computational complexity of iterative ADMM updates?
- RQ4Can shared hardware for EVD across multiple stages (Nyström and linear solve) significantly reduce area and power consumption?
- RQ5What performance gains can be achieved in energy efficiency and throughput-to-area ratio when mapping the ADMM-based SVM training algorithm to a custom ASIC?
Key findings
- The proposed ADMM-based SVM training algorithm with Nyström low-rank approximation reduces the kernel matrix dimension from 256×256 to 16×16, achieving a 97% reduction in computational complexity and 87% reduction in memory storage.
- The hardware design reduces computational complexity by 62% through pre-computation and common term combination, and cuts memory usage by 60% via memory sharing for intermediate variables.
- The shared EVD hardware reduces silicon area by 37% by serving both the Nyström approximation and the linear system solution in the ADMM update phase.
- The approximate Jacobi method accelerates EVD convergence by 8.9× and reduces processing latency by 98.6% compared to the conventional cyclic Jacobi method.
- The implemented seizure detection chip performs SVM training in 0.78 seconds with only 2.9 mW power dissipation, achieving 153,310× higher energy efficiency and 364× higher throughput-to-area ratio than an Intel i7-2600 CPU.
- Despite rank reduction, the model maintains high inference accuracy, with only a 2% drop in accuracy when reducing the matrix dimension by 32× across four benchmark datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.