Introduction
In our last lesson, we explored the "optimistic case" for predictive justice, analyzing its potential to enhance court efficiency, standardize legal application, and manage overwhelming caseloads. We saw how AI could act as a powerful "co-counsel" by streamlining research, predicting outcomes, and facilitating settlements. Your background in digital transformation makes it clear why such data-driven efficiency is appealing to large, complex institutions like the judiciary.
However, efficiency must not come at the cost of justice itself. This lesson confronts the other side of the coin, directly addressing our learning outcome: to evaluate the risks of predictive justice to judicial independence, fairness, and due process rights. We will dissect the most significant critiques leveled against these systems, moving from technical flaws to fundamental challenges that strike at the core of our legal principles. We will examine how even well-intentioned algorithms can perpetuate historical injustice, undermine the right to a fair hearing, and subtly erode the independent judgment that is the hallmark of a credible judiciary.
1. The Risk to Fairness: "Bias In, Bias Out"
The most prominent and well-documented risk of predictive justice systems is their potential to not only reflect but also amplify existing societal biases. Since these AI models learn from historical data, any discrimination present in that data will be learned and systematically reproduced by the algorithm. This is often summarized by the computer science adage: "garbage in, garbage out," or in this context, "bias in, bias out."
To see a powerful, real-world example of this, let's watch a TEDx talk by Dr. Hany Farid, a professor and expert in digital forensics. He deconstructs the infamous COMPAS algorithm, a risk-assessment tool used in US courts.
The danger of predictive algorithms in criminal justice | Hany Farid | TEDxAmoskeagMillyard
In 'The danger of predictive algorithms in criminal justice,' Dr. Hany Farid explains in clear terms how a widely used algorithm demonstrated significant racial bias. He also reveals some startling findings about its accuracy compared to human intuition.
Please watch the following sections carefully: Introduction to Predictive Algorithms (1:16 - 2:22): Understand how these algorithms are used for bail decisions. The ProPublica Report (2:22 - 3:44): Pay close attention to the specific statistics on how the algorithm was biased against black defendants. Are Algorithms Better Than Humans? (4:17 - 7:12): This is a crucial section. Note the surprising results of Farid's own research comparing the algorithm's accuracy to that of random people online. The Proxy Problem (10:41 - 12:04): Grasp the concept of how a seemingly neutral factor like 'number of prior crimes' can act as a proxy for race. The Problem of Perceived Sophistication (12:04 - 14:31): Understand how the 'black box' nature of AI can lead judges to give it undue credibility.
Dr. Farid's talk highlights several critical dimensions of unfairness:
- Disparate Error Rates: The ProPublica investigation found that the COMPAS tool was nearly twice as likely to falsely flag black defendants as future criminals than it was for white defendants. This is a clear case of an algorithm producing racially disparate, and therefore unfair, outcomes.
- The Proxy Problem: The algorithm did not use 'race' as a direct input. However, it used factors like 'number of prior arrests'. Due to historical and systemic biases in policing, certain minority communities are arrested at disproportionately higher rates. Therefore, 'prior arrests' becomes a proxy for race. The algorithm inadvertently learns to penalize individuals based on their race by using these correlated factors.
- Laundering Discrimination: When a human judge makes a biased decision, we can identify it as such. When an algorithm does the same thing based on biased data, its output is often cloaked in a veneer of technical objectivity. The Law Commission of Ontario calls this "laundering discrimination"—the algorithm takes discriminatory historical data as input and outputs a "scientific" risk score that conceals the underlying bias.

