[Paper Review] On When and How to use SAT to Mine Frequent Itemsets
This paper investigates when and how to use SAT solvers for frequent itemset mining (FIM), proposing multiple SAT encodings with tailored enumeration and search strategies. Results show SAT-based approaches are competitive with state-of-the-art CP solvers for a broad range of frequencies, especially in scenarios with complex constraints, offering a viable alternative where traditional CP methods face scalability issues.
A new stream of research was born in the last decade with the goal of mining itemsets of interest using Constraint Programming (CP). This has promoted a natural way to combine complex constraints in a highly flexible manner. Although CP state-of-the-art solutions formulate the task using Boolean variables, the few attempts to adopt propositional Satisfiability (SAT) provided an unsatisfactory performance. This work deepens the study on when and how to use SAT for the frequent itemset mining (FIM) problem by defining different encodings with multiple task-driven enumeration options and search strategies. Although for the majority of the scenarios SAT-based solutions appear to be non-competitive with CP peers, results show a variety of interesting cases where SAT encodings are the best option.
Motivation & Objective
- To evaluate the viability of SAT solvers for frequent itemset mining (FIM), a core task in pattern mining.
- To identify conditions under which SAT-based FIM outperforms traditional CP-based approaches.
- To design and implement SAT encodings with task-driven enumeration and search strategies tailored to FIM.
- To provide practical guidelines for selecting and tuning SAT solvers in FIM workloads.
- To explore the integration of SAT with constraint programming for complex, user-defined pattern mining tasks.
Proposed method
- Proposes multiple SAT encodings of the FIM problem, mapping itemsets and support constraints into Boolean formulas.
- Introduces task-specific enumeration and search strategies to guide SAT solvers toward efficient solutions in FIM contexts.
- Employs a FREQSAT formulation to represent frequency constraints as Boolean satisfiability problems.
- Uses a hybrid approach combining SAT solving with constraint reasoning, including monotonicity and partial frequency deduction rules.
- Employs parameterized configurations to explore trade-offs between search strategy, variable ordering, and enumeration control.
- Validates the approach using real-world and synthetic datasets across varying frequency thresholds and constraint complexity.
Experimental results
Research questions
- RQ1When is a SAT-based approach competitive with state-of-the-art CP solvers for frequent itemset mining?
- RQ2How do different SAT encoding strategies and search heuristics impact performance in FIM?
- RQ3What role do frequency thresholds and constraint complexity play in determining SAT performance?
- RQ4Can SAT solvers effectively handle complex, user-defined constraints in FIM beyond basic support counting?
- RQ5What guidelines can be derived for selecting SAT over CP solvers in FIM workloads?
Key findings
- SAT-based FIM solutions are competitive with state-of-the-art CP solvers for a wide range of frequency thresholds, particularly in the 0.5 to 0.75 range commonly used in association rule mining.
- For higher frequencies, SAT performance degrades due to the lack of native support for enumerative reasoning under conflicting constraints, a limitation inherent to SAT solver design.
- The proposed SAT encodings with custom search and enumeration strategies significantly improve performance, especially when constraints are complex or non-monotonic.
- SAT outperforms CP peers in scenarios involving user-defined, non-trivial constraints, where CP solvers face scalability bottlenecks due to extensive counting operations.
- The FREQSAT problem formulation enables the modeling of frequency constraints as Boolean formulas, enabling SAT-based reasoning over probabilistic and conditional frequency expressions.
- Guidelines are established for selecting SAT over CP in FIM: when constraints are complex, frequency thresholds are moderate, and performance with CP is limited.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.