Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Machine learning›Online Association Rules
Machine learningMachine learning

Online Association Rules

Online (Incremental) Association Rule Mining · Also known as: Incremental association rule mining, Streaming association rules, Online ARM, Incremental ARM

Online association rule mining discovers if-then patterns (e.g., buying bread implies buying butter) from transactional data that arrives incrementally or as a stream, updating existing rules and item counts without re-scanning the entire historical database each time new records arrive.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Online Association Rules
Apriori AlgorithmAssociation RulesFP-GrowthOnline LearningSemi-supervised Associat…

When to use it

Use online association rule mining when transactional or event data arrives continuously or in frequent batches and rules must stay current without costly full re-scans — for example, real-time retail basket analysis, clickstream pattern tracking, or network intrusion detection on event logs. It is also appropriate when storage constraints prevent retaining the full history needed for a batch Apriori or FP-growth pass. Do not use it when the dataset is static and fits comfortably in memory — standard batch Apriori or FP-growth will produce equivalent results faster and with simpler code. Avoid it when the concept distribution shifts dramatically over time without a forgetting mechanism, as stale counts can mislead rule quality estimates.

Strengths & limitations

Strengths
  • Avoids full re-scans of historical data when new transactions arrive, dramatically reducing compute time.
  • Produces continuously up-to-date rules suitable for real-time recommendation or alerting.
  • Handles database insertions and, in some variants, deletions without restarting the mining process.
  • Memory-efficient relative to buffering an ever-growing dataset for repeated batch runs.
  • Composable with sliding-window or time-decay mechanisms to prioritise recent patterns.
Limitations
  • Maintaining accurate support counts across a large, evolving candidate set can still be memory-intensive.
  • Without a forgetting mechanism, counts accumulate indefinitely, letting old patterns crowd out emerging ones.
  • Implementation complexity is substantially higher than batch Apriori or FP-growth.
  • Choosing minimum support and confidence thresholds remains manual and dataset-specific.
  • Candidate itemset explosion is still possible if the transaction space is very wide.

Frequently asked

How is online association rule mining different from simply re-running Apriori on each new batch?

Re-running Apriori from scratch reads the entire historical database every time, which is O(n) in history size. Online ARM maintains running counts and updates only the affected entries, making each update proportional to the size of the new batch rather than total history.

What happens to rules when data is deleted from the database?

Algorithms that support decremental updates (such as FUP extensions) decrement counts for affected itemsets. Rules whose support falls below the minimum threshold after deletion are invalidated and removed.

How do I prevent the rule set from being dominated by old, irrelevant patterns?

Apply a sliding window (count only the last N transactions) or an exponential time-decay to counts so that recent transactions have higher weight. This forces old patterns to fade naturally as new data arrives.

Can online association rule mining handle concept drift?

Basic online ARM does not adapt to concept drift automatically. Adding a time-decay weight or a fixed sliding window introduces a form of forgetting that lets the rule set track shifting patterns, but explicit drift-detection hooks are needed for rapid, abrupt shifts.

What are reasonable starting thresholds for minimum support and confidence?

There is no universal answer; thresholds depend heavily on domain and transaction density. A common practice is to start with minimum support of 1–5% and minimum confidence of 50–70%, then adjust based on the volume and utility of discovered rules.

Sources

  1. Cheung, D. W., Han, J., Ng, V. T., & Wong, C. Y. (1996). Maintenance of discovered association rules in large databases: an incremental updating technique. In Proceedings of the 12th International Conference on Data Engineering (ICDE 1996), pp. 106–114. IEEE. link ↗
  2. Association rule learning. Wikipedia. link ↗

How to cite this page

ScholarGate. (2026, June 3). Online (Incremental) Association Rule Mining. ScholarGate. https://scholargate.app/en/machine-learning/online-association-rules

Related methods

Apriori AlgorithmAssociation RulesFP-GrowthOnline LearningSemi-supervised Association Rules

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Apriori AlgorithmMachine learning↔ compare
  • Association RulesMachine learning↔ compare
  • FP-GrowthMachine learning↔ compare
  • Online LearningMachine learning↔ compare
  • Semi-supervised Association RulesMachine learning↔ compare
Compare side by side →

Similar methods

Online FP-growthAssociation RulesEnsemble Association RulesAssociation Rule MiningApriori AlgorithmEnsemble Apriori AlgorithmSemi-supervised Apriori AlgorithmBayesian Association Rules

Related reference concepts

Data Warehousing and OLAPOnline AlgorithmsClustering AlgorithmsAssociation MeasuresCollaborative FilteringContent-Based Recommendation

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Online Association Rules (Online (Incremental) Association Rule Mining). Retrieved 2026-07-20 from https://scholargate.app/en/machine-learning/online-association-rules · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Cheung, D. W., Han, J., Ng, V. T., & Wong, C. Y.
Year
1996
Type
Incremental / streaming pattern mining
DataType
Transactional / event-stream data
Subfamily
Machine learning
Related methods
Apriori AlgorithmAssociation RulesFP-GrowthOnline LearningSemi-supervised Association Rules
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account