Teaching Wayfair’s Catalog to “See” Style: An LLM-Powered Style Compatibility Labeling Pipeline on Google Cloud

Vincent Chen18 Aug 2025

Problem

Wayfair sells tens of millions of SKUs, and shoppers want items that look good together. Recommenders trained on pageviews and clicks lean toward popular products and miss latent signals such as style compatibility. Human experts judged style matches accurately, but slowly and at high cost. Scalable labels are what make it possible to compare algorithms on style.

Example from the article: a customer orders a drawer dresser, and the system should recommend items that fit its style.

Solution in brief

Treat style compatibility as a binary classification of product pairs and let a multimodal LLM (Gemini 2.5 Pro) answer "Yes" or "No" from both product images and metadata. The prompt carries interior-design criteria and a few expert-picked examples. A batch pipeline on Google Cloud runs it over the catalog, and the labels serve as offline ground truth for comparing recommendation algorithms.

Questions this case answers
  • How to measure a subjective pairwise quality of recommended items at catalog scale when behavioral signals are biased toward popular items and human labeling is too slow
  • How to make a multimodal LLM reproduce expert judgments on a subjective binary task using prompt design and few-shot examples, without fine-tuning
  • How to label whether two products look good together across a catalog of millions of items without human annotators?
  • How to evaluate recommendations for a quality that clicks and purchases do not capture, such as style fit?

Tools and methods

  • Gemini 2.5 Pro — multimodal model that judges a pair from images and text
  • Few-shot prompting with design criteria — instructions on shape, material, color, proportion and scale plus a few realistic examples
  • Vertex AI, BigQuery, GCS — batch pipeline: catalog features in, JSON labels out
  • Expert hold-out set — human labels used as ground truth
Continue reading — it's free

Google or a one-time email code. No password.