A General Metric-Space Formulation of the Time Warp Edit Distance (TWED)
Zhen Yi Lau

TL;DR
This paper extends the Time Warp Edit Distance (TWED) to arbitrary metric spaces, providing a theoretical foundation for applying elastic distances beyond traditional time series to diverse data types.
Contribution
It introduces a generalized TWED (GTWED) that is a true metric in arbitrary metric spaces, broadening the applicability of elastic distance measures.
Findings
GTWED is a true metric under mild conditions.
Classical TWED is a special case of GTWED.
Enables elastic distances on sequences over arbitrary domains.
Abstract
This short technical note presents a formal generalization of the Time Warp Edit Distance (TWED) proposed by Marteau (2009) to arbitrary metric spaces. By viewing both the observation and temporal domains as metric spaces and , we define a Generalized TWED (GTWED) that remains a true metric under mild assumptions. We provide self-contained proofs of its metric properties and show that the classical TWED is recovered as a special case when , , and . This note focuses on the theoretical structure of GTWED and its implications for extending elastic distances beyond time series, which enables the use of TWED-like metrics on sequences over arbitrary domains such as symbolic data, manifolds, or embeddings.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTime Series Analysis and Forecasting · Data Quality and Management · Data Management and Algorithms
