Design Website Classification with Crowd-Labeled Data
Classify websites from domain and page signals while measuring crowd-label quality and protecting minority classes.
Problem statement
For this exercise, assume a platform assigns one category from a fixed taxonomy to a website using its domain and permitted page-content features. Design the data, labeling, training, evaluation, and serving system.
Most labels come from crowd workers, so the workflow must estimate worker quality by mixing in examples with known labels, aggregate disagreement, and prevent weak or adversarial labels from silently becoming ground truth.
The class distribution is imbalanced, and a prediction must include confidence, taxonomy version, feature version, and model version. A reviewed fallback may abstain on uncertain or unsupported cases.
Web crawling itself, unrestricted storage of raw private content, and enforcement actions based on the category are outside scope.
What to build
- Create versioned domain and permitted page-content features for each website snapshot and preserve their event-time lineage.
- Assign labeling tasks, inject known-label controls, estimate worker reliability, aggregate disagreement, and route uncertain examples for review.
- Train and evaluate an imbalance-aware classifier, release compatible artifacts safely, and serve a category, confidence, or explicit abstention.
At scale
- For this exercise, assume a corpus of 100 million websites and one million new or materially changed website snapshots per day.
- For this exercise, process new snapshots within 15 minutes and serve stored classifications within 100 milliseconds at p95; classification freshness is visible to callers.
- For this exercise, collect 100,000 crowd judgments per day, keep at least 5 percent as hidden known-label controls, and maintain a smaller expert-reviewed evaluation set for every taxonomy version.