Abstract
This paper presents CooMine, the first dedicated approach for mining Frequent Co-occurrence Patterns (FCPs) across high-speed, multiple data streams. By utilizing a novel "Seg-tree" data structure, CooMine efficiently indexes overlapping stream segments to detect synchronized patterns in real-time, significantly reducing memory and maintenance overhead compared to traditional methods.
Introduction: The Challenge of Cross-Stream Co-occurrence
Traditional frequent pattern mining typically focuses on items appearing together within a single database or stream. However, many modern applications—such as traffic surveillance or social media monitoring—require identifying patterns synchronized across multiple independent streams. For example, tracking thousands of traffic cameras to find groups of vehicles passing through different locations within a specific time window is a cross-stream co-occurrence problem.
The primary challenges in this domain include the unbounded nature and massive arrival speed of data streams, the necessity for one-pass processing, and the computational complexity of searching across thousands of potentially overlapping streams.
Methodology: The CooMine Algorithm and Seg-tree
The authors propose a "filter-and-refine" strategy that first divides streams into segments—maximal sequences of objects appearing within a time window $\xi$. While a baseline approach (DIMine) using an inverted index was tested, it suffered from high maintenance costs due to constant data expiration.
The core innovation is the CooMine algorithm and its Seg-tree data structure. The Seg-tree is a trie-like structure designed to store stream segments compactly.
Key technical features of CooMine include:
- Compactness: Shared prefixes among segments are stored in common nodes, saving significant memory.
- Efficient Search (SLCP): A "Searching Longest Common Prefix" algorithm combined with DistanceBound pruning allows the system to skip irrelevant tree branches.
- Lazy Deletion (LD): To minimize the "maintenance tax" on CPU cycles, CooMine removes obsolete segments only when necessary, rather than immediately upon expiration.
Evaluation and Real-World Impact
CooMine was evaluated using two real-world datasets: Traffic Records (TR) from 3,000 surveillance cameras in Jinan, China, and a Twitter dataset.
In the traffic dataset, which features high overlap, CooMine demonstrated superior efficiency, consuming only 80% of the memory used by the DIMine baseline and 25% of a standard matrix-based approach. Furthermore, its maintenance speed was approximately 20 times faster than the matrix-based baseline.
Beyond laboratory results, CooMine was deployed in the City of Jinan’s Traffic Surveillance system. Over a six-month period, the system successfully assisted in detecting dozens of criminal activities, including vehicle thefts and burglaries, proving its practical utility in large-scale urban management.
Conclusion
CooMine addresses the critical bottleneck of maintenance costs in stream mining. By leveraging the redundancy in overlapping stream segments through the Seg-tree structure and implementing lazy deletion, it provides a scalable and efficient solution for real-time cross-stream pattern discovery. Future work will focus on adapting these algorithms for distributed environments to handle even larger data scales.
Summary updated