Skip to main content
QUICK REVIEW

[Paper Review] RobustSTL: A Robust Seasonal-Trend Decomposition Algorithm for Long Time Series

Qingsong Wen, Jingkun Gao|arXiv (Cornell University)|Dec 5, 2018
Time Series Analysis and ForecastingComputer Science4 references24 citations
TL;DR

RobustSTL proposes a novel seasonal-trend decomposition algorithm that uses least absolute deviations with ℓ₁ regularization and non-local seasonal filtering to robustly extract trend and seasonality components from long time series with high noise, seasonality shifts, and abrupt changes. It outperforms STL, TBATS, and STR in handling anomalies, trend shifts, and long seasonal periods (e.g., T=1440), achieving superior accuracy and computational efficiency on both synthetic and real-world datasets.

ABSTRACT

Decomposing complex time series into trend, seasonality, and remainder components is an important task to facilitate time series anomaly detection and forecasting. Although numerous methods have been proposed, there are still many time series characteristics exhibiting in real-world data which are not addressed properly, including 1) ability to handle seasonality fluctuation and shift, and abrupt change in trend and reminder; 2) robustness on data with anomalies; 3) applicability on time series with long seasonality period. In the paper, we propose a novel and generic time series decomposition algorithm to address these challenges. Specifically, we extract the trend component robustly by solving a regression problem using the least absolute deviations loss with sparse regularization. Based on the extracted trend, we apply the the non-local seasonal filtering to extract the seasonality component. This process is repeated until accurate decomposition is obtained. Experiments on different synthetic and real-world time series datasets demonstrate that our method outperforms existing solutions.

Motivation & Objective

  • To address the limitations of existing time series decomposition methods in handling long seasonal periods, seasonality shifts, and abrupt changes in trend and remainder.
  • To improve robustness against anomalies in real-world time series data, especially in IoT and monitoring applications.
  • To develop a scalable and efficient decomposition method that maintains accuracy on high-frequency, long-period seasonal data (e.g., T=1440 for 1-minute data).
  • To enable accurate decomposition for anomaly detection and forecasting by isolating meaningful components (trend, seasonality, remainder) under complex real-world conditions.

Proposed method

  • The trend component is extracted via a regression problem using least absolute deviations (LAD) loss with ℓ₁-norm regularization to ensure robustness and sparsity.
  • The seasonality component is estimated using non-local seasonal filtering, which captures flexible, shifted, and time-varying seasonal patterns by leveraging similar historical patterns across the series.
  • The algorithm iteratively refines the trend and seasonality components by alternating between trend estimation and seasonal filtering until convergence.
  • The method is formulated as a convex optimization problem with ℓ₁ regularization, enabling efficient and scalable computation even for long time series.
  • The approach is designed for additive decomposition and can be adapted to multiplicative forms.
  • Hyperparameters such as neighbor window size (K, H) and regularization coefficients (λ₁, λ₂) are tuned via cross-validation for optimal performance.

Experimental results

Research questions

  • RQ1Can a decomposition method robustly handle seasonality shifts and fluctuations in long time series with high noise?
  • RQ2How effectively can a method detect and preserve abrupt changes in trend and remainder components, especially in the presence of anomalies?
  • RQ3To what extent can a decomposition algorithm scale to time series with very long seasonal periods (e.g., T=1440) without performance degradation?
  • RQ4How does the proposed method compare in accuracy and efficiency to state-of-the-art algorithms like STL, TBATS, and STR on real-world and synthetic datasets?

Key findings

  • RobustSTL achieved the lowest mean absolute error (MAE) of 0.0750 on synthetic data, significantly outperforming STL (0.1915), STR (0.3004), and TBATS (0.2770).
  • On real-world dataset 1 (T=12), RobustSTL accurately captured trend shifts and seasonality changes, while standard STL and STR were distorted by anomalies and level shifts.
  • On real-world dataset 2 (T=288), RobustSTL successfully extracted smooth, adaptive seasonality and preserved spike anomalies in the remainder, whereas TBATS and standard STL were affected by anomalies.
  • RobustSTL demonstrated significantly faster computation than TBATS and STR, especially on long time series, due to its efficient optimization formulation.
  • The algorithm effectively handled fractional and shifted seasonality, adapting to changing patterns without requiring fixed seasonal alignment.
  • In both synthetic and real-world experiments, RobustSTL consistently outperformed existing methods in robustness, accuracy, and scalability for complex, real-world time series.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.