# Extracting Complements and Substitutes from Sales Data: A Network Perspective

arXiv: https://arxiv.org/abs/2103.02042 · HTML: https://mlsanity.com/paper/2103.02042/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 1 Mar 2021.

## Built on by (most cited first, 3 of 3)

- [Structural Balance and Random Walks on Complex Networks with Complex Weights](https://mlsanity.com/paper/2307.01813/) (2023)
- [Support Thresholds, Not Algorithms, Limit Rare-Association Recovery in Co-Purchase Networks](https://mlsanity.com/paper/2609.20171/) (2026)
- [Demand Transfer Estimation at Scale via Restricted Logit Modeling](https://mlsanity.com/paper/2608.12680/) (2026)

## Abstract (arXiv)

The complementarity and substitutability between products are essential concepts in retail and marketing. Qualitatively, two products are said to be substitutable if a customer can replace one product by the other, while they are complementary if they tend to be bought together. In this article, we take a network perspective to help automatically identify complements and substitutes from sales transaction data. Starting from a bipartite product-purchase network representation, with both transaction nodes and product nodes, we develop appropriate null models to infer significant relations, either complements or substitutes, between products, and design measures based on random walks to quantify their importance. The resulting unipartite networks between products are then analysed with community detection methods, in order to find groups of similar products for the different types of relationships. The results are validated by combining observations from a real-world basket dataset with the existing product hierarchy, as well as a large-scale flavour compound and recipe dataset.
