Skip to content

Official implementation of "Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams" at the ACM Web Conference (WWW'26)

License

Notifications You must be signed in to change notification settings

kaki005/HeteroComp

Repository files navigation

HeteroComp: Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams

Official implementation of "Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams", Soshi Kakio, Yasuko Matsubara, Ren Fujiwara, and Yasushi Sakurai. at the ACM Web Conference 2026 (WWW '26).

Introduction

  • We focus on event tensor streams consisting of timestamps and categorical attributes (e.g., IP address, port number) and continuous attributes (e.g., packet length, tcp duration), and refer such relationships as "heterogeneous tensor streams".
  • 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.

Graphical Model

The graphical model of our model is following: graphical model

Algorithm

The overview of our algorithm is following: algorithm

Setup

  • Jaxopt package contains a bug.
    • Please replace line 248 in .venv/lib/python3.12/site-packages/jaxopt/_src/tree_util.py
      if isinstance(
          # p, (bool, int, float, complex, onp.ndarray, jnp.ndarray) OLD
          p, (bool, int, float, complex, onp.ndarray, jax.Array) # NEW
      )

Demo

    uv sync
    uv run main.py --config-name=edge model.name=heterocomp
    uv run plot_anomaly.py --config-name=edge
    uv run calc_anomalyscore.py --config-name=edge model.name=heterocomp

About

Official implementation of "Multi-Aspect Mining and Anomaly Detection for Heterogeneous Tensor Streams" at the ACM Web Conference (WWW'26)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages