Amortized Neural Clustering of Time Series based on Statistical Features
Ángel López-Oriona, Ying Sun · 2026
Read Amortized Neural Clustering of Time Series based on Statistical Features by Ángel López-Oriona, Ying Sun (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-13128.txt.
Introduction
López-Oriona and Sun introduce a method-agnostic way to cluster time series by features, using amortized neural inference. Neural nets trained on simulated data learn the best split rule, cutting reliance on K-means, K-medoids or hierarchical clustering. Stats like autocorrelations yield a data-driven affinity map from which groups can be recovered, without fixing group shapes in advance. One version also picks the group count on its own. Tests show accuracy matching or beating old methods, even when rivals get the true group count.
Catalog record
| CREATOR | Ángel López-Oriona, Ying Sun |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 64008 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.13128
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Amortized Neural Clustering of Time Series based on Statistical Features Ángel López-Oriona, Ying Sun Abstract This paper introduces an algorithm-agnostic approach to feature-based time series clustering via amortized neural inference. By training neural networks to approximate the optimal partitioning rule from simulated data, the proposed framework reduces reliance on conventional clustering methods, such as K K -means, K K -medoids, or hierarchical clustering, and their associated objective functions and heuristics. Leveraging statistical features, such as autocorrelations and quantile autocorrelations, the approach learns a data-driven affinity structure from which clustering partitions can be recovered, without requiring explicit prior specification of cluster shapes or structures. In addition, one version of the method can automatically determine the number of clusters, avoiding ad-hoc selection procedures. Comprehensive empirical studies show that the proposed framework achieves competitive or superior clustering accuracy relative to traditional methods, even in challenging scenarios where competing techniques are provided with the true number of clusters. An application to financial time series of stock returns illustrates its practical utility. By reducing the need for algorithm selection and calibration, the proposed framework opens new possibilities for automated, adaptive, and data-driven clustering of temporal data across scientific and industrial domains. Keywords: time series; clustering; simulation-based learning; amortized inference; neural networks; stock returns 1 Introduction The vast increase in time series data available today, originating from fields as diverse as finance, healthcare, and environmental science, has created a strong demand for methods that can efficiently analyze and make sense of large collections of sequences. Time series clustering is a widely used unsupervised learning technique designed to tackle this challenge by grouping similar series together, usually without the need to model each one individually, a process that can be both computationally expensive and unnecessary for many applications. Instead, clustering aims to reveal common patterns that summarize the behavior of the data, supporting tasks such as pattern recognition, anomaly detection, and classification. Over the years, research in time series clustering has grown substantially, evolving from classical approaches based on distance measures to more recent developments leveraging deep learning. Several comprehensive reviews provide overviews of this evolution, including 21 ; 1 ; 38 , and the latest survey by 44 , which covers both traditional methods and modern neural network techniques. Feature-based methods are among the most widely used approaches for time series clustering. These techniques typically consist of two key stages: (i) extracting a feature vector for each time series, which captures statistical properties that often reflect the underlying temporal dependencies, and (ii) applying a conventional clustering algorithm to the set of feature vectors. Feature-based clustering of time series has been thoroughly explored, with methods leveraging model-based features ( 45 ; 15 ) , wavelet-based features ( 4 ; 17 ) , quantile-based features ( 30 ; 29 ; 35 ; 33 ) , and features based on extremes ( 16 ) , among others, each offering distinct advantages in capturing different aspects of time series dynamics. Despite its success, classical feature-based clustering of time series has several important limitations, which we outline below: • Feature selection . The analyst must determine a set of features with high discriminative power (ideally, optimal) to differentiate between the underlying structures, which is a challenging task. This is typically achieved through domain knowledge combined with exploratory analysis. • Algorithm selection . Once a given set of features has been selected, the analyst must decide which algorithm to use for clustering in the feature space. For example, in the case of hard (also referred to as crisp) clustering, where each time series is assigned to only one group with no overlap between clusters, common choices include K -means, K -medoids, hierarchical clustering, etc., all of which have several variants. Each method has its own advantages and disadvantages ( 37 ; 48 ) , making it difficult to determine in advance which will be the best choice for the set of time series under analysis. Moreover, each method typically aims to optimize a specific objective (e.g., within-cluster compactness in the case of K -means and K -medoids), which may not be suitable for the particular characteristics of the analyzed data. • Selection of the number of clusters . In practice, the true number of groups is almost always unknown, yet many popular algorithms (such as K -means and K -medoids) require this parameter as input. Although criteria based on internal clustering quality indices ( 32 ) are commonly used, determining the optimal number of clusters remains an essential open problem in the clustering literature ( 39 ; 51 ) . • Optimization limitations . Once the feature dataset is provided as input to the chosen clustering algorithm (even if the analyst has selected the optimal features, the optimal algorithm, and the true value of the number of groups), there is often no guarantee that the procedure will return the “best” clustering partition given the observed data. For instance, it is well-known that traditional K -means and K -medoids algorithms do not ensure convergence to a global minimum. Several heuristics are often used to mitigate this issue ( 19 ; 23 ) , such as running the corresponding algorithm with multiple random initializations and picking the solution associated with the lowest value of the objective function. While helpful, these heuristics often fail in complex scenarios. While the first point above constitutes a major problem spanning extensive literature, not limited to the temporal setting ( 2 ; 28 ) , addressing it proves complex, as feature selection often depends on domain knowledge and the specific clustering goals (different features can yield distinct interpretations of the clustering solution). Thus, this article focuses on the remaining challenges. Specifically, our objective is to develop a mechanism that: (i) performs accurate, automated time series clustering while reducing reliance on predefined clustering objectives, (ii) can adapt to varying numbers of clusters in a data-driven manner, at least in scenarios with simple to moderate complexity, and (iii) mitigates typical optimization drawbacks of traditional clustering procedures. To this end, we adopt the amortized inference framework (see Section 2 ). The remainder of this paper is organized as follows. In Section 2 , we explore how the amortized inference framework can be adapted to the particular case of feature-based time series clustering. Section 3 presents some empirical results, while Section 4 shows one application to real-world financial time series of stock returns. Conclusions are given in Section 5 . 2 Improving time series clustering via amortized inference This section reviews the fundamental concepts of simulation-based and amortized inference, and then explains how these frameworks can be adapted for feature-based time series clustering. 2.1 Background on simulation-based and amortized inference Simulation-based inference encompasses a broad class of techniques that enable statistical inference by leveraging repeated simulations from complex, often intractable, data generating models. When explicit likelihood functions are unavailable or computationally prohibitive, these methods approximate inferential quantities by comparing summary statistics of simulated data to those of observed data, circumventing the need for closed-form likelihood evaluations ( 43 ; 11 ) . Classical approaches such as approximate Bayesian computation and Bayesian synthetic likelihood rely on kernel-based or parametric approximations of the likelihood constructed from simulations ( 6 ; 47 ) . These techniques