Skip to main content
QUICK REVIEW

[Paper Review] Context-Aware Visual Compatibility Prediction

Guillem Cucurull, Perouz Taslakian|arXiv (Cornell University)|Feb 10, 2019
Aesthetic Perception and AnalysisNeuroscience37 references9 citations
TL;DR

This paper proposes a context-aware graph neural network model for visual fashion compatibility prediction, leveraging relational information from compatible items to improve embedding quality. By conditioning product embeddings on neighborhood context, the model achieves state-of-the-art performance on Polyvore, Fashion-Gen, and Amazon datasets, with accuracy improving as more context is used during inference.

ABSTRACT

How do we determine whether two or more clothing items are compatible or visually appealing? Part of the answer lies in understanding of visual aesthetics, and is biased by personal preferences shaped by social attitudes, time, and place. In this work we propose a method that predicts compatibility between two items based on their visual features, as well as their context. We define context as the products that are known to be compatible with each of these item. Our model is in contrast to other metric learning approaches that rely on pairwise comparisons between item features alone. We address the compatibility prediction problem using a graph neural network that learns to generate product embeddings conditioned on their context. We present results for two prediction tasks (fill in the blank and outfit compatibility) tested on two fashion datasets Polyvore and Fashion-Gen, and on a subset of the Amazon dataset; we achieve state of the art results when using context information and show how test performance improves as more context is used.

Motivation & Objective

  • Address the limitation of existing fashion compatibility models that treat item pairs in isolation without considering contextual relationships.
  • Improve compatibility prediction by incorporating relational context—i.e., the set of items compatible with each product—into the embedding learning process.
  • Investigate how varying the amount of neighborhood information (context) affects model performance at test time.
  • Demonstrate the robustness of the model to domain shifts, such as cross-gender fashion style adaptation.
  • Establish a new state of the art for compatibility prediction by integrating contextual relational information via graph neural networks.

Proposed method

  • Represent fashion items and their compatibilities as a heterogeneous graph, where nodes are items and edges indicate compatibility.
  • Use a graph auto-encoder framework with a graph convolutional encoder to compute context-aware node embeddings by aggregating features from neighboring compatible items.
  • Apply a decoder that computes compatibility scores between item pairs using their context-conditioned embeddings, typically via a dot product or similar similarity function.
  • Train the model end-to-end using link prediction objectives on known compatible pairs, optimizing for reconstruction loss.
  • During inference, condition predictions on varying k-hop neighborhoods of each item to evaluate the impact of context depth on performance.
  • Adapt the model for cross-domain generalization by training on one gender’s clothing and testing on another, evaluating robustness to style and context shifts.

Experimental results

Research questions

  • RQ1How does incorporating contextual information from compatible items improve fashion compatibility prediction compared to pairwise-only methods?
  • RQ2To what extent does increasing the amount of neighborhood context (e.g., k-hop neighbors) enhance model performance on compatibility tasks?
  • RQ3Can a context-aware model generalize better to unseen domains, such as cross-gender fashion styles, compared to non-contextual baselines?
  • RQ4Does the use of relational information in the form of a product graph lead to state-of-the-art performance on standard fashion compatibility benchmarks?
  • RQ5How does the model’s performance vary across different datasets (Polyvore, Fashion-Gen, Amazon) and tasks (outfit completion, link prediction) when context is progressively added?

Key findings

  • The model achieves state-of-the-art performance on the Polyvore FITB (fill-in-the-blank) and outfit compatibility tasks, improving AUC from 0.76 to 0.99 as k increases from 0 to 15.
  • On the Fashion-Gen dataset, performance steadily improves with increasing k, plateauing after k=10, with AUC reaching 0.94 for k=10 in the 'bought together' link prediction task.
  • On the Amazon dataset, the model achieves SOTA results for 'also bought' link prediction (97.1% accuracy with k=10), significantly outperforming the k=0 baseline (57.9%).
  • In cross-gender transfer learning, the model with k=10 achieves 97.1% accuracy on men’s clothing when trained on women’s clothing, demonstrating strong robustness to domain shift.
  • The model's performance is highly sensitive to context: predictions for a pair of trousers and shoes change based on the item's context, as shown in Figure 6, where a different context leads to a different compatible shoe choice.
  • The use of relational context makes the model more adaptive and generalizable, as evidenced by improved performance on unseen styles and better transferability across gender categories.

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.