The Mathematics of Bias: The Limits of Algorithmic Fairness in Light of Chirag Shah's Raising AI

• • 🇵🇱 Polski

The article provides a critical analysis of the illusion that the technical precision of artificial intelligence algorithms is synonymous with objectivity and social justice. The author argues that AI systems can be mathematically flawless while systematically discriminating against certain groups through so-called 'mathematics of bias.' The main thesis posits that algorithmic fairness is not a programming problem, but a complex intertwining of statistical, institutional, and axiological issues. By analyzing phenomena such as Simpson's paradox, selection bias, and proxy bias, the text demonstrates that AI often does not solve problems so much as perpetuate historical inequalities under the guise of data neutrality. The significance of this reflection lies in the call to move from naive technocratism toward 'raising' artificial intelligence—a process where conscious definition of social goals and rigorous control over the ethical consequences of automating decisions about human lives dominate mathematical optimization.

The Mathematics of Bias: The Limits of Algorithmic Fairness in Light of Chirag Shah's Raising AI

Introduction

Does the mathematical precision of algorithms guarantee objectivity? In his book Raising AI, Chirac Shah argues that the technical correctness of code is not synonymous with social justice. AI systems can be computationally flawless while simultaneously systematically discriminating against specific groups of people.

Readers will discover how the so-called mathematics of bias works. The text explains why AI often perpetuates historical inequalities under the guise of data neutrality and why combating bias requires institutional changes, rather than just programming fixes.

Technical Model Correctness Does Not Guarantee Social Justice

Chirac Shah emphasizes that an algorithm free of coding errors can still be discriminatory. This occurs when a mathematical procedure answers a question other than the one that is relevant from a human rights perspective. A system may achieve high quality metrics while simultaneously worsening the situation for specific groups.

An example of this is proxy bias. If a medical model assesses patient needs based on historical healthcare spending, it will overlook poorer individuals. While it mathematically predicts costs correctly, in practice, it discriminates against sick patients from financially marginalized groups.

The Gap Between Measurement Precision and Construct Validity

According to Shah, a model can be statistically stable yet still produce unfair results. This stems from the difference between measurement reliability and validity. An algorithm may consistently measure the wrong attribute, leading to what is known as measurement bias.

This problem is exacerbated by gaps in training data and selection bias. Simply adding new variables does not help if the data reflects previous injustices. AI learns from data provided by people already accepted by the system (e.g., loan recipients), creating a trap of missing counterfactual outcomes.

High Model Accuracy Does Not Guarantee Fairness

Chirac Shah warns that a high accuracy rate can be misleading. In the case of rare events, a model may correctly classify the majority of the population while failing completely in critical cases. This renders the system technically functional but practically useless or harmful.

The author points to conflicts between mathematical fairness criteria, such as demographic parity and equalized odds. It is impossible to satisfy all these metrics simultaneously. Choosing a specific metric is not a technical decision, but a normative and ethical one, requiring an acknowledgment of the limits of representing humans mathematically.

Summary

In a world dominated by risk classification results, mathematical precision can become a new form of invisible enslavement. Chirac Shah calls for a transition from naive technocracy toward the conscious "raising" of artificial intelligence.

The real challenge is not to create a perfectly fair model, but to recognize the moment when an algorithm must yield to human agency. The courage to question "objective" data will determine whether AI becomes a tool for emancipation or an efficient mechanism for reproducing injustice.

📚 Based on

Raising AI

Bloomsbury Academic
ISBN: 9798216452409

👤 About the book's author

Chirag Shah

University of Washington

