TL;DR
This paper introduces a novel "pairwise dynamic time warping" (DTW) method to align sequences of event times, even when the number of events varies between sequences. This approach is crucial for analyzing complex event data, like birth timings or auction bids, by enabling a robust "global" alignment from pairwise comparisons, paving the way for more meaningful downstream analysis.
What Problem Does This Paper Address?
Analyzing data where events occur at irregular intervals (e.g., medical events, financial transactions, biological processes) is challenging because traditional time-series analysis often assumes fixed time points. When comparing multiple such event sequences, a major hurdle is that the number of observed events can differ significantly between individuals or samples. Standard alignment methods, like landmark-based approaches, fail because they require a consistent number and sequence of "landmarks" (identifiable features) across all data points. This paper tackles the problem of aligning such "event data" where the number of events is random and varies, making direct comparison and aggregation difficult.
Methods
The core of the paper is a novel approach to dynamic time warping (DTW) specifically designed for event data. Instead of aligning continuous functions, it focuses on aligning discrete event times. The strategy involves two main steps:
- Pairwise Registration: The authors adapt DTW to align pairs of event sequences. Crucially, this DTW implementation allows for sequences with different lengths (i.e., different numbers of events). This is achieved by using a dynamic programming approach that finds an optimal alignment path between two sequences, minimizing a distance metric between corresponding events. The algorithm is detailed on pages 7-8.
- Global Alignment from Pairwise Alignments: The information from all pairwise alignments is then combined to create a single, overarching alignment for the entire sample of curves. This "global" alignment provides a consistent temporal framework for all event sequences, even those that were not directly compared in the initial pairwise step. This is discussed in Section 2.3.
The paper also defines specific distance metrics and interpolation techniques to handle the discrete nature of event data and to ensure that the resulting warping functions are strictly increasing.
Datasets
The proposed method is illustrated and evaluated using two real-world datasets:
- Historical Fertility Data: Data from 1877 native-born French-Canadian women, focusing on the ages of childbirth for women with more than one child. This dataset is used to demonstrate how the method can reveal different fertility dynamics.
- Online Auction Data: A set of 158 eBay auctions for Palm M515 Personal Digital Assistants. This dataset is used to analyze bidding behaviors and characterize the bid arrival process.
Key Insights and Ideas
- DTW for Variable Event Counts: The most significant insight is the successful adaptation of DTW to handle event data with varying numbers of events per sequence. This overcomes a major limitation of traditional alignment methods.
- Global Alignment from Local Pairwise Comparisons: The paper demonstrates that a robust global alignment can be effectively constructed by aggregating information from numerous pairwise alignments. This is a key advantage over methods that attempt to align all curves simultaneously, which can be computationally prohibitive.
- Uncovering Hidden Dynamics: By aligning event sequences, the method reveals underlying patterns and behaviors that are obscured by temporal variations. For instance, it can distinguish different fertility trajectories or bidding strategies that would otherwise be indistinguishable.
- Warping Functions as Descriptors: The estimated warping functions themselves become valuable descriptors of individual temporal behavior, enabling further analysis like clustering.
Key Results
The paper demonstrates the effectiveness of its method through applications to the fertility and auction datasets:
- Fertility Data: The method successfully identified two distinct clusters of fertility trajectories: "late birth" and "regular birth." The analysis revealed differences in the age of first birth and the overall fertility dynamics between these groups. The warping functions were used to define a distance matrix for clustering.
- Online Auction Data: The analysis of auction data revealed distinct bidding behaviors. The registered intensity functions showed an exponential-type pattern, and the method helped to identify phenomena like "early bidding" and "bid sniping" as manifestations of time warping. Clustering of auctions based on warping functions identified two groups with different bidding dynamics ("L" for late, and "R-E" for regular-early), which were related to final auction prices.
Limitations and Future Work
- Metric Choice: The paper acknowledges that the choice of metric (Euclidean distance is used) is crucial and can significantly impact the resulting alignments. Different applications might benefit from different similarity notions.
- Computational Complexity for Large Samples: While pairwise DTW is efficient, extending it to a very large number of curves can still be computationally intensive, although the proposed method is more scalable than some previous DTW approaches for multiple alignments.
- Future Work: The authors suggest that the warping estimates can be used for classification and clustering, as demonstrated in the applications. Further exploration of different distance metrics and their impact on clustering outcomes is a natural extension. The potential for using these methods in other domains with event data is also implied.
Summary updated