Automated verification and refutation of quantized neural networks
| Ano de defesa: | 2022 |
|---|---|
| Autor(a) principal: | |
| Outros Autores: | |
| Orientador(a): | |
| Banca de defesa: | |
| Tipo de documento: | Dissertação |
| Tipo de acesso: | Acesso aberto |
| Idioma: | eng |
| Instituição de defesa: |
Universidade Federal do Amazonas
Faculdade de Tecnologia Brasil UFAM Programa de Pós-graduação em Engenharia Elétrica |
| Programa de Pós-Graduação: |
Não Informado pela instituição
|
| Departamento: |
Não Informado pela instituição
|
| País: |
Não Informado pela instituição
|
| Palavras-chave em Português: | |
| Link de acesso: | https://tede.ufam.edu.br/handle/tede/8845 |
Resumo: | Artificial Neural Networks (ANNs) are being deployed for an increasing number of safety- critical applications, including autonomous cars and medical diagnosis. However, con- cerns about their reliability have been raised due to their black-box nature and apparent fragility to adversarial attacks. These concerns are amplified when ANNs are deployed on restricted system, which limit the precision of mathematical operations and thus in- troduce additional quantization errors. Here, we develop and evaluate a novel symbolic verification framework using software model checking (SMC) and satisfiability modulo theories (SMT) to check for vulnerabilities in ANNs and mainly in Multilayer Perceptron (MLP). More specifically, here is proposed several ANN-related optimizations for SMC, including invariant inference via interval analysis, slicing, expression simplifications, and discretization of non-linear activation functions. With this verification framework, we can provide formal guarantees on the safe behavior of ANNs implemented both in floating- and fixed-point arithmetic. In this regard, the current verification approach was able to verify and produce adversarial examples for 52 test cases spanning image classifica- tion and general machine learning applications. Furthermore, for small- to medium-sized ANN, this approach completes most of its verification runs in minutes. Moreover, in con- trast to most state-of-the-art methods, the presented approach is not restricted to specific choices regarding activation functions and non-quantized representations. Experiments show that this approach can analyze larger ANN implementations and substantially re- duce the verification time compared to state-of-the-art techniques that use SMT solving. |
| id |
UFAM_3b3ce42dc1e6bf2cc34aaffe0d535df8 |
|---|---|
| oai_identifier_str |
oai:https://tede.ufam.edu.br/handle/:tede/8845 |
| network_acronym_str |
UFAM |
| network_name_str |
Biblioteca Digital de Teses e Dissertações da UFAM |
| repository_id_str |
|
| spelling |
Automated verification and refutation of quantized neural networksCIENCIAS EXATAS E DA TERRAModel CheckingNeural NetworksQuantized Neural NetworksArtificial Neural Networks (ANNs) are being deployed for an increasing number of safety- critical applications, including autonomous cars and medical diagnosis. However, con- cerns about their reliability have been raised due to their black-box nature and apparent fragility to adversarial attacks. These concerns are amplified when ANNs are deployed on restricted system, which limit the precision of mathematical operations and thus in- troduce additional quantization errors. Here, we develop and evaluate a novel symbolic verification framework using software model checking (SMC) and satisfiability modulo theories (SMT) to check for vulnerabilities in ANNs and mainly in Multilayer Perceptron (MLP). More specifically, here is proposed several ANN-related optimizations for SMC, including invariant inference via interval analysis, slicing, expression simplifications, and discretization of non-linear activation functions. With this verification framework, we can provide formal guarantees on the safe behavior of ANNs implemented both in floating- and fixed-point arithmetic. In this regard, the current verification approach was able to verify and produce adversarial examples for 52 test cases spanning image classifica- tion and general machine learning applications. Furthermore, for small- to medium-sized ANN, this approach completes most of its verification runs in minutes. Moreover, in con- trast to most state-of-the-art methods, the presented approach is not restricted to specific choices regarding activation functions and non-quantized representations. Experiments show that this approach can analyze larger ANN implementations and substantially re- duce the verification time compared to state-of-the-art techniques that use SMT solving.Artificial Neural Networks (ANNs) are being deployed for an increasing number of safety- critical applications, including autonomous cars and medical diagnosis. However, con- cerns about their reliability have been raised due to their black-box nature and apparent fragility to adversarial attacks. These concerns are amplified when ANNs are deployed on restricted system, which limit the precision of mathematical operations and thus in- troduce additional quantization errors. Here, we develop and evaluate a novel symbolic verification framework using software model checking (SMC) and satisfiability modulo theories (SMT) to check for vulnerabilities in ANNs and mainly in Multilayer Perceptron (MLP). More specifically, here is proposed several ANN-related optimizations for SMC, including invariant inference via interval analysis, slicing, expression simplifications, and discretization of non-linear activation functions. With this verification framework, we can provide formal guarantees on the safe behavior of ANNs implemented both in floating- and fixed-point arithmetic. In this regard, the current verification approach was able to verify and produce adversarial examples for 52 test cases spanning image classifica- tion and general machine learning applications. Furthermore, for small- to medium-sized ANN, this approach completes most of its verification runs in minutes. Moreover, in con- trast to most state-of-the-art methods, the presented approach is not restricted to specific choices regarding activation functions and non-quantized representations. Experiments show that this approach can analyze larger ANN implementations and substantially re- duce the verification time compared to state-of-the-art techniques that use SMT solvingUniversidade Federal do AmazonasFaculdade de TecnologiaBrasilUFAMPrograma de Pós-graduação em Engenharia ElétricaCordeiro, Lucas Carvalhohttp://lattes.cnpq.br/5005832876603012Lima Filho, Eddie Batista deSantos, Eulanda Miranda dosSena, Luiz Henrique Coelhohttp://lattes.cnpq.br/14936642233504222022-05-02T04:25:57Z2022-03-04info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfSENA, Luiz Henrique Coelho. Automated Verification and Refutation of Quantized Neural Networks. 2022. 55 f. Dissertação (Mestrado em Engenharia Elétrica) - Universidade Federal do Amazonas, Manaus (AM), 2022.https://tede.ufam.edu.br/handle/tede/8845enginfo:eu-repo/semantics/openAccessreponame:Biblioteca Digital de Teses e Dissertações da UFAMinstname:Universidade Federal do Amazonas (UFAM)instacron:UFAM2022-05-02T05:03:48Zoai:https://tede.ufam.edu.br/handle/:tede/8845Biblioteca Digital de Teses e Dissertaçõeshttp://200.129.163.131:8080/PUBhttp://200.129.163.131:8080/oai/requestddbc@ufam.edu.br||ddbc@ufam.edu.bropendoar:65922022-05-02T05:03:48Biblioteca Digital de Teses e Dissertações da UFAM - Universidade Federal do Amazonas (UFAM)false |
| dc.title.none.fl_str_mv |
Automated verification and refutation of quantized neural networks |
| title |
Automated verification and refutation of quantized neural networks |
| spellingShingle |
Automated verification and refutation of quantized neural networks Sena, Luiz Henrique Coelho CIENCIAS EXATAS E DA TERRA Model Checking Neural Networks Quantized Neural Networks |
| title_short |
Automated verification and refutation of quantized neural networks |
| title_full |
Automated verification and refutation of quantized neural networks |
| title_fullStr |
Automated verification and refutation of quantized neural networks |
| title_full_unstemmed |
Automated verification and refutation of quantized neural networks |
| title_sort |
Automated verification and refutation of quantized neural networks |
| author |
Sena, Luiz Henrique Coelho |
| author_facet |
Sena, Luiz Henrique Coelho http://lattes.cnpq.br/1493664223350422 |
| author_role |
author |
| author2 |
http://lattes.cnpq.br/1493664223350422 |
| author2_role |
author |
| dc.contributor.none.fl_str_mv |
Cordeiro, Lucas Carvalho http://lattes.cnpq.br/5005832876603012 Lima Filho, Eddie Batista de Santos, Eulanda Miranda dos |
| dc.contributor.author.fl_str_mv |
Sena, Luiz Henrique Coelho http://lattes.cnpq.br/1493664223350422 |
| dc.subject.por.fl_str_mv |
CIENCIAS EXATAS E DA TERRA Model Checking Neural Networks Quantized Neural Networks |
| topic |
CIENCIAS EXATAS E DA TERRA Model Checking Neural Networks Quantized Neural Networks |
| description |
Artificial Neural Networks (ANNs) are being deployed for an increasing number of safety- critical applications, including autonomous cars and medical diagnosis. However, con- cerns about their reliability have been raised due to their black-box nature and apparent fragility to adversarial attacks. These concerns are amplified when ANNs are deployed on restricted system, which limit the precision of mathematical operations and thus in- troduce additional quantization errors. Here, we develop and evaluate a novel symbolic verification framework using software model checking (SMC) and satisfiability modulo theories (SMT) to check for vulnerabilities in ANNs and mainly in Multilayer Perceptron (MLP). More specifically, here is proposed several ANN-related optimizations for SMC, including invariant inference via interval analysis, slicing, expression simplifications, and discretization of non-linear activation functions. With this verification framework, we can provide formal guarantees on the safe behavior of ANNs implemented both in floating- and fixed-point arithmetic. In this regard, the current verification approach was able to verify and produce adversarial examples for 52 test cases spanning image classifica- tion and general machine learning applications. Furthermore, for small- to medium-sized ANN, this approach completes most of its verification runs in minutes. Moreover, in con- trast to most state-of-the-art methods, the presented approach is not restricted to specific choices regarding activation functions and non-quantized representations. Experiments show that this approach can analyze larger ANN implementations and substantially re- duce the verification time compared to state-of-the-art techniques that use SMT solving. |
| publishDate |
2022 |
| dc.date.none.fl_str_mv |
2022-05-02T04:25:57Z 2022-03-04 |
| 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.uri.fl_str_mv |
SENA, Luiz Henrique Coelho. Automated Verification and Refutation of Quantized Neural Networks. 2022. 55 f. Dissertação (Mestrado em Engenharia Elétrica) - Universidade Federal do Amazonas, Manaus (AM), 2022. https://tede.ufam.edu.br/handle/tede/8845 |
| identifier_str_mv |
SENA, Luiz Henrique Coelho. Automated Verification and Refutation of Quantized Neural Networks. 2022. 55 f. Dissertação (Mestrado em Engenharia Elétrica) - Universidade Federal do Amazonas, Manaus (AM), 2022. |
| url |
https://tede.ufam.edu.br/handle/tede/8845 |
| dc.language.iso.fl_str_mv |
eng |
| language |
eng |
| dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
| eu_rights_str_mv |
openAccess |
| dc.format.none.fl_str_mv |
application/pdf |
| dc.publisher.none.fl_str_mv |
Universidade Federal do Amazonas Faculdade de Tecnologia Brasil UFAM Programa de Pós-graduação em Engenharia Elétrica |
| publisher.none.fl_str_mv |
Universidade Federal do Amazonas Faculdade de Tecnologia Brasil UFAM Programa de Pós-graduação em Engenharia Elétrica |
| dc.source.none.fl_str_mv |
reponame:Biblioteca Digital de Teses e Dissertações da UFAM instname:Universidade Federal do Amazonas (UFAM) instacron:UFAM |
| instname_str |
Universidade Federal do Amazonas (UFAM) |
| instacron_str |
UFAM |
| institution |
UFAM |
| reponame_str |
Biblioteca Digital de Teses e Dissertações da UFAM |
| collection |
Biblioteca Digital de Teses e Dissertações da UFAM |
| repository.name.fl_str_mv |
Biblioteca Digital de Teses e Dissertações da UFAM - Universidade Federal do Amazonas (UFAM) |
| repository.mail.fl_str_mv |
ddbc@ufam.edu.br||ddbc@ufam.edu.br |
| _version_ |
1851781305400819712 |