Background
GC Elite - GC & Senior Lawyer Directory

The architecture of algorithmic injustice: when AI bias becomes a failure of the Rule of Law

Raja Sengupta, General Counsel at TRDP Group and VCherish Labs in India, asks an important question: can an algorithm be accurate and still produce injustice?

Consider a court relying on a risk assessment that predicts an individual’s likelihood of reoffending. The prediction may be statistically defensible, yet its underlying data could reflect discriminatory policing, its model could produce unequal errors, and its conclusions could receive more judicial weight than they deserve. None of these failures necessarily depends on the others. This is precisely why the debate over artificial intelligence must move beyond whether algorithms are accurate or technically sophisticated. The more difficult question is whether institutions can recognise, explain and remedy the unfairness that emerges when automated predictions influence consequential decisions. AI bias is not a single defect to be corrected before deployment; it can arise independently or cumulatively in data, model design and institutional use. Accuracy measures predictive performance; legality requires a separate examination of the authority, procedures and consequences associated with a decision.

The problem often begins with the records from which AI systems learn. Five interrelated forms of data-related bias illustrate how seemingly objective information may carry structural inequalities.

  1. Representation bias occurs when particular communities, languages or case categories are inadequately reflected in training or evaluation datasets.
  2. Historical bias arises when earlier discriminatory policing, administrative practices or institutional decisions are reproduced as predictive patterns.
  3. Measurement bias emerges when imperfect indicators, such as arrests, are treated as reliable measures of actual offending.
  4. Label bias, a closely related form of measurement distortion develops when subjective human judgments become embedded in training classifications and subsequently acquire the appearance of objective facts.
  5. Sampling bias occurs when datasets are drawn from narrow populations, jurisdictions or periods that do not represent the intended environment. Although it may overlap with representation bias, its emphasis is on how observations are selected and whether the resulting sample supports valid generalisation.

These distinctions matter. A dataset may represent a population accurately while still reproducing its history of unequal treatment. Conversely, a system trained on otherwise reliable records may fail when transferred to a different legal setting. The danger is that institutional history, once converted into numerical information, may be mistaken for impartial evidence.

Even carefully selected data cannot guarantee a fair model. A second category of risks arises from modelling choices, statistical performance and the interaction between predictions and subsequent institutional conduct.

  1. Proxy bias arises when apparently neutral variables, including postcode or employment history, indirectly encode protected characteristics.
  2. Aggregation bias occurs when a single model is applied across groups whose circumstances differ in legally or socially significant ways.
  3. Error-rate bias appears when false-positive or false-negative predictions disproportionately affect particular populations. Whether such disparities constitute unlawful discrimination depends on the applicable legal framework, the justification for differential effects and the consequences of the decision.
  4. Calibration bias arises when identical risk scores correspond to different actual probabilities across groups, making comparisons potentially misleading.
  5. Feedback-loop bias develops when algorithmic predictions influence institutional conduct, generating new data that reinforces earlier assumptions. For example, heightened surveillance of a predicted high-risk population may produce additional recorded incidents, reinforcing the model’s initial classification without necessarily establishing a corresponding difference in underlying offending.

The controversy surrounding the COMPAS criminal risk assessment tool illustrates the difficulty of reconciling predictive accuracy with competing fairness measures. ProPublica’s analysis identified racial disparities in certain classification errors, while the system’s developer disputed aspects of the methodology and emphasized other predictive-performance measures. Demographic parity, predictive parity and equality of error rates address different concerns and cannot always be satisfied simultaneously, particularly where underlying outcome prevalence differs between groups and predictions are imperfect. Consequently, mathematical fairness cannot independently determine legal fairness. The distribution of errors, the consequences for affected individuals and the legitimacy of the underlying distinctions remain questions of law and institutional judgment.

“A judge who routinely endorses an algorithmic recommendation without independently examining its basis does not preserve judicial independence merely by signing the order.”

A third source of injustice emerges when AI enters everyday decision-making. These deployment-related risks are not necessarily defects in the underlying model; they concern how institutional actors interpret, apply and govern algorithmic outputs.

  1. Automation bias occurs when judges, lawyers or administrators place excessive confidence in machine-generated recommendations and reduce independent scrutiny.
  2. Context mismatch bias arises when a system developed for one jurisdiction, population or legal purpose is deployed in materially different circumstances.
  3. Overreach bias occurs when probabilistic assessments are treated as definitive conclusions beyond what their evidentiary foundations support.
  4. Procedural bias emerges when affected individuals lack meaningful opportunities to understand, challenge or correct automated conclusions.
  5. Operational bias develops when workload pressures, institutional incentives or inconsistent implementation produce unequal treatment across comparable cases. These failures can occur even when a model is technically sound. A judge who routinely endorses an algorithmic recommendation without independently examining its basis does not preserve judicial independence merely by signing the order. Nor does a corporation establish accountability simply by requiring an employee to approve an automated assessment. Human oversight must involve genuine authority, sufficient information and the practical freedom to disagree. The relevant question is not whether a human remains formally involved, but whether that individual possesses the competence, independence and institutional authority necessary to exercise meaningful judgment.

