Please use this identifier to cite or link to this item:
http://hdl.handle.net/10362/179711
Title: | Effectiveness in Retrieving Legal Precedents |
Author: | Mentzingen, Hugo António, Nuno Bação, Fernando |
Keywords: | Transfer learning legal precedent retrieval Transformer language model cost-effectiveness Law Artificial Intelligence SDG 16 - Peace, Justice and Strong Institutions |
Issue Date: | 20-Feb-2025 |
Abstract: | This study examines the interplay between text summarization techniques and embeddings from Language Models (LMs) in constructing expert systems dedicated to the retrieval of legal precedents, with an emphasis on achieving cost-efficiency. Grounded in the growing domain of Artificial Intelligence (AI) in law, our research confronts the perennial challenges of computational resource optimization and the reliability of precedent identification. Through Named Entity Recognition (NER) and part-of-speech (POS) tagging, we juxtapose various summarization methods to distill legal documents into a convenient form that retains their essence. We investigate the effectiveness of these methods in conjunction with state-of-the-art embeddings based on Large Language Models (LLMs), particularly ADA from OpenAI, which is trained on a wide range of general-purpose texts. Utilizing a dataset from one of Brazil’s administrative courts, we explore the efficacy of embeddings derived from a Transformer model tailored to legal corpora against those from ADA, gauging the impact of parameter size, training corpora, and context window on retrieving legal precedents. Our findings suggest that while the full text embedded with ADA’s extensive context window leads in retrieval performance, a balanced combination of POS-derived summaries and ADA embeddings presents a compelling trade-off between performance and resource expenditure, advocating for an efficient, scalable, intelligent system suitable for broad legal applications. This study contributes to the literature by delineating an optimal approach that harmonizes the dual imperatives of computational frugality and retrieval accuracy, propelling the legal field toward more strategic AI utilization. |
Description: | Mentzingen, H., António, N., & Bação, F. (2025). Effectiveness in Retrieving Legal Precedents: Exploring Text Summarization and Cutting-Edge Language Models Toward a Cost-Efficient Approach. Artificial Intelligence and Law. https://doi.org/10.1007/s10506-025-09440-2 --- The authors acknowledge Brazil's Superintendency of Private Insurance for supporting and providing data for this work. This work was supported by national funds through FCT (Fundação para a Ciência e a Tecnologia), under the project - UIDB/04152/2020 - Centro de Investigação em Gestão de Informação (MagIC)/NOVA IMS) (https://doi.org/10.54499/UIDB/04152/2020). |
Peer review: | yes |
URI: | http://hdl.handle.net/10362/179711 |
DOI: | https://doi.org/10.1007/s10506-025-09440-2 |
ISSN: | 0924-8463 |
Appears in Collections: | NIMS: MagIC - Artigos em revista internacional com arbitragem científica (Peer-Review articles in international journals) |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Effectiveness_in_retrieving_legal_precedents.pdf | 1,18 MB | Adobe PDF | View/Open |
Items in Repository are protected by copyright, with all rights reserved, unless otherwise indicated.