---
title: "How Etsy Uses LLMs to Improve Search Relevance"
description: "Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant."
url: "https://swe.quest/articles/how-etsy-uses-llms-to-improve-search-relevance-3911d99788b5bd04"
canonical: "https://www.etsy.com/codeascraft/how-etsy-uses-llms-to-improve-search-relevance"
source: "Etsy Code as Craft"
published: "2026-01-16"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["search","llms","evals","model-training","ecommerce"]
---

# How Etsy Uses LLMs to Improve Search Relevance

A post on [Etsy Code as Craft](https://swe.quest/sources/etsy.md), published 2026-01-16, 10 min read, Case study. Original: [https://www.etsy.com/codeascraft/how-etsy-uses-llms-to-improve-search-relevance](https://www.etsy.com/codeascraft/how-etsy-uses-llms-to-improve-search-relevance)

## Summary

Etsy built an LLM-powered semantic relevance framework that complements engagement signals, which favor popular listings, with judgments of how well listings match query intent across three classes: relevant, partially relevant and irrelevant. Human-labeled golden data validates an o3-based few-shot chain-of-thought annotator with self-consistency sampling. That annotator generates training data for a cascaded distillation stack: a fine-tuned Qwen 3 VL 4B teacher for daily offline evaluation and A/B monitoring via vLLM, and a BERT two-tower student that adds under 10ms in real-time search. The student filters irrelevant results, supplies ranking features and loss weights, and boosts relevant listings, raising fully relevant results from 58% to 62%, though engagement sometimes dips as relevance rises.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Search](https://swe.quest/tags/search.md) (Backend & APIs)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)

## Prerequisites

- search ranking basics ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))
- knowledge distillation
- LLM fine-tuning ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Etsy, LLM-as-a-judge, Qwen 3 VL, vLLM, LangGraph, two-tower model, BERT, ESCI

## Related posts

- [Understanding Etsy’s Vast Inventory with LLMs](https://swe.quest/articles/understanding-etsy-s-vast-inventory-with-llms-1fa28367e98029f1.md): Etsy Code as Craft · 2025-10-13 · Medium · 7 min read · LLMs, Evaluation, E-commerce, Search, Data pipelines
  Etsy extracts structured product attributes such as color, material and dimensions from unstructured listing titles, descriptions and photos using LLMs.
- [Shaping Product Understanding with Contrastive Reinforcement Learning](https://swe.quest/articles/shaping-product-understanding-with-contrastive-reinforcement-learning-dd8440354bbdc8d2.md): Etsy Code as Craft · 2026-05-26 · Hard · 9 min read · Model training, LLMs, Search, Recommendations & ranking, E-commerce
  Etsy fine-tunes Qwen3-VL-8B with GRPO to generate natural-language listing summaries that capture distinguishing product details buried in long descriptions, attributes and images.
- [Our Early Journey to Transform Instacart’s Discovery Recommendations with LLMs](https://swe.quest/articles/our-early-journey-to-transform-instacart-s-discovery-recommendations-with-llms-2b1f0ff7e32d37b4.md): Instacart Tech · 2026-02-26 · Medium · 14 min read · Recommendations & ranking, LLMs, RAG & retrieval, Evaluation, E-commerce
  Instacart rebuilt its Shopping Hub discovery recommendations around a top-down, cascaded LLM pipeline.
- [Building Etsy Buyer Profiles with LLMs](https://swe.quest/articles/building-etsy-buyer-profiles-with-llms-e896fd97e009f13b.md): Etsy Code as Craft · 2025-09-03 · Medium · 6 min read · Recommendations & ranking, LLMs, Search, Data pipelines, Cost optimization
  Etsy is experimenting with LLM-generated buyer profiles that infer each shopper's style, category interests and current shopping missions from recent searches, views, purchases and favorites, emitting structured output with confidence scores and an explanation.
- [Context engineering case studies: Etsy-specific question answering](https://swe.quest/articles/context-engineering-case-studies-etsy-specific-question-answering-ff89774f7981cc63.md): Etsy Code as Craft · 2025-08-19 · Medium · 11 min read · RAG & retrieval, LLMs, Evaluation
  Etsy tested whether prompt engineering over embedding-based retrieval, without fine-tuning, could reliably answer Etsy-specific questions.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