Chirag Shah is a Professor at the Information School and an Adjunct Professor in the Paul G. Allen School of Computer Science & Engineering at the University of Washington. He earned his Ph.D. in Information Science from the University of North Carolina at Chapel Hill, along with degrees from IIT Madras and UMass Amherst. Shah is the Founding Director of the InfoSeeking Lab and Founding Co-Director of the Center for Responsibility in AI Systems & Experiences (RAISE). His research focuses on intelligent information access systems, including search, recommendation, conversational systems, and agentic AI, emphasizing fairness, transparency, and responsible AI. A Distinguished Member of ACM and ASIS&T, he has served as a consultant for the United Nations and worked extensively with industry research organizations on ethical and user-centered machine learning architectures.

Mind map: The Mathematics of Bias and Algorithmic Fairness

📖 Glossary

Paradoks Simpsona
Zjawisko, w którym trend widoczny w kilku oddzielnych grupach znika lub odwraca się po połączeniu tych grup w jeden zbiór danych.
Collider bias (Błąd selekcji)
Sztuczna zależność między dwiema niezależnymi cechami, która pojawia się, gdy analizujemy tylko osoby spełniające określony warunek (np. tylko zatrudnionych).
Trafność konstruktu
Stopień, w jakim wybrany wskaźnik lub pomiar rzeczywiście odzwierciedla teoretyczne pojęcie, które ma mierzyć (np. czy wydatki na lekarza mierzą stan zdrowia).
Parytet demograficzny
Kryterium sprawiedliwości wymagające, aby odsetek pozytywnych decyzji algorytmu był taki sam dla wszystkich grup społecznych.
Wyniki kontrfaktyczne
Hipotetyczne rezultaty, które wystąpiłyby, gdyby podjęto inną decyzję (np. czy osoba odrzucona w rekrutacji spłaciłaby kredyt).
Niesprawiedliwość hermeneutyczna
Sytuacja, w której brak odpowiednich pojęć lub języka uniemożliwia osobie zrozumienie i opisanie własnego doświadczenia krzywdy.

Frequently Asked Questions

