Data Annotation
Data annotation is the process of attaching labels to raw data (images, text, audio, video), and it is the fuel of supervised learning. The industry consensus is that 80% of the work behind a high-quality model goes into the data. Annotation quality sets the ceiling on model quality.
Common Annotation Types
Image annotation includes classification (one label per image), object detection (boxing objects and labeling their class), semantic segmentation (a class label per pixel), and keypoint annotation (68 face points, human pose). Text annotation includes sentiment classification, named entity recognition, relation extraction, and intent detection. Audio annotation includes transcription (speech to text) and pronunciation lexicon labeling. RLHF annotation is a newer type, in which annotators rank several model responses for training a reward model.
Three Levels of Quality Control
Annotation guidelines come first. The guidelines must pin down edge cases: do you label an object that is more than 50% occluded? Is a mixed sentiment ("it's okay, I guess") positive or neutral? Vague guidelines are the main source of quality problems.
Multi-person cross-validation: have three people annotate the same batch independently and compute agreement (Cohen's Kappa or Fleiss' Kappa). Agreement below the threshold means the guidelines are ambiguous, and you should revise the guidelines rather than blame the annotators.
Sampling inspection: review a proportional sample by hand and measure accuracy and miss rate. Systematic errors mean the whole batch must be redone.
Cost and Efficiency
Annotation is labor-intensive, and its cost often exceeds compute cost. Ways to cut it include active learning (label only the samples the model is least sure about, which can reduce annotation volume by 50-80%), semi-automatic annotation (pre-label with an existing model and have humans only correct), and weak supervision (generate noisy labels with rules or heuristics, then clean them).
Common Misconceptions
The most common mistake is to start labeling without guidelines and deal with it later; halfway through you find the standards are inconsistent and everything must be redone. The right order is: pilot-label a small batch, discuss ambiguities, finalize the guidelines, annotate at full scale, and keep sampling for inspection.
Applications
Self-driving (boxing pedestrians and vehicles, labeling lane lines), medical imaging (doctors marking lesions), voice assistants (transcription and intent labeling), and large-model alignment (preference ranking annotation).