mlsanityData to 7 Oct 2026

When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Dataset

arXiv 2104.08671 ↗First posted 18 Apr 2021cs.CLcited by 199

Not on the map. Why?

Abstract (arXiv)

While self-supervised learning has made rapid advances in natural language processing, it remains unclear when researchers should engage in resource-intensive domain-specific pretraining (domain pretraining). The law, puzzlingly, has yielded few documented instances of substantial gains to domain pretraining in spite of the fact that legal language is widely seen to be unique. We hypothesize that these existing results stem from the fact that existing legal NLP tasks are too easy and fail to meet conditions for when domain pretraining can help. To address this, we first present CaseHOLD (Case Holdings On Legal Decisions), a new dataset comprised of over 53,000+ multiple choice questions to identify the relevant holding of a cited case. This dataset presents a fundamental task to lawyers and is both legally meaningful and difficult from an NLP perspective (F1 of 0.4 with a BiLSTM baseline). Second, we assess performance gains on CaseHOLD and existing legal NLP datasets. While a Transformer architecture (BERT) pretrained on a general corpus (Google Books and Wikipedia) improves performance, domain pretraining (using corpus of approximately 3.5M decisions across all courts in the U.S. that is larger than BERT's) with a custom legal vocabulary exhibits the most substantial performance gains with CaseHOLD (gain of 7.2% on F1, representing a 12% improvement on BERT) and consistent performance gains across two other legal tasks. Third, we show that domain pretraining may be warranted when the task exhibits sufficient similarity to the pretraining corpus: the level of performance increase in three legal tasks was directly tied to the domain specificity of the task. Our findings inform when researchers should engage resource-intensive pretraining and show that Transformer-based architectures, too, learn embeddings suggestive of distinct legal language.

Key facts. Cited by 199 papers in the map (data through 7 Oct 2026). Builds on 27 of its 55 references that are in the map. First posted on arXiv 18 Apr 2021.

Builds on

27 of 55 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  8. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  9. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
  10. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  11. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
  12. 2020A Primer in BERTology: What we know about how BERT workscited by 807
15 more
  1. 2020Aligning AI With Shared Human Valuescited by 706
  2. 2018CoQA: A Conversational Question Answering Challengecited by 674
  3. 2020How Good is Your Tokenizer? On the Monolingual Performance of Multilingual Language Modelscited by 313
  4. 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
  5. 2019Neural Legal Judgment Prediction in Englishcited by 208
  6. 2018emrQA: A Large Corpus for Question Answering on Electronic Medical Recordscited by 134
  7. 2020How Does NLP Benefit Legal System: A Summary of Legal Artificial Intelligencecited by 128
  8. 2019JEC-QA: A Legal-Domain Question Answering Datasetcited by 115
  9. 2018CLAUDETTE: an Automated Detector of Potentially Unfair Clauses in Online Terms of Servicecited by 72
  10. 2020UnNatural Language Inferencecited by 68
  11. 2017Exploring the Use of Text Classification in the Legal Domaincited by 31
  12. 2018LexNLP: Natural language processing and information extraction for legal and regulatory textscited by 27
  13. 2019BERT Goes to Law School: Quantifying the Competitive Advantage of Access to Large Legal Corpora in Contract Understandingcited by 16
  14. 2020Neural Mask Generator: Learning to Generate Adaptive Word Maskings for Language Model Adaptationcited by 14
  15. 2021Neural Contract Element Extraction Revisited: Letters from Sesame Streetcited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 26; 2023: 45; 2024: 35; 2025: 36; 2026: 50.

199 papers.

Sort:

By area:

  1. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  2. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
  3. 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 302
  4. 2024Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Toolscited by 170
  5. 2021ContractNLI: A Dataset for Document-level Natural Language Inference for Contractscited by 145
  6. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  7. 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuningcited by 106
  8. 2023HuatuoGPT-II, One-stage Training for Medical Adaption of LLMscited by 91
  9. 2024LLM2LLM: Boosting LLMs with Novel Iterative Data Enhancementcited by 69
  10. 2023LEXTREME: A Multi-Lingual and Multi-Task Benchmark for the Legal Domaincited by 68
  11. 2024Can multiple-choice questions really be useful in detecting the abilities of LLMs?cited by 66
  12. 2024(A)I Am Not a Lawyer, But...: Engaging Legal Experts towards Responsible LLM Policies for Legal Advicecited by 61
38 more
  1. 2023MultiLegalPile: A 689GB Multilingual Legal Corpuscited by 59
  2. 2022Transferability in Deep Learning: A Surveycited by 57
  3. 2023LeXFiles and LegalLAMA: Facilitating English Multinational Legal Language Model Developmentcited by 54
  4. 2023Lawyer LLaMA Technical Reportcited by 54
  5. 2023A Short Survey of Viewing Large Language Models in Legal Aspectcited by 51
  6. 2022A Survey on Legal Judgment Prediction: Datasets, Metrics, Models and Challengescited by 50
  7. 2023Adapting Large Language Models to Domains via Reading Comprehensioncited by 48
  8. 2022Multi-LexSum: Real-World Summaries of Civil Rights Lawsuits at Multiple Granularitiescited by 47
  9. 2021RAFT: A Real-World Few-Shot Text Classification Benchmarkcited by 44
  10. 2023Training Data Extraction From Pre-trained Language Models: A Surveycited by 43
  11. 2024Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challengescited by 42
  12. 2023Empower Large Language Model to Perform Better on Industrial Domain-Specific Question Answeringcited by 41
  13. 2023Natural Language Processing in the Legal Domaincited by 38
  14. 2025A Reasoning-Focused Legal Retrieval Benchmarkcited by 37
  15. 2022Mining Legal Arguments in Court Decisionscited by 35
  16. 2023ChatGPT may Pass the Bar Exam soon, but has a Long Way to Go for the LexGLUE benchmarkcited by 33
  17. 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 32
  18. 2024Multi-Task Inference: Can Large Language Models Follow Multiple Instructions at Once?cited by 28
  19. 2025Fine-tuning Large Language Models for Improving Factuality in Legal Question Answeringcited by 28
  20. 2022Named Entity Recognition in Indian court judgmentscited by 26
  21. 2022Data-Efficient Finetuning Using Cross-Task Nearest Neighborscited by 26
  22. 2022ArgLegalSumm: Improving Abstractive Summarization of Legal Documents with Argument Miningcited by 25
  23. 2022Modern Question Answering Datasets and Benchmarks: A Surveycited by 23
  24. 2022Law Informs Code: A Legal Informatics Approach to Aligning Artificial Intelligence with Humanscited by 23
  25. 2024Generated Data with Fake Privacy: Hidden Dangers of Fine-tuning Large Language Models on Generated Datacited by 21
  26. 2022Processing Long Legal Documents with Pre-trained Transformers: Modding LegalBERT and Longformercited by 20
  27. 2024MoleculeQA: A Dataset to Evaluate Factual Accuracy in Molecular Comprehensioncited by 19
  28. 2022LegalBench: Prototyping a Collaborative Benchmark for Legal Reasoningcited by 17
  29. 2022ClassActionPrediction: A Challenging Benchmark for Legal Judgment Prediction of Class Action Cases in the UScited by 17
  30. 2022An Empirical Study on Cross-X Transfer for Legal Judgment Predictioncited by 16
  31. 2024Agreement-Based Cascading for Efficient Inferencecited by 16
  32. 2025Revisiting Epistemic Markers in Confidence Estimation: Can Markers Accurately Reflect Large Language Models' Uncertainty?cited by 16
  33. 2023VNHSGE: VietNamese High School Graduation Examination Dataset for Large Language Modelscited by 15
  34. 2023One Law, Many Languages: Benchmarking Multilingual Legal Reasoning for Judicial Supportcited by 15
  35. 2023Walking a Tightrope -- Evaluating Large Language Models in High-Risk Domainscited by 15
  36. 2024BLADE: Enhancing Black-box Large Language Models with Small Domain-Specific Modelscited by 15
  37. 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Casescited by 14
  38. 2023The Cambridge Law Corpus: A Dataset for Legal AI Researchcited by 14

50 most cited of 199 All 199 (JSON)