Transfer an English Integrity Classifier to Low-Resource Languages
Last updated: November 29, 2026
Quick Overview
Meta has a strong English classifier for harassment but few labels in languages like Amharic or Tagalog. Explain how you would build a classifier that works across these languages and how you would know it works.
Meta
November 29, 20260
0
0 solved
Meta has a strong English classifier for harassment but few labels in languages like Amharic or Tagalog. Explain how you would build a classifier that works across these languages and how you would know it works.
Integrity teams at Meta must enforce policy in many languages, often with scarce labels. The interviewer wants practical cross-lingual transfer strategies and an honest evaluation plan per language.
What the Interviewer Expects
- Use a multilingual pretrained encoder such as XLM-R for zero-shot transfer
- Add few-shot target-language labels and active learning
- Use translation-based augmentation and discuss its limits
- Handle code-switching and transliterated text
- Evaluate per language with native-speaker labeled sets
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you choose which examples to send to scarce native-language reviewers?
- Why can translated training data miss culturally specific slurs?
- How would you set per-language thresholds?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Task: binary harassment detection on posts and comments. Plenty of English labels, a few hundred or zero labels in each target language. Policy definitions are global, but slurs and idioms are local. ...
Approach
Layered plan: start from a multilingual encoder for zero-shot transfer, add cheap synthetic data, then spend scarce human labels where they help most....