{"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/overcoming-the-convex-relaxation-barrier-for","title":"Tight Certification of Adversarially Trained Neural Networks via Nonconvex Low-Rank Semidefinite Relaxations","arxiv_id":"2211.17244","date":"2022-11-30","proceeding":null,"authors":["Hong-Ming Chiu","Richard Y. Zhang"],"abstract":"Adversarial training is well-known to produce high-quality neural network models that are empirically robust against adversarial perturbations. Nevertheless, once a model has been adversarially trained, one often desires a certification that the model is truly robust against all future attacks. Unfortunately, when faced with adversarially trained models, all existing approaches have significant trouble making certifications that are strong enough to be practically useful. Linear programming (LP) techniques in particular face a \"convex relaxation barrier\" that prevent them from making high-quality certifications, even after refinement with mixed-integer linear programming (MILP) and branch-and-bound (BnB) techniques. In this paper, we propose a nonconvex certification technique, based on a low-rank restriction of a semidefinite programming (SDP) relaxation. The nonconvex relaxation makes strong certifications comparable to much more expensive SDP methods, while optimizing over dramatically fewer variables comparable to much weaker LP methods. Despite nonconvexity, we show how off-the-shelf local optimization algorithms can be used to achieve and to certify global optimality in polynomial time. Our experiments find that the nonconvex relaxation almost completely closes the gap towards exact certification of adversarially trained models.","url_abs":"https://arxiv.org/abs/2211.17244v3","url_pdf":"https://arxiv.org/pdf/2211.17244v3.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":"overcoming-the-convex-relaxation-barrier-for","repo_url":"https://github.com/hong-ming/bm-r","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2211.17244","atlas_url":"https://app.syntology.ai/?focus=2211.17244","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.17244"}},"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":"deterministic:regex_extraction","url":"https://github.com/Verified-Intelligence/alpha-beta-CROWN","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Hong-Ming/BM-r","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/IBM/CROWN-Robustness-Certification","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/Hadisalman/robust-verify-benchmark","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/hong-ming/bm-r","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":2,"ran":2,"unverified":20},"by_repo_kind":{"found_in_text":{"samples":24,"ran":4,"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":"86c9fa246614e9a9","entry":"extract_data","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"setup_mnist.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/setup_mnist.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"86c9fa246614e9a9"}},{"code_sha256_prefix":"a0cf6bb81ff7819e","entry":"extract_labels","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"setup_mnist.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/setup_mnist.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a0cf6bb81ff7819e"}},{"code_sha256_prefix":"1a305708776802f1","entry":"get_general_bounds","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_general.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_general.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":"1a305708776802f1"}},{"code_sha256_prefix":"527f8fd2c1c0757b","entry":"relu_ub_p","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"general_fit.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/general_fit.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"527f8fd2c1c0757b"}},{"code_sha256_prefix":"753617a588e4fc41","entry":"ReLU","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_ours.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_ours.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":"753617a588e4fc41"}},{"code_sha256_prefix":"90f4d0f321d7321a","entry":"get_area","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"quad_fit.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/quad_fit.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":"90f4d0f321d7321a"}},{"code_sha256_prefix":"37fee45ec17c90a3","entry":"get_layer_bound","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_ours.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_ours.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":"37fee45ec17c90a3"}},{"code_sha256_prefix":"1271444c865b37e8","entry":"get_layer_bound_LP","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_others.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_others.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":"1271444c865b37e8"}},{"code_sha256_prefix":"859c42b9a1c7fb44","entry":"get_lower_quad_parameterized_lgtu","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"quad_fit.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/quad_fit.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":"859c42b9a1c7fb44"}},{"code_sha256_prefix":"8ab40dd0da5f2fa6","entry":"get_relu_bounds","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_general.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_general.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":"8ab40dd0da5f2fa6"}},{"code_sha256_prefix":"465f67a6527e6e6d","entry":"get_tanh_bounds","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_general.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_general.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":"465f67a6527e6e6d"}},{"code_sha256_prefix":"171e3d9dae850e45","entry":"get_upper_quad_parameterized","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"quad_fit.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/quad_fit.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":"171e3d9dae850e45"}},{"code_sha256_prefix":"fcf70a46a28d44a2","entry":"get_weights_list","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_ours.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_ours.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":"fcf70a46a28d44a2"}},{"code_sha256_prefix":"754f9759bf35afba","entry":"l1_dist","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/utils.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":"754f9759bf35afba"}},{"code_sha256_prefix":"c616cfbcc11326f3","entry":"l2_dist","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/utils.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":"c616cfbcc11326f3"}},{"code_sha256_prefix":"4fc767413887cc02","entry":"linf_dist","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"utils.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/utils.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":"4fc767413887cc02"}},{"code_sha256_prefix":"ab7faf0047f2c872","entry":"load_batch","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"setup_cifar.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/setup_cifar.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":"ab7faf0047f2c872"}},{"code_sha256_prefix":"3b4fb87c66244ebf","entry":"load_batch","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"setup_cifar.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/setup_cifar.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":"3b4fb87c66244ebf"}},{"code_sha256_prefix":"2dfae576a64727fc","entry":"proj_l1","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_quad.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_quad.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":"2dfae576a64727fc"}},{"code_sha256_prefix":"dd8e7c5361d6a51b","entry":"proj_l2","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_quad.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_quad.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":"dd8e7c5361d6a51b"}},{"code_sha256_prefix":"cba73c35959ddc1d","entry":"proj_li","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_quad.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_quad.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":"cba73c35959ddc1d"}},{"code_sha256_prefix":"52125b4504b9b441","entry":"relu_lb_pn","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"general_fit.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/general_fit.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":"52125b4504b9b441"}},{"code_sha256_prefix":"88ac5c47845ee90e","entry":"relu_ub_pn","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"general_fit.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/general_fit.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":"88ac5c47845ee90e"}},{"code_sha256_prefix":"82879d94252d9441","entry":"spectral_bound","repo":"IBM/CROWN-Robustness-Certification","repo_kind":"found_in_text","path":"get_bounds_others.py","file_url":"https://github.com/IBM/CROWN-Robustness-Certification/blob/HEAD/get_bounds_others.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":"82879d94252d9441"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}