A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)

Detalhes bibliográficos
Ano de defesa: 2022
Autor(a) principal: Silva, Rafael Andrade da
Orientador(a): Prado, Bruno Otávio Piedade
Banca de defesa: Não Informado pela instituição
Tipo de documento: Dissertação
Tipo de acesso: Acesso aberto
Idioma: por
Instituição de defesa: Não Informado pela instituição
Programa de Pós-Graduação: Pós-Graduação em Ciência da Computação
Departamento: Não Informado pela instituição
País: Não Informado pela instituição
Palavras-chave em Inglês:
Área do conhecimento CNPq:
Link de acesso: https://ri.ufs.br/jspui/handle/riufs/19523
Resumo: The objective of autonomous driving edge computer systems is to ensure the safety of Autonomous Vehicles (AV). However, this is extremely difficult. Advanced Driver Assistance Systems (ADAS) are of great importance in AV systems, as they increase the level of safety in vehicles. As vehicles become more connected, some ADAS features can be improved with the cooperation of the surrounding vehicles. For example, cooperative adaptive cruise control or a lane departure warning for all vehicles in the vicinity. Traffic Signal Detection and Recognition (TSDR) is a recent technology applied to intelligent driving responsible for identifying and recognizing traffic signs in the images captured by the vehicle’s sensors. TSDR systems have a wide range of applications. However, many of the proposed techniques use solutions based on expensive devices and are unsuitable for large-scale and low-cost edge computing solutions. Implementing these systems on OEM embedded platforms will provide the opportunity to create genuinely cost-effective and low-energy systems. In order to contribute to this research area, our study proposes not only the development of a convolutional neural network capable of performing the classification of vertical traffic signals but also the creation of a neural model compression pipeline. Based on the literature and experiments located through a systematic review, we chose to use the GTSRB dataset to evaluate the work. The pipeline has three stages: knowledge distillation, pruning, and quantization of neural models. The goal is to reduce the complexity of the final neural network, thus allowing the model to be embedded in a device with limited computational resources. The final models are evaluated considering performance metrics such as accuracy, precision, recall, F1-Score, inference time, and model size in bytes. Using the proposed methodology, our compressed CNN model achieved an accuracy of 85.91% and an F1-Score of 85.80%. The final model size was only 59 KB and the inference of a color image with a resolution of 32x32 pixels took only 80 ms to run in ESP32 and 83 ms to run in ESP32-S2, demonstrating the capability of this resource-constrained device to detect an image with a reasonable accuracy rate.
id UFS-2_b0dd81eb93472fc0828638415c8fb073
oai_identifier_str oai:oai:ri.ufs.br:repo_01:riufs/19523
network_acronym_str UFS-2
network_name_str Repositório Institucional da UFS
repository_id_str
spelling Silva, Rafael Andrade daPrado, Bruno Otávio PiedadeMatos, Leonardo Nogueira2024-07-09T19:27:56Z2024-07-09T19:27:56Z2022-08-31SILVA, Rafael Andrade da. A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs). 2022. 123 f. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Sergipe, São Cristóvão, 2022.https://ri.ufs.br/jspui/handle/riufs/19523The objective of autonomous driving edge computer systems is to ensure the safety of Autonomous Vehicles (AV). However, this is extremely difficult. Advanced Driver Assistance Systems (ADAS) are of great importance in AV systems, as they increase the level of safety in vehicles. As vehicles become more connected, some ADAS features can be improved with the cooperation of the surrounding vehicles. For example, cooperative adaptive cruise control or a lane departure warning for all vehicles in the vicinity. Traffic Signal Detection and Recognition (TSDR) is a recent technology applied to intelligent driving responsible for identifying and recognizing traffic signs in the images captured by the vehicle’s sensors. TSDR systems have a wide range of applications. However, many of the proposed techniques use solutions based on expensive devices and are unsuitable for large-scale and low-cost edge computing solutions. Implementing these systems on OEM embedded platforms will provide the opportunity to create genuinely cost-effective and low-energy systems. In order to contribute to this research area, our study proposes not only the development of a convolutional neural network capable of performing the classification of vertical traffic signals but also the creation of a neural model compression pipeline. Based on the literature and experiments located through a systematic review, we chose to use the GTSRB dataset to evaluate the work. The pipeline has three stages: knowledge distillation, pruning, and quantization of neural models. The goal is to reduce the complexity of the final neural network, thus allowing the model to be embedded in a device with limited computational resources. The final models are evaluated considering performance metrics such as accuracy, precision, recall, F1-Score, inference time, and model size in bytes. Using the proposed methodology, our compressed CNN model achieved an accuracy of 85.91% and an F1-Score of 85.80%. The final model size was only 59 KB and the inference of a color image with a resolution of 32x32 pixels took only 80 ms to run in ESP32 and 83 ms to run in ESP32-S2, demonstrating the capability of this resource-constrained device to detect an image with a reasonable accuracy rate.São CristóvãoporConvolutional Neural Network (CNN)Edge devicesQuantization traffic signsKnowledge distillationPruningTraffic Sign Detection and Recogntion System (TSDR)German Traffic Sign Recognition Benchmark (GTSRB)CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAOA Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisPós-Graduação em Ciência da ComputaçãoUniversidade Federal de Sergipe (UFS)reponame:Repositório Institucional da UFSinstname:Universidade Federal de Sergipe (UFS)instacron:UFSinfo:eu-repo/semantics/openAccessLICENSElicense.txtlicense.txttext/plain; charset=utf-81475https://ri.ufs.br/jspui/bitstream/riufs/19523/1/license.txt098cbbf65c2c15e1fb2e49c5d306a44cMD51ORIGINALRAFAEL_ANDRADE_SILVA.pdfRAFAEL_ANDRADE_SILVA.pdfapplication/pdf2420640https://ri.ufs.br/jspui/bitstream/riufs/19523/2/RAFAEL_ANDRADE_SILVA.pdfb545b0a52c8616c14859eb211e19c054MD52riufs/195232024-07-09 16:28:01.281oai:oai:ri.ufs.br:repo_01:riufs/19523TElDRU7Dh0EgREUgRElTVFJJQlVJw4fDg08gTsODTy1FWENMVVNJVkEKCkNvbSBhIGFwcmVzZW50YcOnw6NvIGRlc3RhIGxpY2Vuw6dhLCB2b2PDqiAobyBhdXRvcihlcykgb3UgbyB0aXR1bGFyIGRvcyBkaXJlaXRvcyBkZSBhdXRvcikgY29uY2VkZSDDoCBVbml2ZXJzaWRhZGUgRmVkZXJhbCBkZSBTZXJnaXBlIG8gZGlyZWl0byBuw6NvLWV4Y2x1c2l2byBkZSByZXByb2R1emlyIHNldSB0cmFiYWxobyBubyBmb3JtYXRvIGVsZXRyw7RuaWNvLCBpbmNsdWluZG8gb3MgZm9ybWF0b3Mgw6F1ZGlvIG91IHbDrWRlby4KClZvY8OqIGNvbmNvcmRhIHF1ZSBhIFVuaXZlcnNpZGFkZSBGZWRlcmFsIGRlIFNlcmdpcGUgc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YWwgZGUgcHJvcHJpZWRhZGUgZGUgdGVyY2Vpcm9zIGVzdMOhIGNsYXJhbWVudGUgaWRlbnRpZmljYWRvIGUgcmVjb25oZWNpZG8gbm8gdGV4dG8gb3Ugbm8gY29udGXDumRvLgoKQSBVbml2ZXJzaWRhZGUgRmVkZXJhbCBkZSBTZXJnaXBlIHNlIGNvbXByb21ldGUgYSBpZGVudGlmaWNhciBjbGFyYW1lbnRlIG8gc2V1IG5vbWUocykgb3UgbyhzKSBub21lKHMpIGRvKHMpIApkZXRlbnRvcihlcykgZG9zIGRpcmVpdG9zIGF1dG9yYWlzIGRvIHRyYWJhbGhvLCBlIG7Do28gZmFyw6EgcXVhbHF1ZXIgYWx0ZXJhw6fDo28sIGFsw6ltIGRhcXVlbGFzIGNvbmNlZGlkYXMgcG9yIGVzdGEgbGljZW7Dp2EuIAo=Repositório InstitucionalPUBhttps://ri.ufs.br/oai/requestrepositorio@academico.ufs.bropendoar:2024-07-09T19:28:01Repositório Institucional da UFS - Universidade Federal de Sergipe (UFS)false
dc.title.pt_BR.fl_str_mv A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
title A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
spellingShingle A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
Silva, Rafael Andrade da
Convolutional Neural Network (CNN)
Edge devices
Quantization traffic signs
Knowledge distillation
Pruning
Traffic Sign Detection and Recogntion System (TSDR)
German Traffic Sign Recognition Benchmark (GTSRB)
CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
title_short A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
title_full A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
title_fullStr A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
title_full_unstemmed A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
title_sort A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs)
author Silva, Rafael Andrade da
author_facet Silva, Rafael Andrade da
author_role author
dc.contributor.author.fl_str_mv Silva, Rafael Andrade da
dc.contributor.advisor1.fl_str_mv Prado, Bruno Otávio Piedade
dc.contributor.advisor-co1.fl_str_mv Matos, Leonardo Nogueira
contributor_str_mv Prado, Bruno Otávio Piedade
Matos, Leonardo Nogueira
dc.subject.eng.fl_str_mv Convolutional Neural Network (CNN)
Edge devices
Quantization traffic signs
Knowledge distillation
Pruning
Traffic Sign Detection and Recogntion System (TSDR)
German Traffic Sign Recognition Benchmark (GTSRB)
topic Convolutional Neural Network (CNN)
Edge devices
Quantization traffic signs
Knowledge distillation
Pruning
Traffic Sign Detection and Recogntion System (TSDR)
German Traffic Sign Recognition Benchmark (GTSRB)
CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
dc.subject.cnpq.fl_str_mv CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
description The objective of autonomous driving edge computer systems is to ensure the safety of Autonomous Vehicles (AV). However, this is extremely difficult. Advanced Driver Assistance Systems (ADAS) are of great importance in AV systems, as they increase the level of safety in vehicles. As vehicles become more connected, some ADAS features can be improved with the cooperation of the surrounding vehicles. For example, cooperative adaptive cruise control or a lane departure warning for all vehicles in the vicinity. Traffic Signal Detection and Recognition (TSDR) is a recent technology applied to intelligent driving responsible for identifying and recognizing traffic signs in the images captured by the vehicle’s sensors. TSDR systems have a wide range of applications. However, many of the proposed techniques use solutions based on expensive devices and are unsuitable for large-scale and low-cost edge computing solutions. Implementing these systems on OEM embedded platforms will provide the opportunity to create genuinely cost-effective and low-energy systems. In order to contribute to this research area, our study proposes not only the development of a convolutional neural network capable of performing the classification of vertical traffic signals but also the creation of a neural model compression pipeline. Based on the literature and experiments located through a systematic review, we chose to use the GTSRB dataset to evaluate the work. The pipeline has three stages: knowledge distillation, pruning, and quantization of neural models. The goal is to reduce the complexity of the final neural network, thus allowing the model to be embedded in a device with limited computational resources. The final models are evaluated considering performance metrics such as accuracy, precision, recall, F1-Score, inference time, and model size in bytes. Using the proposed methodology, our compressed CNN model achieved an accuracy of 85.91% and an F1-Score of 85.80%. The final model size was only 59 KB and the inference of a color image with a resolution of 32x32 pixels took only 80 ms to run in ESP32 and 83 ms to run in ESP32-S2, demonstrating the capability of this resource-constrained device to detect an image with a reasonable accuracy rate.
publishDate 2022
dc.date.issued.fl_str_mv 2022-08-31
dc.date.accessioned.fl_str_mv 2024-07-09T19:27:56Z
dc.date.available.fl_str_mv 2024-07-09T19:27:56Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.citation.fl_str_mv SILVA, Rafael Andrade da. A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs). 2022. 123 f. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Sergipe, São Cristóvão, 2022.
dc.identifier.uri.fl_str_mv https://ri.ufs.br/jspui/handle/riufs/19523
identifier_str_mv SILVA, Rafael Andrade da. A Resource Constrained Pipeline Approach to Embed Convolutional Neural Models (CNNs). 2022. 123 f. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Sergipe, São Cristóvão, 2022.
url https://ri.ufs.br/jspui/handle/riufs/19523
dc.language.iso.fl_str_mv por
language por
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.publisher.program.fl_str_mv Pós-Graduação em Ciência da Computação
dc.publisher.initials.fl_str_mv Universidade Federal de Sergipe (UFS)
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFS
instname:Universidade Federal de Sergipe (UFS)
instacron:UFS
instname_str Universidade Federal de Sergipe (UFS)
instacron_str UFS
institution UFS
reponame_str Repositório Institucional da UFS
collection Repositório Institucional da UFS
bitstream.url.fl_str_mv https://ri.ufs.br/jspui/bitstream/riufs/19523/1/license.txt
https://ri.ufs.br/jspui/bitstream/riufs/19523/2/RAFAEL_ANDRADE_SILVA.pdf
bitstream.checksum.fl_str_mv 098cbbf65c2c15e1fb2e49c5d306a44c
b545b0a52c8616c14859eb211e19c054
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
repository.name.fl_str_mv Repositório Institucional da UFS - Universidade Federal de Sergipe (UFS)
repository.mail.fl_str_mv repositorio@academico.ufs.br
_version_ 1851759411774619648