{"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/deep-learning-for-time-series-anomaly","title":"Deep Learning for Time Series Anomaly Detection: A Survey","arxiv_id":"2211.05244","date":"2022-11-09","proceeding":null,"authors":["Zahra Zamanzadeh Darban","Geoffrey I. Webb","Shirui Pan","Charu C. Aggarwal","Mahsa Salehi"],"abstract":"Time series anomaly detection has applications in a wide range of research fields and applications, including manufacturing and healthcare. The presence of anomalies can indicate novel or unexpected events, such as production faults, system defects, or heart fluttering, and is therefore of particular interest. The large size and complex patterns of time series have led researchers to develop specialised deep learning models for detecting anomalous patterns. This survey focuses on providing structured and comprehensive state-of-the-art time series anomaly detection models through the use of deep learning. It providing a taxonomy based on the factors that divide anomaly detection models into different categories. Aside from describing the basic anomaly detection technique for each category, the advantages and limitations are also discussed. Furthermore, this study includes examples of deep anomaly detection in time series across various application domains in recent years. It finally summarises open issues in research and challenges faced while adopting deep anomaly detection models.","url_abs":"https://arxiv.org/abs/2211.05244v3","url_pdf":"https://arxiv.org/pdf/2211.05244v3.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":"deep-learning-for-time-series-anomaly","repo_url":"https://github.com/zamanzadeh/ts-anomaly-benchmark","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"deep-learning-for-time-series-anomaly","repo_url":"https://github.com/zamanzadeh/CARLA","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"deep-learning","task_name":"Deep Learning"},{"task_slug":"survey","task_name":"Survey"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series","task_name":"Time Series Analysis"},{"task_slug":"time-series-anomaly-detection","task_name":"Time Series Anomaly Detection"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2211.05244","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2211.05244"}},"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/zamanzadeh/CARLA","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/zamanzadeh/ts-anomaly-benchmark","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":15},"by_repo_kind":{"listed":{"samples":15,"ran":0,"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":"204eecd5442fec4b","entry":"Cardinality_factor","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/customizable_f1_score.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/customizable_f1_score.py","link_basis":"harvester_set","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":"204eecd5442fec4b"}},{"code_sha256_prefix":"c7844877b6080f89","entry":"MCC","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/Matthews_correlation_coefficient.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/Matthews_correlation_coefficient.py","link_basis":"harvester_set","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":"c7844877b6080f89"}},{"code_sha256_prefix":"72227c9ceee20b79","entry":"TPR_FPR_RangeAUC","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/AUC.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/AUC.py","link_basis":"harvester_set","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":"72227c9ceee20b79"}},{"code_sha256_prefix":"4f4f0c874a98488b","entry":"b","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/customizable_f1_score.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/customizable_f1_score.py","link_basis":"harvester_set","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":"4f4f0c874a98488b"}},{"code_sha256_prefix":"e1a3c4d15be8ec0d","entry":"conv1d_same_padding","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"models/resent_time.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/models/resent_time.py","link_basis":"harvester_set","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":"e1a3c4d15be8ec0d"}},{"code_sha256_prefix":"60021cab8043955f","entry":"entropy","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"losses/losses.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/losses/losses.py","link_basis":"harvester_set","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":"60021cab8043955f"}},{"code_sha256_prefix":"4b4809c6444af89d","entry":"find_length","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/evaluate_utils.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/evaluate_utils.py","link_basis":"harvester_set","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":"4b4809c6444af89d"}},{"code_sha256_prefix":"439b04bd3a701798","entry":"get_adjust_F1PA","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/f1_score_f1_pa.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/f1_score_f1_pa.py","link_basis":"harvester_set","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":"439b04bd3a701798"}},{"code_sha256_prefix":"2f49d54436bba905","entry":"get_composite_fscore_from_scores","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/evaluate_utils.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/evaluate_utils.py","link_basis":"harvester_set","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":"2f49d54436bba905"}},{"code_sha256_prefix":"e502994132826dab","entry":"get_composite_fscore_raw","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/fc_score.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/fc_score.py","link_basis":"harvester_set","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":"e502994132826dab"}},{"code_sha256_prefix":"610db93185f89e22","entry":"get_events","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/fc_score.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/fc_score.py","link_basis":"harvester_set","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":"610db93185f89e22"}},{"code_sha256_prefix":"a3fe85840442944f","entry":"get_point_adjust_scores","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/f1_score_f1_pa.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/f1_score_f1_pa.py","link_basis":"harvester_set","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":"a3fe85840442944f"}},{"code_sha256_prefix":"f680da2eda2de769","entry":"get_prec_rec_fscore","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/f1_score_f1_pa.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/f1_score_f1_pa.py","link_basis":"harvester_set","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":"f680da2eda2de769"}},{"code_sha256_prefix":"74e8e2a67dc9e50e","entry":"range_convers_new","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/evaluate_utils.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/evaluate_utils.py","link_basis":"harvester_set","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":"74e8e2a67dc9e50e"}},{"code_sha256_prefix":"8819fedccafcbc6c","entry":"w","repo":"zamanzadeh/CARLA","repo_kind":"listed","path":"metrics/customizable_f1_score.py","file_url":"https://github.com/zamanzadeh/CARLA/blob/HEAD/metrics/customizable_f1_score.py","link_basis":"harvester_set","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":"8819fedccafcbc6c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}