LLM vs. Lawyers: Identifying a Subset of Summary Judgments in a Large UK Case Law Dataset
Not on the map. Why?
Abstract (arXiv)
To undertake computational research of the law, efficiently identifying datasets of court decisions that relate to a specific legal issue is a crucial yet challenging endeavour. This study addresses the gap in the literature working with large legal corpora about how to isolate cases, in our case summary judgments, from a large corpus of UK court decisions. We introduce a comparative analysis of two computational methods: (1) a traditional natural language processing-based approach leveraging expert-generated keywords and logical operators and (2) an innovative application of the Claude 2 large language model to classify cases based on content-specific prompts. We use the Cambridge Law Corpus of 356,011 UK court decisions and determine that the large language model achieves a weighted F1 score of 0.94 versus 0.78 for keywords. Despite iterative refinement, the search logic based on keywords fails to capture nuances in legal language. We identify and extract 3,102 summary judgment cases, enabling us to map their distribution across various UK courts over a temporal span. The paper marks a pioneering step in employing advanced natural language processing to tackle core legal research tasks, demonstrating how these technologies can bridge systemic gaps and enhance the accessibility of legal information. We share the extracted dataset metrics to support further research on summary judgments.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 22 of its 65 references that are in the map. First posted on arXiv 4 Mar 2024.
Builds on
22 of 65 references.
References · 22
- 2023A Survey of Large Language Modelscited by 2,537
- 2024Large Language Models: A Surveycited by 506
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2023BooookScore: A systematic exploration of book-length summarization in the era of LLMscited by 137
- 2023Chatlaw: A Multi-Agent Legal Assistant based on a Role-Aligned Mixture-of-Experts Architecturecited by 119
- 2023Can Knowledge Graphs Reduce Hallucinations in LLMs? : A Surveycited by 92
- 2023LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domaincited by 68
- 2023ML-Bench: Evaluating Large Language Models and Agents for Machine Learning Tasks on Repository-Level Codecited by 63
- 2023MultiLegalPile: A 689GB Multilingual Legal Corpuscited by 59
10 more
- 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
- 2022A Multi-Task Benchmark for Korean Legal Language Understanding and Judgement Predictioncited by 44
- 2023LMDX: Language Model-based Document Information Extraction and Localizationcited by 37
- 2023The Dark Side of ChatGPT: Legal and Ethical Challenges from Stochastic Parrots and Hallucinationcited by 23
- 2023THUIR@COLIEE 2023: Incorporating Structural Knowledge into Pre-trained Language Models for Legal Case Retrievalcited by 16
- 2023U-CREAT: Unsupervised Case Retrieval using Events extrAcTioncited by 16
- 2023Augmenting LLMs with Knowledge: A survey on hallucination preventioncited by 16
- 2023The Cambridge Law Corpus: A Dataset for Legal AI Researchcited by 14
- 2020Complex Societies and the Growth of the Lawcited by 12
- 2022Case law retrieval: problems, methods, challenges and evaluations in the last 20 yearscited by 9
Built on by
Citing papers per year: 2024: 4; 2025: 4.
8 papers.
- 2024Fairness Definitions in Language Models Explainedcited by 10
- 2024Bug In the Code Stack: Can LLMs Find Bugs in Large Python Code Stackscited by 6
- 2024Potential of Multimodal Large Language Models for Data Mining of Medical Images and Free-text Reportscited by 6
- 2025Evaluating Legal Reasoning Traces with Legal Issue Tree Rubricscited by 4
- 2024Topic Classification of Case Law Using a Large Language Model and a New Taxonomy for UK Law: AI Insights into Summary Judgmentcited by 3
- 2025Breaking the Loop: Detecting and Mitigating Denial-of-Service Vulnerabilities in Large Language Modelscited by 3
- 2025RLJP: Legal Judgment Prediction via First-Order Logic Rule-enhanced with Large Language Modelscited by 3
- 2025Evaluating the Role of Large Language Models in Legal Practice in Indiacited by 2
- 2025Evaluating Legal Reasoning Traces with Legal Issue Tree Rubrics30 Nov 2025
- 2025Evaluating the Role of Large Language Models in Legal Practice in India13 Aug 2025
- 2025RLJP: Legal Judgment Prediction via First-Order Logic Rule-enhanced with Large Language Models27 May 2025
- 2025Breaking the Loop: Detecting and Mitigating Denial-of-Service Vulnerabilities in Large Language Models1 Mar 2025
- 2024Fairness Definitions in Language Models Explained26 Jul 2024
- 2024Potential of Multimodal Large Language Models for Data Mining of Medical Images and Free-text Reports8 Jul 2024
- 2024Bug In the Code Stack: Can LLMs Find Bugs in Large Python Code Stacks21 Jun 2024
- 2024Topic Classification of Case Law Using a Large Language Model and a New Taxonomy for UK Law: AI Insights into Summary Judgment21 May 2024