Design a Human Data Labeling Task Platform
Let customers send batches of items to be labeled or rated by people, hand each labeler the right next task fast, combine several labels per item into a final answer, and use hidden known-answer items to keep careless labelers from counting.
Problem statement
Design a platform that takes data-labeling work from customers and has people do it.
For this exercise, assume a customer, typically a machine-learning team, creates a project: a batch of items (short texts or images of up to 1 MB), written instructions, a label set (pick one of up to 20 classes, or give a rating from 1 to 5), how many different labelers must label each item (1 to 5, usually 3), and a deadline.
Labelers sign in to a work page, ask for their next task, look at one item and submit one label or rating. A labeler works only on projects they are qualified for, may label an item only once, and may hold a task for at most 10 minutes; a task that is not submitted in time goes back to the pool.
Also assume that when an item has its required number of labels, the platform combines them into a final label with an agreement score.
Customers also supply gold items whose correct answer they already know; the platform mixes these into labelers' work without marking them and uses them to measure each labeler's accuracy on the project.
A labeler whose accuracy falls below the customer's threshold stops getting that project's tasks, and their labels on it stop counting. Items whose labels disagree too much go to an expert reviewer named by the customer, whose label is final.
Customers watch progress and download final labels. Paying, recruiting and training labelers, and machine-suggested labels, are out of scope.
What to build
- A customer can create a project with items, instructions, a label set, a number of labels per item and a deadline, follow its progress, and download its final labels.
- A qualified labeler can ask for the next task, get one quickly, and submit one label for it; nobody labels the same item twice, and a task held too long goes back to the pool.
- Each item collects its required number of counted labels from different labelers and then gets a final label with an agreement score; items that disagree too much go to expert review.
- Hidden gold items measure each labeler's accuracy on a project; a labeler below the threshold stops getting that project's tasks, their labels on it stop counting, and the affected items are labeled again.
At scale
- For this exercise, assume about 2,000 active projects, some with up to 5 million items, and about 10 million labels submitted a day.
- For this exercise, assume about 10,000 labelers online at the busiest hour, each submitting about one label every 30 seconds, and that one popular project can have 3,000 of them working on it at once.
- For this exercise, assume a labeler's next task arrives within 300 ms at the 99th percentile, and a submitted label is never lost.