{"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-2605-26068","title":"Rethinking Weak Supervision in Anomaly Detection: A Comprehensive Benchmark","arxiv_id":"2605.26068","date":"2026-05-25","proceeding":null,"authors":["Xu Yao","Siyuan Zhou","Zhenbo Wu","Chaochuan Hou","Shuang Liang","Shiping Wang","Hailiang Huang","Songqiao Han","Minqi Jiang"],"abstract":"Weakly supervised anomaly detection (WSAD) has developed in three primary directions: incomplete, inexact, and inaccurate supervision. However, these directions remain isolated, lacking a unified framework to assess whether they address unique challenges or share fundamental mechanisms. This paper introduces WSADBench, the first benchmark that unifies evaluation across distinct weakly supervised scenarios, benchmarking diverse approaches from specialized WSAD methods to advanced tabular foundation models. WSADBench establishes standardized protocols to evaluate 36 algorithms across 4 modalities by systematically varying label quantity, granularity, and quality, revealing the performance boundaries of various methods. Based on over 700K experiments, WSADBench reveals four critical insights: (i) Strong intrinsic correlations exist between these weak supervision scenarios, challenging the isolation of current research directions. (ii) Specialized WSAD algorithms excel only in extreme label-scarcity regimes but are quickly dominated by tabular foundation models and general classification methods as supervision increases or in OOD scenarios. (iii) Unlabeled data shows inconsistent utility across settings, with marginal gains compared to label refinement. (iv) Models exhibit asymmetric sensitivity to different types of label noise. We release WSADBench as an open-source benchmark with code and datasets to facilitate future WSAD research: https://github.com/SUFE-AILAB/WSADBench.","url_abs":"https://arxiv.org/abs/2605.26068","url_pdf":"https://arxiv.org/pdf/2605.26068","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=2605.26068","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.26068"}},"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/SUFE-AILAB/WSADBench","reach":null}],"summary":{"ran":9,"ran_violates":1,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":13,"ran":10,"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":"4f9e5a396cc088e8","entry":"count_parameters","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/ARNet/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/ARNet/model.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":"4f9e5a396cc088e8"}},{"code_sha256_prefix":"af7b885a070f3d02","entry":"create_bags","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/build_bags.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/build_bags.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":"af7b885a070f3d02"}},{"code_sha256_prefix":"47f390b96dcfa119","entry":"cross_entropy","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/ARNet/fit.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/ARNet/fit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"47f390b96dcfa119"}},{"code_sha256_prefix":"aa5486a3650902d8","entry":"exists","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/MGFN/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/MGFN/model.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aa5486a3650902d8"}},{"code_sha256_prefix":"09a0f794fc3da1fe","entry":"get_auc","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/DualMGAN/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/DualMGAN/model.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":"09a0f794fc3da1fe"}},{"code_sha256_prefix":"4ef8e6819a534a3d","entry":"get_vars","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/ARNet/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/ARNet/model.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":"4ef8e6819a534a3d"}},{"code_sha256_prefix":"9bc9a69061f008ad","entry":"hinger_loss","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/ARNet/fit.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/ARNet/fit.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9bc9a69061f008ad"}},{"code_sha256_prefix":"428a295d6688c7c9","entry":"import_class","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/myutils.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/myutils.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":"428a295d6688c7c9"}},{"code_sha256_prefix":"46d6b5b4d4588e96","entry":"new_feature","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/MGFN/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/MGFN/model.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":"46d6b5b4d4588e96"}},{"code_sha256_prefix":"9e677983aa638e87","entry":"train_discriminator","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/DualMGAN/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/DualMGAN/model.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":"9e677983aa638e87"}},{"code_sha256_prefix":"0c739923a1fa33ca","entry":"KMXMILL_individual","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/ARNet/fit.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/ARNet/fit.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":"0c739923a1fa33ca"}},{"code_sha256_prefix":"d82550e8f4e38ef6","entry":"get_score","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/DualMGAN/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/DualMGAN/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":"d82550e8f4e38ef6"}},{"code_sha256_prefix":"0bab4cc76b0f6c5c","entry":"model_generater","repo":"SUFE-AILAB/WSADBench","repo_kind":"found_in_text","path":"WSADBench/baseline/ARNet/model.py","file_url":"https://github.com/SUFE-AILAB/WSADBench/blob/HEAD/WSADBench/baseline/ARNet/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":"0bab4cc76b0f6c5c"}}]},"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_2026.jsonl"},"syntology_extracted_results":null}