Seedlabs
Source research

Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challenges

Farid Ariai, Joel Mackenzie, Gianluca Demartini · 2025 · 294 citationsRead the paper

Natural Language Processing (NLP) is revolutionising the way both professionals and laypersons operate in the legal field. The considerable potential for NLP in the legal sector, especially in developing computational assistance tools for various legal processes, has captured the interest of researchers for years. This survey follows the Preferred Reporting Items for Systematic Reviews and Meta-Analyses framework, reviewing 154 studies, with a final selection of 131 after manual filtering. It explores foundational concepts related to NLP in the legal domain, illustrating the unique aspects and challenges of processing legal texts, such as extensive document lengths, complex language, and limited open legal datasets. We provide an overview of NLP tasks specific to legal text, such as Document Summarisation, Named Entity Recognition, Question Answering, Argument Mining, Text Classification, and Judgment Prediction. Furthermore, we analyse both developed legal-oriented language models, and approaches for adapting general-purpose language models to the legal domain. Additionally, we identify sixteen open research challenges, including the detection and mitigation of bias in artificial intelligence applications, the need for more robust and interpretable models, and improving explainability to handle the complexities of legal language and reasoning.

What the full text shows

Shown in the lab
  • CaseHOLD benchmark provides a resource for identifying legal holdings from case texts using multiple-choice questions. — 53,000+ multiple-choice questions (US case law citations)
  • FairLex benchmark evaluates fairness across multiple jurisdictions and languages. — 4 datasets, 5 languages (Europe, US, Switzerland, and China)
  • LexGLUE benchmark assesses NLP models across diverse legal tasks including classification and QA. (Datasets include ECHR, SCOTUS, EUR-Lex, LEDGAR, UNFAIR-ToS, and CaseHOLD)
  • COLIEE 2021 competition tested case and statute law retrieval and entailment. — 4,415 case files in task 1 (Case law retrieval and entailment tasks)
Setup
Review of 131 selected studies covering tasks such as LQA, LJP, LTC, LDS, NER, and LAM.
How
A systematic review following the PRISMA framework was conducted across Google Scholar and IEEE Xplore. The authors screened 154 studies and manually filtered them down to 131 relevant papers focusing on legal NLP tasks, datasets, and models.
Limitations
Extensive document lengths in legal texts · Complex legal language and document structures · Limited availability of open legal datasets · Issues regarding bias, fairness, and explainability in AI models

Summarized by Gemma 4 from the open-access full text · 27 Nov 2026. Read it