NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Privacy-preserving Mining of Association Rules from Outsourced Transaction Databases

Fosca Giannotti, Laks V. S. Lakshmanan, Anna Monreale, Dino Pedreschi, Wendy Hui Wang

Introduction

The rise of cloud computing has birthed the "mining-as-a-service" paradigm, where companies lacking in-house computational resources or data science expertise outsource their data mining tasks to third-party service providers. While efficient, this practice exposes valuable corporate trade secrets. Handing over operational data, such as a grocery store's transaction records, allows a service provider to deduce sensitive business intelligence. This paper introduces a robust framework for outsourcing association rule mining while preserving corporate privacy through a combination of encryption and strategic data padding.

The Challenge of Corporate Privacy

Unlike traditional privacy research that focuses on protecting individual user identities, this work addresses corporate privacy. The goal is to protect both the identity of individual items and the resulting association rules (e.g., "customers who buy diapers also buy beer") from the server performing the mining.

The authors assume a highly capable attacker—either the server itself or an external intruder—who possesses background knowledge of the true frequencies of items in the original database. In such a scenario, simple 1-1 substitution ciphers are insufficient; an attacker can use frequency analysis to map cipher items back to their original counterparts. For instance, if "bread" is known to be the most frequent item in a region, the most frequent item in the encrypted database is likely bread.

Proposed Framework: The Encryption/Decryption Module

To counter these threats, the authors propose a client-side Encryption/Decryption (ED) module. This module acts as a gateway, transforming the original transaction database (TDB) into an encrypted version ($D^*$) before transmission to the cloud.

High-level architecture of the privacy-preserving mining framework, illustrating the flow from the client-side ED module to the server and back.

The transformation process relies on three key pillars:

  1. 1-1 Substitution Ciphers: Every plain item is replaced with a unique cipher item.
  2. $k$-Grouping: To defeat frequency analysis, cipher items are sorted by their true support and clustered into groups of size $k$. The grouping is designed to be "robust," ensuring that no group of items actually appears together as a supported itemset in the original database, which prevents the server from deducing relationships within a group.
  3. Fake Transactions: The system adds fake transactions to the database to artificially boost the frequency of every item in a $k$-group so that it matches the most frequent item in that specific group. This achieves item $k$-anonymity: an attacker observing the frequency of a cipher item will find at least $k-1$ other items with the exact same frequency, reducing the probability of a successful identification to $1/k$.
Detailed workflow of the encryption and decryption modules, showing the mapping of items and the addition of fake transactions (FT) to achieve k-anonymity.

Crucially, the ED module maintains a highly compact synopsis of these fake transactions using a "noise table" and minimal perfect hash functions. This synopsis requires only $O(n)$ space. When the server returns the mined encrypted patterns, the client uses this synopsis to subtract the fake support, revealing the exact true patterns and their original supports.

Experimental Evaluation

The framework was evaluated using the Coop TDB, a real-life transaction database from Italy's largest supermarket chain. The dataset consists of 300,000 transactions involving 13,730 different products.

Key Results and Insights

  • Asymmetric Computational Load: The architecture successfully validates the outsourcing model. The heavy lifting of mining frequent patterns is offloaded to the server, while the client's encryption and decryption tasks remain incredibly lightweight.
  • Client Speedup: Experimental results show that the decryption time at the client side is one to two orders of magnitude smaller than the time it would take the client to run the mining algorithm (like Apriori) themselves.
  • Manageable Overhead: While the number of fake transactions scales linearly with the privacy parameter $k$, the server-side mining overhead remains manageable. For example, at a minimum support threshold of ~1% for $k=10$, the server can still process the request efficiently.
  • Exact Recovery: Unlike perturbation-based methods (such as differential privacy) that yield noisy, approximate results, this framework allows the data owner to recover 100% accurate association rules.

Conclusion and Future Work

This paper demonstrates a practical path for secure data mining outsourcing. By matching item frequencies within $k$-groups, the framework renders an attacker's background knowledge useless. Future research will focus on formalizing the mathematical proofs for itemset security, handling dynamic data updates incrementally, and testing the scheme against more diverse datasets and modern mining algorithms like FP-growth.

Summary updated

BibTeX
@inproceedings{giannotti2012privacy,
  author = {Fosca Giannotti and Laks V. S. Lakshmanan and Anna Monreale and Dino Pedreschi and Wendy Hui Wang},
  title = {{Privacy-preserving Mining of Association Rules from Outsourced Transaction Databases}},
  booktitle = {SEBD},
  year = {2012},
}
Figure