{"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-00929","title":"PhaseNet++: Phase-Aware Frequency-Domain Anomaly Detection for Industrial Control Systems via Phase Coherence Graphs","arxiv_id":"2605.00929","date":"2026-04-30","proceeding":null,"authors":["Raviteja Bommireddy","Varshith Bandaru","Lohith Pakala","Pradeep Kumar B"],"abstract":"Multivariate time series anomaly detection in ICS has attracted growing attention due to the increasing threat of cyber-physical attacks on critical infrastructure. State-of-the-art methods model inter-sensor relationships from raw time-domain amplitude values, using graph neural networks, Transformers. However, these methods discard the phase spectrum produced by time frequency transformations, We argue that phase information constitutes a complementary and previously overlooked detection modality for ICS anomaly detection. We present PhaseNet++, a frequency-domain autoencoder that operates on the Short-Time Fourier Transform (STFT) of sliding sensor windows, retaining both magnitude and phase spectra. A Phase Coherence Index (PCI), inspired by the Phase Locking Value from neuroscience, summarizes pairwise phase consistency across frequency bins into a continuous adjacency matrix. This matrix guides a graph attention network that propagates information preferentially among phase-synchronized sensors. A sensor-token Transformer encoder captures system-wide structure, and a dual-head decoder reconstructs magnitude and phase jointly via circular and coherence-aware objectives. Evaluated on the Secure Water Treatment (SWaT) benchmark, PhaseNet++ achieves an F1-score of 90.98%, ROC-AUC of 95.66%, and average precision of 91.51%. Ablation studies show that the phase-aware front-end and PCI graph module together add only 264,816 parameters, demonstrating that the phase inductive bias is lightweight. While the absolute F1-score is second best than that of all recent raw-value methods evaluated under different protocols, we position this work as the first systematic study of phase-domain anomaly detection for ICS.","url_abs":"https://arxiv.org/abs/2605.00929","url_pdf":"https://arxiv.org/pdf/2605.00929","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":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2605.00929","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.00929"}},"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/raviteja-bommireddy/PhaseNet","reach":null}],"summary":{"ran":6,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":7,"ran":6,"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":"3630e69fa0426441","entry":"DualHeadDecoder","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3630e69fa0426441"}},{"code_sha256_prefix":"3d62167cc1d927ed","entry":"GATLayer","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3d62167cc1d927ed"}},{"code_sha256_prefix":"43a6ba7c159ef913","entry":"PhaseCoherenceGAT","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"43a6ba7c159ef913"}},{"code_sha256_prefix":"66dd29c51076ad1c","entry":"PositionalEncoding","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"66dd29c51076ad1c"}},{"code_sha256_prefix":"98c9b99d5a2f057a","entry":"TemporalTransformerEncoder","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"98c9b99d5a2f057a"}},{"code_sha256_prefix":"2ae555b550024d90","entry":"TimeFrequencyEmbedding","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2ae555b550024d90"}},{"code_sha256_prefix":"3abcdbeda780c3e2","entry":"PhaseNetPP","repo":"raviteja-bommireddy/PhaseNet","repo_kind":"found_in_text","path":"IS_Project/model/phasenet.py","file_url":"https://github.com/raviteja-bommireddy/PhaseNet/blob/HEAD/IS_Project/model/phasenet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3abcdbeda780c3e2"}}]},"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}