Abstract
Artificial intelligence systems increasingly determine outcomes that matter to individuals, from credit approval to criminal sentencing, yet the internal logic of many such systems remains opaque even to their designers. This opacity, commonly termed the black box problem, sits uneasily with legal traditions that demand reasoned decisions and meaningful redress. This article examines whether explainability has crystallised into a binding legal requirement under contemporary AI regulation, or whether it remains largely aspirational. It surveys the General Data Protection Regulation and the European Union Artificial Intelligence Act, alongside comparative developments in the United States and India, and then analyses three illustrative disputes, the Dutch SyRI litigation, the Wisconsin Supreme Court decision in State v. Loomis, and the Bologna Deliveroo ranking algorithm case, to test how courts have treated demands for algorithmic transparency in practice. The article argues that explainability currently exists as a fragmented and predominantly procedural obligation rather than a substantive individual right, producing a persistent gap between the rhetoric surrounding explainable AI and its enforceable legal content. It concludes with suggestions for aligning technical standards of explanation with judicially workable thresholds, so that explainability functions as a genuine safeguard rather than a compliance formality.
Keywords: Explainable AI, algorithmic transparency, GDPR Article 22, EU AI Act, automated decision making, right to explanation.
1. Introduction
Machine learning models now inform decisions in lending, recruitment, insurance, policing and welfare administration. Many such models, particularly deep neural networks, reach outputs through processes that are difficult to trace even for their own engineers, a phenomenon widely described as the black box problem (Pasquale 3). Where such systems affect legal rights, this inability to explain a decision collides with foundational principles of administrative and constitutional law, including the duty to give reasons, the right to a fair hearing and the right to an effective remedy. Explainable AI, commonly abbreviated as XAI, refers to a cluster of technical and organisational methods intended to render automated outputs intelligible to affected persons, auditors and regulators. What began as a technical research agenda within computer science has, over the past decade, migrated into binding and quasi binding legal instruments. This article asks whether explainability has genuinely become a legal requirement, what form that requirement takes across jurisdictions, and how courts have interpreted it where litigants have sought to enforce it. Answering this question matters because the strength of an explainability mandate ultimately determines whether an affected person can contest an automated decision at all, rather than simply accept it as an unreviewable output of a machine.
2. Background
Concerns about algorithmic opacity intensified after the General Data Protection Regulation entered into force in 2018, prompting sustained debate about whether its provisions on automated decision making created a right to explanation (European Union, Regulation 2016/679, arts. 13–15, 22). Wachter, Mittelstadt and Floridi argued that the Regulation's text supports, at most, a limited right to be informed about the general logic of automated processing rather than a right to an individualised explanation of a specific decision, since the operative safeguards in Article 22 are framed as a right to obtain human intervention rather than a right to a reasoned account (Wachter et al. 78–81). This disagreement shaped subsequent regulatory drafting far beyond the academy. The European Union's Artificial Intelligence Act, formally Regulation (EU) 2024/1689, entered into force on 1 August 2024 and represents the first comprehensive, risk-based statute to impose transparency and explainability obligations directly on providers and deployers of high-risk systems, rather than leaving the matter to data protection law alone (European Union, Regulation 2024/1689, art. 13[1]). Parallel developments outside Europe differ markedly in ambition: the United States has relied on sectoral guidance and constitutional litigation, while India's Digital Personal Data Protection Act 2023 addresses automated decision making only obliquely, leaving explainability expectations largely to soft law guidance issued by NITI Aayog.
3. Objective
This article pursues three objectives.
a) First, it identifies the specific legal provisions in the GDPR and the AI Act that can plausibly be read as imposing explainability obligations, situating them against comparative developments in the United States and India.
b) Second, it examines how courts have applied, or avoided, these provisions when litigants sought algorithmic transparency in concrete disputes.
c) Third, it evaluates whether the resulting framework offers individuals a meaningful and enforceable right or merely a diffuse compliance expectation, and proposes reforms to narrow that gap.
4. Legal Provisions and Concepts Governing Explainability
The most cited textual anchor for a right to explanation is Article 22 of the GDPR, which grants data subjects the right not to be subject to a decision based solely on automated processing that produces legal or similarly significant effects, subject to exceptions and safeguards including the right to obtain human intervention and to contest the decision (European Union, Regulation 2016/679, art. 22[1]–[3]). Articles 13 to 15 supplement this by requiring controllers to provide meaningful information about the logic involved, though the Regulation never uses the word explanation, a textual gap that fuelled the argument that the right is procedural rather than substantive (Wachter et al. 82). Malgieri and Comande responded that a purposive reading of the Regulation, particularly recital 71, supports a right to legibility extending beyond bare formal disclosure, even if it stops short of a full causal account of an individual outcome (Malgieri and Comandé 250–55).
The AI Act adopts a structurally different approach. Rather than granting an individual right, Article 13 imposes a design obligation on providers of high risk systems, requiring that such systems be sufficiently transparent to enable deployers to interpret outputs and use them appropriately, accompanied by instructions covering the system's capabilities, limitations and the technical characteristics relevant to explaining its output (European Union, Regulation 2024/1689, art. 13[1], [3], recital 27). The explainability duty therefore runs primarily between provider and deployer, with the affected individual's own interest in understanding a specific decision addressed only indirectly, and separately, through the more limited right to explanation of individual decision making found elsewhere in the Act. Edwards and Veale caution that treating explanation as a single legal remedy conflates distinct demands, namely understanding a system in general, understanding one's own decision, and contesting an outcome, each calling for a different technical and procedural response (Edwards and Veale 46–52). Selbst and Barocas add that detailed explanations do not necessarily make a decision fairer if the underlying model is itself discriminatory, a caution that tempers optimism about explainability as a cure all (Selbst and Barocas 1090–93).
5. Case Law Analysis
Three disputes illustrate how courts have grappled with algorithmic opacity even absent a dedicated explainability statute. In the Netherlands, the District Court of The Hague considered a civil society challenge to the System Risk Indication, a government tool profiling welfare recipient for suspected fraud using undisclosed risk indicators (NJCM c.s. & FNV v. State of the Netherlands). The court held that the legislation underlying the tool violated Article 8 of the European Convention on Human Rights because the state failed to show that the interference with privacy was necessary and proportionate, placing particular weight on the secrecy surrounding the indicators and the logic used to flag individuals (NJCM c.s. & FNV v. State of the Netherlands, pars. 6.91–6.102). The judgment is significant for treating opacity itself as a constitutional defect, effectively reading a transparency requirement into the right to private life without any need for a bespoke explainability statute.
In the United States, the Wisconsin Supreme Court in State v. Loomis confronted a due process challenge to a sentencing court's reliance on a proprietary recidivism score generated by the COMPAS tool, whose methodology the defendant could not fully inspect (State v. Loomis). The court upheld the tool's use, but only subject to conditions requiring presentence reports to carry written warnings about its proprietary nature, its basis in group data, and documented concerns about disparate impact (State v. Loomis, pars. 98–116). Loomis therefore illustrates a judicial compromise: rather than mandating algorithmic disclosure, the court substituted a duty to disclose limitations, a considerably weaker variant of explainability than that contemplated by European instruments.
In Italy, the Tribunale di Bologna examined a trade union challenge to Deliveroo's rider ranking algorithm, which downgraded a courier's priority access to shifts whenever a booked slot was cancelled without adequate notice, irrespective of the reason (Filcams CGIL Bologna et al. v. Deliveroo Italia S.r.l.). The court found the practice indirectly discriminatory because the algorithm could not, and did not attempt to, distinguish a rider who cancelled for trivial reasons from one who cancelled owing to illness, caregiving duties or a lawful strike. The discrimination flowed not from any single biased input but from the model's structural indifference to context, a defect visible only once the scoring logic was disclosed and examined, underscoring explainability's evidentiary function in litigation rather than its role as a freestanding remedy.
6. Comparative Regulatory Angle
The jurisdictions surveyed reveal markedly different regulatory postures. The European Union has moved furthest toward codification, layering the GDPR's individual rights over the AI Act's systemic design obligations, though the two instruments do not always align neatly regarding who bears the duty to explain and at what stage of the AI lifecycle the obligation attaches (European Union, Regulation 2016/679, arts. 13–15, 22; Regulation 2024/1689, arts. 13, 16–17). The United States lacks a comprehensive federal explainability statute; the 2022 Blueprint for an AI Bill of Rights articulates a notice and explanation principle but remains non-binding guidance, leaving courts to fashion protections through due process doctrine case by case, as in Loomis (United States, Office of Science and Technology Policy 5, 27). India presents a third model in which the Digital Personal Data Protection Act addresses automated decision making only obliquely, while substantive explainability expectations rest on non-binding NITI Aayog guidance pending dedicated legislation (India, Digital Personal Data Protection Act, sec. 3; NITI Aayog 12–14). The comparison suggests a spectrum running from the European Union's prescriptive but fragmented codification, through American reliance on constitutional litigation and soft guidance, to India's largely aspirational framework, with enforceability increasing roughly in that order.
7. Findings and Discussion
Two findings emerge from this survey. First, explainability as currently codified is predominantly procedural, oriented toward documentation and instructions for use, rather than a substantive right to an individualised causal account of a specific decision. Even the AI Act's Article 13, its most detailed provision, speaks primarily to deployers rather than affected individuals, and compliance is verified largely through conformity assessment rather than individual complaint. Second, courts have treated opacity as legally significant chiefly where it obstructs an established doctrinal value, proportionality in SyRI, due process in Loomis, and anti-discrimination law in the Bologna case, rather than as a freestanding entitlement to explanation. Novelli, Taddeo and Floridi describe this pattern as accountability without a clearly specified addressee, since the obligation to explain is distributed across developers, deployers and regulators without one actor bearing final responsibility (Novelli et al. 1875–78). Kaminski similarly observes that explanation rights function best when coupled with oversight, audit and impact assessment rather than standing alone as an individual remedy (Kaminski 191–95). The practical consequence is a persistent gap between the aspirational language surrounding explainable AI and the comparatively modest content courts have so far been willing to enforce.
8. Suggestions
Three reforms would narrow this gap.
a) First, legislators should specify a minimum technical content for an adequate explanation, such as the principal features driving a decision and the counterfactual conditions under which the outcome would change, building on the counterfactual model proposed by Wachter, Mittelstadt and Russell as a way of operationalising Article 22 without requiring disclosure of trade secrets (Wachter et al. 843–50).
b) Second, regulators should align the AI Act's provider facing obligations with the GDPR's individual facing rights through interpretive guidance clarifying which actor in the supply chain must answer an affected person's request, and within what time frame.
c) Third, jurisdictions still relying on soft law, including India, should consider a statutory floor requiring human review of high impact automated decisions, drawing on the SyRI and Deliveroo judgments as evidence that opacity itself, and not merely a biased outcome, can constitute a legally cognisable harm warranting judicial intervention.
9. Conclusion
Explainability has undoubtedly entered legal discourse and, in instruments such as the AI Act, acquired statutory form. Yet the analysis above shows that its current legal content is uneven, weighted toward institutional transparency rather than individual redress, and enforced by courts mainly to vindicate older doctrinal values rather than as an independent right. The SyRI, Loomis and Deliveroo decisions each demonstrate judicial willingness to treat algorithmic opacity as legally consequential, but none articulates a general, portable standard of what a lawful explanation must contain. Until legislators supply that missing content and courts converge on a workable evidentiary threshold, explainable AI will remain a partially realised legal requirement, more a directional aspiration for regulators than a reliably enforceable safeguard for the individuals whom automated decisions actually affect.
Reference
- Edwards, Lilian, and Michael Veale. "Slave to the Algorithm? Why a 'Right to an Explanation' Is Probably Not the Remedy You Are Looking For." Duke Law & Technology Review, vol. 16, no. 1, 2017, pp. 18–84. Duke Law Scholarship Repository, scholarship.law.duke.edu/dltr/vol16/iss1/2.
- European Union. Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the Protection of Natural Persons with Regard to the Processing of Personal Data and on the Free Movement of Such Data (General Data Protection Regulation). Official Journal of the European Union, L series, vol. 59, no. 119, 4 May 2016, pp. 1–88. EUR-Lex, eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32016R0679.
- European Union. Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 Laying Down Harmonised Rules on Artificial Intelligence (Artificial Intelligence Act). Official Journal of the European Union, L series, 2024/1689, 12 July 2024. EUR-Lex, eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32024R1689.
- India. Ministry of Law and Justice. The Digital Personal Data Protection Act, 2023. Act No. 22 of 2023, The Gazette of India, extra., pt. II, sec. 1, 11 Aug. 2023. Legislative Department, cdnbbsr.s3waas.gov.in/s31d7f7acc18da71d7bc150d7e226c36e8/uploads/2023/08/2023081120.pdf.
- Italy, District Court of Bologna [Tribunale di Bologna]. Filcams CGIL Bologna et al. v. Deliveroo Italia S.r.l. Case No. R.G. 2949/2019, 31 Dec. 2020.
- Kaminski, Margot E. "The Right to Explanation, Explained." Berkeley Technology Law Journal, vol. 34, no. 1, 2019, pp. 189–226. JSTOR, doi:10.15779/Z38TD9N385.
- Malgieri, Gianclaudio, and Giovanni Comandé. "Why a Right to Legibility of Automated Decision-Making Exists in the General Data Protection Regulation." International Data Privacy Law, vol. 7, no. 4, 2017, pp. 243–65. Oxford Academic, doi:10.1093/idpl/ipx019.
- NITI Aayog. Responsible AI for All: Approach Document for India. Part 1, Government of India, Feb. 2021. NITI Aayog, www.niti.gov.in/sites/default/files/2021-02/Approach-Document-for-India-Part-1-Principles-for-Responsible-AI.pdf.
- Netherlands, District Court of The Hague [Rechtbank Den Haag]. NJCM c.s. & FNV v. State of the Netherlands (SyRI). Case No. C/09/550982 / HA ZA 18-388, ECLI:NL:RBDHA:2020:1878, 5 Feb. 2020. Rechtspraak, uitspraken.rechtspraak.nl/details?id=ECLI:NL:RBDHA:2020:1878.
- Novelli, Claudio, Mariarosaria Taddeo, and Luciano Floridi. "Accountability in Artificial Intelligence: What It Is and How It Works." AI & Society, vol. 39, no. 4, 2024, pp. 1871–82. SpringerLink, doi:10.1007/s00146-023-01635-y.
- Pasquale, Frank. The Black Box Society: The Secret Algorithms That Control Money and Information. Harvard University Press, 2015.
- Selbst, Andrew D., and Solon Barocas. "The Intuitive Appeal of Explainable Machines." Fordham Law Review, vol. 87, no. 3, 2018, pp. 1085–139. Fordham Law Review Repository, ir.lawnet.fordham.edu/flr/vol87/iss3/3.
- State v. Loomis. 2016 WI 68, 371 Wis. 2d 235, 881 N.W.2d 749.
- United States, Executive Office of the President, Office of Science and Technology Policy. Blueprint for an AI Bill of Rights: Making Automated Systems Work for the American People. The White House, Oct. 2022. The White House, www.whitehouse.gov/ostp/ai-bill-of-rights/.
- Wachter, Sandra, et al. "Why a Right to Explanation of Automated Decision-Making Does Not Exist in the General Data Protection Regulation." International Data Privacy Law, vol. 7, no. 2, 2017, pp. 76–99. Oxford Academic, doi:10.1093/idpl/ipx005.