The legal implications extend beyond discrimination. Algorithmic opacity may compromise procedural fairness, privacy and access to effective remedies, while gender and intersectional inequalities can become harder to detect when adverse outcomes are attributed to ostensibly neutral systems. AI-generated legal hallucinations present a related but distinct threat to evidentiary reliability. Importantly, statistical disparities do not automatically establish a violation of the rule of law. Legal responsibility arises through the applicable constitutional, statutory, administrative or human-rights framework, including requirements concerning equality, non-discrimination, lawful authority, procedural fairness, proportionality and effective remedies. The decisive inquiry is whether the use of algorithmic power breaches an applicable legal duty or undermines a legally protected right.

International human-rights principles already provide a foundation for examining these risks. Articles 7, 8 and 10 of the Universal Declaration of Human Rights recognise equality before the law, effective remedies and fair hearings; although the Declaration is not itself a binding treaty, its principles inform international human-rights standards. Articles 14 and 26 of the International Covenant on Civil and Political Rights reinforce fair-trial and equality guarantees as binding treaty obligations for States Parties, subject to their applicable commitments and reservations. The European Union’s AI Act establishes binding risk-based obligations for specified systems, while UNESCO’s guidelines for AI in courts and tribunals provide non-binding governance principles. In the Netherlands, the SyRI litigation demonstrated how insufficient transparency and safeguards in automated public-sector risk assessment can raise serious human-rights concerns. These authorities differ in scope but share an essential premise: technological efficiency cannot displace fundamental legal protections.

The challenge is translating these principles into enforceable institutional practice.

I propose the JUSTICE Framework, a seven-pillar model linking algorithmic risk to legal accountability. It is presented as a proposed governance synthesis, not as an independently established legal standard or a replacement for existing regulatory obligations.

  1. Justification (J) requires a legitimate purpose, necessity and proportionality before AI is deployed, where these tests are applicable under the governing legal framework.
  2. Understanding (U) demands scrutiny of data provenance, model assumptions, validation and limitations, including documented assessment of foreseeable discriminatory outcomes.
  3. Substantive Fairness (S) requires examination of discriminatory effects, including unequal error rates and contextual differences, with particular attention to legally protected characteristics, intersectional disadvantage and the real-world consequences of errors.
  4. Transparency (T) calls for meaningful explanations, traceable records and appropriate disclosure, while recognising legitimate confidentiality interests and the disclosure requirements imposed by applicable law.
  5. Institutional Responsibility (I) assigns clear duties to developers, vendors, deploying organisations and human decision-makers, distinguishing contractual responsibilities from statutory obligations and ultimate public-law accountability.
  6. Contestability (C) ensures affected individuals can question consequential decisions and seek competent, independent review, to the extent required by applicable law and supplemented by proportionate institutional safeguards.
  7. Effective Remedy (E) requires correction, redress and institutional learning when harm occurs, including access to appropriate administrative or judicial remedies where legally available.

The framework should operate through three connected governance stages. Before deployment, institutions must establish justification, understand the system and assess substantive fairness. During deployment, they must preserve transparency, assign responsibility and monitor actual performance. When decisions are challenged or harm emerges, contestability and effective remedies must become operational rather than theoretical.

In practical terms, these stages should be supported by documented impact assessments, independent validation where warranted, decision logs, defined escalation responsibilities, periodic bias testing and accessible review procedures. The intensity of each safeguard should correspond to the system’s intended purpose, foreseeable harms and legal significance.

These safeguards must also be revisited whenever data, models or deployment contexts materially change. The framework is not a substitute for existing legal obligations, nor does it presume that every AI application requires identical controls. Its contribution is to connect the identification of all fifteen biases with documented oversight, proportionate safeguards and accountable decisions.

Artificial intelligence can improve legal research, reduce administrative burdens and widen access to justice. These benefits deserve serious consideration. But innovation cannot become an exemption from accountability. The afore-mentioned fifteen identified bias and deployment-risk categories reveal that injustice may originate in historical records, emerge through mathematical modelling or arise independently through institutional deployment. No single accuracy measure, fairness metric or formal human approval can eliminate these risks.

Ultimately, responsible AI governance depends on whether institutions can explain consequential decisions, confront discriminatory effects, preserve independent judgment and provide meaningful remedies. The rule of law does not require algorithms to be infallible. It requires that the exercise of power, however technologically sophisticated, never becomes immune from accountability.

Join Us

Be part of a growing global community committed to advancing in-house legal leadership.

Join Us

Related Publications

Efi Thoma

Oversight or Transformation? Who Owns AI-Assisted Work | Efi Thoma

Inside the GC Playbook · with Efi Thoma Generative AI is now part of everyday legal work, but one question remains largely unanswered: who owns...

Learn more about Oversight or Transformation? Who Owns AI-Assisted Work | Efi Thoma

Beyond efficiency

Beyond efficiency: four shifts reshaping the CLOC Core 12 in the age of AI

Satoshi Yamazaki, General Manager of Legal Department at Daito Entertainment Inc. in Japan, considers how AI is reshaping the assumptions behind the CLOC Core 12,...

Learn more about Beyond efficiency: four shifts reshaping the CLOC Core 12 in the age of AI

Portfolio Builder

Select the regions that you would like to download or add to the portfolio

Download    Add to portfolio   
Portfolio
Title Type CV Email

Remove All

Download


Click here to share this shortlist.
(It will expire after 30 days.)