Optimización de Hardware y Software para la Aceleración de Redes Neuronales Profundas: Encuesta de Tendencias Actuales, Desafíos y el Camino Futuro
Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead
Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead
@misc{capra2020hardware,
title = {Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead},
author = {Maurizio Capra and Beatrice Bussolino and Alberto Marchisio and Guido Masera and Maurizio Martina and Muhammad Shafique},
year = {2020},
eprint = {2012.11233},
archivePrefix = {arXiv},
primaryClass = {cs.AR},
url = {https://arxiv.org/abs/2012.11233}
}
Capra, M., Bussolino, B., Marchisio, A., Masera, G., Martina, M., & Shafique, M. (2020). Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.11233
CAPRA M, BUSSOLINO B, MARCHISIO A, et al. Hardware and Software Optimizations for Accelerating Deep Neural Networks: Survey of Current Trends, Challenges, and the Road Ahead[EB/OL]. (2020-12-21)[2026-11-30]. https://arxiv.org/abs/2012.11233.
Resumen
Actualmente, el Aprendizaje Automático (ML) se ha vuelto omnipresente en la vida cotidiana. El Aprendizaje Profundo (DL) ya está presente en numerosas aplicaciones que van desde la visión por computadora en medicina hasta la conducción autónoma de automóviles modernos, así como en otros sectores de seguridad, salud y finanzas. Sin embargo, para lograr un rendimiento impresionante, estos algoritmos emplean redes muy profundas, lo que requiere una potencia computacional significativa tanto durante el entrenamiento como durante la inferencia. Una sola inferencia de un modelo de DL puede requerir billones de operaciones de multiplicar y acumular, lo que hace que el DL sea extremadamente demandante en términos de cómputo y energía. En un escenario donde se deben ejecutar varios algoritmos sofisticados con energía limitada y baja latencia, surge la necesidad de plataformas de hardware rentables capaces de implementar la ejecución de DL eficiente en energía. Este artículo introduce primero las propiedades clave de dos modelos inspirados en el cerebro, como la Red Neuronal Profunda (DNN) y la Red Neuronal Pulsante (SNN), y luego analiza técnicas para producir diseños eficientes y de alto rendimiento. Este trabajo resume y compara los trabajos realizados en cuatro plataformas líderes para la ejecución de algoritmos como CPU, GPU, FPGA y ASIC, describiendo las principales soluciones del estado del arte, dando gran protagonismo a las dos últimas soluciones, ya que ofrecen mayor flexibilidad de diseño y poseen el potencial de una alta eficiencia energética, especialmente para el proceso de inferencia. Además de las soluciones de hardware, este artículo discute algunos de los importantes problemas de seguridad que pueden tener estos modelos de DNN y SNN durante su ejecución, y ofrece una sección exhaustiva sobre la evaluación de rendimiento, explicando cómo evaluar la calidad de diferentes redes y sistemas de hardware diseñados para ellas.
Currently, Machine Learning (ML) is becoming ubiquitous in everyday life. Deep Learning (DL) is already present in many applications ranging from computer vision for medicine to autonomous driving of modern cars as well as other sectors in security, healthcare, and finance. However, to achieve impressive performance, these algorithms employ very deep networks, requiring a significant computational power, both during the training and inference time. A single inference of a DL model may require billions of multiply-and-accumulated operations, making the DL extremely compute- and energy-hungry. In a scenario where several sophisticated algorithms need to be executed with limited energy and low latency, the need for cost-effective hardware platforms capable of implementing energy-efficient DL execution arises. This paper first introduces the key properties of two brain-inspired models like Deep Neural Network (DNN), and Spiking Neural Network (SNN), and then analyzes techniques to produce efficient and high-performance designs. This work summarizes and compares the works for four leading platforms for the execution of algorithms such as CPU, GPU, FPGA and ASIC describing the main solutions of the state-of-the-art, giving much prominence to the last two solutions since they offer greater design flexibility and bear the potential of high energy-efficiency, especially for the inference process. In addition to hardware solutions, this paper discusses some of the important security issues that these DNN and SNN models may have during their execution, and offers a comprehensive section on benchmarking, explaining how to assess the quality of different networks and hardware systems designed for them.