norun9/re2ob-pyg
Updated โข 22
ADA-TGN (Temporal Graph Networks with Adaptive Memory Protection) is an anomaly detection and root cause analysis framework for microservice systems. It extends TGN with a Dual-Stage Soft-Gating mechanism that prevents memory contamination by anomalous data.
For full usage, see the ADA-TGN repository.
| File | Description |
|---|---|
ada_tgn.pt |
Unified model โ single checkpoint trained on all 60 experiments |
{experiment_id}_rep{rep}.pt |
Per-experiment models โ 60 individual checkpoints, e.g. checkoutservice_cpu_rep1.pt |
git clone https://github.com/cyb3rlab/ADA-TGN.git && cd ADA-TGN
bash setup_env.sh
bash run_evaluate.sh # unified model (default)
bash run_evaluate.sh --model_type per_experiment
The script evaluates two tasks across all 60 experiments and prints a summary to stdout:
Trained on normal period data only (72 windows per experiment, 10-second snapshots). Evaluated on RE2-OB โ 60 experiments (5 services ร 4 fault types ร 3 replications). See norun9/re2ob-pyg for dataset details.
| Library / Hardware | Version |
|---|---|
| Python | 3.9+ |
| PyTorch | โฅ 2.0 |
| PyTorch Geometric | โฅ 2.3 |
| Hardware | NVIDIA A40, CUDA 12.1 |
Apache 2.0