Can a correctly functioning algorithm, free of coding errors, be discriminatory?
Yes, an algorithm can be discriminatory even in the absence of coding errors and full mathematical correctness. This results from factors such as the selection of training data, the structure of historical data, or the way the objective is defined, meaning that a technically sound system can generate socially unfair outcomes.
Why can an AI model be statistically correct and stable, yet still provide unfair or incorrect results?
This happens when a measurement is reliable and repeatable but lacks construct validity, meaning it systematically fails to capture the actual property it is intended to measure. A model may be statistically sound but rely on data reflecting historical injustices or use inadequate proxies to represent social phenomena.
Why can an AI model have very high accuracy yet still be useless or harmful in practice?
An AI model may exhibit high accuracy that results solely from the population structure (e.g., the rarity of a phenomenon) rather than actual diagnostic capabilities. In such cases, the system may generate too many false alarms or completely miss real instances, making it useless without considering the base rate of the event and the costs of errors.
Why might general statistics suggest discrimination even when the situation in individual groups is the opposite?
This occurs when the participation structure within subgroups differs between the compared categories. As a result, aggregated indicators may suggest inequality, while the outcome actually results from different conditions of participation in the process rather than discrimination.
Why does simply adding more variables to a model not solve the problem of bias, and where do gaps in AI training data come from?
Simply adding variables is not a universal strategy because, depending on the role of a given variable, it can lead to omitting actual effects or generating spurious correlations. Gaps in AI data result from selection bias (collider bias) and a lack of counterfactual outcomes, as models learn from individuals who were previously accepted without having access to information about the results of those rejected.
What mathematical ways exist to define algorithmic fairness, and why can they not all be applied simultaneously?
Mathematical ways of defining algorithmic fairness include demographic parity, equality of opportunity (including the equalized odds condition), and predictive calibration. They cannot all be applied simultaneously because, in populations with different base rates of the event being studied, certain criteria are mutually incompatible.
Why can identical technical parameters of a model lead to different results for different groups, and what does this mean for fairness?
Different outcomes with identical parameters (e.g., sensitivity and false alarm rate) result from differences in the base rate of an event across various groups, which is a property of probability theory. This means that fairness is not a single model property that can be maximized by one parameter; rather, mathematical conflicts necessitate the definition of normative goals that cannot be derived from data alone.
How can an algorithm discriminate against a group of people even if it does not explicitly use data on race or origin?
An algorithm can discriminate through so-called proxy bias, when it utilizes an indicator historically linked to unequal access to services. If the adopted measure, such as healthcare costs, does not reflect the actual needs of a given group, the system will reproduce and perpetuate existing inequalities in resource allocation.
Why does simply balancing group sizes in training data not guarantee algorithmic fairness?
Simply balancing group sizes does not guarantee fairness because the problem may relate to measurement quality (measurement bias) or the method of data collection (selection bias). In such cases, training data may be unrepresentative of the entire population, or indicators may not record phenomena in a comparable way across all groups.
Why can a 'one-size-fits-all' model be unfair, and what causes a technically correct model to stop working in reality?
A single universal model can be unfair because, despite a high overall score, it may systematically fail for minority groups. A technically correct model stops working in reality due to distribution shift, when the statistical relationships it relies on no longer correspond to current reality.
How does unequal access to technology and data affect algorithmic bias on a global scale?
Unequal access to technology causes geographic bias, as training sets primarily reflect the activities of wealthy and digitally advanced societies. This leads to the risk of treating specific practices from these regions as universal and misinterpreting the local, linguistic, and social contexts of other countries.
How can algorithms create vicious cycles that perpetuate stereotypes and inequalities in reality?
Algorithms create vicious cycles by generating self-fulfilling predictions, where the intensification of actions in specific areas or toward particular groups leads to an increase in recorded events, reinforcing the system's original risk assessment. Additionally, mechanisms such as presentation or activity bias cause models to adapt to data resulting from unequal visibility or the behaviors of a narrow group of users, thereby marginalizing others.
Are technical methods for correcting algorithmic bias, such as synthetic data or changing decision thresholds, sufficient to ensure fairness?
Technical methods can improve audit results or the recognition of rare cases, but they do not eliminate the historical causes of inequality or incorrect labels. They are insufficient because some problems require a deeper analysis of the sources of distortion and changes to the data, objective functions, or institutional processes.
What technical and statistical pitfalls can make an AI system appear fair or safe when it is actually not?
Pitfalls may include differential privacy techniques, which disproportionately degrade classification effectiveness for underrepresented groups, and explainability methods that do not always reflect the actual causes of events. Risk is also created by over-reliance on single quality metrics and ignoring confidence intervals in small subgroups, which can lead to a semblance of system fairness.
Are there technical ways to limit AI errors, and why do even these not replace institutional and legal responsibility?
Technical ways of limiting errors include selective prediction, which allows for halting an automatic decision in high-risk cases, and conformal prediction with formal coverage guarantees. However, they do not replace institutional and legal responsibility because decisions regarding freedom or equality require oversight based on legal norms, rather than exclusively technical criteria and mathematical model optimization.
Why does the technical impartiality of an algorithm alone not guarantee fair treatment of people in practice?
Technical impartiality does not guarantee fairness because algorithms operate within organizational incentive systems and power relations that may prioritize, for example, procedural speed over assessment quality. Furthermore, formal equality in a model does not eliminate inequalities in the resources of process participants, such as differing access to information or the ability to challenge decisions.
How should we understand the responsible deployment of AI so that technical effectiveness does not replace social justice?
Responsible AI deployment requires recognizing the limits of mathematical representations of humans and separating predictive effectiveness from the moral justification for its use. Attention must shift from the model itself to the entire decision-making process, ensuring system control, appeal procedures, and an analysis of actual social harms.

🧠 Thematic Groups

Tags:

More in: Szkatułka kosztowności

 Content is created by Fundacja Dobre Państwo.
Edited and published by APA ONE, the Foundation's own AI-based editorial system.