EtsyYuqing ZhangExplainer
How Etsy Uses LLMs to Improve Search Relevance
Summary
Etsy’s Search Relevance team addresses a limitation of engagement-based search signals: popular listings can attract clicks even when they are not the best match for a query. It introduces semantic relevance, measured through a framework combining human-curated golden labels, an LLM annotator, cascaded models, and production integrations, with categories for relevant, partially relevant, and irrelevant query-listing pairs. The data pipeline uses sampled search-log pairs, dual human annotation, an evolving guideline, few-shot chain-of-thought prompting with o3 in LangGraph, and self-consistency sampling; a Qwen 3 VL 4B teacher then labels data at scale before distilling into a BERT-based two-tower student. The student supports real-time use with less than 10ms additional latency, while the framework evaluates and enhances search relevance alongside engagement signals.
Context
Etsy’s historical reliance on clicks, add-to-carts, and purchases as relevance proxies can favor popular listings over those that best match a specific query. Large-scale human annotation is also time-consuming and expensive, while off-the-shelf and larger LLMs present domain-shift, accuracy, latency, and cost trade-offs.
Approach / What changed
The framework anchors relevance judgments in human-curated golden labels, uses an o3-based LLM annotator with few-shot chain-of-thought prompting and self-consistency sampling, and scales annotation through a Qwen 3 VL 4B teacher model. A BERT-based two-tower student is distilled for real-time inference, and relevance signals are integrated into Etsy’s search systems.
Takeaways
Human-curated golden labels define relevance categories and validate the LLM annotator; the LLM scales human-aligned judgments rather than replacing human judgment.
A three-tier cascade uses an LLM annotator for accuracy, a Qwen 3 VL 4B teacher for high-throughput annotation, and a lightweight BERT-based two-tower student for production inference.
The distilled student adds less than 10ms of latency, enabling semantic relevance to complement engagement signals in real-time search and potentially improve visibility for small or new sellers.
Source and freshness
- Source
- etsy.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.