{"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/class-based-influence-functions-for-error","title":"Class based Influence Functions for Error Detection","arxiv_id":"2305.01384","date":"2023-05-02","proceeding":null,"authors":["Thang Nguyen-Duc","Hoang Thanh-Tung","Quan Hung Tran","Dang Huu-Tien","Hieu Ngoc Nguyen","Anh T. V. Dau","Nghi D. Q. Bui"],"abstract":"Influence functions (IFs) are a powerful tool for detecting anomalous examples in large scale datasets. However, they are unstable when applied to deep networks. In this paper, we provide an explanation for the instability of IFs and develop a solution to this problem. We show that IFs are unreliable when the two data points belong to two different classes. Our solution leverages class information to improve the stability of IFs. Extensive experiments show that our modification significantly improves the performance and stability of IFs while incurring no additional computational cost.","url_abs":"https://arxiv.org/abs/2305.01384v1","url_pdf":"https://arxiv.org/pdf/2305.01384v1.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":"class-based-influence-functions-for-error","repo_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2305.01384","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.01384"}},"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/Fsoft-AIC/Class-Based-Influence-Functions","reach":null},{"provenance":"deterministic:regex_extraction","url":"https://github.com/clonebench/BigCloneBench","reach":{"status":"ok"}}],"summary":{"ran_honours":2,"ran_draft_wrong":1,"unverified":3},"by_repo_kind":{"official":{"samples":6,"ran":3,"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":"a2c1e36ee81e372f","entry":"IF","repo":"Fsoft-AIC/Class-Based-Influence-Functions","repo_kind":"official","path":"influencer/IF.py","file_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions/blob/HEAD/influencer/IF.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a2c1e36ee81e372f"}},{"code_sha256_prefix":"a58b6792cd8478ec","entry":"exact_hessian","repo":"Fsoft-AIC/Class-Based-Influence-Functions","repo_kind":"official","path":"influencer/IF.py","file_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions/blob/HEAD/influencer/IF.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a58b6792cd8478ec"}},{"code_sha256_prefix":"784eafbc7603a144","entry":"hvp","repo":"Fsoft-AIC/Class-Based-Influence-Functions","repo_kind":"official","path":"influencer/IF.py","file_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions/blob/HEAD/influencer/IF.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"784eafbc7603a144"}},{"code_sha256_prefix":"a7ebbcf617c212b4","entry":"build_stest","repo":"Fsoft-AIC/Class-Based-Influence-Functions","repo_kind":"official","path":"influencer/IF.py","file_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions/blob/HEAD/influencer/IF.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":"a7ebbcf617c212b4"}},{"code_sha256_prefix":"47d46fc1438d3331","entry":"grad_z","repo":"Fsoft-AIC/Class-Based-Influence-Functions","repo_kind":"official","path":"influencer/IF.py","file_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions/blob/HEAD/influencer/IF.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":"47d46fc1438d3331"}},{"code_sha256_prefix":"a972b3691a74c1c1","entry":"s_test","repo":"Fsoft-AIC/Class-Based-Influence-Functions","repo_kind":"official","path":"influencer/IF.py","file_url":"https://github.com/Fsoft-AIC/Class-Based-Influence-Functions/blob/HEAD/influencer/IF.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":"a972b3691a74c1c1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}