Every social platform has to decide what to do about harmful content: nudity, violence, hate, terrorism, trafficking. Doing nothing is illegal in many places and degrades the user experience. Over-removing legitimate posts chills expression and pushes users away. Our job is to design a system that scores every new post fast enough to act before it spreads, accurately enough to remove harmful content automatically when we are confident, and humble enough to route the rest to a small team of human moderators.
What we are deciding and who consumes it
The primary surface is every newly created post on a Twitter-scale platform: roughly 1B posts per day, an average of 12k posts per second, with peak factors of three to five times. Posts in v1 are text plus image. Video and live content are out of scope. The business objective is minimizing user exposure to harmful content while preserving free expression. Wrongful removal of one legitimate post is more costly per item than missing one harmful post at the auto-remove tier, but unbounded misses degrade the platform.
The ML task is multi-modal multi-label classification. Given a post's text, image, and light author and reach context at publish time, we predict a calibrated probability per harmful category. The downstream consumer is the post moderation policy service, which maps that score into one of four actions: allow, demote, route to human review, or remove. The interviewer told us not to remove anything we are not at least 95% confident about. I would clarify upfront that this means precision at least 95% at the auto-remove threshold, not raw probability above 0.95. That single sentence reframes calibration as a load-bearing layer, not a model implementation detail.
A new post enters a moderation service that runs a multi-modal model, applies per-category calibration, and asks the policy service which action to take. Allowed posts publish, demoted posts publish but lose ranking weight, review-routed posts hold or publish based on category and enter a capacity-bounded moderator queue, and removed posts are blocked. Post events, scores, moderator decisions, and appeal outcomes flow through Kafka into nearline aggregation and an offline retraining loop that also recomputes per-category calibration and thresholds.