TranAD benchmark TranAD_Transformer
A TranAD ablation that swaps the transformer encoder-decoder for a feed-forward network.
Time series · 33 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Time series
- Parameters
- 5K
- Operations
- 33
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- Proceedings of the VLDB Endowment (arXiv 2022)
- Cited by
- 1,723 (as of 18 November 2026)
- Authors
- Shreshth Tuli, Giuliano Casale, Nicholas R. Jennings
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3159
- Graph hash
- 345add4fe0bf05d2e9c4b062f92a91a0f046265f8be361474b62e4c8993ff0d4
- Skeleton hash
- 0970c5401aebee73730aed4f84e743308e2a804faf9e1ab0af4342a43c1c1d4d
- Architecture hash
- 56039ed76b88887cd43af4acf0688e5925eeab6a41c8ef258519993c824ea7a0
- Diagram SHA-256
- 1f2fcb27db28da3d259d7248ab9fb40f6665615a669cb827566e81de04223b6f
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.ri_tranad:build_tranad_transformer: build({}) What it is
TranAD is a transformer-based model that detects and diagnoses anomalies in multivariate time series data. The full model consists of two transformer encoders and two decoders. It reconstructs an input window in two phases: the reconstruction loss of the first decoder serves as a focus score, and the output of the second phase is conditioned on the deviations generated in the first.
This model is the ablation from the paper that drops the transformer: TranAD without the transformer-based encoder-decoder architecture, with a feed-forward network in its place. The paper reports that replacing the transformer-based encoder-decoder gives the highest performance drop of its ablations, nearly 11% in terms of the F1 score, and that the drop is more pronounced for the WADI dataset (56%).
Across six publicly available datasets, the paper reports that TranAD increases F1 scores by up to 17% and reduces training times by up to 99% compared to the baselines.
Key idea. TranAD is a transformer-based anomaly detection model for multivariate time series that uses self-conditioning on a focus score and an adversarial training process.
- tranad
- tranad transformer ablation
- tranad_transformer
- time series anomaly detection
- multivariate anomaly detection
- anomaly diagnosis
- feed-forward ablation
- reconstruction-based anomaly detection
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{tuli2022tranaddeeptransformernetworks,
title={TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Data},
author={Shreshth Tuli and Giuliano Casale and Nicholas R. Jennings},
year={2022},
eprint={2201.07284},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2201.07284},
}