Large Language Models are legal but they are not: Making the case for a powerful LegalLLM
Not on the map. Why?
Abstract (arXiv)
Realizing the recent advances in Natural Language Processing (NLP) to the legal sector poses challenging problems such as extremely long sequence lengths, specialized vocabulary that is usually only understood by legal professionals, and high amounts of data imbalance. The recent surge of Large Language Models (LLMs) has begun to provide new opportunities to apply NLP in the legal domain due to their ability to handle lengthy, complex sequences. Moreover, the emergence of domain-specific LLMs has displayed extremely promising results on various tasks. In this study, we aim to quantify how general LLMs perform in comparison to legal-domain models (be it an LLM or otherwise). Specifically, we compare the zero-shot performance of three general-purpose LLMs (ChatGPT-20b, LLaMA-2-70b, and Falcon-180b) on the LEDGAR subset of the LexGLUE benchmark for contract provision classification. Although the LLMs were not explicitly trained on legal data, we observe that they are still able to classify the theme correctly in most cases. However, we find that their mic-F1/mac-F1 performance is up to 19.2/26.8% lesser than smaller models fine-tuned on the legal domain, thus underscoring the need for more powerful legal-domain LLMs.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 28 of its 37 references that are in the map. First posted on arXiv 15 Nov 2023.
Builds on
28 of 37 references.
References · 28
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
16 more
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2021Datasets: A Community Library for Natural Language Processingcited by 530
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 310
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
- 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
- 2021MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfercited by 90
- 2023LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domaincited by 68
- 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
- 2023A Short Survey of Viewing Large Language Models in Legal Aspectcited by 52
- 2022Revisiting Transformer-based Models for Long Document Classificationcited by 49
- 2023ChatGPT may Pass the Bar Exam soon, but has a Long Way to Go for the LexGLUE benchmarkcited by 33
- 2023Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Textscited by 33
- 2020ERNIE-Doc: A Retrospective Long-Document Modeling Transformercited by 31
- 2022Processing Long Legal Documents with Pre-trained Transformers: Modding LegalBERT and Longformercited by 20
- 2023PolicyGPT: Automated Analysis of Privacy Policies with Large Language Modelscited by 16
- 2023LexGPT 0.1: pre-trained GPT-J models with Pile of Lawcited by 9
Built on by
Citing papers per year: 2024: 5; 2025: 5; 2026: 2.
12 papers.
- 2025Uncertainty Quantification and Confidence Calibration in Large Language Models: A Surveycited by 95
- 2025Understanding the Uncertainty of LLM Explanations: A Perspective Based on Reasoning Topologycited by 25
- 2025FinDER: Financial Dataset for Question Answering and Evaluating Retrieval-Augmented Generationcited by 17
- 2024Neurosymbolic AI approach to Attribution in Large Language Modelscited by 3
- 2024Scoping Review of Active Learning Strategies and their Evaluation Environments for Entity Recognition Taskscited by 2
- 2024Economy Watchers Survey Provides Datasets and Tasks for Japanese Financial Domaincited by 2
- 2024Refined and Segmented Price Sentiment Indices from Survey Commentscited by 1
- 2025Knowledge Acquisition on Mass-shooting Events via LLMs for AI-Driven Justicecited by 1
- 2024Automatic Information Extraction From Employment Tribunal Judgements Using Large Language Modelscited by 0
- 2025An Integrated Framework of Prompt Engineering and Multidimensional Knowledge Graphs for Legal Dispute Analysiscited by 0
- 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineeringcited by 0
- 2026Domain-Adaptive Pretraining Enhances Water Treatment Semantic Representation for Large-Scale Structured Literature Miningcited by 0
- 2026Domain-Adaptive Pretraining Enhances Water Treatment Semantic Representation for Large-Scale Structured Literature Mining22 Sep 2026
- 2026The Expert Validation Framework (EVF): Enabling Domain Expert Control in AI Engineering18 Jan 2026
- 2025An Integrated Framework of Prompt Engineering and Multidimensional Knowledge Graphs for Legal Dispute Analysis10 Jul 2025
- 2025FinDER: Financial Dataset for Question Answering and Evaluating Retrieval-Augmented Generation22 Apr 2025
- 2025Knowledge Acquisition on Mass-shooting Events via LLMs for AI-Driven Justice17 Apr 2025
- 2025Uncertainty Quantification and Confidence Calibration in Large Language Models: A Survey20 Mar 2025
- 2025Understanding the Uncertainty of LLM Explanations: A Perspective Based on Reasoning Topology24 Feb 2025
- 2024Refined and Segmented Price Sentiment Indices from Survey Comments15 Nov 2024
- 2024Neurosymbolic AI approach to Attribution in Large Language Models30 Sep 2024
- 2024Economy Watchers Survey Provides Datasets and Tasks for Japanese Financial Domain20 Jul 2024
- 2024Scoping Review of Active Learning Strategies and their Evaluation Environments for Entity Recognition Tasks4 Jul 2024
- 2024Automatic Information Extraction From Employment Tribunal Judgements Using Large Language Models19 Mar 2024