Sub topic 3
Estimating the Ceiling: Human Level and Irreducible Error
Assume you know supervised learning, common evaluation metrics, train/test splits, and basic statistics. A baseline tells you where you started. A ceiling estimates how much improvement is plausible.
Estimating the ceiling
Human performance can provide a practical reference for tasks such as image or text classification. Measure agreement between qualified annotators on a representative sample. This estimates the quality of the labels, not a universal maximum for every model.
Some error is irreducible. Irreducible error comes from ambiguous inputs, missing information, measurement noise, or inconsistent labels. A model cannot reliably remove it without changing the data or the task. Human performance is therefore an estimate, not a precise ceiling.
human_scores = [0.91, 0.89, 0.93, 0.90]
model_score = 0.86
human_mean = sum(human_scores) / len(human_scores)
headroom = human_mean - model_score
print(f"Estimated human score: {human_mean:.3f}")
print(f"Approximate headroom: {headroom:.3f}")Inspecting errors and slices
Average performance can hide failures. A slice is a meaningful subset, such as a device type, language, geography, or rare class. Report the metric for each important slice and inspect representative errors.
| Observation | Possible action |
|---|---|
| Strong overall score but weak performance for one user group | Collect data, adjust thresholds, or improve features for that slice |
| Errors concentrated in ambiguous labels | Clarify the labeling policy or allow an uncertain class |
| Errors differ by operating condition | Evaluate and monitor each condition separately |
Weighing gains against cost
A higher score is useful only if its benefit exceeds its cost. Include training and inference time, infrastructure, engineering effort, latency, interpretability, and maintenance. A small gain may be worthwhile for a high-cost error, but wasteful when the baseline already meets the product requirement.
Deciding when a model is good enough
Define the decision rule before choosing the final model:
- Meet the required overall metric.
- Meet minimum performance on critical slices.
- Keep false-positive and false-negative costs within limits.
- Beat the baseline by more than expected evaluation noise.
- Stay within latency, compute, and maintenance budgets.
If these conditions hold and remaining headroom is small, shipping may be better than further iteration.
Revisiting baselines after deployment
Deployment changes the data. Track the same baseline, candidate model, metrics, slices, and error costs over time. Rebuild the baseline when user behavior, class balance, sensors, or business rules change. A model that once provided a clear gain may become unnecessary, or a weak baseline may reveal new room for improvement.
Exercise
A model improves balanced accuracy from 0.84 to 0.85, but the gain is below the measured run-to-run noise and adds substantial latency. Should it ship?
Show answer
No. Unless the small gain reduces an important real-world cost, keep the simpler baseline and gather more evidence.