---
title: "Machine Learning in Content Moderation at Etsy"
description: "Etsy's Trust & Safety team detects policy-violating listings with a supervised multimodal classifier that combines an ALBERT text encoder and an EfficientNet image encoder."
url: "https://swe.quest/articles/machine-learning-in-content-moderation-at-etsy-3cc89a775afea7a5"
canonical: "https://www.etsy.com/codeascraft/machine-learning-in-content-moderation-at-etsy"
source: "Etsy Code as Craft"
published: "2024-08-06"
difficulty: "medium"
kind: "Case study"
reading_minutes: 5
tags: ["machine-learning","threat-detection","model-training","ecommerce"]
---

# Machine Learning in Content Moderation at Etsy

A post on [Etsy Code as Craft](https://swe.quest/sources/etsy.md), published 2024-08-06, 5 min read, Case study. Original: [https://www.etsy.com/codeascraft/machine-learning-in-content-moderation-at-etsy](https://www.etsy.com/codeascraft/machine-learning-in-content-moderation-at-etsy)

## Summary

Etsy's Trust & Safety team detects policy-violating listings with a supervised multimodal classifier that combines an ALBERT text encoder and an EfficientNet image encoder. The two embeddings are fused EmbraceNet-style by late concatenation, followed by a softmax over violation classes plus a neutral no-violation class, and the model is trained with focal loss to handle class imbalance. Training data pairs annotated violations with hard negatives (items reviewed and found not violating) and randomly sampled easy negatives, split by time for progressive evaluation. Because true recall can't be measured at Etsy's listing volume, the team uses an annotated recall proxy, rolls out new challenger models against the champion via canary A/B tests, and retrains when monitoring shows performance degrading. The system has removed over 100,000 violations in a year.

Written by swe.quest, not by the author.

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

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Threat detection](https://swe.quest/tags/threat-detection.md) (Security)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)

## Prerequisites

- supervised learning basics
- transformer text encoders
- CNN image models

## Keywords

Etsy, ALBERT, BERT, EfficientNet, EmbraceNet, focal loss

## 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.
- [How We’re Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees](https://swe.quest/articles/how-we-re-building-scam-alert-on-whatsapp-with-end-to-end-encryption-and-e5ad173977a16202.md): Meta Engineering · 2026-08-12 · Hard · 18 min read · Privacy, Security, Machine learning, Communications, Cryptography
  WhatsApp's Scam Alert is an optional feature that runs an on-device ML classifier over messages from non-contacts and shows a private in-chat warning.
- [Data-Centric Machine Learning: Building Shopify Inbox’s Message Classification Model](https://swe.quest/articles/data-centric-machine-learning-building-shopify-inbox-s-message-classification-89547c88c3590e73.md): Shopify Engineering · 2022-07-21 · Medium · 12 min read · Machine learning, Model training, Privacy, Communications
  Shopify Inbox's message classifier improved from ~70% to ~90% accuracy, and from ~35% to ~80% high-confidence coverage, by investing in better training data rather than model tweaks.
- [Using Rich Image and Text Data to Categorize Products at Scale](https://swe.quest/articles/using-rich-image-and-text-data-to-categorize-products-at-scale-d20fb07ad5fcc987.md): Shopify Engineering · 2021-09-08 · Medium · 12 min read · Machine learning, Model training, E-commerce, Computer vision
  Shopify rebuilt its product categorization model as a multi-task, multi-class neural network that predicts all seven levels of the hierarchical Google Product Taxonomy.

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)
