{"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/classification-based-anomaly-detection-for-1","title":"Classification-Based Anomaly Detection for General Data","arxiv_id":"2005.02359","date":"2020-05-05","proceeding":"ICLR 2020 1","authors":["Liron Bergman","Yedid Hoshen"],"abstract":"Anomaly detection, finding patterns that substantially deviate from those seen previously, is one of the fundamental problems of artificial intelligence. Recently, classification-based methods were shown to achieve superior results on this task. In this work, we present a unifying view and propose an open-set method, GOAD, to relax current generalization assumptions. Furthermore, we extend the applicability of transformation-based methods to non-image data using random affine transformations. Our method is shown to obtain state-of-the-art accuracy and is applicable to broad data types. The strong performance of our method is extensively validated on multiple datasets from different domains.","url_abs":"https://arxiv.org/abs/2005.02359v1","url_pdf":"https://arxiv.org/pdf/2005.02359v1.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":"classification-based-anomaly-detection-for-1","repo_url":"https://github.com/lironber/GOAD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null},{"paper_slug":"classification-based-anomaly-detection-for-1","repo_url":"https://github.com/xuhongzuo/DeepOD","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"classification-1","task_name":"Classification"},{"task_slug":"classification","task_name":"General Classification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/anomaly-detection-on-anomaly-detection-on-2","task":"Anomaly Detection","dataset":"Anomaly Detection on Anomaly Detection on Unlabeled ImageNet-30 vs Flowers-102","model":"GOAD","rank_in_archive_order":4,"of":5,"metrics":{"Network":"ResNet-18","ROC-AUC":"92.8"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-anomaly-detection-on","task":"Anomaly Detection","dataset":"Anomaly Detection on Unlabeled CIFAR-10 vs LSUN (Fix)","model":"GOAD","rank_in_archive_order":8,"of":8,"metrics":{"Network":"ResNet-18","ROC-AUC":"78.8"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-anomaly-detection-on-1","task":"Anomaly Detection","dataset":"Anomaly Detection on Unlabeled ImageNet-30 vs CUB-200","model":"GOAD","rank_in_archive_order":3,"of":5,"metrics":{"Network":"ResNet-18","ROC-AUC":"90.5"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-one-class-cifar-10","task":"Anomaly Detection","dataset":"One-class CIFAR-10","model":"GOAD","rank_in_archive_order":22,"of":36,"metrics":{"AUROC":"88.2"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-uea-time-series-datasets","task":"Anomaly Detection","dataset":"UEA time-series datasets","model":"GOAD","rank_in_archive_order":2,"of":3,"metrics":{"Avg. ROC-AUC":"87.2"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-unlabeled-cifar-10-vs","task":"Anomaly Detection","dataset":"Unlabeled CIFAR-10 vs CIFAR-100","model":"GOAD","rank_in_archive_order":8,"of":13,"metrics":{"AUROC":"89.2","Network":"ResNet-18"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2005.02359","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2005.02359"}},"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/lironber/GOAD","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xuhongzuo/DeepOD","reach":null}],"summary":{"ran":5,"unverified":5},"by_repo_kind":{"listed":{"samples":10,"ran":5,"repositories":2}},"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":4,"samples":[{"code_sha256_prefix":"cf4931227198dd5e","entry":"BasicBlock","repo":"lironber/GOAD","repo_kind":"listed","path":"opt_tc.py","file_url":"https://github.com/lironber/GOAD/blob/HEAD/opt_tc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cf4931227198dd5e"}},{"code_sha256_prefix":"51a1f05a69ec1e74","entry":"ConvNet","repo":"xuhongzuo/DeepOD","repo_kind":"listed","path":"deepod/models/tabular/goad.py","file_url":"https://github.com/xuhongzuo/DeepOD/blob/HEAD/deepod/models/tabular/goad.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"51a1f05a69ec1e74"}},{"code_sha256_prefix":"4b1b91ea3ab31366","entry":"GoadNet","repo":"xuhongzuo/DeepOD","repo_kind":"listed","path":"deepod/models/tabular/goad.py","file_url":"https://github.com/xuhongzuo/DeepOD/blob/HEAD/deepod/models/tabular/goad.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"4b1b91ea3ab31366"}},{"code_sha256_prefix":"ce56fb1d9e246c60","entry":"TransClassifier","repo":"lironber/GOAD","repo_kind":"listed","path":"opt_tc.py","file_url":"https://github.com/lironber/GOAD/blob/HEAD/opt_tc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ce56fb1d9e246c60"}},{"code_sha256_prefix":"e078996c88b6841f","entry":"WideResNet","repo":"lironber/GOAD","repo_kind":"listed","path":"opt_tc.py","file_url":"https://github.com/lironber/GOAD/blob/HEAD/opt_tc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e078996c88b6841f"}},{"code_sha256_prefix":"50858634cfdf1e31","entry":"BaseDeepAD","repo":"xuhongzuo/DeepOD","repo_kind":"listed","path":"deepod/models/tabular/goad.py","file_url":"https://github.com/xuhongzuo/DeepOD/blob/HEAD/deepod/models/tabular/goad.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"50858634cfdf1e31"}},{"code_sha256_prefix":"a3682ac4cb5c81da","entry":"GOAD","repo":"xuhongzuo/DeepOD","repo_kind":"listed","path":"deepod/models/tabular/goad.py","file_url":"https://github.com/xuhongzuo/DeepOD/blob/HEAD/deepod/models/tabular/goad.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"a3682ac4cb5c81da"}},{"code_sha256_prefix":"6e0c09bc42f6e2c2","entry":"GoadLoss","repo":"xuhongzuo/DeepOD","repo_kind":"listed","path":"deepod/models/tabular/goad.py","file_url":"https://github.com/xuhongzuo/DeepOD/blob/HEAD/deepod/models/tabular/goad.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"6e0c09bc42f6e2c2"}},{"code_sha256_prefix":"145b6369ec05d217","entry":"tc_loss","repo":"lironber/GOAD","repo_kind":"listed","path":"opt_tc.py","file_url":"https://github.com/lironber/GOAD/blob/HEAD/opt_tc.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"145b6369ec05d217"}},{"code_sha256_prefix":"058e8db0c4bedef9","entry":"weights_init","repo":"xuhongzuo/DeepOD","repo_kind":"listed","path":"deepod/models/tabular/goad.py","file_url":"https://github.com/xuhongzuo/DeepOD/blob/HEAD/deepod/models/tabular/goad.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"BSD-2-Clause","inline_ok":true,"mcp_get_code":{"code_sha256":"058e8db0c4bedef9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}