[Paper Review] Autoencoder-based time series clustering with energy applications
This paper proposes a two-stage time series clustering method combining a convolutional autoencoder (CAE) for feature extraction and k-medoids clustering, demonstrating superior robustness to outliers and finer cluster separation on synthetic and real energy consumption data compared to traditional methods like PCA and wavelets.
Time series clustering is a challenging task due to the specific nature of the data. Classical approaches do not perform well and need to be adapted either through a new distance measure or a data transformation. In this paper we investigate the combination of a convolutional autoencoder and a k-medoids algorithm to perfom time series clustering. The convolutional autoencoder allows to extract meaningful features and reduce the dimension of the data, leading to an improvement of the subsequent clustering. Using simulation and energy related data to validate the approach, experimental results show that the clustering is robust to outliers thus leading to finer clusters than with standard methods.
Motivation & Objective
- To address the challenge of clustering time series data that are high-dimensional, noisy, and prone to outliers.
- To improve clustering performance by learning meaningful low-dimensional representations using a convolutional autoencoder.
- To enable robust clustering that isolates outliers into distinct clusters rather than spreading them across groups.
- To validate the method on real-world energy consumption data from residential, SME, and outlier clients.
- To demonstrate the superiority of CAE-based feature extraction over classical methods like PCA and wavelets in clustering accuracy and outlier resilience.
Proposed method
- A two-stage approach: first train a convolutional autoencoder to compress time series into a lower-dimensional latent space, then apply k-medoids clustering on the latent representations.
- The encoder uses multiple convolutional and fully connected layers to map input time series $x \in \mathbb{R}^T$ to a latent vector $h \in \mathbb{R}^m$ with $m < T$.
- The decoder reconstructs the original time series from the latent vector using deconvolutional layers, minimizing reconstruction loss $\mathcal{L}(x, \hat{x})$.
- The latent vector captures shape-invariant, noise-robust features due to local receptive fields and weight sharing in convolutional layers.
- Outliers are identified using the Local Outlier Factor (LOF) metric, with 5% of the dataset defined as outliers based on the 95th percentile of LOF scores.
- Clustering is performed using k-medoids, which is robust to outliers and allows for interpretable cluster centroids.
Experimental results
Research questions
- RQ1Can a convolutional autoencoder effectively extract meaningful, low-dimensional representations from time series data for improved clustering?
- RQ2How does the proposed CAE-based clustering method perform in the presence of outliers compared to classical feature extraction methods?
- RQ3Can the method isolate outliers into a single, distinct cluster rather than distributing them across multiple clusters?
- RQ4Does the CAE-based approach yield more interpretable and finer-grained clusters on real energy consumption data?
- RQ5How does the performance of the CAE compare to PCA, wavelets, and other classical representations in clustering accuracy and robustness?
Key findings
- The CAE+K-medoids method perfectly separates residential, SME, and outlier classes in synthetic data, with no misclassification across the three groups.
- PCA successfully separates residential and SME clients but fails to isolate outliers, which are scattered across clusters.
- Other methods, including wavelets and DWT, do not isolate the outlier class and instead split one of the main classes into two clusters.
- On real CER Smart Metering data, the method isolates a distinct, highly dispersed outlier cluster containing 5% of the dataset, identified via LOF.
- The remaining data is clustered into 10–16 meaningful groups, with centroids showing clear behavioral patterns such as winter peaks or Christmas spikes.
- The method outperforms K-means and SOM when combined with classical feature extractors, indicating the CAE's unique ability to capture relevant temporal patterns.
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.