Researchers propose a transformer-based framework called TransDe for multi-scale time series anomaly detection.TransDe combines time series decomposition and transformers to effectively model complex patterns in normal time series data.A multi-scale patch-based transformer architecture is used to capture dependencies of each decomposed component of the time series.TransDe outperforms twelve baselines in terms of F1 score in extensive experiments on five public datasets.