When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Dataset
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.
Authors: Lucia Zheng, Neel Guha, Brandon R. Anderson, Peter Henderson, Daniel E. Ho
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.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
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 representationLook 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.