Improving the Accuracy and Efficiency of Legal Document Tagging with Large Language Models and Instruction Prompts

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Johnson, Emily, Holt, Xavier, Wilson, Noah
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916687658352640
author Johnson, Emily
Holt, Xavier
Wilson, Noah
author_facet Johnson, Emily
Holt, Xavier
Wilson, Noah
contents Legal multi-label classification is a critical task for organizing and accessing the vast amount of legal documentation. Despite its importance, it faces challenges such as the complexity of legal language, intricate label dependencies, and significant label imbalance. In this paper, we propose Legal-LLM, a novel approach that leverages the instruction-following capabilities of Large Language Models (LLMs) through fine-tuning. We reframe the multi-label classification task as a structured generation problem, instructing the LLM to directly output the relevant legal categories for a given document. We evaluate our method on two benchmark datasets, POSTURE50K and EURLEX57K, using micro-F1 and macro-F1 scores. Our experimental results demonstrate that Legal-LLM outperforms a range of strong baseline models, including traditional methods and other Transformer-based approaches. Furthermore, ablation studies and human evaluations validate the effectiveness of our approach, particularly in handling label imbalance and generating relevant and accurate legal labels.
format Preprint
id arxiv_https___arxiv_org_abs_2504_09309
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improving the Accuracy and Efficiency of Legal Document Tagging with Large Language Models and Instruction Prompts
Johnson, Emily
Holt, Xavier
Wilson, Noah
Computation and Language
Legal multi-label classification is a critical task for organizing and accessing the vast amount of legal documentation. Despite its importance, it faces challenges such as the complexity of legal language, intricate label dependencies, and significant label imbalance. In this paper, we propose Legal-LLM, a novel approach that leverages the instruction-following capabilities of Large Language Models (LLMs) through fine-tuning. We reframe the multi-label classification task as a structured generation problem, instructing the LLM to directly output the relevant legal categories for a given document. We evaluate our method on two benchmark datasets, POSTURE50K and EURLEX57K, using micro-F1 and macro-F1 scores. Our experimental results demonstrate that Legal-LLM outperforms a range of strong baseline models, including traditional methods and other Transformer-based approaches. Furthermore, ablation studies and human evaluations validate the effectiveness of our approach, particularly in handling label imbalance and generating relevant and accurate legal labels.
title Improving the Accuracy and Efficiency of Legal Document Tagging with Large Language Models and Instruction Prompts
topic Computation and Language
url https://arxiv.org/abs/2504.09309