Otimizações de Hardware e Software para Acelerar Redes Neurais Profundas: Uma Revisão das Tendências Atuais, Desafios e o Caminho 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.
Resumo
Atualmente, o Aprendizado de Máquina (ML) está se tornando ubíquo na vida cotidiana. O Aprendizado Profundo (DL) já está presente em muitas aplicações, variando desde a visão computacional para medicina até a condução autônoma de carros modernos, bem como em outros setores de segurança, saúde e finanças. No entanto, para alcançar desempenho impressionante, esses algoritmos empregam redes muito profundas, exigindo uma capacidade computacional significativa tanto durante o treinamento quanto durante a inferência. Uma única inferência de um modelo de DL pode exigir bilhões de operações de multiplicação e acúmulo, tornando o DL extremamente demandante em termos de computação e energia. Em um cenário em que vários algoritmos sofisticados precisam ser executados com energia limitada e baixa latência, surge a necessidade de plataformas de hardware de baixo custo capazes de implementar a execução de DL energeticamente eficiente. Este trabalho primeiro introduz as propriedades-chave de dois modelos inspirados no cérebro, como a Rede Neural Profunda (DNN) e a Rede Neural Pulsátil (SNN), e analisa técnicas para produzir designs eficientes e de alto desempenho. Este trabalho resume e compara os trabalhos sobre quatro plataformas líderes para a execução de algoritmos, como CPU, GPU, FPGA e ASIC, descrevendo as principais soluções do estado da arte, dando grande ênfase às últimas duas soluções, uma vez que oferecem maior flexibilidade de design e possuem o potencial de alta eficiência energética, especialmente para o processo de inferência. Além das soluções de hardware, este trabalho discute alguns dos importantes problemas de segurança que esses modelos de DNN e SNN podem ter durante sua execução e oferece uma seção abrangente sobre benchmarking, explicando como avaliar a qualidade de diferentes redes e sistemas de hardware projetados para elas.
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.