bioRxivEcology
Let's Do the Time Warp Again: Non-linear time series matching as a tool for sequentially structured data in ecology
Abstract
Ecological patterns are often fundamentally chronological. However, generalization of data is necessarily accompanied by a loss of detail or resolution. Temporal data in particular contains information not only in data values but in the temporal structure, which is lost when these values are aggregated to provide point estimates. Dynamic Time Warping (DTW) is a time series comparison method that is capable of efficiently comparing series despite temporal offsets that confound other methods. The DTW method is both efficient and remarkably flexible, capable of efficiently matching not only time series but any sequentially structured dataset, which has made it a popular technique in machine learning, artificial intelligence, and big data analytical tasks. DTW is rarely used in ecology despite the ubiquity of temporally structured data. As technological advances have increased the richness of small-scale ecological data, DTW may be an attractive analysis technique because it is able to utilize the additional information contained in the temporal structure of many ecological datasets. In this study we use an example dataset of high-resolution fish movement records obtained from otolith microchemistry to compare traditional analysis techniques with DTW clustering. Our results suggest that DTW is capable of detecting subtle behavioral patterns within otolith datasets which traditional data aggregation techniques cannot. These results provide evidence that the DTW method may be useful across many of the temporal data types commonly collected in ecology, as well other sequentially ordered "pseudo time series" data such as classification of species by shape. Keywords: classification, cluster analysis, data generalization, DTW, dynamic time warping, otolith chemistry, time series
- assay: spatial transcriptomics
- assay: imaging
- research focus: clustering
- research focus: benchmarking
- research focus: database / resource
- research focus: software / tool
- approach: deep learning
- approach: statistical model
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Deep learning classification of temporal data in ecology
C. Capinha, A. Ceia-Hasse, … C. Meijer·bioRxiv·Sep 14, 2020
- A user-friendly guide to using distance measures to compare time series in ecology.
S. Dove, M. Bohm, … D. Murrell·bioRxiv·May 11, 2022
- Social media posts as a source of ecological information over time: using Twitter (X) as a proof of principle
Rafał Miłodrowski, Cassandra G. M. Extavour, Guillem Ylla·bioRxiv·Nov 21, 2025
- Barcoding and its application for visualizing ecological dynamics
V. Agarwal, C. B. Mouw·bioRxiv·Apr 7, 2022
- The Broken Window: An algorithm for quantifying and characterizing misleading trajectories in ecological processes
C. Bahlai, E. White, … K. Stack Whitney·Ecological InformaticsPeer-reviewed·Sep 1, 2021
- Food Webs Over Time: Evaluating The Variability Of Degree Distribution On Ecological Networks
Daniela N Lopez, Patricio A Camus, … Sergio A Estay·bioRxiv·May 5, 2017