TY - JOUR
T1 - A Practical Approach for Employing Tensor Train Decomposition in Edge Devices
AU - Kokhazadeh, Milad
AU - Keramidas, Georgios
AU - Kelefouras, Vasilios
AU - Stamoulis, Iakovos
N1 - Publisher Copyright:
© The Author(s) 2024.
PY - 2024/2/16
Y1 - 2024/2/16
N2 - Deep Neural Networks (DNN) have made significant advances in various fields including speech recognition and image processing. Typically, modern DNNs are both compute and memory intensive, therefore their deployment in low-end devices is a challenging task. A well-known technique to address this problem is Low-Rank Factorization (LRF), where a weight tensor is approximated by one or more lower-rank tensors, reducing both the memory size and the number of executed tensor operations. However, the employment of LRF is a multi-parametric optimization process involving a huge design space where different design points represent different solutions trading-off the number of FLOPs, the memory size, and the prediction accuracy of the DNN models. As a result, extracting an efficient solution is a complex and time-consuming process. In this work, a new methodology is presented that formulates the LRF problem as a (FLOPs vs. memory vs. prediction accuracy) Design Space Exploration (DSE) problem. Then, the DSE space is drastically pruned by removing inefficient solutions. Our experimental results prove that the design space can be efficiently pruned, therefore extract only a limited set of solutions with improved accuracy, memory, and FLOPs compared to the original (non-factorized) model. Our methodology has been developed as a stand-alone, parameterized module integrated into T3F library of TensorFlow 2.X.
AB - Deep Neural Networks (DNN) have made significant advances in various fields including speech recognition and image processing. Typically, modern DNNs are both compute and memory intensive, therefore their deployment in low-end devices is a challenging task. A well-known technique to address this problem is Low-Rank Factorization (LRF), where a weight tensor is approximated by one or more lower-rank tensors, reducing both the memory size and the number of executed tensor operations. However, the employment of LRF is a multi-parametric optimization process involving a huge design space where different design points represent different solutions trading-off the number of FLOPs, the memory size, and the prediction accuracy of the DNN models. As a result, extracting an efficient solution is a complex and time-consuming process. In this work, a new methodology is presented that formulates the LRF problem as a (FLOPs vs. memory vs. prediction accuracy) Design Space Exploration (DSE) problem. Then, the DSE space is drastically pruned by removing inefficient solutions. Our experimental results prove that the design space can be efficiently pruned, therefore extract only a limited set of solutions with improved accuracy, memory, and FLOPs compared to the original (non-factorized) model. Our methodology has been developed as a stand-alone, parameterized module integrated into T3F library of TensorFlow 2.X.
KW - Deep neural networks
KW - Design space exploration
KW - Low-rank factorization
KW - Model compression
KW - Tensor train decomposition
UR - https://www.scopus.com/pages/publications/85185122253
UR - https://pearl.plymouth.ac.uk/secam-research/1390/
U2 - 10.1007/s10766-024-00762-3
DO - 10.1007/s10766-024-00762-3
M3 - Article
AN - SCOPUS:85185122253
SN - 0885-7458
VL - 52
SP - 20
EP - 39
JO - International Journal of Parallel Programming
JF - International Journal of Parallel Programming
IS - 1-2
ER -