Soft-DTW: a Differentiable Loss Function for Time-Series
Not on the map. Why?
Abstract (arXiv)
We propose in this paper a differentiable learning loss between time series, building upon the celebrated dynamic time warping (DTW) discrepancy. Unlike the Euclidean distance, DTW can compare time series of variable size and is robust to shifts or dilatations across the time dimension. To compute DTW, one typically solves a minimal-cost alignment problem between two time series using dynamic programming. Our work takes advantage of a smoothed formulation of DTW, called soft-DTW, that computes the soft-minimum of all alignment costs. We show in this paper that soft-DTW is a differentiable loss function, and that both its value and gradient can be computed with quadratic time/space complexity (DTW has quadratic time but linear space complexity). We show that this regularization is particularly well suited to average and cluster time series under the DTW geometry, a task for which our proposal significantly outperforms existing baselines. Next, we propose to tune the parameters of a machine that outputs time series by minimizing its fit with ground-truth labels in a soft-DTW sense.
Key facts. Cited by 265 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Mar 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 28; 2022: 40; 2023: 46; 2024: 38; 2025: 59; 2026: 54.
265 papers.
Sort:
By area:
- 2022NaturalSpeech: End-to-End Text to Speech Synthesis with Human-Level Qualitycited by 151
- 2022Temporal Alignment Networks for Long-term Videocited by 84
- 2022Tutorial on amortized optimizationcited by 83
- 2023Teach a Robot to FISH: Versatile Imitation from One Minute of Demonstrationscited by 74
- 2021Domain Adaptation for Time Series Forecasting via Attention Sharingcited by 68
- 2022Deep Differentiable Logic Gate Networkscited by 67
- 2022NeMF: Neural Motion Fields for Kinematic Animationcited by 66
- 2022Watch and Match: Supercharging Imitation with Regularized Optimal Transportcited by 64
- 2023Warpformer: A Multi-scale Modeling Approach for Irregular Clinical Time Seriescited by 54
- 2021Learning by Aligning Videos in Timecited by 47
- 2023Interpretable and Explainable Logical Policies via Neurally Guided Symbolic Abstractioncited by 45
- 2025DBLoss: Decomposition-based Loss Function for Time Series Forecastingcited by 44
38 more
- 2021Representation Learning via Global Temporal Alignment and Cycle-Consistencycited by 43
- 2021Drop-DTW: Aligning Common Signal Between Sequences While Dropping Outlierscited by 39
- 2021Online Graph Dictionary Learningcited by 37
- 2023StepFormer: Self-supervised Step Discovery and Localization in Instructional Videoscited by 37
- 2024Multi-granularity Correspondence Learning from Long-term Noisy Videoscited by 34
- 2025Patch-wise Structural Loss for Time Series Forecastingcited by 34
- 2022Fine-grained Temporal Contrastive Learning for Weakly-supervised Temporal Action Localizationcited by 33
- 2023Pre-training for Speech Translation: CTC Meets Optimal Transportcited by 25
- 2023Trajectory-Aware Body Interaction Transformer for Multi-Person Pose Forecastingcited by 25
- 2022Video-Text Representation Learning via Differentiable Weak Temporal Alignmentcited by 24
- 2021Learning Discriminative Prototypes with Dynamic Time Warpingcited by 23
- 2021ScanGAN360: A Generative Model of Realistic Scanpaths for 360circ Imagescited by 23
- 2022Inductive and Transductive Few-Shot Video Classification via Appearance and Temporal Alignmentscited by 22
- 2022Temporal-Viewpoint Transportation Plan for Skeletal Few-shot Action Recognitioncited by 22
- 2024Learnable Expansion of Graph Operators for Multi-Modal Feature Fusioncited by 22
- 2025Time-o1: Time-Series Forecasting Needs Transformed Label Alignmentcited by 22
- 2021Learning with Algorithmic Supervision via Continuous Relaxationscited by 21
- 2022Uncertainty-DTW for Time Series and Sequencescited by 21
- 2024SuperSVG: Superpixel-based Scalable Vector Graphics Synthesiscited by 19
- 2021SVC-onGoing: Signature Verification Competitioncited by 17
- 2021Riemannian Convex Potential Mapscited by 16
- 2024Unified Generative and Discriminative Training for Multi-modal Large Language Modelscited by 15
- 2022Learning Temporal Point Processes for Efficient Retrieval of Continuous Time Event Sequencescited by 14
- 2023Differentiable Clustering with Perturbed Spanning Forestscited by 14
- 2021Learnable Dynamic Temporal Pooling for Time Series Classificationcited by 13
- 2022Towards Similarity-Aware Time-Series Classificationcited by 13
- 2024SSDM: Scalable Speech Dysfluency Modelingcited by 13
- 2025DistDF: Time-Series Forecasting Needs Joint-Distribution Wasserstein Alignmentcited by 13
- 2023Learning Differentiable Logic Programs for Abstract Visual Reasoningcited by 12
- 2021Clustering Interval-Censored Time-Series for Disease Phenotypingcited by 11
- 2022Context-Aware Sequence Alignment using 4D Skeletal Augmentationcited by 11
- 20223D Pose Based Feedback for Physical Exercisescited by 11
- 2025Joint Self-Supervised Video Alignment and Action Segmentationcited by 11
- 2025Structured Agent Distillation for Large Language Modelcited by 11
- 2021Deep Time Series Forecasting with Shape and Temporal Criteriacited by 10
- 20213D Skeleton-based Few-shot Action Recognition with JEANIE is not so Na"ivecited by 10
- 2024Meet JEANIE: a Similarity Measure for 3D Skeleton Sequences via Temporal-Viewpoint Alignmentcited by 10
- 2025FeDaL: Federated Dataset Learning for General Time Series Foundation Modelscited by 10
50 most cited of 265 All 265 (JSON)
- 2026Volatility-Clustering Adaptation for Financial Time Series29 Sep 2026
- 2026Geometry-Conditioned Fixed-Scaffold Encoders for Time-Warp Robust Sequence Retrieval29 Sep 2026
- 2026Distill Locally, Schedule Globally: Flow Maps for Few-Step Text-to-Speech28 Sep 2026
- 2026XMatch: Enhancing Covariate-Aware Time Series Forecasting through Tree-Structured Exogenous Matching28 Sep 2026
- 2026Reference-Based Analysis of Coherence and Diversity in Open-Ended Text Generation23 Sep 2026
- 2026Improving Cross-embodiment Transfer in Latent Action Models with Action-Similarity Supervision17 Sep 2026
- 2026CoRe: Coherence and Relational Alignment for Multivariate Time Series Forecasting17 Sep 2026
- 2026Adaptive Bayesian Partner Selection for Federated Clinical Centers15 Sep 2026
- 2026Online Signature Verification Using Augmented Path Signature and T-Mamba8 Sep 2026
- 2026Evaluating Loss Functions in Differentiable Out-of-Domain Sound-Matching with Partial Parameter Distance27 Aug 2026
- 2026Phase-Aligned Finite-Fourier Periodic Deformation for 4D Medical Image Interpolation25 Aug 2026
- 2026TSDS-Toolbox: A Toolbox for Measuring Time-Series Dataset Similarity8 Aug 2026
38 more
- 2026Multivariate Time Series Forecasting needs Cross Variable Loss6 Aug 2026
- 2026Align-RAG: Alignment Is All You Need for TSFM In-Context Learning6 Aug 2026
- 2026Beyond Magnitude and Shape: A Direction-Aware Loss for Time Series Forecasting3 Aug 2026
- 2026TraceViT: Grounded Trace Supervision for Visual Abstract Reasoning31 Jul 2026
- 2026Generative Augmentation for EEG Motor Imagery Classification: A Class-Conditional VAE with Cycle-Consistent Decoder Refinement22 Jul 2026
- 2026Deep learning-based prediction of time-resolved adhesive forces in viscoelastic Hertzian contacts21 Jul 2026
- 2026Content is What Remains: Invariant Speech Tokenization from Parallel Utterances21 Jul 2026
- 2026Asymmetric Peak-Aware Loss for Peak-Critical Time Series Forecasting16 Jul 2026
- 2026From Human-Centric to Agentic Code Review: The Impact of Different Generations of Generative AI Technology on Review Quality14 Jul 2026
- 2026Local Multimodal Music Alignment from Global Supervision10 Jul 2026
- 2026Learning Spatio-Temporal Foundation Models from Pure Synthetic Data27 Jun 2026
- 2026Fully Differentiable Neural Forced Alignment via Soft Dynamic Programming24 Jun 2026
- 2026TopoCast: A Topological Fidelity Framework for Evaluating Transformer-Based Time Series Forecasting24 Jun 2026
- 2026Time Series Classification through Diffeomorphic Time Warping (DiffTW)22 Jun 2026
- 2026Fusion-E2Pulse: A Multimodal Event-RGB Fusion Network for Non-contact Pulse Wave Reconstruction14 Jun 2026
- 2026AP-GRPO: Anchor-Gated Phonetic Alignment with Policy Optimization for Pathological Speech Reconstruction14 Jun 2026
- 2026DIFF-ERO: A Conformance-Aware Loss for Deep Learning in Process Mining12 Jun 2026
- 2026Efficient Time Series Clustering from Multiscale Reservoir Dynamics with Granular-Ball Anchoring Graph Optimization10 Jun 2026
- 2026Temporally-Aligned Evaluation for Audio-Driven Talking Head Generation31 May 2026
- 2026STaT: Resolving Shape Distortion in Non-Stationary Time Series via Tri-Modal Synergy25 May 2026
- 2026Uncertainty-DTW for Sequences and Visual Tokens24 May 2026
- 2026World Machine: Towards Generative World Modeling for Time-Series21 May 2026
- 2026Cross-Subject EEG Emotion Recognition Based on Temporal Asynchronous Alignment Contrastive Learning21 May 2026
- 2026Deep Learning Surrogates for Emulating Stochastic Climate Tipping Dynamics20 May 2026
- 2026Soft-MSM: Differentiable Context-Aware Elastic Alignment for Time Series30 Apr 2026
- 2026Re2MoGen: Open-Vocabulary Motion Generation via LLM Reasoning and Physics-Aware Refinement20 Apr 2026
- 2026InstrAct: Towards Action-Centric Understanding in Instructional Videos9 Apr 2026
- 2026MP-MoE: Matrix Profile-Guided Mixture of Experts for Precipitation Forecasting26 Mar 2026
- 2026Deep Time-Series Forecasting in 10 Years: A Survey20 Mar 2026
- 2026When and Why Does Unsupervised RL Succeed in Mathematical Reasoning? A Manifold Envelopment Perspective17 Mar 2026
- 2026Towards plausibility in time series counterfactual explanations9 Mar 2026
- 2026Boosting deep Reinforcement Learning using pretraining with Logical Options6 Mar 2026
- 2026TEFL: Prediction-Residual-Guided Rolling Forecasting for Multi-Horizon Time Series26 Feb 2026
- 2026DWA-KD: Dual-Space Weighting and Time-Warped Alignment for Cross-Tokenizer Knowledge Distillation25 Feb 2026
- 2026SoftDTW-CUDA-Torch: Memory-Efficient GPU-Accelerated Soft Dynamic Time Warping for PyTorch19 Feb 2026
- 2026Cross-Temporal Attention Fusion (CTAF) for Multimodal Physiological Signals in Self-Supervised Learning2 Feb 2026
- 2026Deep Time-series Forecasting Needs Kernelized Moment Balancing31 Jan 2026
- 2026Reconsidering Positional Supervision in Masked Diffusion Language Model Training30 Jan 2026
50 newest of 265 All 265 (JSON)
- 2023Learning Differentiable Logic Programs for Abstract Visual Reasoningcited by 12
- 2022Neural Meta-Symbolic Reasoning and Learningcited by 4
- 2026When and Why Does Unsupervised RL Succeed in Mathematical Reasoning? A Manifold Envelopment Perspectivecited by 0
- 2026Re2MoGen: Open-Vocabulary Motion Generation via LLM Reasoning and Physics-Aware Refinementcited by 0
- 2026Re2MoGen: Open-Vocabulary Motion Generation via LLM Reasoning and Physics-Aware Refinement20 Apr 2026
- 2026When and Why Does Unsupervised RL Succeed in Mathematical Reasoning? A Manifold Envelopment Perspective17 Mar 2026
- 2023Learning Differentiable Logic Programs for Abstract Visual Reasoning3 Jul 2023
- 2022Neural Meta-Symbolic Reasoning and Learning21 Nov 2022
- 2023Teach a Robot to FISH: Versatile Imitation from One Minute of Demonstrationscited by 74
- 2022Watch and Match: Supercharging Imitation with Regularized Optimal Transportcited by 64
- 2024Contractive Dynamical Imitation Policies for Efficient Out-of-Sample Recoverycited by 5
- 2023Leveraging Optimal Transport for Enhanced Offline Reinforcement Learning in Surgical Robotic Environmentscited by 3
- 2024Contractive Dynamical Imitation Policies for Efficient Out-of-Sample Recovery10 Dec 2024
- 2023Leveraging Optimal Transport for Enhanced Offline Reinforcement Learning in Surgical Robotic Environments13 Oct 2023
- 2023Teach a Robot to FISH: Versatile Imitation from One Minute of Demonstrations2 Mar 2023
- 2022Watch and Match: Supercharging Imitation with Regularized Optimal Transport30 Jun 2022
- 2024Unified Generative and Discriminative Training for Multi-modal Large Language Modelscited by 15
- 2025Tokenization of Gaze Datacited by 1
- 2025Tokenization of Gaze Data28 Mar 2025
- 2024Unified Generative and Discriminative Training for Multi-modal Large Language Models1 Nov 2024
- 2022NaturalSpeech: End-to-End Text to Speech Synthesis with Human-Level Qualitycited by 151
- 2022Temporal Alignment Networks for Long-term Videocited by 84
- 2022Tutorial on amortized optimizationcited by 83
- 2021Domain Adaptation for Time Series Forecasting via Attention Sharingcited by 68
- 2022Deep Differentiable Logic Gate Networkscited by 67
- 2022NeMF: Neural Motion Fields for Kinematic Animationcited by 66
- 2023Warpformer: A Multi-scale Modeling Approach for Irregular Clinical Time Seriescited by 54
- 2021Learning by Aligning Videos in Timecited by 47
- 2023Interpretable and Explainable Logical Policies via Neurally Guided Symbolic Abstractioncited by 45
- 2025DBLoss: Decomposition-based Loss Function for Time Series Forecastingcited by 44
- 2021Representation Learning via Global Temporal Alignment and Cycle-Consistencycited by 43
- 2021Drop-DTW: Aligning Common Signal Between Sequences While Dropping Outlierscited by 39
12 most cited of 244 All 244 (JSON)
- 2026Volatility-Clustering Adaptation for Financial Time Series29 Sep 2026
- 2026Geometry-Conditioned Fixed-Scaffold Encoders for Time-Warp Robust Sequence Retrieval29 Sep 2026
- 2026XMatch: Enhancing Covariate-Aware Time Series Forecasting through Tree-Structured Exogenous Matching28 Sep 2026
- 2026Reference-Based Analysis of Coherence and Diversity in Open-Ended Text Generation23 Sep 2026
- 2026Improving Cross-embodiment Transfer in Latent Action Models with Action-Similarity Supervision17 Sep 2026
- 2026CoRe: Coherence and Relational Alignment for Multivariate Time Series Forecasting17 Sep 2026
- 2026Adaptive Bayesian Partner Selection for Federated Clinical Centers15 Sep 2026
- 2026Evaluating Loss Functions in Differentiable Out-of-Domain Sound-Matching with Partial Parameter Distance27 Aug 2026
- 2026Phase-Aligned Finite-Fourier Periodic Deformation for 4D Medical Image Interpolation25 Aug 2026
- 2026TSDS-Toolbox: A Toolbox for Measuring Time-Series Dataset Similarity8 Aug 2026
- 2026Multivariate Time Series Forecasting needs Cross Variable Loss6 Aug 2026
- 2026Beyond Magnitude and Shape: A Direction-Aware Loss for Time Series Forecasting3 Aug 2026
12 newest of 244 All 244 (JSON)