Detect harmful ads, such as ads that sell weapons, with heavy class imbalance
HardML design45 minMLERERSPro outline
The question
Design an ML system that flags ads that violate a policy, for example ads that try to sell weapons, before they are shown. Violations are rare and bad actors adapt.
What the interviewer is looking for
- Defines the policy and the action taken at each confidence level
- Handles extreme imbalance in labels, training and metrics
- Uses multiple signals: text, image, landing page, advertiser history
- Human review loop for labels and borderline cases
- Plans for adversarial adaptation and monitoring
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question type: design an ML system to detect harmful content, such as ads that sell weapons, with heavy class imbalance.
Reported in: codemia.io, trueinterview.io
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question.