LEGAL-BERT: The Muppets straight out of Law School
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 111 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 21; 2022: 21; 2023: 30; 2024: 17; 2025: 16; 2026: 6.
111 papers.
Sort:
By area:
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Evaluating Large Language Models: A Comprehensive Surveycited by 200
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2021Lawformer: A Pre-trained Language Model for Chinese Legal Long Documentscited by 115
- 2021ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanationcited by 78
- 2023SAILER: Structure-aware Pre-trained Language Model for Legal Case Retrievalcited by 61
- 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
- 2023Evaluating Superhuman Models with Consistency Checkscited by 47
- 2022A Multi-Task Benchmark for Korean Legal Language Understanding and Judgement Predictioncited by 44
- 2024Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challengescited by 42
- 2022Mining Legal Arguments in Court Decisionscited by 35
- 2023ChatGPT may Pass the Bar Exam soon, but has a Long Way to Go for the LexGLUE benchmarkcited by 33
38 more
- 2023GeoGalactica: A Scientific Large Language Model in Geosciencecited by 32
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2021On the Ethical Limits of Natural Language Processing on Legal Textcited by 26
- 2021IndoBERTweet: A Pretrained Language Model for Indonesian Twitter with Effective Domain-Specific Vocabulary Initializationcited by 25
- 2022Law Informs Code: A Legal Informatics Approach to Aligning Artificial Intelligence with Humanscited by 23
- 2021Question Answering over Electronic Devices: A New Benchmark Dataset and a Multi-Task Learning based QA Frameworkcited by 21
- 2023A Comprehensive Survey on Relation Extraction: Recent Advances and New Frontierscited by 21
- 2023Stance Detection: A Practical Guide to Classifying Political Beliefs in Textcited by 20
- 2024Multilingual Large Language Models: A Systematic Surveycited by 18
- 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreementcited by 17
- 2023Multi-Defendant Legal Judgment Prediction via Hierarchical Reasoningcited by 17
- 2022On the Role of Negative Precedent in Legal Outcome Predictioncited by 16
- 2023Lightweight Transformers for Clinical Natural Language Processingcited by 15
- 2021AutoLAW: Augmented Legal Reasoning through Legal Precedent Predictioncited by 14
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Casescited by 14
- 2023How well do SOTA legal reasoning models support abductive reasoning?cited by 13
- 2023Bringing order into the realm of Transformer-based language models for artificial intelligence and lawcited by 13
- 2022SsciBERT: A Pre-trained Language Model for Social Science Textscited by 12
- 2022VarMAE: Pre-training of Variational Masked Autoencoder for Domain-adaptive Language Understandingcited by 11
- 2025Automatic Legal Writing Evaluation of LLMscited by 11
- 2023Zero-Shot Learning for Requirements Classification: An Exploratory Studycited by 9
- 2023LexGPT 0.1: pre-trained GPT-J models with Pile of Lawcited by 9
- 2024Laboratory-Scale AI: Open-Weight Models are Competitive with ChatGPT Even in Low-Resource Settingscited by 9
- 2022Fine-grained Intent Classification in the Legal Domaincited by 8
- 2022The Legal Argument Reasoning Task in Civil Procedurecited by 8
- 2025Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorizationcited by 8
- 2021Evaluating Pre-Trained Models for User Feedback Analysis in Software Engineering: A Study on Classification of App-Reviewscited by 7
- 2021Linguistically Informed Masking for Representation Learning in the Patent Domaincited by 7
- 2022AraLegal-BERT: A pretrained language model for Arabic Legal textcited by 7
- 2022LegalRelectra: Mixed-domain Language Modeling for Long-range Legal Text Comprehensioncited by 7
- 2023SemEval 2023 Task 6: LegalEval - Understanding Legal Textscited by 7
- 2023Neural Natural Language Processing for Long Texts: A Survey on Classification and Summarizationcited by 7
- 2021PyEuroVoc: A Tool for Multilingual Legal Document Classification with EuroVoc Descriptorscited by 6
- 2021Legal Transformer Models May Not Always Helpcited by 6
- 2021Unsupervised Law Article Mining based on Deep Pre-Trained Language Representation Models with Application to the Italian Civil Codecited by 6
- 2022Artificial intelligence for topic modelling in Hindu philosophy: mapping themes between the Upanishads and the Bhagavad Gitacited by 6
- 2023Learning Representations on Logs for AIOpscited by 6
- 2025A Survey of Classification Tasks and Approaches for Legal Contractscited by 6
50 most cited of 111 All 111 (JSON)
- 2026Explaining Black-Box Language Models: Learning to Optimize Linguistically-Structured Word Subsets7 Jun 2026
- 2026Cross-Domain Data Selection and Augmentation for Automatic Compliance Detection23 Apr 2026
- 2026LePREC: Reasoning as Classification over Structured Factors for Assessing Relevance of Legal Issues21 Apr 2026
- 2026A Two-Stage Architecture for NDA Analysis: LLM-based Segmentation and Transformer-based Clause Classification13 Feb 2026
- 2026SteuerLLM: Local specialized large language model for German tax law analysis11 Feb 2026
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Study2 Feb 2026
- 2025Mining Legal Arguments to Study Judicial Formalism12 Dec 2025
- 2025Prompting from the bench: Large-scale pretraining is not sufficient to prepare LLMs for ordinary meaning analysis29 Oct 2025
- 2025ClauseLens: Clause-Grounded, CVaR-Constrained Reinforcement Learning for Trustworthy Reinsurance Pricing9 Oct 2025
- 2025Evaluating the Limits of Large Language Models in Multilingual Legal Reasoning26 Sep 2025
- 2025Universal Legal Article Prediction via Tight Collaboration between Supervised Classification Model and LLM26 Sep 2025
- 2025DRAssist: Dispute Resolution Assistance using Large Language Models2 Sep 2025
38 more
- 2025PromptAL: Sample-Aware Dynamic Soft Prompts for Few-Shot Active Learning22 Jul 2025
- 2025A Survey of Classification Tasks and Approaches for Legal Contracts9 Jul 2025
- 2025Are manual annotations necessary for statutory interpretations retrieval?16 Jun 2025
- 2025Assessing the Performance Gap Between Lexical and Semantic Models for Information Retrieval With Formulaic Legal Language15 Jun 2025
- 2025Automatic Legal Writing Evaluation of LLMs29 Apr 2025
- 2025Transformer-Based Extraction of Statutory Definitions from the U.S. Code23 Apr 2025
- 2025MARRO: Multi-headed Attention for Rhetorical Role Labeling in Legal Documents8 Mar 2025
- 2025Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorization27 Feb 2025
- 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoning24 Feb 2025
- 2025Predicting potentially abusive clauses in Chilean terms of services with natural language processing2 Feb 2025
- 2024Machine learning and natural language processing models to predict the extent of food processing23 Dec 2024
- 2024ConfliBERT: A Language Model for Political Conflict19 Dec 2024
- 2024Multilingual Large Language Models: A Systematic Survey17 Nov 2024
- 2024Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challenges25 Oct 2024
- 2024The Large Language Model GreekLegalRoBERTa10 Oct 2024
- 2024Leverage Knowledge Graph and Large Language Model for Law Article Recommendation: A Case Study of Chinese Criminal Law7 Oct 2024
- 2024Decoding SEC Actions: Enforcement Trends through Analyzing Blockchain litigation using LLM-based Thematic Factor Mapping21 Aug 2024
- 2024SEMDR: A Semantic-Aware Dual Encoder Model for Legal Judgment Prediction with Legal Clue Tracing19 Aug 2024
- 2024Prompting Encoder Models for Zero-Shot Classification: A Cross-Domain Study in Italian30 Jul 2024
- 2024eagerlearners at SemEval2024 Task 5: The Legal Argument Reasoning Task in Civil Procedure24 Jun 2024
- 2024Let Guidelines Guide You: A Prescriptive Guideline-Centered Data Annotation Methodology20 Jun 2024
- 2024Towards Effective Time-Aware Language Representation: Exploring Enhanced Temporal Understanding in Language Models4 Jun 2024
- 2024Laboratory-Scale AI: Open-Weight Models are Competitive with ChatGPT Even in Low-Resource Settings27 May 2024
- 2024COBIAS: Assessing the Contextual Reliability of Bias Benchmarks for Language Models22 Feb 2024
- 2024Pretrained Generative Language Models as General Learning Frameworks for Sequence-Based Tasks8 Feb 2024
- 2024When Geoscience Meets Generative AI and Large Language Models: Foundations, Trends, and Future Challenges25 Jan 2024
- 2024INACIA: Integrating Large Language Models in Brazilian Audit Courts: Opportunities and Challenges10 Jan 2024
- 2023GeoGalactica: A Scientific Large Language Model in Geoscience31 Dec 2023
- 2023Multi-Defendant Legal Judgment Prediction via Hierarchical Reasoning10 Dec 2023
- 2023LaCour!: Enabling Research on Argumentation in Hearings of the European Court of Human Rights8 Dec 2023
- 2023A Multi-solution Study on GDPR AI-enabled Completeness Checking of DPAs23 Nov 2023
- 2023Evaluating Large Language Models: A Comprehensive Survey30 Oct 2023
- 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreement27 Oct 2023
- 2023Domain-Specific Language Model Post-Training for Indonesian Financial NLP15 Oct 2023
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Survey27 Sep 2023
- 2023Learning Representations on Logs for AIOps18 Aug 2023
- 2023Bringing order into the realm of Transformer-based language models for artificial intelligence and law10 Aug 2023
- 2023Challenges and Applications of Large Language Models19 Jul 2023
50 newest of 111 All 111 (JSON)
- 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyercited by 60
- 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreementcited by 17
- 2023How well do SOTA legal reasoning models support abductive reasoning?cited by 13
- 2022The Legal Argument Reasoning Task in Civil Procedurecited by 8
- 2024Towards Effective Time-Aware Language Representation: Exploring Enhanced Temporal Understanding in Language Modelscited by 5
- 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoningcited by 5
- 2025Evaluating the Limits of Large Language Models in Multilingual Legal Reasoningcited by 3
- 2026SteuerLLM: Local specialized large language model for German tax law analysiscited by 1
- 2024eagerlearners at SemEval2024 Task 5: The Legal Argument Reasoning Task in Civil Procedurecited by 0
- 2026LePREC: Reasoning as Classification over Structured Factors for Assessing Relevance of Legal Issuescited by 0
- 2026LePREC: Reasoning as Classification over Structured Factors for Assessing Relevance of Legal Issues21 Apr 2026
- 2026SteuerLLM: Local specialized large language model for German tax law analysis11 Feb 2026
- 2025Evaluating the Limits of Large Language Models in Multilingual Legal Reasoning26 Sep 2025
- 2025JUREX-4E: Juridical Expert-Annotated Four-Element Knowledge Base for Legal Reasoning24 Feb 2025
- 2024eagerlearners at SemEval2024 Task 5: The Legal Argument Reasoning Task in Civil Procedure24 Jun 2024
- 2024Towards Effective Time-Aware Language Representation: Exploring Enhanced Temporal Understanding in Language Models4 Jun 2024
- 2023Modeling Legal Reasoning: LM Annotation at the Edge of Human Agreement27 Oct 2023
- 2023How well do SOTA legal reasoning models support abductive reasoning?14 Apr 2023
- 2022Legal Prompting: Teaching a Language Model to Think Like a Lawyer2 Dec 2022
- 2022The Legal Argument Reasoning Task in Civil Procedure5 Nov 2022
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2023Evaluating Large Language Models: A Comprehensive Surveycited by 200
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2021Lawformer: A Pre-trained Language Model for Chinese Legal Long Documentscited by 115
- 2021ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanationcited by 78
- 2023SAILER: Structure-aware Pre-trained Language Model for Legal Case Retrievalcited by 61
- 2023Evaluating Superhuman Models with Consistency Checkscited by 47
- 2022A Multi-Task Benchmark for Korean Legal Language Understanding and Judgement Predictioncited by 44
- 2024Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challengescited by 42
- 2022Mining Legal Arguments in Court Decisionscited by 35
- 2023ChatGPT may Pass the Bar Exam soon, but has a Long Way to Go for the LexGLUE benchmarkcited by 33
- 2023GeoGalactica: A Scientific Large Language Model in Geosciencecited by 32
12 most cited of 100 All 100 (JSON)
- 2026Explaining Black-Box Language Models: Learning to Optimize Linguistically-Structured Word Subsets7 Jun 2026
- 2026Cross-Domain Data Selection and Augmentation for Automatic Compliance Detection23 Apr 2026
- 2026A Two-Stage Architecture for NDA Analysis: LLM-based Segmentation and Transformer-based Clause Classification13 Feb 2026
- 2026Performance of Small Language Model Pretraining on FABRIC: An Empirical Study2 Feb 2026
- 2025Mining Legal Arguments to Study Judicial Formalism12 Dec 2025
- 2025Prompting from the bench: Large-scale pretraining is not sufficient to prepare LLMs for ordinary meaning analysis29 Oct 2025
- 2025ClauseLens: Clause-Grounded, CVaR-Constrained Reinforcement Learning for Trustworthy Reinsurance Pricing9 Oct 2025
- 2025Universal Legal Article Prediction via Tight Collaboration between Supervised Classification Model and LLM26 Sep 2025
- 2025DRAssist: Dispute Resolution Assistance using Large Language Models2 Sep 2025
- 2025PromptAL: Sample-Aware Dynamic Soft Prompts for Few-Shot Active Learning22 Jul 2025
- 2025A Survey of Classification Tasks and Approaches for Legal Contracts9 Jul 2025
- 2025Are manual annotations necessary for statutory interpretations retrieval?16 Jun 2025
12 newest of 100 All 100 (JSON)