Introduction
Pattern mining is a fundamental task in data science, aimed at discovering interesting structures like frequent itemsets within large datasets. However, the sheer volume of potential patterns often leads to an explosion of redundant results. To mitigate this, researchers employ Constraint Dominance Programming (CDP), a framework that filters out solutions dominated by others based on user-defined criteria (e.g., only keeping the most concise representation of a set).
The Bottleneck of Standard CDP
While effective at reducing output size, standard CDP implementations suffer from significant performance bottlenecks. The traditional approach follows a sequential loop: the solver finds a single solution, adds a "blocking constraint" (or "no-good") to prevent finding dominated solutions in the future, and then restarts the search.
This iterative process results in several inefficiencies:
- High Computational Overhead: Frequent solver restarts for every individual solution found.
- Constraint Explosion: The accumulation of thousands of blocking constraints slows down the solver's internal reasoning.
- Search Inefficiency: Without a structured search order, the solver may find dominated solutions that must later be removed via expensive post-processing.
Proposed Methodology: CDP with Incomparability (CDP+I)
To address these issues, this paper introduces incomparability conditions into the high-level modeling language ESSENCE. The resulting framework, CDP+I, leverages the fact that many solutions in a search space are inherently incomparable—meaning neither can dominate the other.
By defining an incomparability function (e.g., mapping itemsets to their cardinality), the solver can organize the search into discrete "levels."
The CDP+I workflow improves efficiency through three key mechanisms:
- Level-wise Search: The solver finds all solutions at a specific incomparability level in a single call.
- Batch Blocking: Blocking constraints are added only after an entire level is completed, drastically reducing the number of constraints the solver must manage simultaneously.
- Knowledge Retention: By finding multiple solutions per call, the solver retains "learned clauses," avoiding the "amnesia" caused by constant restarts.
Experimental Evaluation and Results
The authors evaluated CDP+I using Generator Itemset Mining across 12 diverse datasets from the UCI Machine Learning Repository, including medical (Hepatitis, Audiology) and financial data (German-credit). The transition from standard CDP to CDP+I yielded dramatic performance gains:
- Speedups: Total execution time for the "Hepatitis" dataset plummeted from approximately 12,000 seconds to just 32 seconds—a speedup of over 300x.
- Reduced Solver Calls: In the same instance, the number of solver calls was reduced from 3,611 to just 34.
- Efficient Constraint Management: The number of active blocking constraints was reduced from millions to a few thousand, preventing solver "clogging."
- Elimination of Post-Processing: Because the incomparability function guides the search order, the system naturally avoids finding dominated solutions, removing the need for a final filtering step.
Conclusion and Future Work
The introduction of incomparability conditions represents a significant step forward for Constraint Dominance Programming. By exploiting the inherent structure of dominance problems, CDP+I transforms a computationally expensive iterative process into an efficient, level-wise search. While currently demonstrated on itemset mining, this framework holds great promise for other complex domains, such as multi-objective optimization and finding Pareto-optimal fronts.
Summary updated