mlsanityData to 24 Nov 2026

WETW: Learning Pair-Specific Weighted Euclidean Distances for Efficient DTW Search

arXiv 2611.17412 ↗Submitted 12 Nov 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Dynamic Time Warping (DTW) is the standard distance for similarity search over time series that are misaligned in time, but its cost is quadratic in the series length and lower bounds often prune few candidates, so search over large collections of long series is slow. Learned approximations embed the series to make comparisons cheap, yet compare every pair with the same fixed rule, usually the Euclidean distance, although DTW aligns each pair differently. We observe that, once a pair is aligned, DTW is a Euclidean distance over coordinates selected for that pair. Building on this view, we propose Weighted Euclidean Time Warping (WETW), a learned distance that adapts the comparison of fixed-length embeddings to each pair. A small symmetric network predicts one weight per embedding di- mension and pair without computing an alignment, which halves the error of the best static distance on the same embeddings. The embeddings come from the Weighted Euclidean SEries Encoder (WESEE), whose multi-scale Temporal Feature Extractor keeps the timing information that global pooling removes and raises recall@1 from 0.90 to 0.95, although WETW works with any encoder. We also show that fitting DTW distances is not enough for search, as regression alone misorders the closest neighbours, and that ranking regularization raises recall@1 from 0.79 to 0.95. Our filter-and-verify pipeline, WETW-FV, uses WETW to build a shortlist and exact DTW to check it, so the search is approximate but every returned distance is exact. Over eight datasets, WETW-FV is 11.4x faster than the fastest exact method among the UCR Suite, lower bounds and MESSI-DTW, at a mean recall@10 of 0.93, while the best learned baseline reaches 0.59 at the same speed. On 48K-point series, WETW- FV remains 40x faster than the UCR Suite at a recall@10 of 0.91.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 17 of its 47 references that are in the map. Submitted 12 Nov 2026.

Builds on

17 of 47 references.

References · 17

  1. 2015Deep Residual Learning for Image Recognitioncited by 53,116
  2. 2016Layer Normalizationcited by 6,002
  3. 2015Multi-Scale Context Aggregation by Dilated Convolutionscited by 1,157
  4. 2019InceptionTime: Finding AlexNet for Time Series Classificationcited by 397
  5. 2018AudioMNIST: Exploring Explainable Artificial Intelligence for Audio Analysis on a Simple Benchmarkcited by 78
  6. 2018NeuralWarp: Time-Series Similarity with Warping Networkscited by 14
  7. 2025MONSTER: Monash Scalable Time Series Evaluation Repositorycited by 9
  8. 2018Elastic bands across the path: A new framework and methods to lower bound DTWcited by 8
  9. 2020Return of the Lernaean Hydra: Experimental Evaluation of Data Series Approximate Similarity Searchcited by 7
  10. 2020The Lernaean Hydra of Data Series Similarity Search: An Experimental Evaluation of the State of the Artcited by 6
  11. 2021Fast Data Series Indexing for In-Memory Datacited by 5
  12. 2021Early Abandoning and Pruning for Elastic Distances including Dynamic Time Warpingcited by 4
5 more
  1. 2021Tight lower bounds for Dynamic Time Warpingcited by 4
  2. 2022ProS: Data Series Progressive k-NN Similarity Search and Classification with Probabilistic Quality Guaranteescited by 3
  3. 2020Coconut: a scalable bottom-up approach for building data series indexescited by 2
  4. 2020MESSI: In-Memory Data Series Indexingcited by 2
  5. 2026DaiSy: A Library for Scalable Data Series Similarity Searchcited by 2

Built on by

Not cited yet.