2. The Risk to Due Process: The Opaque 'Black Box'
A cornerstone of due process is the right of an individual to understand the evidence being used against them and to challenge it. This principle is severely threatened when the "evidence" is a risk score generated by a proprietary, opaque algorithm—a 'black box'.
The cases of Paul Zilly and Eric Loomis, which you will read about now, are seminal examples of this conflict.
AI and the Assessment of Risk in Bail, Sentencing and ...
The paper 'AI and the Assessment of Risk in Bail, Sentencing and ...' from the Law Commission of Ontario provides a superb legal analysis of these issues. We will focus on the case studies and the section on proprietary rights.
Please read the following two sections from the paper: 'Risk Assessment In the Age of AI: The Case Studies of Zilly and Loomis' (page 18): This sidebar provides a narrative account of two real cases. Focus on how the COMPAS score influenced the judge's decision and the defendants' inability to scrutinize the algorithm's reasoning. 'Navigating disclosure, trade secrets, and intellectual proprietary rights' (Section 3.2, pages 22-24): This section analyzes the legal tension between a company's intellectual property rights over its algorithm and a defendant's due process right to disclosure. Pay attention to the contrast between the US approach in Loomis and the Canadian approach in Ferndale.
This reading exposes two fundamental threats to due process:
- Inability to Confront Evidence: As the Loomis case showed, the defendant was sentenced to six years in prison based in part on a risk score from an algorithm whose inner workings were a trade secret. His defense team could not inspect the code, question its logic, or challenge its assumptions. This is analogous to being judged based on the testimony of a witness who cannot be cross-examined.
- Conflict with Intellectual Property Law: The companies that develop these tools protect their algorithms as proprietary trade secrets or under copyright law. This creates a direct legal conflict. As the academic paper "AI approaches to predictive justice" notes (Section 4.6), this was the central legal barrier in the COMPAS case: the defendant was legally barred from knowing how the algorithm worked. This forces courts to choose between upholding a corporation's IP rights and a citizen's fundamental right to a fair trial.
3. The Risk to Judicial Independence: Automation Bias and Legal Stagnation
Judicial independence is the freedom of a judge to decide a case based on the facts and the law, free from external pressure. While we often think of this as political pressure, predictive justice introduces a more subtle, cognitive pressure that can erode a judge's independence.
a) Automation Bias and the "Herd Effect"
As Dr. Farid explained in the video, there is a powerful psychological effect called automation bias. A judge might be skeptical of a random person's opinion but give undue weight to an algorithm's prediction simply because it comes from a "sophisticated" and "data-driven" machine, even if the machine is no more accurate.
This can lead to what scholars call the "herd effect."
ai approaches to predictive justice: a critical assessment
The paper 'AI approaches to predictive justice' by Sartor et al. provides a structured analysis of the critiques against these systems. It gives precise names to the phenomena we are discussing.
Please read section '4.3. Herd effect' (pages 200-202). Focus on how the authors describe the risk of judges simply adapting to the system's suggestions rather than engaging in independent thought, and how explainability is a potential remedy.
The risk is that judges, pressed for time and faced with a seemingly authoritative prediction, will simply conform to the machine's output rather than engaging in the difficult work of independent legal reasoning. This gradually outsources judicial discretion to the algorithm, diminishing the judge's role to that of a rubber stamp.
b) Legal Ossification and the Status Quo Effect
There is a deeper, long-term risk to the very nature of law. Common law systems evolve. Judges reinterpret precedents in light of new societal values and factual circumstances. An AI trained on past data, however, is fundamentally backward-looking.
The Future of Law: AI Powered Justice? | Robert Mahari | TEDxBoston
In this short clip from his TEDxBoston talk 'The Future of Law: AI Powered Justice?', Robert Mahari succinctly identifies this risk.
Please watch the segment from 2:01 to 2:28, where Mahari explains the concept of 'legal ossification.'
Mahari's "legal ossification" is what the Sartor et al. paper calls the "status quo effect". By consistently suggesting outcomes based on the majority of past decisions, the AI system discourages novel interpretations and minority opinions. If judges follow these suggestions, the law could become "petrified," unable to adapt to changing times. It risks freezing the legal system in its current state, reinforcing today's norms (and biases) indefinitely.
Test your understanding!
Imagine a judge in India is considering bail for an accused person from a historically marginalized community. The prosecution presents a risk score from a predictive algorithm, showing a "high risk of re-offending." The defense argues the algorithm is a "black box" and may be biased.
Drawing on the concepts from this lesson, identify and explain the three distinct types of risk (to fairness, due process, and judicial independence) the judge must navigate in this single decision.
Show answer
The judge faces a confluence of all three major risks:
-
Risk to Fairness: The defense's claim of bias is plausible. The algorithm was likely trained on historical crime data that reflects systemic discrimination against marginalized communities. Factors like unemployment or neighborhood, which correlate with socioeconomic disadvantage, may be acting as proxies for caste or community, leading to a biased, unfairly high risk score.
-
Risk to Due Process: The "black box" nature of the tool means the defense cannot scrutinize its methodology. They cannot check if it uses inappropriate proxies, how it weights different factors, or what its error rates are for different demographic groups. Relying on this score would violate the accused's right to understand and challenge the evidence presented against them.
-
Risk to Judicial Independence: The judge is susceptible to automation bias. The seemingly objective "high risk" number exerts a cognitive pressure to deny bail. If the judge accepts the score without critical evaluation, they are not exercising independent judgment but are deferring to the machine. This contributes to the herd effect, where judicial decision-making conforms to the algorithm's output rather than independent reasoning based on the specific facts of the case.
Conclusion
Today, we have systematically dismantled the purely optimistic view of predictive justice by evaluating its profound risks to the foundational pillars of our legal system. The pursuit of efficiency, while a valid goal, cannot be allowed to overshadow the principles of fairness, due process, and judicial independence.
Key Takeaways:
- Risk to Fairness: AI systems can perpetuate and even amplify historical discrimination through biased training data and the use of proxies for protected characteristics like race or community.
- Risk to Due Process: The "black box" nature of many algorithms, protected by intellectual property laws, makes them opaque and unaccountable. This undermines the fundamental right of an individual to confront and challenge the evidence used against them.
- Risk to Judicial Independence: Cognitive biases like "automation bias" can lead to a "herd effect," where judges defer to algorithmic suggestions rather than engaging in independent reasoning. This, combined with the "status quo effect," threatens to stagnate the evolution of law.

Preview of the Next Lesson:
Having explored the technical foundations, benefits, and now the grave risks of AI in the justice system, we are prepared to move into the realm of regulation. How are governments trying to manage these risks? Our next module begins with a deep dive into the most influential global framework to date: the EU AI Act. We will start by contrasting its precautionary, risk-based approach with other philosophies and begin to analyze its core classification system.