Manuscript Offprint

arXiv:2609.39792

TopTimeNet: Topologically-assisted time-series classification model

Sharareh Sayyad, Sophia Bazzi

Sharareh Sayyad 1^{1} and Sophia Bazzi 2^{2}

1^{1}Department of Mathematics and Statistics, Washington State University, Pullman, Washington 99164-3113, USA ∗^{*}

2^{2} European Molecular Biology Laboratory, EMBL Hamburg, c/o DESY, Building 25A, Notkestraße 85, 22603 Hamburg, Germany †^{\dagger}

Distinguishing periodic from chaotic dynamics in a time series is a fundamental challenge in both physics and engineering. Yet, end-to-end learned architectures must discover both a representation and a decision boundary from data, at substantial cost. We introduce TopTIMENet, which decouples these tasks: a fixed, non-learned stage extracts a 42-dimensional geometric and topological descriptor from Takens delay embeddings and persistent homology, and a lightweight learnable stage performs classification. On a benchmark of 49 nonlinear dynamical systems, a 1,638-parameter configuration matches the mean accuracy of one with 33×33\times more trainable parameters. Additionally, this approach delivers mean accuracy comparable to convolutional neural networks and surpasses the average performance of converged Transformer models, while requiring three to four orders of magnitude fewer trainable parameters. Robustness also depends sharply on where noise is introduced: TopTIMENet degrades gracefully under perturbations to its precomputed features, but degrades sharply when noise is introduced into the raw signal and the full feature-extraction pipeline is recomputed, showing that robustness to perturbations of the precomputed features does not imply robustness of the complete raw-signal-to-prediction pipeline. These results show that decoupling fixed geometric and topological feature construction from a lightweight discriminative stage can achieve comparable classification accuracy with substantially fewer trainable parameters.

I. INTRODUCTION

Nonlinear dynamical systems can exhibit qualitatively different regimes of motion, ranging from periodic and quasiperiodic oscillations to chaos. In many experiments, however, the governing equations are unknown, or only a subset of the state variables is accessible. The dynamical regime must then be inferred from a finite time series. This inference problem is nontrivial: chaotic and stochastic processes can both generate irregular signals, and finite data length or measurement noise may obscure the distinction between them [1–3].

Classical nonlinear time-series analysis offers several tools to address this problem. The largest Lyapunov exponent quantifies sensitivity to initial conditions, while correlation dimension estimates the fractal scaling of the attractor, giving a measure of its effective dimensionality [4]. Power spectra and autocorrelation functions provide information about temporal structure. These methods are valuable, but each probes a particular property of the signal. Correlation-dimension estimates, for example, are well known to be sensitive to observational noise [5, 6]. More generally, finite data and limitations in phase-space reconstruction can complicate the interpretation of nonlinear time-series measures [3]. For this reason, a reliable analysis often requires several diagnostics rather than a single scalar measure.

Machine-learning (ML) methods offer a complementary strategy. Rather than choosing a specific dynamical indicator in advance, they learn features useful for classification directly from data. Deep neural networks have been used to distinguish chaotic from non-chaotic time series across discrete and continuous dynamical systems [7]. Researchers have also studied data-driven learning methods to distinguish deterministic chaos from stochastic behavior [8, 9]. Many ML approaches operate directly on the raw time series [10, 11]. Convolutional neural networks (CNNs) can learn local and multiscale temporal patterns through convolutional filters [12]. Transformer-based models employ attention to capture dependencies and interactions across longer time scales [13]. While these architectures are flexible, they often require many trainable parameters and substantial computational resources to learn a useful representation from scratch. For dynamical systems, we can instead extract relevant geometric and topological structure before learning begins, allowing the learnable stage to focus on projecting, combining, and classifying these features. This raises a central question we address in this work: how much learnable capacity is needed once we make such structure explicit?

Topological data analysis (TDA) offers a way to construct such features. A scalar time series can first be mapped to a point cloud in a reconstructed phase space using delay-coordinate embedding [14]. The

†^{\dagger} sophia.bazzi@embl-hamburg.de resulting point cloud retains geometric information about the observed trajectory. Persistent homology then tracks topological features across different length scales. Connected components are described by zeroth homology, while loops are described by first homology. Persistence-based summaries have been used to distinguish dynamical states such as periodic and chaotic behavior [15]. Tempelman and Khasawneh further report that persistence-based chaos detection remains tolerant to moderate observational noise in several benchmark systems [16]. In Sec. IV B, we separately examine robustness when noise is introduced before and after feature extraction.

Several representations have been developed to adapt persistent homology information for statistical learning. Persistence landscapes provide functional summaries of persistence diagrams [17]. Persistence images map diagrams to stable finite-dimensional vectors [18]. Signature-based feature maps provide another representation of persistence barcodes for statistical learning [19]. Persistent entropy has also been used to construct stable summary functions that incorporate information from Betti curves [20]. For time-series data, Umeda combined an engineered topological feature with a CNN-inspired learning architecture [21]. Karan and Kaygun later developed persistent-homology-based pipelines for univariate time-series classification [22].

The use of topological features in time-series learning is thus already well established, and prior work has combined several persistence-derived summaries within a single pipeline [22]. For instance, Karan and Kaygun summarize persistence diagrams using diagram distances, persistent entropy, and scalar norms of Betti curves and persistence landscapes; their pipeline does not include persistence images or geometric statistics computed directly from the embedding point cloud.

Our study focuses on how these complementary geometric and topological feature groups can be organized within a compact model. We introduce TopTIMENet, an architecture for classifying periodic and chaotic time series. Each segmented time series is first mapped to a delay-coordinate point cloud. We compute geometric features directly from this point cloud and obtain additional topological descriptors from persistent homology. The resulting 42 features are divided into five groups: geometric, entropy, lifetime, Betti-curve, and persistence-image features. This feature-extraction stage contains no learned weights, although it depends on fixed analysis settings such as the embedding parameters and persistence-image resolution.

The five feature groups are then passed to the learnable part of TopTIMENet. Each group is projected into a common embedding space. A fusion layer combines the projected features, and a classification head produces the final prediction. Learning therefore focuses on interactions between the extracted feature groups rather than reconstructing the full representation from the raw signal.

This design enables us to investigate the amount of trainable capacity needed for the classification task. We compare compact and higher-capacity TopTIMENet configurations selected through the same hyperparameter search. The two configurations differ by a factor of approximately 33 in parameter count, yet achieve nearly identical mean classification accuracy. We also compare TopTIMENet with CNN and Transformer baselines trained directly on the raw time series.

We additionally examine the response of TopTIMENet to Gaussian perturbations introduced at two distinct points in the pipeline: directly on the precomputed feature vectors, and on the raw time series itself, with the full delay-embedding and persistent-homology computation repeated on the corrupted signal.

Under the tested perturbations, accuracy degrades more sharply when noise is introduced in the raw time series and the features are recomputed than when noise is applied directly to the precomputed feature vectors. This shows that robustness to feature-level perturbations does not imply robustness of the complete raw-signal-to-prediction pipeline.

The remainder of this paper is organized as follows. Section II describes the dataset, the geometric and topological feature-extraction pipeline, the TopTIMENet architecture, and the training procedure. Section III illustrates the extracted features using the double pendulum as an example. Section IV presents the classification results, the response to feature-level and raw-signal noise, and comparisons with CNN and Transformer baselines. Finally, Section V summarizes the main findings and outlines directions for future work.

References (42)