Skip to main content
QUICK REVIEW

[Paper Review] A Tight Upper Bound on the Number of Candidate Patterns

Floris Geerts, Bart Goethals|ArXiv.org|Dec 7, 2001
Data Mining Algorithms and ApplicationsComputer Science17 references34 citations
TL;DR

This paper presents a tight combinatorial upper bound on the number of candidate patterns in frequent pattern mining, derived from Kruskal-Katona theory. It enables precise prediction of future candidate generation, allowing Apriori-like algorithms to safely reduce database scans without risking combinatorial explosion, with experiments showing near-perfect estimation accuracy and early detection of candidate growth spikes.

ABSTRACT

In the context of mining for frequent patterns using the standard levelwise algorithm, the following question arises: given the current level and the current set of frequent patterns, what is the maximal number of candidate patterns that can be generated on the next level? We answer this question by providing a tight upper bound, derived from a combinatorial result from the sixties by Kruskal and Katona. Our result is useful to reduce the number of database scans.

Motivation & Objective

  • To address the challenge of estimating the maximum number of candidate patterns that can be generated in future levels of the Apriori algorithm.
  • To provide a theoretically sound, tight upper bound that avoids heuristic overestimation and prevents combinatorial explosion in candidate generation.
  • To enable optimization strategies—such as combining iterations—by offering a watertight guarantee on remaining candidate counts.
  • To generalize the bound for use across various Apriori-like algorithms, improving efficiency without sacrificing correctness.

Proposed method

  • Leverages the Kruskal-Katona theorem from combinatorics to derive a tight upper bound on the number of candidate patterns at any level.
  • Applies the bound recursively to estimate future candidate growth, improving accuracy over single-pass estimates.
  • Introduces refined variants, KK* and μ*, that outperform standard bounds by incorporating frequent pattern structure.
  • Uses the upper bound to guide algorithmic decisions, such as combining multiple iterations into one when the bound is low.
  • Implements and evaluates the bound in a modified Apriori framework, comparing predictions with actual candidate counts.
  • Validates the method on real-world datasets (e.g., BMS-Webview-1, mushroom, basket) under varying support thresholds.

Experimental results

Research questions

  • RQ1What is the tightest possible upper bound on the number of candidate patterns that can be generated in future levels of the Apriori algorithm?
  • RQ2Can this bound be computed efficiently and used to guide safe optimization strategies like pass combination?
  • RQ3How accurate is the bound in predicting actual candidate counts across diverse datasets and support thresholds?
  • RQ4Does the bound outperform existing heuristics in preventing combinatorial explosion while reducing database scans?

Key findings

  • The proposed KK* bound matches actual candidate counts at each level with near-perfect accuracy, especially after the first few iterations.
  • For the mushroom and artificial datasets, the upper bound becomes nearly exact once frequent patterns of size 3 are known.
  • On the BMS-Webview-1 dataset, the bound achieves high accuracy by the time frequent patterns of size 6 are known.
  • The bound successfully predicts a resurgence in candidate count after an initial decline, which heuristic methods would misinterpret as a sign to stop.
  • Algorithms using the bound can safely combine all remaining iterations into a single pass as early as the fifth iteration on BMS-Webview-1, reducing 15 passes to 6.
  • Even when the bound predicts a large number of candidates, the method prevents memory overflow by avoiding premature generation, preserving performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.