{"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/detection-and-defense-of-unlearnable-examples","title":"Detection and Defense of Unlearnable Examples","arxiv_id":"2312.08898","date":"2023-12-14","proceeding":null,"authors":["Yifan Zhu","Lijia Yu","Xiao-Shan Gao"],"abstract":"Privacy preserving has become increasingly critical with the emergence of social media. Unlearnable examples have been proposed to avoid leaking personal information on the Internet by degrading generalization abilities of deep learning models. However, our study reveals that unlearnable examples are easily detectable. We provide theoretical results on linear separability of certain unlearnable poisoned dataset and simple network based detection methods that can identify all existing unlearnable examples, as demonstrated by extensive experiments. Detectability of unlearnable examples with simple networks motivates us to design a novel defense method. We propose using stronger data augmentations coupled with adversarial noises generated by simple networks, to degrade the detectability and thus provide effective defense against unlearnable examples with a lower cost. Adversarial training with large budgets is a widely-used defense method on unlearnable examples. We establish quantitative criteria between the poison and adversarial budgets which determine the existence of robust unlearnable examples or the failure of the adversarial defense.","url_abs":"https://arxiv.org/abs/2312.08898v1","url_pdf":"https://arxiv.org/pdf/2312.08898v1.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":"detection-and-defense-of-unlearnable-examples","repo_url":"https://github.com/hala64/udp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"adversarial-defense","task_name":"Adversarial Defense"},{"task_slug":"privacy-preserving","task_name":"Privacy Preserving"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2312.08898","atlas_url":"https://app.syntology.ai/?focus=2312.08898","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2312.08898"}},"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/hala64/udp","reach":{"status":"ok"}}],"summary":{"ran":12,"ran_violates":1},"by_repo_kind":{"official":{"samples":13,"ran":13,"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":13,"samples":[{"code_sha256_prefix":"37c74b4545ee35da","entry":"ResNet18","repo":"hala64/udp","repo_kind":"official","path":"model/ResNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/ResNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"37c74b4545ee35da"}},{"code_sha256_prefix":"ea4d8c8416d65342","entry":"ResNet34","repo":"hala64/udp","repo_kind":"official","path":"model/ResNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/ResNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ea4d8c8416d65342"}},{"code_sha256_prefix":"62216972e66a33ed","entry":"ResNet50","repo":"hala64/udp","repo_kind":"official","path":"model/ResNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/ResNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"62216972e66a33ed"}},{"code_sha256_prefix":"c7c06436df36a3ae","entry":"densenet121","repo":"hala64/udp","repo_kind":"official","path":"model/DenseNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/DenseNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c7c06436df36a3ae"}},{"code_sha256_prefix":"bc753ec83b73816f","entry":"densenet161","repo":"hala64/udp","repo_kind":"official","path":"model/DenseNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/DenseNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bc753ec83b73816f"}},{"code_sha256_prefix":"d7662a601619c28b","entry":"densenet169","repo":"hala64/udp","repo_kind":"official","path":"model/DenseNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/DenseNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d7662a601619c28b"}},{"code_sha256_prefix":"ac62432dc5134b0d","entry":"make_layers","repo":"hala64/udp","repo_kind":"official","path":"model/VGG.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/VGG.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ac62432dc5134b0d"}},{"code_sha256_prefix":"6ba8cee9f5daea41","entry":"pair","repo":"hala64/udp","repo_kind":"official","path":"model/ViT.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/ViT.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6ba8cee9f5daea41"}},{"code_sha256_prefix":"b80513d0b26003c2","entry":"preact_resnet18","repo":"hala64/udp","repo_kind":"official","path":"model/PreActResNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/PreActResNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b80513d0b26003c2"}},{"code_sha256_prefix":"b96d136d1be2403f","entry":"preact_resnet34","repo":"hala64/udp","repo_kind":"official","path":"model/PreActResNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/PreActResNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b96d136d1be2403f"}},{"code_sha256_prefix":"97a214ee8e3844ab","entry":"preact_resnet50","repo":"hala64/udp","repo_kind":"official","path":"model/PreActResNet.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/PreActResNet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"97a214ee8e3844ab"}},{"code_sha256_prefix":"0d8c3ebdac2fd8c9","entry":"vgg11","repo":"hala64/udp","repo_kind":"official","path":"model/VGG.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/VGG.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0d8c3ebdac2fd8c9"}},{"code_sha256_prefix":"2b1f218ccb1f2dd2","entry":"vgg11_bn","repo":"hala64/udp","repo_kind":"official","path":"model/VGG.py","file_url":"https://github.com/hala64/udp/blob/HEAD/model/VGG.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2b1f218ccb1f2dd2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}