Problem
Wayfair wants to understand why customers click, not only what they click. Classic customer-understanding models predict affinities such as style or brand from clicks, searches and purchases. They rely on fixed taxonomies, need a lot of training data and miss latent interests that behavior only implies. Wayfair's stated goal is to anticipate needs and know the customer better than they know themselves.
Example from the article: a customer in a New York studio apartment searches for a foldable dining table and a sofa bed. She is optimizing for space, but "space saving" never appears in her searches.
Solution in brief
Feed a customer's searches, product views, add-to-cart, wishlist and purchase signals, compressed by an in-house model, into Gemini with curated prompts. The LLM returns free-form interests with a confidence level, a reason, a search query and a carousel title. A semantic search turns each query into a product carousel on the homepage.
Questions this case answers
- How to infer latent user needs that fixed taxonomies and affinity models miss from behavioral logs with a language model
- How to turn generated user interests into ranked item lists without training a new ranking model
- How to validate free-form model outputs about users when no ground-truth labels exist
- How to learn what a customer is optimizing for when the need never appears in their searches?
Tools and methods
- Gemini — generates interests from customer behavior
- Prompt engineering — curated prompts produce interests and metadata
- Clustering of generated interests — merges near-duplicates into themes
- LLM as judge — periodic cheap validation of interest quality
- Semantic product search — retrieves products for each interest query
Google or a one-time email code. No password.
