AI and Machine Learning · Data
Dataset Bias
Also known as data bias, selection bias, sampling bias, coverage bias, reporting bias
Dataset bias is a systematic mismatch between the data a model is trained or evaluated on and the conditions it will face, including uneven representation of groups or situations. It yields models and test results that do not hold in the real world.
Explanation
Several mechanisms cause it. Google's ML Crash Course separates selection bias, where examples are chosen in a way that does not reflect their real-world distribution (including coverage, non-response and sampling bias), from reporting bias, where recorded frequencies reflect what people choose to record, and from historical bias inherited from past data. Annotation guidelines and labeller behaviour can add systematic label errors.
In computer vision, Torralba and Efros (CVPR 2011) used a 'Name That Dataset' game to show that images from popular recognition datasets can be attributed to their source, and criticised the near absence of cross-dataset evaluation. Driving datasets inherit similar biases from where, when and with which sensors they were recorded: particular cities, daytime, dry weather, vehicle types or road layouts.
NIST SP 1270 notes that bias can cause harm regardless of intent and undermines trust in AI. For automotive safety the main concern is under-represented conditions and road users. Bias can be reduced, not eliminated, through deliberate coverage planning, evaluation by slice and documentation of known gaps.
How it works
Describe the intended operating conditions, then compare the dataset's distribution against them: geography, weather, lighting, road types, object classes and the appearance of road users. Evaluate metrics per slice rather than only in aggregate, test on data from other sources, and audit labels. Record known gaps in the dataset documentation so downstream users understand its limits.
Automotive applications
- Coverage analysis for perception datasets
- Checking detection performance across road-user groups
- Planning data collection campaigns
- Interpreting benchmark results
Example
A detector trained mostly on European data shows lower recall for auto-rickshaws and for pedestrians in loose clothing on Indian roads. Slice-level evaluation exposes the gap that the aggregate mAP hid, and the team collects targeted data rather than relying on the headline score.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- Fairness: Types of bias (opens in a new tab)
- Unbiased Look at Dataset Bias (Torralba and Efros, CVPR 2011): project page (opens in a new tab)
- NIST SP 1270: Towards a Standard for Identifying and Managing Bias in Artificial Intelligence (2022) (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.