[Paper Review] A clustering approach to time series forecasting using neural networks: A comparative study on distance-based vs. feature-based clustering methods
This paper proposes a hybrid neural network framework for time series forecasting that integrates anomaly detection, data imputation, and clustering—comparing distance-based (DTW) and feature-based clustering methods. Results show that while DTW clustering improves forecasting accuracy more consistently, feature-based clustering offers superior speed and efficiency, and clustering overall enhances prediction performance over baseline models without clustering.
Time series forecasting has gained lots of attention recently; this is because many real-world phenomena can be modeled as time series. The massive volume of data and recent advancements in the processing power of the computers enable researchers to develop more sophisticated machine learning algorithms such as neural networks to forecast the time series data. In this paper, we propose various neural network architectures to forecast the time series data using the dynamic measurements; moreover, we introduce various architectures on how to combine static and dynamic measurements for forecasting. We also investigate the importance of performing techniques such as anomaly detection and clustering on forecasting accuracy. Our results indicate that clustering can improve the overall prediction time as well as improve the forecasting performance of the neural network. Furthermore, we show that feature-based clustering can outperform the distance-based clustering in terms of speed and efficiency. Finally, our results indicate that adding more predictors to forecast the target variable will not necessarily improve the forecasting accuracy.
Motivation & Objective
- To improve time series forecasting accuracy by integrating clustering techniques with neural networks.
- To evaluate the impact of clustering—specifically distance-based (DTW) versus feature-based methods—on forecasting performance and computational efficiency.
- To investigate whether combining static and dynamic time series data enhances forecasting accuracy.
- To assess the influence of adding more time series measurements on prediction error.
- To demonstrate the value of preprocessing steps like anomaly detection and missing data imputation in improving model reliability.
Proposed method
- Applied seasonal-trend decomposition using Loess (STL) for anomaly detection to identify and replace outliers in time series data.
- Used multiple neural network architectures, including LSTM-based models, to forecast time series using dynamic measurements.
- Implemented feature-based clustering by extracting statistical and spectral features from time series for clustering, compared to distance-based DTW clustering.
- Combined static data (e.g., metadata) with dynamic time series data using multiple architectural designs to improve forecasting.
- Applied data imputation techniques after anomaly detection to handle missing values, ensuring data integrity before modeling.
- Evaluated models using standard metrics: RMSE, MAPE, and MAE across multiple configurations and clustering K-values (150–400).
Experimental results
Research questions
- RQ1Does clustering time series data improve forecasting accuracy when using neural networks?
- RQ2How do distance-based (DTW) and feature-based clustering methods compare in terms of prediction accuracy and computational efficiency?
- RQ3Can combining static and dynamic features enhance time series forecasting performance?
- RQ4Does adding more time series measurements consistently reduce forecasting error?
- RQ5To what extent do preprocessing steps like anomaly detection and imputation affect forecasting outcomes?
Key findings
- Feature-based clustering outperformed DTW clustering in terms of speed and time complexity, despite slightly lower accuracy in some cases.
- Clustering significantly improved forecasting accuracy across all models, with MAPE decreasing from 38.52 (no clustering) to 27.57 (DTW clustering) for model 3 at K=300.
- Adding more time series measurements did not consistently improve forecasting accuracy; in fact, some combinations (e.g., first and second columns) led to higher errors (MAPE up to 150.38) than baseline models.
- Model 3 with DTW clustering achieved the best MAPE of 27.57 at K=300, while model 1 with feature-based clustering showed the fastest inference time.
- The integration of anomaly detection and imputation improved data quality, which in turn enhanced clustering and forecasting performance.
- No single neural network architecture consistently outperformed others; model selection via cross-validation was essential for optimal results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.