OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Mtad Gat Pytorch

Mtad Gat Pytorch is an open-source Python and PyTorch framework for multivariate time-series anomaly detection, using a model inspired by MTAD-GAT with graph-attention layers and a GRU-based reconstruction decoder.

Independent OpenViST project profile, based on linked sources.

Mtad Gat Pytorch — Experimenting with GATv2 by default or choosing standard GAT
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Clone the repository and change into its directory.

  2. Install dependencies with pip install -r requirements.txt.

  3. Preprocess the selected dataset with python preprocess.py --dataset .

  4. 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.
Evidence and transparency

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