TranAD benchmark TranAD_SelfConditioning
A TranAD ablation with two decoders and no adversarial pass, for anomaly detection in multivariate time series.
Time series · 223 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
- 5.7K
- Operations
- 223
- Framework
- PyTorch
- Recurrent
- No
- 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
- m3158
- Graph hash
- 169a7cf879c0426fb6a8f27dedaa778402eb4d390015a03ba17f91e1527f722c
- Skeleton hash
- 261fc786b11be274c61b8df4581970be745741102289d2f566b7539a6b661229
- Architecture hash
- ed6abf63033e000b0fa10764fb6302dc5d43350d6d64608710287b2ee15228e0
- Diagram SHA-256
- 475298b3af0139eeabe486adcb81ed224ecd531cebf36d5c2e8db6999d878c8a
- 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_selfconditioning: 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 keeps the two decoders and leaves out the adversarial pass, the paper's ablation without the adversarial loss, described there as a single-phase inference and only the reconstruction loss for model training. The paper reports that removing the two-phase adversarial training mainly affects the SMD and WADI datasets, whose traces have a large proportion of mild anomalies, and that the average drop in F1 score is 5%.
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 self-conditioning
- tranad_selfconditioning
- time series anomaly detection
- multivariate time series
- anomaly diagnosis
- focus score
- self-conditioning
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},
}