Skip to main content
QUICK REVIEW

[Paper Review] Complementary-Similarity Learning using Quadruplet Network

Mansi Ranjit Mane, Stephen Guo|arXiv (Cornell University)|Aug 26, 2019
Advanced Clustering Algorithms ResearchComputer Science4 citations
TL;DR

This paper proposes a Siamese Quadruplet Network that jointly learns item similarity and functional complementarity using only textual titles, enabling accurate, scalable recommendations for cold-start and low-engagement products. The model achieves superior separation between similar, complementary, and negative item embeddings, outperforming baselines in ranking accuracy while maintaining balanced performance on both similarity and complementarity tasks.

ABSTRACT

We propose a novel learning framework to answer questions such as "if a user is purchasing a shirt, what other items will (s)he need with the shirt?" Our framework learns distributed representations for items from available textual data, with the learned representations representing items in a latent space expressing functional complementarity as well similarity. In particular, our framework places functionally similar items close together in the latent space, while also placing complementary items closer than non-complementary items, but farther away than similar items. In this study, we introduce a new dataset of similar, complementary, and negative items derived from the Amazon co-purchase dataset. For evaluation purposes, we focus our approach on clothing and fashion verticals. As per our knowledge, this is the first attempt to learn similar and complementary relationships simultaneously through just textual title metadata. Our framework is applicable across a broad set of items in the product catalog and can generate quality complementary item recommendations at scale.

Motivation & Objective

  • Address the challenge of recommending functionally complementary items in e-commerce while differentiating them from similar items.
  • Overcome limitations of collaborative filtering in cold-start and low-engagement scenarios by leveraging only item title text.
  • Develop a unified embedding space where similar items cluster closely, complementary items are closer than non-complementary items but farther than similar items.
  • Create a new dataset of quadruplets (anchor, similar, complementary, negative) from Amazon co-purchase data for evaluation.
  • Improve recommendation diversity by simultaneously learning similarity and complementarity, avoiding spurious recommendations like suggesting different shoes as complements.

Proposed method

  • Use the Universal Sentence Encoder to generate 512-dimensional text embeddings from item titles as initial representations.
  • Design a Siamese Quadruplet network with a shared encoder and two fully connected layers (256 and 128 units) with ReLU activation to map items into a shared latent space.
  • Train using a triplet loss-based objective that enforces: distance(anchor, similar) < distance(anchor, complementary) < distance(anchor, negative), with margin hyperparameters.
  • Apply margin-based constraints: $d(a_f, s_f) < d(a_f, c_f)$ and $d(a_f, c_f) < d(a_f, n_f)$, with margins $m_s = 0.1$, $m_c = 0.4$, $m_n = 0.8$.
  • Optimize using Adam with a batch size of 512 and a learning rate of 0.001 for 30 epochs on Tesla K80 GPUs.
  • Use random negative sampling, acknowledging potential overlap with similar or complementary items as a limitation for future work.

Experimental results

Research questions

  • RQ1Can a deep learning model effectively learn both similarity and functional complementarity between items using only textual title metadata?
  • RQ2How well can a unified embedding space differentiate between similar, complementary, and non-complementary (negative) items?
  • RQ3Does joint learning of similarity and complementarity improve the quality of complementary recommendations compared to models trained only on one relationship?
  • RQ4To what extent does the model generalize to cold-start items with no co-purchase history?
  • RQ5How does the model’s performance compare to baselines such as Universal Sentence Encoder and Siamese triplet networks trained solely on complementarity?

Key findings

  • The proposed Quadruplet network achieves the highest ranking accuracy among all compared methods, demonstrating superior ability to distinguish between similar, complementary, and negative items.
  • After training, the model successfully separates the distance distributions: similar items are closest, followed by complementary items, and then negative items, with minimal overlap.
  • In contrast, the Universal Sentence Encoder shows overlapping distance distributions between similar and complementary items, making them difficult to distinguish.
  • The Siamese triplet network optimized for complementarity alone suffers from reduced similarity accuracy, highlighting the benefit of joint learning.
  • The model maintains a balanced performance between similarity and complementarity tasks, avoiding the trade-off seen in single-objective models.
  • Qualitative examples in Figure 4 show that the model generates diverse and relevant complementary recommendations (e.g., jeans, belts, scarves) for clothing items, avoiding redundant or incorrect suggestions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.