Ensemble Association Rules

Machine Learning
Introduced by
Various (applied ensemble philosophy from Breiman and others to association rule mining)
Year
late 1990s–2000s
Type
Ensemble meta-learning over association rule learners
Family
Machine learning

What does it do?

Ensemble Association Rules runs association rule mining several times on different views of a transaction database, such as bootstrap subsamples or varied thresholds, and then merges the resulting rule sets.

The aim is to keep rules that recur across runs rather than rules that depend on one choice of minimum support and confidence. Because each rule is judged by how consistently it appears, the intended benefit is reduced sensitivity to noise in any single sample; the size of that benefit depends on the data.

The intuition behind the method

A rule that falls just below the minimum support in one run may still reflect a real co-occurrence, and a rule that just clears the threshold may reflect chance. Running the mining step on different samples or with different thresholds shows which rules persist and which appear only under particular conditions. Rules that recur across many runs are treated as more credible, while rules seen only once are more likely to be artefacts of one sample or one threshold. The merged rule set is therefore a summary of stability across runs, not a single set of exact counts.

History

No originator or verified date is established for ensemble association rule mining, so none is given here. The approach adapts the ensemble idea associated with bagging to frequent-pattern mining: the same rules are mined on several resamples and judged by how consistently they recur.

When to use it

Use ensemble association rules when single-run mining gives unstable results that change noticeably with the support or confidence threshold, or when the transaction data are noisy and you need to separate recurring patterns from one-off co-occurrences. It is suited to binary or categorical transaction data with enough transactions that each subsample still supports reliable item counts. Avoid it when a small, fixed rule set is needed and the data are clean and stable, since a single carefully tuned Apriori or FP-Growth run is then simpler and easier to interpret. Continuous numeric variables must be discretised into binary or categorical items before mining.

Limitations and considerations

  • Runtime grows with the number of runs, because the base miner is executed once per run; on large item spaces this cost can become significant.
  • The ensemble cut-off and the pruning rules are analyst choices, and the method does not set them automatically.
  • The merged output is harder to interpret than a single run, since each rule must be read together with how often it recurs.
  • With small transaction databases, subsamples are small and counts vary widely, so agreement between runs may reflect sampling variation rather than a real association.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Because rules are retained by how often they recur across runs, the result may depend less on a single minimum support value than a single run does.
  • If the cut-off requires recurrence across runs, rules that appear in only one subsample are filtered out, so one-off noise patterns are less likely to reach the output.
  • Rules close to the support threshold can be kept if they recur across runs, which a single strict-threshold run would discard.
  • The ensemble frequency gives a simple indicator of how consistently a rule appears, which can be used to order rules.

Applications

  • Market basket analysis on point-of-sale transaction data, where rules mined from a single period may vary between periods.

How it works

How it works

1

Several subsamples are drawn from the original transaction database. One option is bootstrap sampling, which draws transactions with replacement and parallels bagging. Runs may also use different minimum support or confidence thresholds, or different random seeds when the base miner is approximate, so that the component rule sets differ.

2

A base association rule miner, typically Apriori or FP-Growth, is run independently on each subsample to find frequent itemsets and derive rules that meet local support and confidence criteria. Because each run sees different transactions, a rule that passes the threshold in one run may fall just short in another, and this variation is what the ensemble step measures.

3

Rules from all runs are matched on identical antecedent and consequent itemsets. For each unique rule, the number of runs in which it appears is recorded, and its confidence is recorded as an average or weighted value across those runs. The ensemble frequency is this run count divided by the total number of runs. If subsamples differ in size, the counts must be normalised before they are compared, for example by expressing support as a proportion of the transactions in each subsample; otherwise rules from larger subsamples are favoured.

4

Rules are kept only if their ensemble frequency or weighted confidence passes a cut-off chosen by the analyst. Rules that add little beyond a more general rule with similar support and confidence can be removed, so the output does not consist mainly of near-duplicates; the exact criterion is set by the analyst.

5

Retained rules are ordered by ensemble confidence, ensemble support, or a measure such as lift or leverage averaged across runs. Ranking on a measure of association beyond confidence alone helps avoid rules that look reliable only because their consequent is common in the data.

Common pitfalls

  • Using too few runs, so that the aggregated result is little more stable than one run.
  • Merging counts from subsamples of different sizes without normalisation, which inflates the apparent support of rules from larger subsamples.
  • Skipping the pruning step, which leaves many overlapping rules that are hard to interpret.
  • Applying the method to datasets with very few transactions, where subsampling makes the counts unreliable.
  • Reading ensemble confidence as a probability of association without checking lift or leverage, since a high confidence can arise from a common consequent alone.

Frequently asked questions

How many ensemble runs are needed?

No fixed number of runs is recommended here. Check stability directly: add runs in batches and see whether the rule frequencies stop changing noticeably between batches.

Should I use bootstrap sampling or random threshold variation?

Bootstrap sampling, which draws transactions with replacement, is one common strategy and parallels bagging. Varying thresholds across runs explores the support-confidence trade-off and can be combined with bootstrap sampling.

How do I choose the ensemble-level cut-off for keeping rules?

The cut-off depends on the data and is chosen by the analyst. Inspect the distribution of rule frequencies across runs, and check how the retained rule set changes as the cut-off moves around the value you choose.

Is ensemble ARM better than a single FP-Growth run on the full dataset?

On clean, stable data a single full-data run may be sufficient. Ensemble ARM is more useful when the data are noisy, when results must hold across different samples or time windows, or when the output is sensitive to the threshold.

Can I use any association rule miner in the ensemble, or does it have to be Apriori?

Any exact miner can serve as the base learner, such as Apriori or FP-Growth. Exact miners return the same frequent itemsets for the same transactions, so the choice mainly affects run time on large databases.

Related methods

Sources

  1. Domingos, P. (1999). MetaCost: A general method for making classifiers cost-sensitive. Proceedings of the 5th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 155–164.

    Open publication reference
  2. Rymon, R. (1992). Search through systematic set enumeration. Proceedings of the 3rd International Conference on Principles of Knowledge Representation and Reasoning, 539–550. — foundational work on systematic enumeration used in ensemble aggregation of frequent itemsets.

    Open publication reference