{"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/machine-unlearning-of-features-and-labels","title":"Machine Unlearning of Features and Labels","arxiv_id":"2108.11577","date":"2021-08-26","proceeding":null,"authors":["Alexander Warnecke","Lukas Pirch","Christian Wressnegger","Konrad Rieck"],"abstract":"Removing information from a machine learning model is a non-trivial task that requires to partially revert the training process. This task is unavoidable when sensitive data, such as credit card numbers or passwords, accidentally enter the model and need to be removed afterwards. Recently, different concepts for machine unlearning have been proposed to address this problem. While these approaches are effective in removing individual data points, they do not scale to scenarios where larger groups of features and labels need to be reverted. In this paper, we propose the first method for unlearning features and labels. Our approach builds on the concept of influence functions and realizes unlearning through closed-form updates of model parameters. It enables to adapt the influence of training data on a learning model retrospectively, thereby correcting data leaks and privacy issues. For learning models with strongly convex loss functions, our method provides certified unlearning with theoretical guarantees. For models with non-convex losses, we empirically show that unlearning features and labels is effective and significantly faster than other strategies.","url_abs":"https://arxiv.org/abs/2108.11577v4","url_pdf":"https://arxiv.org/pdf/2108.11577v4.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":"machine-unlearning-of-features-and-labels","repo_url":"https://github.com/alewarne/machineunlearning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"machine-unlearning","task_name":"Machine Unlearning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2108.11577","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2108.11577"}},"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/alewarne/machineunlearning","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"unverified":9},"by_repo_kind":{"official":{"samples":10,"ran":1,"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":"188b8fe064496487","entry":"lr_schedule","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Unlearner/DNNUnlearner.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Unlearner/DNNUnlearner.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"188b8fe064496487"}},{"code_sha256_prefix":"ee67d0762eb1c528","entry":"aggregate_predictions","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Unlearner/ensemble.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Unlearner/ensemble.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":"ee67d0762eb1c528"}},{"code_sha256_prefix":"b07fd78abeef26c0","entry":"batch_pred","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Unlearner/DNNUnlearner.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Unlearner/DNNUnlearner.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":"b07fd78abeef26c0"}},{"code_sha256_prefix":"180d75c9626920c4","entry":"get_VGG_CIFAR10","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Applications/Poisoning/model.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Applications/Poisoning/model.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":"180d75c9626920c4"}},{"code_sha256_prefix":"94124353286e1dea","entry":"get_words","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Applications/CanaryRemoval/AlicePreprocessing.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Applications/CanaryRemoval/AlicePreprocessing.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":"94124353286e1dea"}},{"code_sha256_prefix":"24f59c736bc2c697","entry":"insert_canary","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Applications/CanaryRemoval/AlicePreprocessing.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Applications/CanaryRemoval/AlicePreprocessing.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":"24f59c736bc2c697"}},{"code_sha256_prefix":"922646c9e1b8a709","entry":"load_data","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Applications/CanaryRemoval/AlicePreprocessing.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Applications/CanaryRemoval/AlicePreprocessing.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":"922646c9e1b8a709"}},{"code_sha256_prefix":"b0d0b20f29743cef","entry":"load_ensemble","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Unlearner/ensemble.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Unlearner/ensemble.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":"b0d0b20f29743cef"}},{"code_sha256_prefix":"7d26ef924b7fb2f7","entry":"reduce_dataset","repo":"alewarne/machineunlearning","repo_kind":"official","path":"util.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/util.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":"7d26ef924b7fb2f7"}},{"code_sha256_prefix":"d0d8549e3db234f8","entry":"softmax","repo":"alewarne/machineunlearning","repo_kind":"official","path":"Unlearner/ensemble.py","file_url":"https://github.com/alewarne/machineunlearning/blob/HEAD/Unlearner/ensemble.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":"d0d8549e3db234f8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}