The Calculated Law Exploring the limits of transformer models in legal reasoning
Abstract
This thesis delves into the capabilities and limitations of Large Language Models (LLMs) used in legal reasoning, examining how these models process legal information to solve complex legal problems. A techno-legal analysis was conducted, comparing the technologies of LLMs to jurisprudence theories, to identify challenges they face in legal problem-solving. Also, an empirical evaluation was performed, assessing whether LLMs could handle a basic course in the Swedish law program.
The findings illustrate that LLMS excel in understanding legal language and are able to apply legal methodologies even in complex scenarios previously thought to be beyond the capabilities of AI. This includes more complex legal methods like analogies, and ethical considerations. However, they struggle with extensive problems requiring a step-by-step approach, where the problem needs to be broken down into smaller parts and addressed sequentially. Despite these limitations, the empirical test suggests that current LLMs could potentially pass a challenging law course. This raises concerns about academic integrity, as it becomes increasingly difficult to distinguish between student-written and AI-generated exam responses. The growing capability of LLMs in legal reasoning also calls into question their future role in the legal profession and their potential impact on the work of lawyers and judges.
To further elaborate, the ability of LLMs to potentially pass law courses may create difficulties in upholding academic integrity, as it becomes challenging to distinguish between student-written and AI-generated exam responses. The increasing capability of LLMs in legal reasoning also raises questions about their future role in the legal profession and how they might impact the work of lawyers and judges. This implies a potential shift in the legal landscape where LLMs could play a more prominent role in legal research, analysis, and decision-making. However, it also necessitates careful consideration of ethical implications and the need for human oversight to ensure fairness, accountability, and responsible use of LLMs in the legal domain.
Degree
Student essay
Collections
View/ Open
Date
2025-05-30Author
Backgård, William
Keywords
Pre-trained Transformer Models
Legal reasoning
Legal Judge Predictions
Large language models
Legal methodology
American Legal Realism
Judicial hunch theory
Techno-legal analysis
Series/Report no.
2025.38
Language
eng
Metadata
Show full item recordRelated items
Showing items related by title, author, creator and subject.
-
The Electric Shaver Battle – A case study and analysis of the global dispute between Philips and Izumi concerning the legal protection of the shape of Philips’ electric shavers and an assessment of Philips’ legal strategy and its effects on the market
Lells, Charlotte (2005)As the title “The Electric Shaver Battle” reveals, this thesis is about a global legal dispute between two electric shaver manufacturers. The Dutch company Philips was the sole supplier in the world of triple-headed rotary ... -
Retentionsrätt och Legal Panträtt: Två Rigida Begrepp i ett Flexibelt Rättssystem? En studie om hur retentionsrätt och legal panträtt kan hanteras med hjälp av ett funktionalistiskt angreppssätt
Wiss, Simon (2025-02-26)Possessory liens and legal liens are two securities that has been the subject of debate from legal scholars for quite some time. Possessory liens are often viewed as a weaker security compared to legal liens. However, upon ... -
Legal Capital, Creditor Protection & Efficiency? An analysis of the European Legal Capital Regime in the Light of Recent Developments & Debates
Ax, Sandra (2004)This thesis examines the rules of European company law which regulate the interest conflict between shareholders and creditors, i.e. legal capital rules. Legal capital rules, as an instrument of protecting creditors from ...