{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/symbolic-execution-for-deep-neural-networks","title":"Symbolic Execution for Deep Neural Networks","arxiv_id":"1807.10439","date":"2018-07-27","proceeding":null,"authors":["Divya Gopinath","Kaiyuan Wang","Mengshi Zhang","Corina S. Pasareanu","Sarfraz Khurshid"],"abstract":"Deep Neural Networks (DNN) are increasingly used in a variety of applications, many of them with substantial safety and security concerns. This paper introduces DeepCheck, a new approach for validating DNNs based on core ideas from program analysis, specifically from symbolic execution. The idea is to translate a DNN into an imperative program, thereby enabling program analysis to assist with DNN validation. A basic translation however creates programs that are very complex to analyze. DeepCheck introduces novel techniques for lightweight symbolic analysis of DNNs and applies them in the context of image classification to address two challenging problems in DNN analysis: 1) identification of important pixels (for attribution and adversarial generation); and 2) creation of 1-pixel and 2-pixel attacks. Experimental results using the MNIST data-set show that DeepCheck's lightweight symbolic analysis provides a valuable tool for DNN validation.","url_abs":"http://arxiv.org/abs/1807.10439v1","url_pdf":"http://arxiv.org/pdf/1807.10439v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"symbolic-execution-for-deep-neural-networks","repo_url":"https://github.com/Koukyosyumei/Gymbo","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/1807.10439","atlas_url":"https://app.syntology.ai/?focus=1807.10439","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1807.10439"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Koukyosyumei/Gymbo","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":8},"by_repo_kind":{"listed":{"samples":8,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"bed38348da28907d","entry":"bf_to_gymbo","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/brainfuck.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/brainfuck.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bed38348da28907d"}},{"code_sha256_prefix":"745a93abf29fa660","entry":"export","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/export.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/export.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"745a93abf29fa660"}},{"code_sha256_prefix":"939c9dd94329dc79","entry":"parse","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/parser.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/parser.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"939c9dd94329dc79"}},{"code_sha256_prefix":"c53445bb738abb96","entry":"parse_addr","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/parser.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/parser.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c53445bb738abb96"}},{"code_sha256_prefix":"add945d39906ea73","entry":"parse_operand","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/parser.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/parser.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"add945d39906ea73"}},{"code_sha256_prefix":"031bd2d96676f63a","entry":"run","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/vm.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/vm.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"031bd2d96676f63a"}},{"code_sha256_prefix":"669522cebd02747a","entry":"run_full","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/vm.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/vm.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"669522cebd02747a"}},{"code_sha256_prefix":"8f1568feefb835f7","entry":"run_hard","repo":"Koukyosyumei/Gymbo","repo_kind":"listed","path":"src/gymbo/vm.py","file_url":"https://github.com/Koukyosyumei/Gymbo/blob/HEAD/src/gymbo/vm.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8f1568feefb835f7"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}