arXiv:2610.33354cs.LGOct 2026

Manuscript Offprint

arXiv:2610.33354

The Clustering Occupation Kernel (CLOCK) Method for Time Series Arising from Dynamical Systems

Michael L. Wells, Kamel Lahouel, Victor Rielly, Bruno Jedynak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We introduce the Clustering Occupation Kernel (CLOCK) method, a novel representation-based framework for clustering time series arising from dynamical systems. CLOCK embeds observed sequences into a reproducing kernel Hilbert space (RKHS) via a time-averaged occupation kernel, enabling trajectory comparison through their RKHS norm. For systems governed by differential equations, this formulation rigorously approximates the kernel mean embedding of the invariant Sinai-Ruelle-Bowen (SRB) measure, meaning our dissimilarity metric approximates the maximum mean discrepancy (MMD) between attractors. To accommodate general time series, we introduce time lags via Takens' Embedding Theorem to reconstruct the phase space. Crucially, CLOCK natively handles trajectories of unequal lengths and irregularly spaced observations. We validate the proposed metric using spectral clustering, demonstrating superior performance against benchmark methods on both synthetic datasets and a real-world intracranial large-scale electroencephalogram (EEG) dataset. Finally, ablation studies on the Lorenz-96 system are consistent with the theoretical convergence rates of the occupation kernels and highlight the method's strong robustness to zero-mean Gaussian noise.

1 INTRODUCTION

Time series, sequences of observations with accompanying timestamps [22], are ubiquitous objects in data science. The immense volume of available data makes annotating each time series infeasible, so unsupervised methods are needed to cluster data by shared characteristics. Time series clustering methods fall roughly into three categories: distance-based, model-based, and representation-based. Distance-based methods use a custom distance function defined on time series, so standard methods like K-means [19] can be adapted. The DTW barycenter-averaging method (DBA) [25] using dynamic time warping [30][4] is an example. Model-based methods cluster trajectories based on their similarity in the parameters of a model assumed to govern the data. For example, time-series-based Gaussian mixture models fall into this category [36]. Representation-based methods map the time series to latent feature vectors that capture the essential elements of each time series. Typical clustering methods in Euclidean space may be applied to these representations. Autoencoders [33][17] and contrastive-learning-based methods [40] are examples.

In this work, we adopt a representation-based perspective that views time series, after preprocessing, as solutions to ordinary differential equations (ODEs). Specifically, we embed each observed trajectory y:[0,T]→My: [0, T] \to M into a reproducing kernel Hilbert space (RKHS) by considering its time-averaged occupation embedding [28,

27]:

y↦1T∫0TK(⋅,y(t))dt,(1)y\mapsto\frac{1}{T}\int_{0}^{T}K(\cdot,y(t))d t, \tag{1}

where K is a positive-definite kernel defined on the state space M.

This representation captures the time-averaged occupation measure of the trajectory in state space and provides a natural way to compare time series through Hilbert space distances. Its relevance becomes particularly clear when the observed trajectories are generated by dynamical systems. According to the Palis conjecture [23], a generic dynamical system defined as the flow of a CrC^{r} ( r≥1r \geq 1) map on a compact manifold admits (i) finitely many attractors, (ii) each of which is supported by a Sinai–Ruelle–Bowen (SRB) measure, and (iii) the union of the basins of these attractors has full Lebesgue measure. These SRB measures characterize the long-term statistical behavior of trajectories.

The main contribution of this work is to (1) show that the embedding defined by (1) approximates the kernel mean embedding (KME)[32] of these SRB measures, (2) leverage this connection to propose the Clustering Occupation Kernel method (CLOCK): a principled clustering method that groups trajectories according to their associated SRB measures, and (3) evaluate CLOCK against the state of the art.

We compute dissimilarities between time series by approximating the maximum mean discrepancy (MMD) between their estimated SRB measures. The authors in [5] took a related approach, embedding time series in high-dimensional feature space using sliding windows. Their goal was to provide a kernel-based distance measure that estimates distances by matching feature distributions that only partially overlap in their support. However, for time series generated by a dynamical system, their method clusters trajectories based on transient dynamics governed by the initial distribution. By contrast, our proposed method clusters trajectories according to their long-term, asymptotic statistics, making the resulting distances invariant to initial conditions as long as the trajectories are long enough. Ultimately, the choice between these methods depends on whether the application demands sensitivity to short-term transients or long-term systemic invariants.

Whether the time series is generated by an unknown discrete-time system or a continuous higher-order ODE, we can reconstruct its multi-dimensional phase space by preprocessing the observations using time-delay embedding before using CLOCK. Provided the underlying states evolve on a smooth, compact manifold, Takens' theorem [35] guarantees that these delay-coordinate trajectories provide a diffeomorphism to the true orbits of the underlying system.

We demonstrate the proposed metric's effectiveness through a series of clustering tasks. Specifically, we apply spectral clustering to similarity matrices derived from the MMD distances between trajectory embeddings. We present numerical experiments in which the time series are the solutions of ODEs corrupted by noise. Different clusters correspond to different vector-field parameters. In this context, we compare CLOCK with standard benchmark approaches. We also evaluate CLOCK on a large medical dataset of electroencephalogram measurements with a gold standard.

References (38)