Algorithmic Bias in Predictive Justice: How the Defence Challenges a Decision Based on a Biased Model
Last updated:
listIn this article
lightbulbKey Takeaways
- check_circlePrediction orients suspicion; it does not establish a fact or replace evidence
- check_circlePresumption of innocence, equality and reasoning: the three guarantees at stake
- check_circleAI Act (Regulation (EU) 2024/1689): prohibited practices and high-risk systems
- check_circleExpert evidence of bias, attack on the indication and nullity (Art. 11.1 LOPJ)
Quick answer
A predictive model for recidivism or patrolling does not establish a fact: it merely orients suspicion from historical data that, if it carries a discriminatory bias, contaminates the entire investigation. The defence can challenge the reasonable indication that opened the proceedings, the proportionality of the measures and the reasoning of the decision, demand a technical-statistical expert report documenting the error rate by profile, and seek the nullity of proceedings where the origin of the suspicion was an established bias. The presumption of innocence and equality cannot operate asymmetrically according to the score an algorithm assigns to a person.
Predictive justice promises efficiency: deciding where to patrol, who to look at first, or what recidivism risk a person presents on the basis of statistical models. But that promise conceals an underlying risk, algorithmic bias. When a model is trained on the historical complaint and policing data of a system that already treated certain groups unequally, it does not correct that inequality: it inherits it, amplifies it and dresses it in apparent technical objectivity. As criminal defence lawyers specialising in predictive-model bias, we explain why a biased model cannot ground either suspicion or conviction, and how it is challenged by the defence.
What Predictive Justice Is and Why It Matters
Very different instruments coexist under the common label, and their impact on guarantees differs:
- Territorial models (hotspots): predict where a crime is most likely to occur and guide patrolling, with a risk of discrimination by area and of self-fulfilling prophecy.
- Individual recidivism models: score a specific person and have been proposed for decisions as sensitive as pretrial detention or parole.
- Investigative prioritisation systems: decide who to look at first, shaping the allocation of resources and the very focus of the investigation.
In all of them the problem is common: the prediction does not establish a fact, it orients the suspicion. If that orientation is biased, it contaminates the decision to investigate, the measures adopted afterwards and, ultimately, the assessment of the case.
Where the Bias Comes From
Algorithmic bias almost never arises from a discriminatory intention. It is, above all, the statistical inheritance of the data feeding the model. Four well-documented mechanisms are worth bearing in mind:
- Reproduction of historical patterns: the model learns from past complaints and arrests and projects into the future the imbalances that already existed toward minorities or socioeconomically vulnerable areas.
- Feedback loop: more patrolling in an area generates more complaints there, which the model reads as more crime, which justifies more patrolling. The prediction confirms itself.
- Complaint data, not real crime: the system measures what is reported and pursued, not what truly happens, so it over-represents what was already more heavily policed.
- Explanatory opacity: when the model is a proprietary black box, neither the person affected nor the court can verify how the score was reached.
Correlation is not guilt
A predictive model works with correlations about groups; criminal proceedings judge a person for a specific act. Turning a statistical probability about a group into a judgement about the individual inverts the logic of the guarantees: that is why prediction can never replace evidence.
The Constitutional Guarantees at Stake
The use of a biased model is not merely a technical problem: it touches the core of several fundamental rights. The defence articulates them together.
The presumption of innocence (Article 24 of the Constitution) prevents the investigated person's starting position from depending on the score an algorithm assigns them. It cannot operate asymmetrically: no one should bear a suspicion reinforced by their predictive profile. Equality and the prohibition of discrimination (Article 14) are directly compromised where the tool treats a person worse for belonging to a group over-represented in the data, even if the system's stated purpose was neutral.
And, centrally, the reasoning of judicial decisions (derived from the right to effective judicial protection, Article 24). A decision that restricts rights —a precautionary measure, a search, an interception— must be explained with comprehensible and reviewable reasons. If the decision rests, even in part, on the output of a model whose operation cannot be explained or reviewed, the reasoning is only apparent: it defers to a technical authority that the court itself does not control. A decision that cannot be explained cannot be reviewed, and a decision that cannot be reviewed can hardly respect the right of defence.
The European Artificial Intelligence Regulation
Regulation (EU) 2024/1689 (the AI Act) provides a useful frame of reference, even though it is not a criminal statute and does not directly regulate evidence. For present purposes it distinguishes two planes:
- Prohibited practices: among them, assessing or predicting the risk that a person will commit a crime based solely on profiling or on their personality traits. This is precisely the most dangerous scenario of individual recidivism profiling.
- High-risk systems: several uses of AI in law enforcement and the administration of justice are classified as high-risk and become subject to reinforced obligations of data governance, technical documentation, traceability, meaningful human oversight and record-keeping.
The practical consequence for the defence is clear: a system that fails to meet those guarantees —one that does not document its data, that allows no real human oversight, or that operates within a prohibited practice— is markedly easier to challenge as the basis of a criminal decision. The characterisation, in any event, is fact-specific.
How the Defence Challenges a Biased Decision
The challenge is built early and in an orderly way, and operates on two planes: the ordinary procedural one and, where the case allows, the constitutional one.
- Auditing the origin of the suspicion: reconstructing what information or algorithm determined the initial decision to investigate the client, and asking the court for the full documentation of the model (training data, version, methodology and validation metrics).
- Technical-statistical expert report: producing or requesting a report that documents the error rate differentiated by profile and assesses the model's bias in relation to the specific case, ideally by an independent court expert who shields the defence against proprietary opacity.
- Attacking the indication and proportionality: if the reasonable indication that opened the proceedings was the product of an established bias, its validity is challenged, and so is that of the restrictive measures adopted on its basis.
- Seeking nullity: where the origin of the evidence or of the measure is tainted, the nullity of proceedings may be argued and, by connection of unlawfulness, that of the derivative measures, under Article 11.1 of the Organic Law of the Judiciary (LOPJ). If total exclusion does not succeed, the reduction of probative weight is worked.
- Constitutional route: once the judicial avenue is exhausted, the appeal for protection (amparo) before the Constitutional Court allows the violation of equality, the presumption of innocence or effective judicial protection to be denounced where the algorithmic practice has compromised them.
In parallel, where the abnormal functioning of the Administration —including the use of biased AI— has caused a provable harm, a claim for the State's patrimonial liability may be considered (Article 121 of the Constitution and Law 40/2015). The aim is not to demonise the technology, but to subject it to the same requirements of reliability, adversarial challenge and review as any other element of the process. The strategy calls for technical analysis from the outset of the proceedings and is decided case by case.
Were you investigated on the basis of a predictive model?
Predictive patrolling, recidivism scores or algorithmic profiling: our lawyers specialising in predictive-model bias work on the audit of the investigative origin, the expert evidence of the bias and the constitutional guarantees.
📞 Call us: +34 91 078 65 74
⚖️ Need a criminal defence lawyer?
Defence against investigations grounded in biased algorithms: reasonable indication, proportionality and the reasoning of judicial decisions.
Frequently asked questions
What is predictive justice and what is its risk?expand_more
It is the use of statistical or artificial-intelligence models to anticipate where a crime may occur (predictive patrolling, hotspots) or to score a specific person (recidivism profiling, dangerousness assessment). The risk is structural: if the model is trained on historical complaint and policing data, it inherits and amplifies the system's prior biases. The prediction does not prove a fact, it only orients suspicion, and if that orientation is biased it contaminates everything that follows.
Is it lawful that the police investigated me on the basis of an algorithm?expand_more
As a general rule, the use of analytical tools at the operational stage is not unlawful in itself, but the algorithmic origin does not exempt the authorities from the test of reasonableness and proportionality required for any interference. If the model is biased and that bias affected the client's profile, there is a basis to challenge the reasonable indication that opened the proceedings and to contest the restrictive measures adopted on the strength of it.
How is it proven that a predictive model is biased?expand_more
Through a technical-statistical expert report documenting error rates differentiated by profile (false positives against certain groups or areas) and, where appropriate, scientific literature endorsing the bias of the type of model used. The usual obstacle is opacity: many systems are proprietary black boxes, so the defence asks the court for the documentation of the model and for the appointment of an independent court expert to audit it.
What if the model was right in my case?expand_more
A single correct hit does not eliminate the structural bias nor turn the prediction into incriminating evidence. The objection is not that the machine erred in one case, but that the decision to investigate or the measures adopted rested on a tool that treats certain groups unequally. The defence can continue to challenge proportionality and the reasoning of the decision, although the discussion is usually more demanding.
What does the EU Artificial Intelligence Regulation say about these models?expand_more
Regulation (EU) 2024/1689 (the AI Act) prohibits certain practices —such as assessing the risk that a person will commit a crime based solely on profiling— and classifies several uses of AI in law enforcement and the administration of justice as high-risk, imposing obligations of data governance, technical documentation, human oversight and record-keeping. It is not a criminal statute and does not directly regulate evidence, but it offers a useful benchmark: a system that fails to meet those guarantees is more readily challenged. Each case must be assessed individually.
gavelDo you need criminal defense in this area?
We are criminal defense lawyers specializing in bias in predictive models. We act urgently to protect your rights.