Practical overview
When it fits
Use it when you want a repository-based workflow for experimenting with multivariate time-series anomaly detection on the documented MSL, SMAP or SMD datasets.
Who it is for
- Researchers comparing anomaly-detection methods on multivariate time-series datasets.
- Engineers exploring graph-attention approaches to sensor or operational-metric monitoring.
Documented uses
- Preprocess MSL, SMAP or SMD time-series data for model training.
- Train a graph-attention anomaly-detection model and review test metrics and anomaly scores.
- Compare supported thresholding methods and visualize predicted versus actual anomaly intervals.
Requirements & limits
- The project uses a GRU-based decoder rather than the VAE reconstruction model of the original approach.
- Threshold parameters need dataset-specific customization.
- The maintainers state that the repository is not under active maintenance and does not reproduce the original paper's results.
- The repository is Python-based, uses PyTorch and carries an MIT license.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare a dataset and train an anomaly-detection model
Run the repository's documented preprocessing and training stages for MSL, SMAP or SMD.
Before you start
- Python environment with dependencies installed using pip install -r requirements.txt; a virtual environment is recommended.
- A cloned copy of the repository.
- For MSL and SMAP, download and unpack the datasets as described in the README; SMD is included in the repository.
- For SMD training, choose a machine group.
Steps
Clone the repository and change into its directory.
Install dependencies with pip install -r requirements.txt.
Preprocess the selected dataset with python preprocess.py --dataset .
Train with python train.py --dataset ; for SMD, specify the machine using --group.
Expected outcome
The README describes outputs including test metrics, anomaly scores, model parameters, configuration details and training/validation-loss plots.
Guide limitations
- Threshold parameters should be customized for the dataset.
- The repository says it does not reproduce the original paper's results and is not under active maintenance.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 November 2026
- Original website title
- ML4ITS/mtad-gat-pytorch · Official homepage title · retained in its source language

