Sub topic 9
Speeding Up Labelling with Model-Assisted Pre-Labels
Assume you know basic Python, JSON, image dimensions, and the purpose of supervised model training. This chapter focuses on using a model to propose annotations that a human then checks and edits. The model is an assistant, not the source of truth.
What model-assisted labelling means
A model-assisted labelling workflow starts with a small set of trusted annotations. You train or configure a model, run it on new images, and import its predictions into an annotation tool as pre-labels. A human reviews every proposed label before it becomes part of the training dataset.
For object detection, a pre-label usually contains:
- A predicted class, such as
car. - A bounding box.
- A confidence score, which estimates how likely the prediction is correct.
For segmentation, a pre-label may contain a polygon or a pixel mask. The human corrects the shape, removes false objects, and adds objects the model missed.
The main benefit is reduced drawing time. The main risk is confirmation bias: an annotator may accept a plausible prediction without checking the image carefully.
A practical review workflow
Use a fixed sequence so reviewers do not silently change the labelling standard:
- Open the image and inspect the entire scene.
- Check whether every real object has a label.
- Check each predicted class against the taxonomy.
- Adjust box edges or polygon vertices.
- Remove false positives.
- Add missed objects manually.
- Mark unusual cases, such as severe occlusion, for a second review.
- Save the corrected annotation and record the model version.
Confidence thresholds can help prioritize work, but they must not decide which labels are correct. A high-confidence prediction can still be wrong, especially when classes look alike.
| Prediction confidence | Useful action |
|---|---|
| High | Review quickly, but still verify class and boundaries |
| Medium | Inspect carefully and expect edits |
| Low | Treat as a suggestion or possible missed-object cue |
For segmentation, inspect boundaries at a useful zoom level. A polygon with too few points may cut across an object. A polygon with too many points may trace image noise and make later editing difficult. Use the simplest shape that follows the required labelling rule.
Choosing what the model should label
A model should not generate unchecked labels for a dataset that will evaluate the same model. Instead, use a human review gate. Keep the original prediction and the final annotation separately when possible. This allows you to measure how often the model needed correction.
A useful selection strategy is active learning. Active learning chooses images that are likely to teach the model something valuable, such as:
- Images with many low-confidence predictions.
- Images containing rare classes.
- Images where two models disagree.
- Images from a new camera, location, weather condition, or time of day.
- Images with frequent past correction types.
This is usually more efficient than labelling random images indefinitely.
def review_priority(predictions, rare_classes):
"""Return a score for choosing images for careful human review."""
if not predictions:
return 1.0
uncertainty = sum(1.0 - p["confidence"] for p in predictions)
rare_bonus = sum(p["class"] in rare_classes for p in predictions)
return uncertainty + 0.5 * rare_bonus
image_predictions = [
{"class": "car", "confidence": 0.92},
{"class": "bicycle", "confidence": 0.48},
]
print(review_priority(image_predictions, {"bicycle", "bus"}))This score is only a prioritization rule. It does not measure annotation correctness.
Common failure modes
Model-assisted labelling fails in predictable ways:
- Missed objects: crowded scenes, small objects, and heavy occlusion are often under-labelled.
- Wrong class: visually similar classes may be confused.
- Poor boundaries: boxes may include background, while masks may omit thin parts.
- Duplicate predictions: one object may receive several overlapping boxes.
- Dataset drift: a model trained on one environment may perform poorly on another.
- Inherited errors: repeatedly retraining on uncorrected pre-labels reinforces the same mistakes.
Track corrections by category. If most edits remove false positives for one class, adjust the model, threshold, or class definition. If reviewers disagree about the same case, improve the guideline before producing more labels.
Exercise
A model predicts three cars with high confidence, but the image contains four cars. What should the reviewer do?
Show answer
Verify all three predictions, correct their boxes or classes if needed, add a label for the missed car, and save the complete human-approved annotation.