Who is responsible for what the algorithm decides?
The central question of legal AI is how a decision remains justifiable, contestable, and correctable. The debate between Hart and Dworkin shows why the law demands more than the recognition of rules, while European regulation transforms part of responsibility into an institutional obligation.
How this was made: this essay was written by the author's own research and analysis system from the cited sources; Zoltán Varga edited the topic, structure and final text. The cited works are the source of its factual claims.
Regarding an algorithmic decision, the engineer asks whether the output is correct. The law asks more than this, and it is this surplus that interests me: on the basis of what rule was the decision made, who is authorised to make it, what evidence supports it, and how can it be contested. An algorithm can rank applications, highlight contractual risks, prepare decisions, or summarise previous judgments. These tasks are all connected to the law, yet they influence people's situations to different degrees, since more convenient search and a decision determining entitlement require different kinds of justification. I therefore relate the question of responsibility to the institution established around the system: AI integrates well into legal processes if the organisation provides working answers to legal questions. For this, a classic debate in legal theory and two layers of European regulation offer a foothold.
Hart and the open edge of rules
In his 1961 book, The Concept of Law, H. L. A. Hart distinguished between primary rules that govern conduct and secondary rules that govern the recognition, change, and adjudication of rules. Both layers are necessary for the law to function. In the same work, Hart also stressed the open texture of legal language, because determining every future case in advance is possible only to a limited extent 1.
This holds direct lessons for AI. A system can recognise a pattern in the text, while the selection of the applicable rule still requires interpretation. The validity of the legal source, jurisdiction, and procedural status carry independent significance alongside substantive similarity, and precisely these are the questions that the text pattern itself does not contain.
Imagine a contract analysis system that finds a clause very similar to previously problematic texts. The lawyer's task then is to clarify whether the same regulatory environment, contract type, and constellation of interests are present. The finding is a valuable warning, while the legal classification requires a further step.
Dworkin and the weight of reasons
Ronald Dworkin's 1967 essay, The Model of Rules, brought the role of legal principles, alongside rules, to the fore. Applying rules and weighing principles call for different structures of thought: the weight of principles varies from situation to situation, and the weighing becomes part of legal justification 2. In his book Taking Rights Seriously, Dworkin argues that in hard cases lawyers rely on standards that function as principles or policies. He criticises Hart's positivism because it describes the law as a system of rules with a single fundamental test of validity, and so leaves the role of these standards out of the account. In Dworkin's reading, Hart explains the hard case by the judge's discretion 3.
The debate between Hart and Dworkin is therefore richer than one author representing rules and the other human intuition. For both, the institutional functioning of the law is essential; the difference lies in the explanation of the nature of law and the role of interpretation. Jürgen Habermas's book Between Facts and Norms summarises Dworkin's programme as the task of finding those principles and policies in the light of which a given, concrete legal order is justifiable in its essential elements, and under which individual decisions fit together as parts of a coherent whole. Habermas also notes that Dworkin measures this task against an ideal judge, Hercules 4.
For AI, it follows that imitating the pattern of earlier decisions is, on its own, a limited goal. The reasoning behind a legal decision shows why a circumstance is relevant, why a principle carries greater weight, and why the case at hand can be distinguished from an earlier one. Reasoning is built from claims that are open to debate. This is where I see the precise place of the requirement placed on a machine system: the statistical similarity of past outputs merely imitates coherence, whereas legal coherence is a relation of justification that someone must state and take responsibility for.
Explanation is useful when it can be verified
A fluent machine explanation can easily create a sense of professional certainty. For the user, however, what matters is whether the text can be verified: does the cited legislation exist, does it use the correct version in force at the relevant time, and does the cited judgment actually say what the summary claims? In legal workflows, three layers therefore separate: the retrieved source, the claim derived from the source, and the weighing. A summary is easier to verify the clearer it is which sentence rests on which basis, and in this arrangement, flagging uncertainty is professional information.
Verifiability also depends on who reads the text. The 2025 preprint by Tsz Fung Pang and colleagues, PersonaMatrix: A Recipe for Persona-Aware Evaluation of Legal Summarization, starts from the premise that the usual task-based evaluation of legal summaries ignores the differing needs of users. The authors therefore score summaries from the perspective of six personas, including legal professionals and lay readers, and show on an experimental dataset of summaries of US civil rights cases that persona-aware and persona-independent evaluation rank different summaries as the best 5. For me, this means that an explanation addressed to the affected person is a separate design task, which shortening an explanation written for an expert does not fulfil.
Institutional responsibility also requires that it can be established afterwards which data and which system version were used. A deliberately designed balance is needed between the protection of personal data and documentability: in contrast to unlimited data retention, purpose-bound, verifiable documentation offers a workable solution.
The GDPR examines the impact of the decision
Article 22 of the General Data Protection Regulation (GDPR) deals separately with decisions based solely on automated processing which produce legal effects concerning the data subject or similarly significantly affect him or her. The provision also contains exceptions and safeguards, so the precise legal situation depends on the purpose of the decision, its legal basis, and its circumstances. In specific cases, human intervention, expressing one's point of view and contesting the decision are also among the safeguards 6.
The practical question that follows is what the human actually does. Regularly and substantively examining a system's output is a different role from routinely accepting an automatic suggestion, so the design of the process decides what information, time and authority to change the outcome the reviewer has. Susanne Gaube and colleagues' 2026 preprint, Keeping an Eye on AI: A Framework for Effective Human Oversight of AI Systems, names precisely this gap: the concept of human oversight lacks a common foundation, oversight architectures are undefined, roles are unclear, and the steps of implementation are opaque. Drawing on insights from several disciplines, the authors offer a working definition, an architecture and a process description, as well as an initial template for documenting oversight arrangements 7.
Sinan Aral's book The Hype Machine offers a simple yardstick for the depth of oversight. Aral links two considerations: how much better the machine's suggestion is than what a human would arrive at alone, and how high the stakes of the decision are. He is happy to leave spam filtering to the machine, but for decisions with the gravest consequences he holds that the more important a decision is, the more control belongs to the human 8. Applied to the legal process, I would put it this way: the depth of oversight follows the consequences of the decision.
For the rejected applicant, what matters is that someone genuinely understands and weighs their objection. The ability to challenge a decision works only if new information reaches the actor who can change it. This is an organisational capability, which a chatbot interface alone does not create. Soheil Human's 2026 preprint, Rights by Architecture: A Human-Compatible Sociotechnical Layer for Digital Protection Across Regulatory Regimes, describes the same gap in a conceptual analysis: digital rights exist in law, but they are hard to exercise through the information systems that mediate them. The author attributes this, among other things, to fragmented architectures and unequal control over the steps involved in exercising rights 9.
The application of the AI Act is staggered across several dates
The EU AI Act, Regulation (EU) 2024/1689, establishes requirements linked to risks and roles. Among the provisions concerning high-risk systems are risk management, documentation, record-keeping, and human oversight. The specific obligation also depends on whether one acts as a provider or a deployer 10.
The interpretation of the temporal scope requires particular attention in November 2026. The AI Act entered into force on 1 August 2024, with its general application date set for 2 August 2026. The rules for the first round of prohibited practices have applied since 2 February 2025, while the rules for general-purpose AI models, with their own transitional periods, apply from 2 August 2025 11.
Regulation (EU) 2026/1744, known as the Digital Omnibus on AI, was published in the Official Journal on 24 July 2026 and entered into force on 27 July. It also amended Article 113 of the AI Act: according to point 40 of Article 1, Chapter III, Sections 1, 2 and 3, with the exception of Article 6(5), apply to high-risk systems listed in Annex III from 2 December 2027, and to systems under Article 6(1) and Annex I from 2 August 2028. These are dates set out in enacted legislation 12.
Compliance begins with uncovering actual use
The dates alone offer little guidance to an organisation that does not even know its own systems precisely. Classification depends on actual use, so the substantive work begins with uncovering where AI is used, for what tasks, with what data, and with what decision-making authority.
Different legal fields operate alongside one another. The significance of data protection, contractual obligations, labour law, or sectoral rules persists independently of the AI Act's application schedule. A later application date tells little about the organisation's full legal environment today: for example, Article 22 GDPR applies even if the requirements for high-risk systems begin to apply to a particular system only at the end of 2027.
Responsibility is determined when the process is designed
From all this, I conclude that the law answers the question posed in the title through roles and procedures. In the logic of Hart's secondary rules, the validity of a decision depends on whether it was made by an authorised actor, while the machine output in this order is preparatory material that the authorised actor adopts as their own. Dworkin's argument adds to this that adoption entails justification: the decision-maker identifies which circumstance and which principle they considered weightier. The safeguards of the GDPR demand the same from the perspective of the data subject, while the AI Act allocates the burden of documentation and oversight between the provider and the deployer.
The common point of the four layers is that responsibility arises well before the individual decision. Whoever determines how much time the reviewer has for a case, what they see of the system's operation, and whether they can modify the outcome, decides whether oversight will be substantive. The room for error opens up where this design decision is left unmade: the reviewer approves out of routine, the objection gets stuck on an interface behind which no one has the power to change anything, and it becomes impossible to determine retrospectively from the log which system version provided the proposal. I see a manager's responsibility as most precisely captured in these preliminary decisions, because the reviewer of the individual case already works within the framework thus set. Which obligation applies to a specific system is determined independently of this, by examining actual use together with the applicable rules.
Hart's rules and Dworkin's reasons in one framework
Good preparation is therefore both technical and institutional work. A clear remit, verifiable sources, substantive oversight, and functioning complaint handling together create the framework in which AI creates value. The two jurisprudential positions meet here, because the rule states whose decision counts, and the justification states what it relied on. I consider legal technology mature when it makes the decision understandable to the person affected, preserves the possibility of change, and enables the organisation at every step to name the actor who adopted the machine proposal as their own decision.
Recommended reading
- The Concept of Law (Hart, H. L. A). Hart's book describes the two layers of rules in law and the open texture of legal language, that is, the framework within which the application of rules requires interpretation.
- Taking Rights Seriously (Ronald Dworkin). Dworkin's volume demonstrates, through the distinction between legal principles and rules, what the justification of hard cases consists of.
- Between Facts and Norms: Contributions to a Discourse Theory of Law and Democracy (Jürgen Habermas). Habermas's book treats the justification of legal decisions as part of a coherent legal order and also situates Dworkin's programme within this framework.
- Keeping an Eye on AI: A Framework for Effective Human Oversight of AI Systems (Susanne Gaube, Markus Langer, Tim Miller, Kevin Baum et al.). Gaube and colleagues' preprint provides a working definition, architecture, and documentation template for meaningful human oversight of AI systems.
- (EU) 2016/679 rendelet (European Parliament and Council). Article 22 GDPR is the primary text concerning safeguards related to automated decisions, from which the precise scope of exceptions and guarantees can be discerned.
Sources
- [1] Hart, H. L. A (1961): The Concept of Law. Clarendon Press, in particular chapters V–VII.
- [2] Dworkin, R. M (1967): The Model of Rules. University of Chicago Law Review, 35(1), 14–46.
- [3] Ronald Dworkin (1977): Taking Rights Seriously. Harvard University Press.
- [4] Jürgen Habermas (1996): Between Facts and Norms: Contributions to a Discourse Theory of Law and Democracy. MIT Press.
- [5] Tsz Fung Pang, Maryam Berijanian, Thomas Orth, Breanna Shi et al. (2025): PersonaMatrix: A Recipe for Persona-Aware Evaluation of Legal Summarization. arXiv.
- [6] European Parliament and Council (2016): (EU) 2016/679 rendelet. in particular Article 22.
- [7] Susanne Gaube, Markus Langer, Tim Miller, Kevin Baum et al. (2026): Keeping an Eye on AI: A Framework for Effective Human Oversight of AI Systems. arXiv.
- [8] Sinan Aral (2020): The Hype Machine: How Social Media Disrupts Our Elections, Our Economy, and Our Health, and How We Must Adapt. Currency.
- [9] Soheil Human (2026): Rights by Architecture: A Human-Compatible Sociotechnical Layer for Digital Protection Across Regulatory Regimes. arXiv.
- [10] European Parliament and Council (2024): Regulation (EU) 2024/1689 on artificial intelligence (AI Act). in particular Chapter III. To be read together with the 2026 amendment.
- [11] European Commission (2026): AI Act. Official application overview, accessed 21 November 2026.
- [12] European Parliament and Council (2026): (EU) 2026/1744 rendelet. Digital Omnibus on AI, in particular Article 1 point 40 and Article 4. Promulgated 24 July 2026, entered into force 27 July.