Detect Counterfeit Product Listings on Facebook Marketplace

Last updated: November 29, 2026

Quick Overview

Design a system that detects listings for counterfeit branded goods on Facebook Marketplace using images, text, price and seller signals. Explain how you get labels and how detections are enforced.

Meta
ML System Design
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Medium

0

0

0 solved


Design a system that detects listings for counterfeit branded goods on Facebook Marketplace using images, text, price and seller signals. Explain how you get labels and how detections are enforced.

Counterfeits are a commerce integrity problem that combines multimodal classification with seller-level reasoning. Interviewers look for a multimodal model, a price-anomaly feature, label sources from brand reports, and enforcement that weighs seller history.

What the Interviewer Expects
  • Uses image, text and price features in a multimodal model
  • Builds price anomaly features relative to typical prices for the brand and item
  • Adds seller-level signals and aggregates listing scores to the seller
  • Uses brand rights holder reports and reviewer labels as training data
  • Chooses actions between auto-removal, review and demotion by confidence
Key Topics to Cover
multimodal classification
price anomaly
seller reputation
brand reports
enforcement thresholds
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How would you handle sellers who blur logos to avoid image detection?
  • How do you treat genuine secondhand luxury items priced low because they are worn?
  • How would you scale labeling across thousands of brands?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements
  • Millions of new listings daily; scoring must finish shortly after posting (within seconds to minutes).
  • Focus on branded categories: shoes, handbags, watches, electronics, cosmetics.
  • Actions: rem...
High-Level Design
  1. Brand detection: identify the claimed brand from title, description and logo detection in images.
  2. Multimodal classifier: image encoder plus text encoder, fused with tabular features (pri...

Submit Your Answer
Markdown supported