Property Checking with Interpretable Error Characterization for Recurrent Neural Networks

Mayr, Franz - Visca, Ramiro - Yovine, Sergio

Resumen:

We propose a procedure for checking properties of recurrent neural networks used for language modeling and sequence classification. Our approach is a case of black-box checking based on learning a prob- ably approximately correct, regular approximation of the intersection of the language of the black-box (the network) with the complement of the property to be checked, without explicitly building individual represen- tations of them. When the algorithm returns an empty language, there is a proven upper bound on the probability of the network not verifying the requirement. When the returned language is nonempty, it is certain the network does not satisfy the property. In this case, an explicit and inter- pretable characterization of the error is output together with sequences of the network truly violating the property. Besides, our approach does not require resorting to an external decision procedure for verification nor fixing a specific property specification formalism.


Detalles Bibliográficos
2020
Artificial intelligence
Machine Learning
Verification
Ciencias Naturales y Exactas
Ciencias de la Computación e Información
Inglés
Agencia Nacional de Investigación e Innovación
REDI
https://hdl.handle.net/20.500.12381/458
Acceso abierto
Reconocimiento-NoComercial 4.0 Internacional. (CC BY-NC)
_version_ 1814959258835353600
author Mayr, Franz
author2 Visca, Ramiro
Yovine, Sergio
author2_role author
author
author_facet Mayr, Franz
Visca, Ramiro
Yovine, Sergio
author_role author
bitstream.checksum.fl_str_mv 2d97768b1a25a7df5a347bb58fd2d77f
dfe05b368e917fede4189fce6e398fa5
bitstream.checksumAlgorithm.fl_str_mv MD5
MD5
bitstream.url.fl_str_mv https://redi.anii.org.uy/jspui/bitstream/20.500.12381/458/2/license.txt
https://redi.anii.org.uy/jspui/bitstream/20.500.12381/458/1/On_the_fly_Verification_of_Recurrent_Neural_Networks_through_Automata_Learning.pdf
collection REDI
dc.creator.none.fl_str_mv Mayr, Franz
Visca, Ramiro
Yovine, Sergio
dc.date.accessioned.none.fl_str_mv 2021-09-30T13:27:31Z
dc.date.available.none.fl_str_mv 2021-09-30T13:27:31Z
dc.date.issued.none.fl_str_mv 2020-08
dc.description.abstract.none.fl_txt_mv We propose a procedure for checking properties of recurrent neural networks used for language modeling and sequence classification. Our approach is a case of black-box checking based on learning a prob- ably approximately correct, regular approximation of the intersection of the language of the black-box (the network) with the complement of the property to be checked, without explicitly building individual represen- tations of them. When the algorithm returns an empty language, there is a proven upper bound on the probability of the network not verifying the requirement. When the returned language is nonempty, it is certain the network does not satisfy the property. In this case, an explicit and inter- pretable characterization of the error is output together with sequences of the network truly violating the property. Besides, our approach does not require resorting to an external decision procedure for verification nor fixing a specific property specification formalism.
dc.identifier.anii.es.fl_str_mv POS_ICT4V_2016_1_15, FSDA_1_2018_1_154419, FMV_1_2019_1_155913.
dc.identifier.uri.none.fl_str_mv https://hdl.handle.net/20.500.12381/458
dc.language.iso.none.fl_str_mv eng
dc.rights.es.fl_str_mv Acceso abierto
dc.rights.license.none.fl_str_mv Reconocimiento-NoComercial 4.0 Internacional. (CC BY-NC)
dc.rights.none.fl_str_mv info:eu-repo/semantics/openAccess
dc.source.es.fl_str_mv Machine Learning and Knowledge Extraction - International Cross-Domain Con- ference, CD-MAKE 2020
dc.source.none.fl_str_mv reponame:REDI
instname:Agencia Nacional de Investigación e Innovación
instacron:Agencia Nacional de Investigación e Innovación
dc.subject.anii.none.fl_str_mv Ciencias Naturales y Exactas
Ciencias de la Computación e Información
dc.subject.es.fl_str_mv Artificial intelligence
Machine Learning
Verification
dc.title.none.fl_str_mv Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
dc.type.es.fl_str_mv Documento de conferencia
dc.type.none.fl_str_mv info:eu-repo/semantics/conferenceObject
dc.type.version.es.fl_str_mv Publicado
dc.type.version.none.fl_str_mv info:eu-repo/semantics/publishedVersion
description We propose a procedure for checking properties of recurrent neural networks used for language modeling and sequence classification. Our approach is a case of black-box checking based on learning a prob- ably approximately correct, regular approximation of the intersection of the language of the black-box (the network) with the complement of the property to be checked, without explicitly building individual represen- tations of them. When the algorithm returns an empty language, there is a proven upper bound on the probability of the network not verifying the requirement. When the returned language is nonempty, it is certain the network does not satisfy the property. In this case, an explicit and inter- pretable characterization of the error is output together with sequences of the network truly violating the property. Besides, our approach does not require resorting to an external decision procedure for verification nor fixing a specific property specification formalism.
eu_rights_str_mv openAccess
format conferenceObject
id REDI_eb8c03f6aca47aabc89f83de39bfb253
identifier_str_mv POS_ICT4V_2016_1_15, FSDA_1_2018_1_154419, FMV_1_2019_1_155913.
instacron_str Agencia Nacional de Investigación e Innovación
institution Agencia Nacional de Investigación e Innovación
instname_str Agencia Nacional de Investigación e Innovación
language eng
network_acronym_str REDI
network_name_str REDI
oai_identifier_str oai:redi.anii.org.uy:20.500.12381/458
publishDate 2020
reponame_str REDI
repository.mail.fl_str_mv jmaldini@anii.org.uy
repository.name.fl_str_mv REDI - Agencia Nacional de Investigación e Innovación
repository_id_str 9421
rights_invalid_str_mv Reconocimiento-NoComercial 4.0 Internacional. (CC BY-NC)
Acceso abierto
spelling Reconocimiento-NoComercial 4.0 Internacional. (CC BY-NC)Acceso abiertoinfo:eu-repo/semantics/openAccess2021-09-30T13:27:31Z2021-09-30T13:27:31Z2020-08https://hdl.handle.net/20.500.12381/458POS_ICT4V_2016_1_15, FSDA_1_2018_1_154419, FMV_1_2019_1_155913.We propose a procedure for checking properties of recurrent neural networks used for language modeling and sequence classification. Our approach is a case of black-box checking based on learning a prob- ably approximately correct, regular approximation of the intersection of the language of the black-box (the network) with the complement of the property to be checked, without explicitly building individual represen- tations of them. When the algorithm returns an empty language, there is a proven upper bound on the probability of the network not verifying the requirement. When the returned language is nonempty, it is certain the network does not satisfy the property. In this case, an explicit and inter- pretable characterization of the error is output together with sequences of the network truly violating the property. Besides, our approach does not require resorting to an external decision procedure for verification nor fixing a specific property specification formalism.engMachine Learning and Knowledge Extraction - International Cross-Domain Con- ference, CD-MAKE 2020reponame:REDIinstname:Agencia Nacional de Investigación e Innovacióninstacron:Agencia Nacional de Investigación e InnovaciónArtificial intelligenceMachine LearningVerificationCiencias Naturales y ExactasCiencias de la Computación e InformaciónProperty Checking with Interpretable Error Characterization for Recurrent Neural NetworksDocumento de conferenciaPublicadoinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/conferenceObject//Ciencias Naturales y Exactas/Ciencias de la Computación e InformaciónMayr, FranzVisca, RamiroYovine, SergioLICENSElicense.txtlicense.txttext/plain; charset=utf-84746https://redi.anii.org.uy/jspui/bitstream/20.500.12381/458/2/license.txt2d97768b1a25a7df5a347bb58fd2d77fMD52ORIGINALOn_the_fly_Verification_of_Recurrent_Neural_Networks_through_Automata_Learning.pdfOn_the_fly_Verification_of_Recurrent_Neural_Networks_through_Automata_Learning.pdfapplication/pdf482161https://redi.anii.org.uy/jspui/bitstream/20.500.12381/458/1/On_the_fly_Verification_of_Recurrent_Neural_Networks_through_Automata_Learning.pdfdfe05b368e917fede4189fce6e398fa5MD5120.500.12381/4582021-09-30 10:27:32.467oai:redi.anii.org.uy:20.500.12381/458PHA+QWNlcHRhbmRvIGxhIGNlc2nDs24gZGUgZGVyZWNob3MgZWwgdXN1YXJpbyBERUNMQVJBIHF1ZSBvc3RlbnRhIGxhIGNvbmRpY2nDs24gZGUgYXV0b3IgZW4gZWwgc2VudGlkbyBxdWUgb3RvcmdhIGxhIGxlZ2lzbGFjacOzbiB2aWdlbnRlIHNvYnJlICBwcm9waWVkYWQgaW50ZWxlY3R1YWwgZGUgbGEgb2JyYSBvcmlnaW5hbCBxdWUgZXN0w6EgZW52aWFuZG8gKOKAnGxhIG9icmHigJ0pLiBFbiBjYXNvIGRlIHNlciBjb3RpdHVsYXIsIGVsIGF1dG9yIGRlY2xhcmEgcXVlIGN1ZW50YSBjb24gZWwgIGNvbnNlbnRpbWllbnRvIGRlIGxvcyByZXN0YW50ZXMgdGl0dWxhcmVzIHBhcmEgaGFjZXIgbGEgcHJlc2VudGUgY2VzacOzbi4gRW4gY2FzbyBkZSBwcmV2aWEgY2VzacOzbiBkZSBsb3MgZGVyZWNob3MgZGUgZXhwbG90YWNpw7NuIHNvYnJlIGxhIG9icmEgYSB0ZXJjZXJvcywgZWwgYXV0b3IgZGVjbGFyYSBxdWUgdGllbmUgbGEgYXV0b3JpemFjacOzbiBleHByZXNhIGRlIGRpY2hvcyB0aXR1bGF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DoSBtYW5pZmVzdGFyIHN1IHZvbHVudGFkIGVuIGZvcm1hIGZlaGFjaWVudGUgeSBhY3JlZGl0YXIgZGViaWRhbWVudGUgbGEgY2F1c2EganVzdGlmaWNhZGEuIEFzaW1pc21vIEFOSUkgcG9kcsOhIHJldGlyYXIgbyBpbnZpc2liaWxpemFyIGxhIG9icmEgZGUgUkVESSwgcHJldmlhIG5vdGlmaWNhY2nDs24gYWwgQXV0b3IsIGVuIHN1cHVlc3RvcyBzdWZpY2llbnRlbWVudGUganVzdGlmaWNhZG9zLCBvIGVuIGNhc28gZGUgcmVjbGFtYWNpb25lcyBkZSB0ZXJjZXJvcy48L3A+Gobiernohttps://www.anii.org.uy/https://redi.anii.org.uy/oai/requestjmaldini@anii.org.uyUruguayopendoar:94212021-09-30T13:27:32REDI - Agencia Nacional de Investigación e Innovaciónfalse
spellingShingle Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
Mayr, Franz
Artificial intelligence
Machine Learning
Verification
Ciencias Naturales y Exactas
Ciencias de la Computación e Información
status_str publishedVersion
title Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
title_full Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
title_fullStr Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
title_full_unstemmed Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
title_short Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
title_sort Property Checking with Interpretable Error Characterization for Recurrent Neural Networks
topic Artificial intelligence
Machine Learning
Verification
Ciencias Naturales y Exactas
Ciencias de la Computación e Información
url https://hdl.handle.net/20.500.12381/458