# Attention to Warp: Deep Metric Learning for Multivariate Time Series

arXiv: https://arxiv.org/abs/2103.15074 · HTML: https://mlsanity.com/paper/2103.15074/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 14 of its 41 references that are in the map.
- First posted on arXiv 28 Mar 2021.

## Builds on (most cited first, 14 of 14)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [U-Net: Convolutional Networks for Biomedical Image Segmentation](https://mlsanity.com/paper/1505.04597/) (2015)
- [Neural Machine Translation by Jointly Learning to Align and Translate](https://mlsanity.com/paper/1409.0473/) (2014)
- [Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification](https://mlsanity.com/paper/1502.01852/) (2015)
- [Effective Approaches to Attention-based Neural Machine Translation](https://mlsanity.com/paper/1508.04025/) (2015)
- [Deep learning for time series classification: a review](https://mlsanity.com/paper/1809.04356/) (2018)
- [Can recurrent neural networks warp time?](https://mlsanity.com/paper/1804.11188/) (2018)
- [DeepSign: Deep On-Line Signature Verification](https://mlsanity.com/paper/2002.10119/) (2020)
- [NeuralWarp: Time-Series Similarity with Warping Networks](https://mlsanity.com/paper/1812.08306/) (2018)
- [Human Motion Analysis with Deep Metric Learning](https://mlsanity.com/paper/1807.11176/) (2018)
- [SynSig2Vec: Learning Representations from Synthetic Dynamic Signatures for Real-world Verification](https://mlsanity.com/paper/1911.05358/) (2019)
- [OSVNet: Convolutional Siamese Network for Writer Independent Online Signature Verification](https://mlsanity.com/paper/1904.00240/) (2019)
- [A new algorithm for identity verification based on the analysis of a handwritten dynamic signature](https://mlsanity.com/paper/1610.01578/) (2016)

## Built on by (most cited first, 2 of 2)

- [Deep Attentive Time Warping](https://mlsanity.com/paper/2309.06720/) (2023)
- [Time Elastic Neural Networks](https://mlsanity.com/paper/2405.17516/) (2024)

## Abstract (arXiv)

Deep time series metric learning is challenging due to the difficult trade-off between temporal invariance to nonlinear distortion and discriminative power in identifying non-matching sequences. This paper proposes a novel neural network-based approach for robust yet discriminative time series classification and verification. This approach adapts a parameterized attention model to time warping for greater and more adaptive temporal invariance. It is robust against not only local but also large global distortions, so that even matching pairs that do not satisfy the monotonicity, continuity, and boundary conditions can still be successfully identified. Learning of this model is further guided by dynamic time warping to impose temporal constraints for stabilized training and higher discriminative power. It can learn to augment the inter-class variation through warping, so that similar but different classes can be effectively distinguished. We experimentally demonstrate the superiority of the proposed approach over previous non-parametric and deep models by combining it with a deep online signature verification framework, after confirming its promising behavior in single-letter handwriting classification on the Unipen dataset.
