Publications

Algorithm 1061: tsdistances : A High-Performance Python Library for Time Series Distances with GPU Support  (2026)

Authors:
Azzari, Alberto; Cracco, Andrea; Masillo, Francesco; Sala, Pietro
Title:
Algorithm 1061: tsdistances : A High-Performance Python Library for Time Series Distances with GPU Support
Year:
2026
Type of item:
Articolo in Rivista
Tipologia ANVUR:
Articolo su rivista
Language:
Inglese
Referee:
No
Name of journal:
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE
ISSN of journal:
0098-3500
N° Volume:
52
Number or Folder:
1
Page numbers:
1-21
Keyword:
timeseries, distance measures, dynamic programming, GPU, parallelization
Short description of contents:
Time series distance measures are fundamental in numerous domains, including finance, healthcare, and signal processing, enabling crucial tasks such as pattern recognition, anomaly detection, and predictive modeling. However, many applications require computing distances between all pairs of time series in large datasets, a computationally intensive task that can become a significant bottleneck in analysis pipelines. The tsdistances library is a high-performance Python package designed for computing distances between time series, with GPU support for accelerated processing. This article introduces tsdistances and its key features, focusing on the implementation of elastic distance algorithms and their optimizations. We present both CPU and GPU implementations, highlighting the use of dynamic programming techniques and GPU-specific optimizations such as warp-based parallelization. The performance of tsdistances is compared with existing alternatives in the literature, demonstrating significant speed improvements, especially for large-scale time series analysis tasks.
Web page:
https://dl.acm.org/doi/10.1145/3802579
Product ID:
151386
Handle IRIS:
11562/1192651
Last Modified:
May 20, 2026
Bibliographic citation:
Azzari, Alberto; Cracco, Andrea; Masillo, Francesco; Sala, Pietro, Algorithm 1061: tsdistances : A High-Performance Python Library for Time Series Distances with GPU Support «ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE» , vol. 52 , n. 1 , 2026 , pp. 1-21

Consulta la scheda completa presente nel repository istituzionale della Ricerca di Ateneo IRIS

<<back

Activities

Research facilities

Share