When we talk about bias in AI, we are referring to something very specific, defined as a term referring to “computer systems that systematically and unfairly discriminate against certain individuals or groups in favour of others. A system discriminates unfairly if it denies an opportunity or assigns an undesirable outcome to an individual or group on grounds that are unreasonable or inappropriate” (Friedman & Nissenbaum, 1996). Furthermore, bias in computer systems can be distinguished into three categories: pre-existing bias, technical bias, and emergent bias (Friedman & Nissenbaum, 1996).
Empirical research has demonstrated that such biases can have serious consequences in clinical contexts. Studies have documented persistent disparities in the diagnosis and treatment of major conditions.
Several mechanisms can lead to these biased outcomes in AI-supported decision-making in healthcare, including imbalances in training data, measurement errors in clinical variables, inappropriate proxy indicators, and differences between the environments where AI systems are developed and the real-world settings where they are deployed.
Bias can also arise when AI systems are introduced into clinical workflows without adequate training for healthcare professionals, or without robust human oversight and accountability mechanisms to monitor their performance across diverse patient populations.
Researchers have identified three broad categories of bias that apply to all computer systems. Understanding these categories will help you recognise where in the system a problem may originate:
Pre-existing Bias
This type of bias stems from existing inequalities in social institutions, practices, and attitudes, and that are independent and usually present prior to the creation of the system. It is incorporated into the system, either consciously or unconsciously, sometimes even when developers are actively trying to avoid it. In healthcare, this can mean that historical patterns of unequal treatment of patients based on gender or race, etc., become embedded in AI tools trained on that data.
Technical Bias
Technical bias arises from the constraints and considerations made when translating complex human realities into computational form, for example, when qualitative information is reduced to numbers, or when an algorithm developed in one clinical setting is applied in a very different one. This can cause the system to treat certain groups unfairly in specific conditions.
Emergent Bias
Emergent bias appears after a system has been deployed, as a result of changes in societal knowledge, cultural context, or patient population that were not, or could not be, incorporated into the system design. This may happen because certain populations are absent from training data, whether due to ethical or legal restrictions, limited healthcare access, or because relevant identity categories were not yet recognised as clinically significant variables at the time of development. Examples include older adults with multiple comorbidities, who are frequently excluded from clinical trials due to arbitrary age limits and multimorbidity exclusion criteria (Florisson et al., 2021), and non-binary, transgender, and intersex individuals, whose identities were largely absent from clinical data systems when many current AI systems were developed (Hafner et al., 2024). In other words, an AI system that worked fairly at the time of its development may become biased as the world around it changes.
While the three categories above are valid for all computer systems, AI and machine learning applications require a more detailed framework. Looking at the specific phases of how an AI model is built and used (from data collection to deployment) the following seven bias types have been identified (Suresh & Guttag, 2021).
Note: These seven bias types are not mutually exclusive, i.e., a single AI system can suffer from several at once, and they can interact and reinforce each other across the different stages of development and deployment.
Historical Bias
Historical bias corresponds to pre-existing bias as defined by (Friedman & Nissenbaum, 1996), reflecting prejudices and stereotypes already present in the data used to train the AI. Even if the data is technically accurate, it may encode patterns of unequal treatment. An example can be seen in (Calderone, 1990), which examines whether the frequency of pain and sedative medication administered to postoperative coronary artery bypass graft (CABG) patients differs according to patient gender and age. The result revealed that male patients and patients 61 years or younger were administered pain medication significantly more frequently than female patients and patients 62 years old and over, who instead were administered sedative medication significantly more frequently. An AI trained on such data would learn, and replicate, this disparity.
Representation Bias
Representation bias arises when the data used to train the AI underrepresents certain groups of the population. This may occur in the following ways:
When defining the target population, if it does not reflect the use population;
When defining the target population, if it contains underrepresented groups;
When sampling from the target population, if the sampling method is limited or uneven.
As a result, the model performs well for groups that are well-represented in the data but poorly for those that are not. A typical example of representational bias concerns skin cancer detection: many imaging datasets consist predominantly of images from fair-skinned individuals, leading AI models to be significantly less accurate when assessing patients with different skin tones (Guo et al., 2021).
Measurement Bias
Measurement bias occurs when choosing, collecting, or computing features and labels to use in a prediction problem, especially when using a proxy (an indirect measure). An example can be found in a study by (Obermeyer et al. 2019), where health costs were used as a proxy for patient health needs. Because black patients, facing disproportionate levels of poverty, tend to spend less on healthcare than equally sick white patients, the algorithm falsely concluded that black patients were healthier, and consequently ranked them as lower priority for care.
Measurement bias can also occur when the measurement method varies across groups, for example, when two groups are monitored for the same behavior, but one of them is monitored more stringently or frequently than the other. Research has shown, for instance, that physicians are more likely to underestimate the pain of black patients compared to non-black patients, due to false beliefs about biological differences, consequently leading to black patients being less likely to receive adequate pain medication (Hoffman et al., 2016).
Aggregation Bias
Aggregation bias occurs when a one-size-fits-all model is used for a dataset that includes diverse groups of people or things, ignoring meaningful differences between population groups. What a data point means, or what a clinically appropriate response looks like, can vary significantly across populations, cultures, or socioeconomic contexts. We can consider the example of mapping input data (e.g., a person’s income) to labels that describe them (e.g., low, middle, high) being assumed to be consistent across subsets of the data. In reality, a person’s background or culture can change what those numbers actually mean. When AI models fail to account for this, they risk producing outputs that are appropriate for some patients but misleading or harmful for others.
Learning Bias
Learning bias emerges from the choices made when building and optimising the AI model itself, which can amplify existing disparities in the data. An example concerns differential privacy, a mechanism used in AI systems that ensures that, by examining a system’s output, it is not possible to determine whether a specific individual’s data were included in the original dataset. Despite being used to protect patient confidentiality in healthcare datasets, in the case of rare diseases, where each patient’s case is more or less unique in a limited area covered by a hospital, even if the data are anonymised, it is not very difficult to deduce the person’s identity. Furthermore, differential privacy has been shown to reduce the influence of underrepresented groups on a model. Thus, if the underlying data is already biased, such measures can inadvertently make that bias worse (Bagdasaryan & Shmatikov, 2019). For healthcare professionals, the key takeaway is that bias can be introduced or amplified not just through data, but through the technical decisions made during model development, decisions that may not be visible or transparent to end users.
Evaluation Bias
Evaluation bias occurs when the benchmark data used for a particular task do not represent the user population. Benchmarks are standardised datasets used to measure a model's quality, enabling quantitative comparison of models. In healthcare, certain groups are frequently underrepresented in benchmark datasets, either because they are absent from datasets (for example, pregnant women, due to ethical constraints) or because they are incorrectly or inappropriately categorised into groups (for example, categories of “mixed ethnicity” or “other”).
The root causes for this may include social and technical or legal/ethical reasons, such as structural barriers to receiving healthcare, technical obstacles to the capture or digitisation of relevant health data, individual and structural limitations regarding consent for data sharing, and legal or ethical restrictions on data sharing preventing data accessibility, among others (Arora et al., 2023).
When AI systems are calibrated against such benchmarks, they may perform poorly for individuals from underrepresented groups, without this ever being detected during development, which means that a system may appear to perform well in testing, while systematically failing specific patient populations in real clinical use.
Deployment Bias
Deployment bias arises when there is a mismatch between what an AI model was designed to do and how it is actually used in practice. This can cause harm, especially when combined with human cognitive tendencies such as confirmation bias (the tendency to favour information that confirms existing beliefs) or automation bias (the tendency to over-rely on automated recommendations). In consequence, a system that performed well in its original development context may produce unfair or inaccurate outcomes when applied in a different clinical setting or patient population.
📌 Key takeaway: Bias in AI is not a single problem with a single cause. It can enter at any stage, from the data used to train a system, to the technical choices made during development, to the way it is used in clinical practice. Thus, recognising where bias originates, and how different types can reinforce each other, is the first step towards addressing it.
Now that you are familiar with the different types of bias and mechanisms behind biased AI systems, Module 3 will bring this closer to clinical reality, examining the specific gender and racial biases that have been documented in biomedical AI, with a particular focus on cardiovascular diseases, diabetes, and depression.
Next up: Module 3
Arora, A., Alderman, J. E., Palmer, J., Ganapathi, S., Laws, E., McCradden, M. D., Oakden-Rayner, L., Pfohl, S. R., Ghassemi, M., McKay, F., Treanor, D., Rostamzadeh, N., Mateen, B., Gath, J., Adebajo, A. O., Kuku, S., Matin, R., Heller, K., Sapey, E., … Liu, X. (2023). The value of standards for health datasets in artificial intelligence-based applications. Nature Medicine, 29(11), 2929–2938. https://doi.org/10.1038/s41591-023-02608-w
Bagdasaryan, E., & Shmatikov, V. (2019). Differential Privacy Has Disparate Impact on Model Accuracy (arXiv:1905.12101). arXiv. https://doi.org/10.48550/arXiv.1905.12101
Calderone, K. L. (1990). The influence of gender on the frequency of pain and sedative medication administered to postoperative patients. Sex Roles, 23(11), 713–725. https://doi.org/10.1007/BF00289259
Florisson, S., Aagesen, E.K., Bertelsen, A.S., Nielsen, L.P., & Rosholm, J.U. (2021). Are older adults insufficiently included in clinical trials? An umbrella review. Basic & Clinical Pharmacology & Toxicology, 128(2), 213–223. https://doi.org/10.1111/bcpt.13536
Friedman, B., & Nissenbaum, H. (1996). Bias in computer systems. ACM Transactions on Information Systems, 14(3), 330–347. https://doi.org/10.1145/230538.230561
Guo, L. N., Lee, M. S., Kassamali, B., Mita, C., & Nambudiri, V. E. (2021). Bias in, bias out: Underreporting and underrepresentation of diverse skin types in machine learning research for skin cancer detection-A scoping review. Journal of the American Academy of Dermatology, S0190-9622(21)02086-7. https://doi.org/10.1016/j.jaad.2021.06.884
Hoffman, K. M., Trawalter, S., Axt, J. R., & Oliver, M. N. (2016). Racial bias in pain assessment and treatment recommendations, and false beliefs about biological differences between blacks and whites. Proceedings of the National Academy of Sciences, 113(16), 4296–4301. https://doi.org/10.1073/pnas.1516047113
Obermeyer, Z., Powers, B., Vogeli, C., & Mullainathan, S. (2019). Dissecting racial bias in an algorithm used to manage the health of populations. Science, 366(6464), 447–453. https://doi.org/10.1126/science.aax2342
Suresh, H., & Guttag, J. (2021). A Framework for Understanding Sources of Harm throughout the Machine Learning Life Cycle. Equity and Access in Algorithms, Mechanisms, and Optimization, EAAMO ’21, 1–9. https://doi.org/10.1145/3465416.3483305