Time Series Classification through Diffeomorphic Time Warping (DiffTW)

Vicky Geneva Haney, Kamel Lahouel, Victor Rielly, Bruno M. Jedynak
6/22/2026
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

Time series classification involves learning a mapping from a continuous, temporally ordered sequence of real-valued observations to a discrete response variable, like class labels. This task is fundamental in domains, including health monitoring, where the temporal structure of data is critical for accurate prediction. Dynamic Time Warping (DTW) is a standard technique for measuring similarity between sequences varying in time or speed. However, DTW is restricted to discrete point matching. To move beyond pairwise alignment, we propose a theoretical framework that learns mappings between real-valued functions. These mappings approximate the flow associated with the characteristic curves of a linear transport equation with a space-dependent velocity field, providing a diffeomorphic transformation between two time series. Using the method of characteristics, we transform this partial differential equation into ordinary differential equations (ODEs) modeling system dynamics. The objective function used to learn these ODEs derives from the fundamental theorem of calculus. To enable flexible, expressive representations of the velocity field, we utilize reproducing kernel Hilbert spaces and optimal control methods. Our method, Diffeomorphic Time Warping (DiffTW), provides a theoretically grounded dissimilarity measure. Using a 1-nearest neighbor classifier, DiffTW outperforms DTW on 60 of 86 datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{haney2026time,
  title  = {Time Series Classification through Diffeomorphic Time Warping (DiffTW)},
  author = {Vicky Geneva Haney and Kamel Lahouel and Victor Rielly and Bruno M. Jedynak},
  year   = {2026},
  eprint = {2606.23472},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.23472v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.23472.svg)](https://codeofpaper.com/paper/2606.23472)

Discussion