本文探讨通过训练中或训练后剪枝,以及面向 Raspberry Pi 硬件架构与能效的模型优化,降低深度学习模型的计算和资源需求。
摘要:
深度学习模型已在计算机视觉、自然语言处理和语音识别等广泛应用中变得日益流行。然而,这些模型通常需要大量计算资源,因此难以在 Raspberry Pi 等低功耗设备上运行。应对这一挑战的一种方法是使用剪枝技术来减小深度学习模型的规模。剪枝是指从模型中移除不重要的权重和连接,从而得到更小、更高效的模型。剪枝可以在训练期间进行,也可以在模型训练完成后进行。另一种方法是专门针对 Raspberry Pi 架构优化深度学习模型。这可以包括优化模型的架构和参数,以利用 Raspberry Pi 的 CPU 和 GPU 等硬件能力。此外,还可以通过最小化所需计算量来优化模型的能源效率。为 Raspberry Pi 剪枝和优化深度学习模型,有助于克服低功耗设备在计算和能源方面的限制,使深度学习模型能够在更广泛的设备上运行。在以下各节中,我们将更详细地探讨这些方法,并讨论它们在面向 Raspberry Pi 优化深度学习模型方面的有效性。
英文摘要:
Deep learning models have become increasingly popular for a wide range of applications, including computer vision, natural language processing, and speech recognition. However, these models typically require large amounts of computational resources, making them challenging to run on low-power devices such as the Raspberry Pi. One approach to addressing this challenge is to use pruning techniques to reduce the size of the deep learning models. Pruning involves removing unimportant weights and connections from the model, resulting in a smaller and more efficient model. Pruning can be done during training or after the model has been trained. Another approach is to optimize the deep learning models specifically for the Raspberry Pi architecture. This can include optimizing the model's architecture and parameters to take advantage of the Raspberry Pi's hardware capabilities, such as its CPU and GPU. Additionally, the model can be optimized for energy efficiency by minimizing the amount of computation required. Pruning and optimizing deep learning models for the Raspberry Pi can help overcome the computational and energy constraints of low-power devices, making it possible to run deep learning models on a wider range of devices. In the following sections, we will explore these approaches in more detail and discuss their effectiveness for optimizing deep learning models for the Raspberry Pi.
TVM: An Automated End-to-End Optimizing Compiler for Deep Learning
Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);AWS(亚马逊云科技);Shanghai Jiao Tong University(上海交通大学);UC Davis(加州大学戴维斯分校);Cornell(康奈尔大学)
Fusion-Catalyzed Pruning for Optimizing Deep Learning on Intelligent Edge Devices
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Jilin University(吉林大学);University of New South Wales(新南威尔士大学)
Optimizing Grasping in Legged Robots: A Deep Learning Approach to Loco-Manipulation
College of Mechanical Engineering, Federal University of Uberlândia(联邦大学伯南迪亚学院机械工程学院);Department of Mechanical Engineering, University of São Paulo(圣保罗大学机械工程系)