mlsanityData to 7 Oct 2026

Deep Declarative Dynamic Time Warping for End-to-End Learning of Alignment Paths

arXiv 2303.10778 ↗First posted 19 Mar 2023cs.LG cs.CV cs.ROcited by 5

Not on the map. Why?

Abstract (arXiv)

This paper addresses learning end-to-end models for time series data that include a temporal alignment step via dynamic time warping (DTW). Existing approaches to differentiable DTW either differentiate through a fixed warping path or apply a differentiable relaxation to the min operator found in the recursive steps used to solve the DTW problem. We instead propose a DTW layer based around bi-level optimisation and deep declarative networks, which we name DecDTW. By formulating DTW as a continuous, inequality constrained optimisation problem, we can compute gradients for the solution of the optimal alignment (with respect to the underlying time series) using implicit differentiation. An interesting byproduct of this formulation is that DecDTW outputs the optimal warping path between two time series as opposed to a soft approximation, recoverable from Soft-DTW. We show that this property is particularly useful for applications where downstream loss functions are defined on the optimal alignment path itself. This naturally occurs, for instance, when learning to improve the accuracy of predicted alignments against ground truth alignments. We evaluate DecDTW on two such applications, namely the audio-to-score alignment task in music information retrieval and the visual place recognition task in robotics, demonstrating state-of-the-art results in both.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 36 of its 68 references that are in the map. First posted on arXiv 19 Mar 2023.

Builds on

36 of 68 references.

References · 36

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  3. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  4. 2015NetVLAD: CNN architecture for weakly supervised place recognitioncited by 935
  5. 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
  6. 2019Meta-Learning with Differentiable Convex Optimizationcited by 461
  7. 2019Differentiable Convex Optimization Layerscited by 458
  8. 2017Soft-DTW: a Differentiable Loss Function for Time-Seriescited by 265
  9. 2018Enabling Factorized Piano Music Modeling and Generation with the MAESTRO Datasetcited by 215
  10. 2018Differentiable MPC for End-to-end Planning and Controlcited by 178
  11. 2019Few-Shot Video Classification via Temporal Alignmentcited by 124
  12. 2020VPR-Bench: An Open-Source Visual Place Recognition Evaluation Framework with Quantifiable Viewpoint and Appearance Changecited by 101
24 more
  1. 2019D3TW: Discriminative Differentiable Dynamic Time Warping for Weakly Supervised Action Alignment and Segmentationcited by 83
  2. 2022Deep Visual Geo-localization Benchmarkcited by 83
  3. 2021Where is your place, Visual Place Recognition?cited by 82
  4. 2019Deep Declarative Networks: A New Hopecited by 77
  5. 2019Differentiating Through a Cone Programcited by 72
  6. 2019Shape and Time Distortion Loss for Training Deep Time Series Forecasting Modelscited by 66
  7. 2019End-to-End Learnable Geometric Vision by Backpropagating PnP Optimizationcited by 65
  8. 2021SeqNet: Learning Descriptors for Sequence-based Hierarchical Place Recognitioncited by 56
  9. 2021Learning by Aligning Videos in Timecited by 47
  10. 2021Drop-DTW: Aligning Common Signal Between Sequences While Dropping Outlierscited by 39
  11. 2020Solving the Blind Perspective-n-Point Problem End-To-End With Robust Differentiable Geometric Optimizationcited by 38
  12. 2020Real-time Kinematic Ground Truth for the Oxford RobotCar Datasetcited by 28
  13. 2020Differentiable Divergences Between Time Seriescited by 26
  14. 2021Learning Discriminative Prototypes with Dynamic Time Warpingcited by 23
  15. 2019Temporal Transformer Networks: Joint Learning of Invariant and Discriminative Time Warpingcited by 21
  16. 2021Probabilistic Visual Place Recognition for Hierarchical Localizationcited by 20
  17. 2018Autowarp: Learning a Warping Distance from Unlabeled Time Series Using Sequence Autoencoderscited by 14
  18. 2018NeuralWarp: Time-Series Similarity with Warping Networkscited by 13
  19. 2017Generalized Rank Pooling for Activity Recognitioncited by 10
  20. 2018Gaussian Process Latent Variable Alignment Learningcited by 5
  21. 2019A General Optimization Framework for Dynamic Time Warpingcited by 5
  22. 2014Metric Learning for Temporal Sequence Alignmentcited by 4
  23. 2017Discriminatively Learned Hierarchical Rank Pooling Networkscited by 2
  24. 2020Rethinking Evaluation Methodology for Audio-to-Score Alignmentcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 1; 2025: 1; 2026: 1.

5 papers.