{"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/arxiv-2510-10000","title":"Tight Robustness Certificates and Wasserstein Distributional Attacks for Deep Neural Networks","arxiv_id":"2510.10000","date":"2025-10-11","proceeding":null,"authors":["Bach C. Le","Tung V. Dao","Binh T. Nguyen","Hong T. M. Chu"],"abstract":"Wasserstein distributionally robust optimization (WDRO) provides a framework for adversarial robustness, yet existing methods based on global Lipschitz continuity or strong duality often yield loose upper bounds or require prohibitive computation. We address these limitations with a primal approach and adopt a notion of exact Lipschitz certificates to tighten this upper bound of WDRO. For ReLU networks, we leverage the piecewise-affine structure on activation cells to obtain an exact tractable characterization of the corresponding WDRO problem. We further extend our analysis to modern architectures with smooth activations (e.g., GELU, SiLU), such as Transformers. Additionally, we propose novel Wasserstein Distributional Attacks (WDA, WDA++) that construct candidates for the worst-case distribution. Compared to existing attacks that are restricted to point-wise perturbations, our methods offer greater flexibility in the number and location of attack points. Extensive evaluations demonstrate that our proposed framework achieves competitive robust accuracy against state-of-the-art baselines while offering tighter certificates than existing methods. Our code is available at https://github.com/OLab-Repo/WDA.","url_abs":"https://arxiv.org/abs/2510.10000","url_pdf":"https://arxiv.org/pdf/2510.10000","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2510.10000","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2510.10000"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/OLab-Repo/WDA","reach":null}],"summary":{"ran":1,"ran_draft_wrong":7,"ran_honours":1,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":10,"ran":9,"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":"2a561aa548bc6fb4","entry":"WDAPP","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2a561aa548bc6fb4"}},{"code_sha256_prefix":"807a584b3f1fcb9d","entry":"_allocate_budget","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"807a584b3f1fcb9d"}},{"code_sha256_prefix":"b5f4da08ed2f8454","entry":"_best_direction_from_grad","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5f4da08ed2f8454"}},{"code_sha256_prefix":"9f4d30e596077b4e","entry":"_lp_distance","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9f4d30e596077b4e"}},{"code_sha256_prefix":"32867cca8497e161","entry":"_parse_wasserstein_p","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32867cca8497e161"}},{"code_sha256_prefix":"b55c7c30af1455bf","entry":"_topk_nontrue_classes","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b55c7c30af1455bf"}},{"code_sha256_prefix":"c09cbca10020bb47","entry":"clamp","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c09cbca10020bb47"}},{"code_sha256_prefix":"03470b33e72d35ab","entry":"dlr_loss","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"03470b33e72d35ab"}},{"code_sha256_prefix":"0ecdb586df3512b0","entry":"lp_project","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0ecdb586df3512b0"}},{"code_sha256_prefix":"ad15e93be187df03","entry":"run_wda_pp","repo":"OLab-Repo/WDA","repo_kind":"found_in_text","path":"wda.py","file_url":"https://github.com/OLab-Repo/WDA/blob/HEAD/wda.py","link_basis":"first_harvest_node","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":"ad15e93be187df03"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_api"},"syntology_extracted_results":null}