{"about":{"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.","site":"https://codewithpapers.app","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","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/explainable-anomaly-detection-using-masked","title":"Explainable Time Series Anomaly Detection using Masked Latent Generative Modeling","arxiv_id":"2311.12550","date":"2023-11-21","proceeding":null,"authors":["Daesoo Lee","Sara Malacarne","Erlend Aune"],"abstract":"We present a novel time series anomaly detection method that achieves excellent detection accuracy while offering a superior level of explainability. Our proposed method, TimeVQVAE-AD, leverages masked generative modeling adapted from the cutting-edge time series generation method known as TimeVQVAE. The prior model is trained on the discrete latent space of a time-frequency domain. Notably, the dimensional semantics of the time-frequency domain are preserved in the latent space, enabling us to compute anomaly scores across different frequency bands, which provides a better insight into the detected anomalies. Additionally, the generative nature of the prior model allows for sampling likely normal states for detected anomalies, enhancing the explainability of the detected anomalies through counterfactuals. Our experimental evaluation on the UCR Time Series Anomaly archive demonstrates that TimeVQVAE-AD significantly surpasses the existing methods in terms of detection accuracy and explainability. We provide our implementation on GitHub: https://github.com/ML4ITS/TimeVQVAE-AnomalyDetection.","url_abs":"https://arxiv.org/abs/2311.12550v5","url_pdf":"https://arxiv.org/pdf/2311.12550v5.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":"explainable-anomaly-detection-using-masked","repo_url":"https://github.com/ml4its/timevqvae-anomalydetection","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"time-series-1","task_name":"Time Series"},{"task_slug":"time-series-anomaly-detection","task_name":"Time Series Anomaly Detection"},{"task_slug":"time-series-generation","task_name":"Time Series Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"TimeVQVAE-AD","rank_in_archive_order":1,"of":16,"metrics":{"accuracy":"0.708"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"Matrix Profile STUMPY","rank_in_archive_order":2,"of":16,"metrics":{"accuracy":"0.512"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"MDI","rank_in_archive_order":3,"of":16,"metrics":{"accuracy":"0.47"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"Matrix Profile SCRIMP","rank_in_archive_order":4,"of":16,"metrics":{"accuracy":"0.416"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"RCF","rank_in_archive_order":5,"of":16,"metrics":{"accuracy":"0.387"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"IF","rank_in_archive_order":6,"of":16,"metrics":{"accuracy":"0.376"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"Convolutional AE","rank_in_archive_order":7,"of":16,"metrics":{"accuracy":"0.352"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"SR-CNN","rank_in_archive_order":8,"of":16,"metrics":{"accuracy":"0.3"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"USAD","rank_in_archive_order":9,"of":16,"metrics":{"accuracy":"0.276"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"AE","rank_in_archive_order":10,"of":16,"metrics":{"accuracy":"0.236"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"LSTM-VAE","rank_in_archive_order":11,"of":16,"metrics":{"accuracy":"0.198"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"TranAD","rank_in_archive_order":12,"of":16,"metrics":{"accuracy":"0.19"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"OC-SVM","rank_in_archive_order":13,"of":16,"metrics":{"accuracy":"0.088"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"Deep SVDD","rank_in_archive_order":14,"of":16,"metrics":{"accuracy":"0.076"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"DAGMM","rank_in_archive_order":15,"of":16,"metrics":{"accuracy":"0.061"},"uses_additional_data":false},{"leaderboard":"/sota/time-series-anomaly-detection-on-ucr-anomaly","task":"Time Series Anomaly Detection","dataset":"UCR Anomaly Archive","model":"TS-TCC-AD","rank_in_archive_order":16,"of":16,"metrics":{"accuracy":"0.006"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers","held":null,"reason":"arxiv_id_not_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"by_repo":[{"repo":"ml4its/timevqvae-anomalydetection","kind":"official","samples":0,"ran":0,"instrument":0,"unverified":0}],"by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"096694295bb0761c9ca62da9b6fd0d4cd1686a66aa56e373127dced08acf31e1","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}