{"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/advbox-a-toolbox-to-generate-adversarial","title":"Advbox: a toolbox to generate adversarial examples that fool neural networks","arxiv_id":"2001.05574","date":"2020-01-13","proceeding":null,"authors":["Dou Goodman","Hao Xin","Wang Yang","Wu Yuesheng","Xiong Junfeng","Zhang Huan"],"abstract":"In recent years, neural networks have been extensively deployed for computer vision tasks, particularly visual classification problems, where new algorithms reported to achieve or even surpass the human performance. Recent studies have shown that they are all vulnerable to the attack of adversarial examples. Small and often imperceptible perturbations to the input images are sufficient to fool the most powerful neural networks. \\emph{Advbox} is a toolbox to generate adversarial examples that fool neural networks in PaddlePaddle, PyTorch, Caffe2, MxNet, Keras, TensorFlow and it can benchmark the robustness of machine learning models. Compared to previous work, our platform supports black box attacks on Machine-Learning-as-a-service, as well as more attack scenarios, such as Face Recognition Attack, Stealth T-shirt, and DeepFake Face Detect. The code is licensed under the Apache 2.0 and is openly available at https://github.com/advboxes/AdvBox. Advbox now supports Python 3.","url_abs":"https://arxiv.org/abs/2001.05574v5","url_pdf":"https://arxiv.org/pdf/2001.05574v5.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":"abstracts"},"code_links":[{"paper_slug":"advbox-a-toolbox-to-generate-adversarial","repo_url":"https://github.com/advboxes/AdvBox","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"advbox-a-toolbox-to-generate-adversarial","repo_url":"https://github.com/baidu/AdvBox","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"},{"task_slug":"face-recognition","task_name":"Face Recognition"},{"task_slug":"face-swapping","task_name":"Face Swapping"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2001.05574","atlas_url":"https://app.syntology.ai/?focus=2001.05574","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2001.05574"}},"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/advboxes/AdvBox","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/baidu/AdvBox","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":4,"ran_violates":1,"unverified":3},"by_repo_kind":{"official":{"samples":8,"ran":5,"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":"2d9e8ce18f344f58","entry":"euler2quat","repo":"advboxes/AdvBox","repo_kind":"official","path":"advbox_family/ODD/EOT_simulation/eulerangles.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/advbox_family/ODD/EOT_simulation/eulerangles.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2d9e8ce18f344f58"}},{"code_sha256_prefix":"dd1f3e0945b180f2","entry":"mat2euler","repo":"advboxes/AdvBox","repo_kind":"official","path":"advbox_family/ODD/EOT_simulation/eulerangles.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/advbox_family/ODD/EOT_simulation/eulerangles.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd1f3e0945b180f2"}},{"code_sha256_prefix":"5916ddbc073e326a","entry":"regularize_pic","repo":"advboxes/AdvBox","repo_kind":"official","path":"applications/face_recognition_attack/facenet_fr_advbox_deepfool.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/applications/face_recognition_attack/facenet_fr_advbox_deepfool.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5916ddbc073e326a"}},{"code_sha256_prefix":"ff8b19a9b03ec507","entry":"restore_pic","repo":"advboxes/AdvBox","repo_kind":"official","path":"applications/face_recognition_attack/facenet_fr_advbox_deepfool.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/applications/face_recognition_attack/facenet_fr_advbox_deepfool.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ff8b19a9b03ec507"}},{"code_sha256_prefix":"f017532fc389cbfe","entry":"str2bool","repo":"advboxes/AdvBox","repo_kind":"official","path":"advbox_family/ODD/object_detectors/yolo_tiny_model_updated.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/advbox_family/ODD/object_detectors/yolo_tiny_model_updated.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f017532fc389cbfe"}},{"code_sha256_prefix":"c895ee22fc847eed","entry":"euler2mat","repo":"advboxes/AdvBox","repo_kind":"official","path":"advbox_family/ODD/EOT_simulation/eulerangles.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/advbox_family/ODD/EOT_simulation/eulerangles.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c895ee22fc847eed"}},{"code_sha256_prefix":"ea1f574cb6c4ad37","entry":"get_pic_from_png","repo":"advboxes/AdvBox","repo_kind":"official","path":"applications/face_recognition_attack/facenet_fr_advbox_deepfool.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/applications/face_recognition_attack/facenet_fr_advbox_deepfool.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ea1f574cb6c4ad37"}},{"code_sha256_prefix":"f99837850d677750","entry":"parse_arguments","repo":"advboxes/AdvBox","repo_kind":"official","path":"advbox_family/ODD/object_detectors/yolo_tiny_model_updated.py","file_url":"https://github.com/advboxes/AdvBox/blob/HEAD/advbox_family/ODD/object_detectors/yolo_tiny_model_updated.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f99837850d677750"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}