Integrity Classifier Test Where Spammers Adapt Across Both Arms

Last updated: November 29, 2026

Quick Overview

Meta tests a stricter spam classifier for Facebook comments, randomized by viewer. Spammers see their reach fall and change tactics, which affects control users too. Explain why the experiment misestimates the long-run effect and how you would design an evaluation.

Meta
Analytics & Experimentation
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Onsite
Analytics & Experimentation
Hard

0

0

0 solved


Meta tests a stricter spam classifier for Facebook comments, randomized by viewer. Spammers see their reach fall and change tactics, which affects control users too. Explain why the experiment misestimates the long-run effect and how you would design an evaluation.

Integrity work at Meta faces adversaries who react to enforcement, so standard viewer-side tests interfere through the attacker. Interviewers want to see adversarial reasoning, the right unit (the spammer or the market), and metrics that resist gaming.

What the Interviewer Expects
  • Explain that spammers respond to total reach across arms
  • Describe how adaptation leaks into control and shifts both arms
  • Propose randomizing on the actor side or using time and geo designs
  • Choose metrics like prevalence measured by labeled sampling
  • Plan for long horizons and adversarial measurement
Key Topics to Cover
adversarial adaptation
integrity metrics
prevalence
actor-side randomization
interference
How to Approach This
  1. Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
  2. Run experiments long enough to account for novelty effects and weekly seasonality.
  3. Use funnel analysis to identify where users drop off for maximum optimization impact.
  4. Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
  5. Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
  • Why is randomizing on the spammer side tricky?
  • How would you measure prevalence reliably when spammers adapt to the classifier?
  • What would make you launch despite a flat or negative short-term result?
Sharpen Your Skills on Codemia

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

Browse Analytics Questions
Sample Answer
Clarify

Clarify: the classifier hides comments predicted as spam. Viewer-randomized 50/50. Metrics: spam prevalence seen by viewers (measured by human review on a random sample), false positive rate on legiti...

Approach

Spammers measure their results across all viewers. Treated viewers block more spam, so spammers lose half their reach. They respond by changing text, accounts, or posting volume. Those changes apply t...


Submit Your Answer
Markdown supported