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

AI-generated keywords: Legal NLP Domain Pretraining CaseHOLD Legal-BERT Access to Justice

AI-generated Key Points

  • The authors investigate the effectiveness of domain pretraining in legal natural language processing (NLP) tasks.
  • They introduce a new dataset called CaseHOLD consisting of over 53,000+ multiple choice questions that require identifying the relevant holding of a cited case.
  • Domain pretraining with a custom legal vocabulary using a corpus of approximately 3.5M decisions across all courts in the U.S. yields the most substantial performance gains on CaseHOLD and consistent improvements on two other legal tasks.
  • The gain in F1 score on CaseHOLD is 7.2%, representing a 12% improvement over BERT.
  • The level of performance increase in legal tasks is directly related to the domain specificity of the task.
  • Researchers should engage in resource-intensive pretraining when the task exhibits sufficient similarity to the pretraining corpus.
  • This study has implications for researchers deciding when to engage in data and resource-intensive pretraining to contribute to advancements in legal NLP and reduce disparities in access to justice within the U.S. legal system.
  • Access to code, benchmark datasets, and Legal-BERT models is provided by the authors for further exploration and development.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Lucia Zheng, Neel Guha, Brandon R. Anderson, Peter Henderson, Daniel E. Ho

ICAIL 2021. Code & data available at https://github.com/reglab/casehold
License: CC BY 4.0

Abstract: 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.

Submitted to arXiv on 18 Apr. 2021

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2104.08671v3

In this study, the authors investigate the effectiveness of domain pretraining in legal natural language processing (NLP) tasks. To address the lack of substantial gains from domain pretraining in law due to the simplicity of existing legal NLP tasks, they introduce a new dataset called CaseHOLD consisting of over 53,000+ multiple choice questions that require identifying the relevant holding of a cited case. This dataset is both legally meaningful and challenging from an NLP perspective. The authors evaluate the performance gains on CaseHOLD and other existing legal NLP datasets using different pretraining approaches. They find that while a Transformer architecture pretrained on a general corpus (BERT) improves performance, domain pretraining with a custom legal vocabulary using a corpus of approximately 3.5M decisions across all courts in the U.S. yields the most substantial performance gains on CaseHOLD and consistent improvements on two other legal tasks. The gain in F1 score on CaseHOLD is 7.2%, representing a 12% improvement over BERT. Furthermore, they demonstrate that the level of performance increase in legal tasks is directly related to the domain specificity of the task and suggest that researchers should engage in resource-intensive pretraining when the task exhibits sufficient similarity to the pretraining corpus. The findings of this study have implications for researchers deciding when to engage in data and resource-intensive pretraining as it can contribute to advancements in legal NLP and help reduce disparities in access to justice within the U.S. legal system. Overall, this research highlights the uniqueness of legal language and provides insights into when domain-specific pretraining can be beneficial for improving performance on challenging legal NLP tasks. The authors also provide access to their code, benchmark datasets, and Legal-BERT models for further exploration and development in this field.
Created on 01 Dec. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.