{"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/catch-channel-aware-multivariate-time-series","title":"CATCH: Channel-Aware multivariate Time Series Anomaly Detection via Frequency Patching","arxiv_id":"2410.12261","date":"2024-10-16","proceeding":null,"authors":["Xingjian Wu","Xiangfei Qiu","Zhengyu Li","Yihang Wang","Jilin Hu","Chenjuan Guo","Hui Xiong","Bin Yang"],"abstract":"Anomaly detection in multivariate time series is challenging as heterogeneous subsequence anomalies may occur. Reconstruction-based methods, which focus on learning normal patterns in the frequency domain to detect diverse abnormal subsequences, achieve promising results, while still falling short on capturing fine-grained frequency characteristics and channel correlations. To contend with the limitations, we introduce CATCH, a framework based on frequency patching. We propose to patchify the frequency domain into frequency bands, which enhances its ability to capture fine-grained frequency characteristics. To perceive appropriate channel correlations, we propose a Channel Fusion Module (CFM), which features a patch-wise mask generator and a masked-attention mechanism. Driven by a bi-level multi-objective optimization algorithm, the CFM is encouraged to iteratively discover appropriate patch-wise channel correlations, and to cluster relevant channels while isolating adverse effects from irrelevant channels. Extensive experiments on 10 real-world datasets and 12 synthetic datasets demonstrate that CATCH achieves state-of-the-art performance. We make our code and datasets available at https://github.com/decisionintelligence/CATCH.","url_abs":"https://arxiv.org/abs/2410.12261v4","url_pdf":"https://arxiv.org/pdf/2410.12261v4.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":"catch-channel-aware-multivariate-time-series","repo_url":"https://github.com/decisionintelligence/catch","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"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"}],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.12261","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.12261"}},"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":"deterministic:regex_extraction","url":"https://github.com/decisionintelligence/CATCH","reach":{"status":"ok"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/datamllab/tods","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/decisionintelligence/catch","reach":{"status":"ok"}}],"summary":{"ran":7,"ran_fixture":2,"ran_draft_wrong":2,"unverified":8},"by_repo_kind":{"official":{"samples":19,"ran":11,"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":19,"samples":[{"code_sha256_prefix":"8a77b8600e54d5f7","entry":"FeedForward","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8a77b8600e54d5f7"}},{"code_sha256_prefix":"fce9a4ebde3e8479","entry":"Flatten_Head","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fce9a4ebde3e8479"}},{"code_sha256_prefix":"1a19c5d300e601bb","entry":"RevIN","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1a19c5d300e601bb"}},{"code_sha256_prefix":"fa0e6295192c0e87","entry":"StandardScaler","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fa0e6295192c0e87"}},{"code_sha256_prefix":"5287b7814c56db5c","entry":"TransformerConfig","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5287b7814c56db5c"}},{"code_sha256_prefix":"c1b8e3c1759a1747","entry":"anomaly_detection_data_provider","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c1b8e3c1759a1747"}},{"code_sha256_prefix":"f16a5d06e1bdbef4","entry":"channel_mask_generator","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f16a5d06e1bdbef4"}},{"code_sha256_prefix":"a5763cadde827d5a","entry":"frequency_criterion","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a5763cadde827d5a"}},{"code_sha256_prefix":"2872bca9fddbab2b","entry":"frequency_loss","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2872bca9fddbab2b"}},{"code_sha256_prefix":"b991f3f86cbfa63d","entry":"split_before","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b991f3f86cbfa63d"}},{"code_sha256_prefix":"a59a0451698b9bad","entry":"train_val_split","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a59a0451698b9bad"}},{"code_sha256_prefix":"3219c388e4817c75","entry":"CATCH","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3219c388e4817c75"}},{"code_sha256_prefix":"8b22d38fa582a02f","entry":"CATCHModel","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8b22d38fa582a02f"}},{"code_sha256_prefix":"e1d93133fa73f150","entry":"EarlyStopping","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e1d93133fa73f150"}},{"code_sha256_prefix":"b147563c2741119d","entry":"SegLoader","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b147563c2741119d"}},{"code_sha256_prefix":"ef53bd7e9735abef","entry":"Trans_C","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ef53bd7e9735abef"}},{"code_sha256_prefix":"3f0a51a08ce2a641","entry":"adjust_learning_rate","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3f0a51a08ce2a641"}},{"code_sha256_prefix":"30568d39fcfa70fa","entry":"c_Attention","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"30568d39fcfa70fa"}},{"code_sha256_prefix":"e61c807014781f8c","entry":"c_Transformer","repo":"decisionintelligence/catch","repo_kind":"official","path":"ts_benchmark/baselines/catch/CATCH.py","file_url":"https://github.com/decisionintelligence/catch/blob/HEAD/ts_benchmark/baselines/catch/CATCH.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e61c807014781f8c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}