AI and Machine Learning · Data
Ground Truth
Also known as GT, reference labels, annotations, labels
Ground truth is the reference data treated as the correct answer when training or evaluating a model, such as manually annotated 3D boxes or surveyed lane positions. Metric values are only as reliable as the ground truth they are computed against.
Explanation
Google's ML glossary describes ground truth as reality, the thing that actually happened, against which model quality is assessed. In automotive datasets it is usually produced by human annotators, by offline algorithms with access to more information than the online system, such as future frames or high-definition maps, or directly by a simulator.
Ground truth is never perfect. Annotators follow written instructions: nuScenes, for example, requires very tight cuboids that still include all of an object's LiDAR points, excludes vehicle side mirrors, and labels objects that have at least one LiDAR or radar point when their location and shape can be judged. Different rules on visibility, occlusion and box extent change metric results, so ground truth from different datasets is not interchangeable.
Label errors cap the accuracy that can be measured and can bias training. Good practice includes clear annotation guidelines, quality audits, agreement checks between annotators, and recording which ground-truth version each evaluation used.
How it works
Sensor data is time-synchronised and calibrated, then annotators or auto-labelling tools create labels, such as boxes, masks, tracks with persistent IDs or trajectories, in a defined coordinate frame. Quality checks review some or all labels. During evaluation, predictions are matched to ground-truth objects using a criterion such as an IoU or distance threshold, and metrics are computed from those matches.
Automotive applications
- Supervised training labels
- Benchmark evaluation (mAP, MOTA, minADE)
- Regression testing of perception releases
- Validating sensor simulation
Example
For a tracking benchmark, annotators label every vehicle with a 3D cuboid and a persistent track ID through a 20-second sequence. A tracker's output is matched to these tracks with a 3D IoU threshold, and identity switches are counted against the annotated IDs.
An illustrative example: any figures in it are worked numbers, not measurements.
References
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.