A Fast-Optimal Guaranteed Algorithm For Learning Sub-Interval Relationships in Time Series

Saurabh Agrawal, Saurabh Verma, Anuj Karpatne, Stefan Liess, Snigdhansu Chatterjee, Vipin KumararXiv 2019

Abstract

Traditional approaches focus on finding relationships between two entire time series, however, many interesting relationships exist in small sub-intervals of time and remain feeble during other sub-intervals. We define the notion of a sub-interval relationship (SIR) to capture such interactions that are prominent only in certain sub-intervals of time. To that end, we propose a fast-optimal guaranteed algorithm to find most interesting SIR relationship in a pair of time series. Lastly, we demonstrate the utility of our method in climate science domain based on a real-world dataset along with its scalability scope and obtain useful domain insights.

Introduction

In fields like climate science or neuroscience, variables often exhibit strong interactions only during specific temporal windows. For instance, the El Niño Southern Oscillation (ENSO) creates significant negative correlations between sea level pressures (SLP) in disparate geographic regions, but primarily during extreme phases. Standard global correlation measures often fail to capture these intermittent signals, as noise from inactive periods dilutes the overall metric. Identifying these "Sub-Interval Relationships" (SIRs) is computationally challenging, as it requires finding an optimal set of non-overlapping intervals that maximize relationship strength without exhaustive search.

Methodology: Partitioned Dynamic Programming

The search for optimal SIRs can be modeled as a Weighted Interval Scheduling problem. While standard Dynamic Programming (DP) offers a solution with $O(N^2)$ complexity, it is inefficient for large-scale datasets.

This paper introduces Partitioned Dynamic Programming (PDP), which achieves near-linear performance by identifying "safe points of partition." These are timestamps where a strong relationship interval cannot mathematically cross. The validity of these partitions relies on the "sandwich property": if two adjacent intervals are weak, their union must also be weak. By identifying these boundaries through bidirectional scans, PDP decomposes the global problem into smaller, independent sub-problems, significantly reducing the search space while maintaining a mathematical guarantee of optimality.

Experimental Results

Scalability and Performance

The PDP algorithm was benchmarked against standard DP using simulated climate data. While the execution time for standard DP grew quadratically with the length of the time series, PDP demonstrated strictly linear growth in practice. This efficiency allows the method to scale to massive datasets where traditional approaches would be computationally prohibitive.

Scalability comparison between standard DP and the proposed PDP algorithm showing linear vs quadratic growth.

Climate Science Discovery

Applying PDP to real-world monthly SLP anomaly data from 1979–2014 revealed significant SIRs corresponding to major El Niño and La Niña events (e.g., 1982-83 and 1997-98). By analyzing the fraction of significant SIRs across thousands of region pairs, the researchers observed distinct spikes during these extreme climate events. This synchronization of seemingly unrelated regions highlights the global impact of ENSO and demonstrates the utility of SIRs as a diagnostic tool for climate anomalies.

The fraction of significant sub-interval relationships (SIRs) spikes during major climate events like El Niño.

Conclusion

The PDP algorithm provides a robust and efficient framework for discovering intermittent relationships in time series data. By leveraging the sandwich property to partition the search space, it achieves practical linearity without sacrificing optimality. Future work will explore extending this framework to multivariate relationships and automating threshold selection for broader applicability across diverse domains.

Summary updated

BibTeX
@misc{agrawal2019fast,
  author = {Saurabh Agrawal and Saurabh Verma and Anuj Karpatne and Stefan Liess and Snigdhansu Chatterjee and Vipin Kumar},
  title = {{A Fast-Optimal Guaranteed Algorithm For Learning Sub-Interval Relationships in Time Series}},
  year = {2019},
  eprint = {1906.01450},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.01450},
}
Figure