Summary
COP-Miner is a novel algorithm designed to identify "what happens next" in time series data by focusing on specific user-defined trends. By utilizing keypoint extraction to ignore noise and an optimized "ending strategy" to prune unnecessary calculations, it outperforms traditional methods by up to 40x in speed while providing more accurate trend predictions than standard models like ARIMA.
Introduction: The Challenge of Trend Mining
In time series analysis—ranging from stock prices to heart rates—the relative "up-and-down" motion, known as Order-Preserving Patterns (OPP), is often more significant than exact numerical values. However, traditional OPP mining faces two primary hurdles:
- The "Everything" Problem: Existing algorithms attempt to find every frequent pattern in the data. This is computationally expensive and often leaves the user buried in redundant results. If a trader knows the market just dipped, they only care about what follows that specific pattern, not every possible trend in history.
- Data Distortion: Real-world data is noisy. Small fluctuations or time-warping can make two identical trends look different to a computer, leading to missed patterns.
The COP-Miner Framework
The authors introduce COP-Miner, a framework for Co-occurrence Order-preserving Pattern (COP) mining. Instead of mining raw data, it follows a three-stage process:
- Keypoint Extraction (LEP Algorithm): To handle distortion, the algorithm identifies "local extrema" (peaks and valleys). Mining these keypoints instead of every single data point makes the algorithm robust against noise and significantly faster.
- The Preparation Stage: The user provides a "prefix pattern" (the trend they are currently seeing). The algorithm identifies the "suffix" of this pattern and uses a specialized matching strategy (FAV) to find where this trend has occurred historically.
- Iterative Support Calculation (CSS Algorithm): This engine builds longer "superpatterns" by fusing existing ones. It employs an Ending Strategy based on the principle of anti-monotonicity: the algorithm stops searching a specific branch as soon as the frequency drops below a user-defined threshold.
Experimental Evaluation
The researchers evaluated COP-Miner against ten competing algorithms using nine diverse real-world datasets, including medical (ECG), financial (S&P 500, NYSE), and environmental (PM2.5) data. To test scalability, a massive synthetic dataset ("Big_NYSE") was created by enlarging NYSE data 440 times.
Key Results
- Massive Speedups: On the largest datasets, COP-Miner was 40 times faster than the standard OPP-Miner and 4 times faster than the previous state-of-the-art (EFO-Miner).
- Memory Efficiency: COP-Miner used significantly less RAM (approx. 2GB vs. 8GB for OPP-Miner on large sets) because it generates far fewer "candidate" patterns.
- Superior Prediction: When used to predict future values, COP-Miner achieved higher Recall and F1-scores than traditional statistical models like ARIMA or distance-based models like Dynamic Time Warping (DTW).
Conclusion and Future Directions
COP-Miner demonstrates that targeted mining is far more efficient than exhaustive search for practical applications. By focusing on keypoints and specific prefixes, it provides a robust solution for large-scale time series analysis. Future research may explore multi-variate COPs—mining patterns across multiple related time series simultaneously—and adapting the framework for real-time streaming data.
Summary updated