Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LEGAL-BERT: The Muppets straight out of Law School

About

BERT has achieved impressive performance in several NLP tasks. However, there has been limited investigation on its adaptation guidelines in specialised domains. Here we focus on the legal domain, where we explore several approaches for applying BERT models to downstream legal tasks, evaluating on multiple datasets. Our findings indicate that the previous guidelines for pre-training and fine-tuning, often blindly followed, do not always generalize well in the legal domain. Thus we propose a systematic investigation of the available strategies when applying BERT in specialised domains. These are: (a) use the original BERT out of the box, (b) adapt BERT by additional pre-training on domain-specific corpora, and (c) pre-train BERT from scratch on domain-specific corpora. We also propose a broader hyper-parameter search space when fine-tuning for downstream tasks and we release LEGAL-BERT, a family of BERT models intended to assist legal NLP research, computational law, and legal technology applications.

Ilias Chalkidis, Manos Fergadiotis, Prodromos Malakasiotis, Nikolaos Aletras, Ion Androutsopoulos• 2020

Related benchmarks

TaskDatasetResultRank
Clause ClassificationIllegal Clauses
Macro F177
63
Clause ClassificationDark Clauses
Macro F175
23
Document ClassificationEURLEX
Macro F124.4
21
Clause ClassificationGray Clauses
Macro F167
20
Legal Case RetrievalCOLIEE 2023
P@54.64
19
Legal Case RetrievalCOLIEE Top-5 2022
P@54.47
19
Case holding classificationCaseHOLD (test)
Mean macro F176.1
12
Deontic ClassificationREGOBLIGATION (test)
F1 Score84.6
12
Gap DetectionGAPBENCH (test)
F1 Score71.3
12
Named Entity RecognitionREGOBLIGATION (test)
F1 Score82.1
12
Showing 10 of 27 rows

Other info

Follow for update