Problem
An e-commerce platform wants to show, next to a product (the query), other products a customer would buy together with it. Similarity models fail here, because a phone case complements a phone but not the other way round. Raw co-purchase data is noisy: people also buy two similar items in one order. New items have almost no interactions to learn from.
Example from the article: for a tennis racket, three other rackets is a similar-items list, three balls is complementary but narrow, and a ball, a racket cover and a headband is the best of the three.
Solution in brief
P-Companion counts a pair as complementary only if it was co-purchased but neither co-viewed nor purchased after a view. It predicts several complementary product types for the query type, then predicts items inside each type in a shared embedding space. Item embeddings come from a graph attention network over item text and the behavior graph, so new items can be embedded from a description.
Questions this case answers
- How to recommend items that complete a purchase from noisy behavioral pairs when the relationship is asymmetric and the list must cover several item categories
- How to build usable item representations for new items that have no interaction history
- How to recommend products that are bought together with the one being viewed, not just similar ones?
- How to make complementary recommendations diverse across product types instead of three variants of one item?
Tools and methods
- Behavior-based Product Graph (BPG) — items linked by co-purchase, co-view and purchase-after-view edges
- Graph attention network (Product2Vec) — item embeddings from text and graph neighbors
- Complementary Type Transition — maps a query type to complementary types
- Complementary Item Prediction — projects the item embedding into each type's space
Google or a one-time email code. No password.