Modeling the Product Space as a Network

Nitesh V. ChawlaThe Faculty Digital Archive (New York University) 2008

Abstract

In the market basket setting, we are given a series of transactions each composed of one or more items and the goal is to find relationships between items, usually sets of items that tend to occur in the same transaction. Association rules, a popular approach for mining such data, are limited in the ability to express complex interactions between items. Our work defines some of these limitations and addresses them by modeling the set of transactions as a network. We develop both a general methodology for analyzing networks of products, and a privacy-preserving protocol such that product network information can be securely shared among stores. In general, our network based view of transactional data is able to infer relationships that are more expressive and expansive than those produced by a typical association rules analysis.

Introduction

Traditional market basket analysis has long relied on Association Rules—simple "if-then" statements like "If a customer buys beer, they are 70% likely to buy diapers." While these rules provide a starting point for understanding consumer behavior, they suffer from significant structural limitations. This paper proposes a shift from these linear rules to a robust network science framework, modeling products as nodes and co-purchases as edges to uncover more complex, multi-dimensional relationships.

The Limitations of Association Rules

The authors identify three primary flaws in the traditional association rule mining approach:

  1. Parameter Sensitivity: Finding the "right" thresholds for support and confidence is notoriously difficult. As shown in Figure 2, small adjustments to these parameters can lead to drastically different sets of rules, making the results unstable and hard to generalize.
  2. The Completeness-Granularity Tradeoff: To find statistically significant rules, researchers often aggregate products into broad categories (e.g., "Soda"), which obscures brand-specific nuances.
  3. Limited Scope: Rules typically represent binary or small-set relationships. They struggle to capture "hub-and-spoke" patterns where one item (like eggs) might influence a wide variety of disparate products.
Figure 2: The number of association rules found is highly sensitive to the minimum confidence threshold.

Dataset and Transactional Profile

The study utilizes a comprehensive dataset from the Huddle Mart, an on-campus convenience store at the University of Notre Dame, covering over 1.7 million transactions over a two-year period.

Analysis of this data reveals a critical insight: while 58.9% of transactions involved only a single item (see Figure 5), multi-item transactions accounted for the majority of the store's total revenue. This disparity underscores the economic importance of understanding product relationships and cross-selling opportunities.

Figure 5: Distribution of transactions by the number of unique items purchased.

Methodology: Product Space as a Network

The proposed solution involves two main components: a network modeling framework and a cryptographic sharing protocol.

Network Construction and Analysis

In this model, every product is a vertex, and an edge exists between two products if they appear in the same transaction. The edge weight represents the frequency of co-occurrence. To extract meaningful patterns from the noise, the authors:

  • Prune low-weight edges using an empirical "wrapper search" to maximize Modularity ($Q$), a metric that measures how effectively a network is divided into clusters.
  • Apply Community Detection (Fast Modularity algorithm) to group products into logical categories like "breakfast" or "baking."
  • Utilize Maximum-Influence Spanning Trees to visualize the most influential "causal" relationships within large clusters.

Private Product Correlation (PPC) Protocol

To address the issue of sample selection bias—where a single store only sees its own customers' behavior—the authors developed the PPC protocol. This system uses Threshold Paillier Homomorphic Encryption and Zero-Knowledge Proofs, allowing competing retailers to securely aggregate co-occurrence data without exposing proprietary transaction details.

Key Insights and Results

The network-based approach successfully preserved 37 of the top 50 traditional association rules, demonstrating that it captures established relationships while providing deeper context. Key findings include:

  • The "Baking Hub": The network view identified an "Egg Hub" connected to frosting, cake mix, and brownie mix, highlighting eggs as a causal anchor for baking projects in this specific retail environment.
  • Contextual Differentiation: The model successfully distinguished between similar products based on their context. For example, "Small Donuts" were linked to morning items (orange juice, newspapers), while "Little Debbie Donuts" were clustered with late-night snacks.
  • Revenue Gains: Simulations of the PPC protocol showed that collaborative data sharing could boost revenue by up to 27%. Furthermore, a "Network Value" strategy for inventory selection reached 95% of the theoretical optimal revenue, outperforming simpler pair-based strategies.

Conclusion

By moving beyond simple association rules to a network-centric view, retailers can gain a deeper understanding of product influence and consumer intent. While the PPC protocol introduces some computational overhead, the potential for secure collaboration and more sophisticated inventory management offers a compelling path forward for data-driven retail strategy. Future work will focus on the temporal evolution of these product networks as inventory changes over time.

Summary updated

BibTeX
@inproceedings{chawla2008modeling,
  author = {Nitesh V. Chawla},
  title = {{Modeling the Product Space as a Network}},
  booktitle = {The Faculty Digital Archive (New York University)},
  year = {2008},
}
Figure