{"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/reducing-certified-regression-to-certified","title":"Reducing Certified Regression to Certified Classification for General Poisoning Attacks","arxiv_id":"2208.13904","date":"2022-08-29","proceeding":null,"authors":["Zayd Hammoudeh","Daniel Lowd"],"abstract":"Adversarial training instances can severely distort a model's behavior. This work investigates certified regression defenses, which provide guaranteed limits on how much a regressor's prediction may change under a poisoning attack. Our key insight is that certified regression reduces to voting-based certified classification when using median as a model's primary decision function. Coupling our reduction with existing certified classifiers, we propose six new regressors provably-robust to poisoning attacks. To the extent of our knowledge, this is the first work that certifies the robustness of individual regression predictions without any assumptions about the data distribution and model architecture. We also show that the assumptions made by existing state-of-the-art certified classifiers are often overly pessimistic. We introduce a tighter analysis of model robustness, which in many cases results in significantly improved certified guarantees. Lastly, we empirically demonstrate our approaches' effectiveness on both regression and classification data, where the accuracy of up to 50% of test predictions can be guaranteed under 1% training set corruption and up to 30% of predictions under 4% corruption. Our source code is available at https://github.com/ZaydH/certified-regression.","url_abs":"https://arxiv.org/abs/2208.13904v2","url_pdf":"https://arxiv.org/pdf/2208.13904v2.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":"reducing-certified-regression-to-certified","repo_url":"https://github.com/ZaydH/certified-regression","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"classification-1","task_name":"Classification"},{"task_slug":"regression-1","task_name":"regression"}],"methods":[{"method_slug":"test","method_name":"Test"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2208.13904","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2208.13904"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ZaydH/certified-regression","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":8},"by_repo_kind":{"official":{"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":"582a8f172dd52000","entry":"calc","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/_greedy_bound.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/_greedy_bound.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":"582a8f172dd52000"}},{"code_sha256_prefix":"7263bde6869dc8fa","entry":"calc_hash_tensor","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/types.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/types.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":"7263bde6869dc8fa"}},{"code_sha256_prefix":"5e06fdc43ab1f81c","entry":"construct_filename","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/utils.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/utils.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":"5e06fdc43ab1f81c"}},{"code_sha256_prefix":"32d193223b6dbd5e","entry":"get_group_mask","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/learner_ensemble.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/learner_ensemble.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":"32d193223b6dbd5e"}},{"code_sha256_prefix":"059244200ff283cb","entry":"get_new_model","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/utils.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/utils.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":"059244200ff283cb"}},{"code_sha256_prefix":"8f6cf22e3faef570","entry":"harmonic","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/utils.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/utils.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":"8f6cf22e3faef570"}},{"code_sha256_prefix":"4d00f84289106bb4","entry":"in1d","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/learner_ensemble.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/learner_ensemble.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":"4d00f84289106bb4"}},{"code_sha256_prefix":"2975a2bfd3baa586","entry":"print_configuration","repo":"ZaydH/certified-regression","repo_kind":"official","path":"src/bound/_config.py","file_url":"https://github.com/ZaydH/certified-regression/blob/HEAD/src/bound/_config.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":"2975a2bfd3baa586"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}