Legal Transformer Models May Not Always Help
Not on the map. Why?
Abstract (arXiv)
Deep learning-based Natural Language Processing methods, especially transformers, have achieved impressive performance in the last few years. Applying those state-of-the-art NLP methods to legal activities to automate or simplify some simple work is of great value. This work investigates the value of domain adaptive pre-training and language adapters in legal NLP tasks. By comparing the performance of language models with domain adaptive pre-training on different tasks and different dataset splits, we show that domain adaptive pre-training is only helpful with low-resource downstream tasks, thus far from being a panacea. We also benchmark the performance of adapters in a typical legal NLP task and show that they can yield similar performance to full model tuning with much smaller training costs. As an additional result, we release LegalRoBERTa, a RoBERTa model further pre-trained on legal corpora.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 10 of its 16 references that are in the map. First posted on arXiv 14 Sep 2021.
Builds on
10 of 16 references.
References · 10
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,947
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 201
- 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111
- 2019Large-Scale Multi-Label Text Classification on EU Legislationcited by 104
- 2020On the importance of pre-training data volume for compact language modelscited by 21
- 2020To Pretrain or Not to Pretrain: Examining the Benefits of Pretraining on Resource Rich Taskscited by 10
Built on by
Citing papers per year: 2023: 2; 2024: 1; 2025: 2; 2026: 1.
6 papers.
- 2023A Predictive Factor Analysis of Social Biases and Task-Performance in Pretrained Masked Language Modelscited by 4
- 2025Can Large Language Models Predict the Outcome of Judicial Decisions?cited by 2
- 2025Evaluating Customized vs. Generalist Transformer-based Models for Legal Contract Classificationcited by 2
- 2023FastDoc: Domain-Specific Fast Continual Pre-training Technique using Document-Level Metadata and Taxonomycited by 0
- 2024Towards Unsupervised Question Answering System with Multi-level Summarization for Legal Textcited by 0
- 2026LLM-Assisted Causal Structure Disambiguation and Factor Extraction for Legal Judgment Predictioncited by 0
- 2026LLM-Assisted Causal Structure Disambiguation and Factor Extraction for Legal Judgment Prediction12 Mar 2026
- 2025Evaluating Customized vs. Generalist Transformer-based Models for Legal Contract Classification11 Aug 2025
- 2025Can Large Language Models Predict the Outcome of Judicial Decisions?15 Jan 2025
- 2024Towards Unsupervised Question Answering System with Multi-level Summarization for Legal Text19 Mar 2024
- 2023A Predictive Factor Analysis of Social Biases and Task-Performance in Pretrained Masked Language Models19 Oct 2023
- 2023FastDoc: Domain-Specific Fast Continual Pre-training Technique using Document-Level Metadata and Taxonomy9 Jun 2023