{"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-2602-04917","title":"Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams","arxiv_id":"2602.04917","date":"2026-02-04","proceeding":null,"authors":["Soshi Kakio","Yasuko Matsubara","Ren Fujiwara","Yasushi Sakurai"],"abstract":"Analysis and anomaly detection in event tensor streams consisting of timestamps and multiple attributes - such as communication logs(time, IP address, packet length)- are essential tasks in data mining. While existing tensor decomposition and anomaly detection methods provide useful insights, they face the following two limitations. (i) They cannot handle heterogeneous tensor streams, which comprises both categorical attributes(e.g., IP address) and continuous attributes(e.g., packet length). They typically require either discretizing continuous attributes or treating categorical attributes as continuous, both of which distort the underlying statistical properties of the data.Furthermore, incorrect assumptions about the distribution family of continuous attributes often degrade the model's performance. (ii) They discretize timestamps, failing to track the temporal dynamics of streams(e.g., trends, abnormal events), which makes them ineffective for detecting anomalies at the group level, referred to as 'group anomalies' (e.g, DoS attacks). To address these challenges, we propose HeteroComp, a method for continuously summarizing heterogeneous tensor streams into 'components' representing latent groups in each attribute and their temporal dynamics, and detecting group anomalies. Our method employs Gaussian process priors to model unknown distributions of continuous attributes, and temporal dynamics, which directly estimate probability densities from data. Extracted components give concise but effective summarization, enabling accurate group anomaly detection. Extensive experiments on real datasets demonstrate that HeteroComp outperforms the state-of-the-art algorithms for group anomaly detection accuracy, and its computational time does not depend on the data stream length.","url_abs":"https://arxiv.org/abs/2602.04917","url_pdf":"https://arxiv.org/pdf/2602.04917","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":{"atlas_url":"https://app.syntology.ai/?focus=2602.04917","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.04917"}},"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/kaki005/HeteroComp","reach":null}],"summary":{"unverified":9},"by_repo_kind":{"found_in_text":{"samples":9,"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":"9aae62a9f99047b2","entry":"blocktensor_to_blockdiagmatrix","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/gp/bayesnewton_ops.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/gp/bayesnewton_ops.py","link_basis":"first_harvest_node","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":"9aae62a9f99047b2"}},{"code_sha256_prefix":"2bf235dc5954887b","entry":"gauss_hermite","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/gp/bayesnewton_cubature.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/gp/bayesnewton_cubature.py","link_basis":"first_harvest_node","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":"2bf235dc5954887b"}},{"code_sha256_prefix":"6f157040825f5857","entry":"get_blocks","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/gp/bayesnewton_ops.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/gp/bayesnewton_ops.py","link_basis":"first_harvest_node","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":"6f157040825f5857"}},{"code_sha256_prefix":"1886c3dfe4b4324c","entry":"get_diag_and_offdiag_components","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/gp/bayesnewton_ops.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/gp/bayesnewton_ops.py","link_basis":"first_harvest_node","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":"1886c3dfe4b4324c"}},{"code_sha256_prefix":"8222665c14c44e82","entry":"merge_dummies","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/load_dataset.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/load_dataset.py","link_basis":"first_harvest_node","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":"8222665c14c44e82"}},{"code_sha256_prefix":"0eeed36a96e1f3a7","entry":"mvhermgauss","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/gp/bayesnewton_cubature.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/gp/bayesnewton_cubature.py","link_basis":"first_harvest_node","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":"0eeed36a96e1f3a7"}},{"code_sha256_prefix":"50956041b281a8fe","entry":"plot_pr_curve","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"calc_anomalyscore.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/calc_anomalyscore.py","link_basis":"first_harvest_node","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":"50956041b281a8fe"}},{"code_sha256_prefix":"d2f73eb49d7ab153","entry":"prepare_event_tensor","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/preprocess.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/preprocess.py","link_basis":"first_harvest_node","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":"d2f73eb49d7ab153"}},{"code_sha256_prefix":"a7b7668436a2c5c9","entry":"process_cci18_csv","repo":"kaki005/HeteroComp","repo_kind":"found_in_text","path":"_src/load_dataset.py","file_url":"https://github.com/kaki005/HeteroComp/blob/HEAD/_src/load_dataset.py","link_basis":"first_harvest_node","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":"a7b7668436a2c5c9"}}]},"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}