How Precise Is a Flag from the Hate Speech Classifier
Last updated: November 29, 2026
Quick Overview
A Facebook hate speech classifier catches 90% of violating posts and wrongly flags 2% of benign posts. If 0.5% of posts violate policy, what share of flagged posts actually violate, and what does that mean for review queues?
Meta
November 29, 20260
0
0 solved
A Facebook hate speech classifier catches 90% of violating posts and wrongly flags 2% of benign posts. If 0.5% of posts violate policy, what share of flagged posts actually violate, and what does that mean for review queues?
Integrity teams at Meta work with very low base rates, and this Bayes question checks whether a candidate can reason about precision versus recall when prevalence is tiny. Interviewers want the calculation and the operational implication for human review.
What the Interviewer Expects
- Sets up Bayes rule with prevalence, recall, and false positive rate
- Computes precision correctly
- Explains why precision is low despite a good-looking classifier
- Translates the result into reviewer workload
- Suggests how to raise precision such as thresholds or a second stage
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What false positive rate is needed for 50% precision?
- How would precision change for a group where prevalence is 5%?
- How would you estimate recall in production when you do not know which posts were missed?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Let = post violates, = flagged. Given , (recall), (false positive rate). We want , the precision....
Approach
Bayes rule: ...