Abstract
Nowadays, with the rapid development of the Internet, the era of big data has come. The Internet generates huge amounts of data every day. However, extracting meaningful information from massive data is like looking for a needle in a haystack. Data mining techniques can provide various feasible methods to solve this problem. At present, many sequential rule mining (SRM) algorithms are presented to find sequential rules in databases with sequential characteristics. These rules help people extract a lot of meaningful information from massive amounts of data. How can we achieve compression of mined results and reduce data size to save storage space and transmission time? Until now, there has been little research on the compression of SRM. In this paper, combined with the Minimum Description Length (MDL) principle and under the two metrics (support and confidence), we introduce the problem of compression of SRM and also propose a solution named ComSR for MDL-based compressing of sequential rules based on the designed sequential rule coding scheme. To our knowledge, we are the first to use sequential rules to encode an entire database. A heuristic method is proposed to find a set of compact and meaningful sequential rules as much as possible. ComSR has two trade-off algorithms, ComSR_non and ComSR_ful, based on whether the database can be completely compressed. Experiments done on a real dataset with different thresholds show that a set of compact and meaningful sequential rules can be found. This shows that the proposed method works.
Introduction
Sequential Rule Mining (SRM) is a powerful tool for discovering temporal relationships in data, such as "If a user buys a camera, they are 80% likely to buy a memory card later." However, a major hurdle in practical applications is the "rule explosion" phenomenon. When support and confidence thresholds are set low enough to capture interesting patterns, the number of generated rules often skyrockets into the thousands, many of which are redundant or overlapping. This makes it nearly impossible for human experts to identify truly actionable insights.
This paper introduces ComSR, a novel framework that addresses this challenge by reframing rule selection as a data compression problem. By applying the Minimum Description Length (MDL) principle, the authors identify a compact, representative set of rules that provides the most efficient summary of a sequence database.
The ComSR Framework
The core innovation of ComSR is the use of sequential rules as a "dictionary" to encode an entire database. According to the MDL principle, the best model for a dataset is the one that minimizes the total description length—the sum of the length of the model (the rules) and the length of the data when encoded using those rules.
The framework involves several key steps:
- Initial Mining: Extracting a base set of $1 \times 1$ sequential rules.
- Iterative Refinement: Greedily adding larger, more complex rules to a "code set" if they contribute to a shorter overall description length.
- Encoding: Replacing frequent patterns in the database with short pointers to the rules in the code set.
The authors propose two variants: ComSR_non, which focuses on the most impactful rules for summarization, and ComSR_ful, which ensures 100% data coverage by including singleton items in the coding scheme, allowing for perfect reconstruction of the original database.
Key Results
The algorithms were tested on the SIGN dataset, a dense real-world dataset of sign language utterances containing 731 sequences. The primary goal was to compare the number of rules generated by standard SRM algorithms against the compact sets produced by ComSR.
The results demonstrate a massive reduction in rule count. While standard SRM produced thousands of rules as thresholds were lowered, ComSR maintained a stable, much smaller set of "meaningful" rules. For instance, ComSR_non often reduced the rule set to a few hundred items, providing a high-level summary without the noise of redundancy.
Conclusion
ComSR represents the first attempt to use sequential rules—which inherently contain temporal gaps—to encode and compress an entire database. This approach effectively handles the disordered nature of itemsets within sequences.
While ComSR_non provides an extremely compact summary (with compression ratios between 18% and 30%), ComSR_ful offers a more exhaustive description at the cost of higher computational complexity. Future work will focus on optimizing the runtime of ComSR_ful and refining the coding order to further improve compression efficiency. Ultimately, ComSR provides a principled way to navigate the trade-off between pattern completeness and interpretability in sequential data mining.
Summary updated