Deep Style Match for Complementary Recommendation

Kui Zhao, Xia Hu, Jiajun Bu, Can Wang · OpenReview

Abstract

Recommending items that complement each other is a cornerstone of e-commerce, yet traditional methods often struggle with the "cold start" problem or noisy visual data. This paper introduces a Siamese Convolutional Neural Network (CNN) that leverages product titles—viewed as condensed attribute descriptions—to predict style compatibility. By mapping text to a latent style space, the model achieves superior performance over image-based and traditional text-based baselines across massive e-commerce datasets like Taobao and Amazon.

What Problem Does This Paper Address?

Complementary recommendation (e.g., "this shirt goes with these jeans") is notoriously difficult. Traditional methods like frequent itemset mining rely on purchase history, leading to the "cold start" problem where new items cannot be effectively matched.

Recent attempts have turned to computer vision to evaluate aesthetic compatibility. However, image-based matching is computationally expensive and often "noisy." For example, a photo of leggings on Taobao might also include a coat, shoes, and a busy street background, which confuses the learning algorithm.

Example of a 'noisy' product image where background elements and multiple items can confuse visual recommendation models.

The authors argue that product titles are "highly condensed collections of attribute descriptions." Sellers naturally include the most important style cues (material, cut, pattern) in the title for searchability. This paper explores whether style compatibility can be learned directly from these text strings.

Methods

The proposed architecture is a Siamese Convolutional Neural Network (CNN) designed to map disparate product titles into a unified "style space."

The Siamese CNN architecture maps product titles into a shared style space to predict compatibility.

The Siamese Setup

The model consists of two identical CNN branches with shared weights. Each branch processes a product title to extract its stylistic features.

Sentence Modeling

Each title is converted into a "sentence matrix" using word embeddings. The CNN then applies:

  • Wide Convolution: Captures patterns (m-grams) regardless of their position in the title.
  • K-max Pooling: Extracts the most significant features while handling titles of varying lengths.
  • Multiple Feature Maps: Captures different "aspects" of the style.

The Style Space

The CNNs map the two titles into low-dimensional vectors ($x_q$ and $x_c$). These vectors are projected into a shared "style space" where a compatibility matrix ($M$) calculates the probability that the two items match. This mapping enables Maximum Inner Product Search (MIPS), allowing the system to find matches across millions of items extremely quickly.

Datasets and Evaluation

The model was evaluated on two massive datasets:

  • Taobao (Clothing): 406,000 compatibility relationships across 61,000 items, manually labeled by fashion experts.
  • Amazon (Multiple Categories): 12 million relationships across 662,000 items, derived from co-purchase data.

Key Results

The proposed Siamese CNN significantly outperformed both visual and traditional text-based baselines. The visual method (GoogLeNet) performed particularly poorly on Taobao due to cluttered user-uploaded images, highlighting the robustness of the text-based approach.

Method Taobao (AUC) Amazon (AUC)
Visual (GoogLeNet) 0.579 0.770
Naive Bayes 0.712 0.820
Random Forest 0.807 0.931
Ours (Siamese CNN) 0.891 0.983

Key Insights

  • Titles as Clean Data: Unlike images, titles are "clean" representations of an item's core attributes.
  • Beyond Bag-of-Words: The CNN understands word order, distinguishing between "white shirt with blue stripes" and "blue shirt with white stripes."
  • Solving Cold Start: Recommendations can be generated the moment a product is uploaded, without waiting for sales data.
  • Cross-Category Success: The model proved effective for categories like "Musical Instruments" and "Toys," where titles are highly descriptive.

Limitations and Future Work

While successful, the model's performance can be limited by the quality of word segmentation (e.g., in Chinese) or in categories where titles are not descriptive (e.g., "Digital Music"). Future research may explore hybrid models that combine text and image information, using text to help the model filter out visual noise.

Summary updated

BibTeX
@misc{zhao2017deep,
  author = {Kui Zhao and Xia Hu and Jiajun Bu and Can Wang},
  title = {{Deep Style Match for Complementary Recommendation}},
  year = {2017},
  eprint = {1708.07938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.07938},
}
Figure