[Paper Review] Finding Associations and Computing Similarity via Biased Pair Sampling
This paper introduces BiSam, a biased sampling method for efficiently computing similarity and finding associations in large transactional datasets without support pruning. By sampling item pairs based on their frequency and using a novel biasing strategy, BiSam achieves significant speedups—often over an order of magnitude—over exact counting, especially when transactions are large and item supports are moderate to high, while maintaining low false negative rates.
This version is ***superseded*** by a full version that can be found at http://www.itu.dk/people/pagh/papers/mining-jour.pdf, which contains stronger theoretical results and fixes a mistake in the reporting of experiments. Abstract: Sampling-based methods have previously been proposed for the problem of finding interesting associations in data, even for low-support items. While these methods do not guarantee precise results, they can be vastly more efficient than approaches that rely on exact counting. However, for many similarity measures no such methods have been known. In this paper we show how a wide variety of measures can be supported by a simple biased sampling method. The method also extends to find high-confidence association rules. We demonstrate theoretically that our method is superior to exact methods when the threshold for "interesting similarity/confidence" is above the average pairwise similarity/confidence, and the average support is not too low. Our method is particularly good when transactions contain many items. We confirm in experiments on standard association mining benchmarks that this gives a significant speedup on real data sets (sometimes much larger than the theoretical guarantees). Reductions in computation time of over an order of magnitude, and significant savings in space, are observed.
Motivation & Objective
- To address the computational bottleneck of exact counting in association mining, especially when support pruning is not applied.
- To enable efficient computation of diverse similarity measures (e.g., Jaccard, cosine, lift) and high-confidence association rules without exhaustive pair enumeration.
- To reduce both time and space complexity in similarity-based association mining, particularly for datasets with large average transaction sizes.
- To provide a theoretically grounded, sampling-based alternative to exact counting and LSH-based methods with provable error bounds.
- To demonstrate that CPU time is a critical bottleneck in modern data mining workloads, especially with fast storage and in-memory data.
Proposed method
- BiSam employs a biased sampling strategy that prioritizes item pairs based on their co-occurrence frequency, reducing the number of pairs that need to be evaluated.
- The method uses a threshold-based sampling scheme where pairs are selected with probability proportional to their expected similarity or confidence, focusing on potentially interesting associations.
- It estimates similarity and confidence using statistical sampling with controlled error rates, allowing false negative probability to be bounded (e.g., <2% in experiments).
- The algorithm supports multiple similarity measures including Jaccard, cosine, lift, and all_confidence, and extends to high-confidence association rules via overlap coefficient.
- It avoids the need for full transaction scanning or signature comparison across all item pairs, unlike LSH or exact counting.
- Theoretical analysis shows BiSam outperforms exact methods when the similarity threshold Δ exceeds the average pairwise similarity and support is not too low.
Experimental results
Research questions
- RQ1Can biased sampling be used to efficiently compute similarity measures like Jaccard, cosine, and lift without exact counting?
- RQ2How does BiSam’s performance compare to exact counting and LSH-based methods in terms of time, space, and accuracy?
- RQ3Under what data conditions (e.g., transaction size, item support) does BiSam achieve the largest speedup?
- RQ4Can BiSam be extended to find high-confidence association rules with provable error control?
- RQ5Is CPU time a more relevant bottleneck than I/O or memory usage in modern in-memory data mining workloads?
Key findings
- BiSam achieves speedups of over an order of magnitude compared to exact counting on datasets like Kosarak, Pumsb, and T40I10D100K, with time ratios up to 36.14.
- On the Kosarak dataset, BiSam reduced computation time from 3.13 billion to 148 million operations (a 21x speedup) and space from 33.1 million to 4.79 million units.
- For the DirectorsActor dataset, despite very large average transaction size, speedup was only 7.64x due to low item support, confirming the importance of support level.
- BiSam’s space usage was consistently lower than exact counting, with space reduction ratios ranging from 1.17 to 7.95 across datasets.
- The method achieved a false negative probability of only 1.8% in experiments with μ=15, demonstrating strong error control.
- BiSam outperforms LSH-based methods in space efficiency, as it avoids comparing all pairs of hash signatures, especially beneficial when the number of distinct items is large.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.