Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Spatio-Temporal Alignments: Optimal transport through space and time

Abstract : Comparing data defined over space and time is notoriously hard, because it involves quantifying both spatial and temporal variability, while at the same time taking into account the chronological structure of data. Dynamic Time Warping (DTW) computes an optimal alignment between time series in agreement with the chronological order, but is inherently blind to spatial shifts. In this paper, we propose Spatio-Temporal Alignments (STA), a new differentiable formulation of DTW, in which spatial differences between time samples are accounted for using regularized optimal transport (OT). Our temporal alignments are handled through a smooth variant of DTW called soft-DTW, for which we prove a new property: soft-DTW increases quadrati-cally with time shifts. The cost matrix within soft-DTW that we use are computed using unbalanced OT, to handle the case in which observations are not normalized probabilities. Experiments on handwritten letters and brain imaging data confirm our theoretical findings and illustrate the effectiveness of STA as a dissimilarity for spatio-temporal data.
Document type :
Preprints, Working Papers, ...
Complete list of metadata

Cited literature [11 references]  Display  Hide  Download
Contributor : Hicham Janati Connect in order to contact the contributor
Submitted on : Monday, October 28, 2019 - 10:42:40 AM
Last modification on : Friday, January 21, 2022 - 3:11:31 AM


Files produced by the author(s)


  • HAL Id : hal-02309340, version 2


Hicham Janati, Marco Cuturi, Alexandre Gramfort. Spatio-Temporal Alignments: Optimal transport through space and time. 2019. ⟨hal-02309340v2⟩



Les métriques sont temporairement indisponibles