Inferring Substitutable Products with Deep Network Embedding

Shijie Zhang, Hongzhi Yin, Qinyong Wang, Tong Chen, Hongxu Chen, Quoc Viet Hung Nguyen

Introduction

In e-commerce, accurately distinguishing between product relationships is critical for effective recommendation systems. While complementary products (e.g., a camera and a lens) are frequently purchased together and thus easily identified through co-occurrence data, substitutable products (e.g., two different camera models) are competitors. Users rarely purchase multiple substitutes in a single transaction, making these relationships "hidden" in behavioral data. Traditional approaches often rely on sparse and noisy text reviews to bridge this gap. This paper introduces the Substitute Products Embedding Model (SPEM), a semi-supervised deep learning framework that identifies substitutes by analyzing co-purchasing graphs and category hierarchies without relying on textual data.

Methodology

SPEM employs a Deep Network Embedding approach to map products into a low-dimensional latent space. The architecture is built upon three core pillars designed to capture different facets of product relationships:

  1. Unsupervised Deep Autoencoder (Second-Order Proximity): The model leverages the "complement of my complement" logic. If two products share a similar neighborhood of complementary items in a co-purchase graph, they are likely substitutes. An autoencoder learns to compress and reconstruct these neighborhoods to capture this second-order proximity.
  2. Supervised Pairwise Constraint: To refine the latent space, SPEM uses a "repulsion" mechanism. It ensures that a product's embedding is closer to its known substitutes than to its known complements, effectively disentangling these two types of relationships.
  3. Tree-Based Semantic Similarity: To maintain semantic consistency, the model incorporates the Amazon category hierarchy. A non-linear function based on the shortest path between products in the category tree regularizes the embeddings, preventing the model from suggesting substitutes from unrelated categories.
The SPEM architecture utilizes deep autoencoders to map products into a latent space where substitutes are clustered based on second-order proximity and category semantics.

Experimental Setup and Datasets

The researchers evaluated SPEM using seven large-scale Amazon datasets, including categories such as Electronics, Beauty, Video Games, and Cell Phones. These datasets range from 51K to 498K items. Ground truth for substitutes and complements was established using Amazon's "also viewed" and "also bought" metadata. Performance was measured using Hits@k, which tracks how often a true substitute appears within the top $k$ recommendations.

Key Results

SPEM consistently outperformed state-of-the-art baselines, including text-based models like Sceptre and LVA. In categories such as Beauty and Baby products, SPEM achieved performance gains of over 85% compared to traditional methods.

Ablation studies highlighted that the second-order proximity captured by the autoencoder is the most critical component of the model. Furthermore, sensitivity analysis demonstrated that the model's performance is robust across various embedding dimensions and hyperparameter settings for $\beta$ (the weight of the supervised loss).

Performance sensitivity of SPEM (Hits@K) with respect to embedding dimensions and the hyperparameter beta across different K values.

Discussion and Future Work

By prioritizing behavioral patterns over noisy text, SPEM provides a cleaner signal for identifying competitor products. The integration of category hierarchies serves as a vital sanity check, ensuring recommendations remain semantically relevant.

However, the model currently faces a "cold start" challenge for brand-new items lacking sales history. Future research aims to integrate these static embeddings into real-time, session-based recommendation systems to capture shifting user intent during a browsing session.

Summary updated

BibTeX
@inproceedings{zhang2019inferring,
  author = {Shijie Zhang and Hongzhi Yin and Qinyong Wang and Tong Chen and Hongxu Chen and Quoc Viet Hung Nguyen},
  title = {{Inferring Substitutable Products with Deep Network Embedding}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.24963/ijcai.2019/598},
}
Figure