BERT Goes to Law School: Quantifying the Competitive Advantage of Access to Large Legal Corpora in Contract Understanding
Open accessThe DOI matches its OpenAlex record; 7 of the 7 references it cites were found in a registry or an index.
Abstract
Fine-tuning language models, such as BERT, on domain specific corpora has proven to be valuable in domains like scientific papers and biomedical text. In this paper, we show that fine-tuning BERT on legal documents similarly provides valuable improvements on NLP tasks in the legal domain. Demonstrating this outcome is significant for analyzing commercial agreements, because obtaining large legal corpora is challenging due to their confidential nature. As such, we show that having access to large legal corpora is a competitive advantage for commercial applications, and academic research on analyzing contracts.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“These efforts have demonstrated that larger language models that are pretrained on more data achieve performance gains on certain challenging tasks, compared to more limited gains observed in other settings [Chalkidis et al. 2020; Elwany et al. 2019; Zhong et al. 2020].”
From On the Opportunities and Risks of Foundation Models (2021) · cites this paper as Elwany et al. 2019
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
Deep Contextualized Word Representations
Peters, M., Neumann, M., Iyyer, M., Gardner, M., Clark, C., Lee, K., & Zettlemoyer, L. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers) · doi:10.18653/v1/n18-1202 · Cited by 11,983
BioBERT: a pre-trained biomedical language representation model for biomedical text mining
Lee, J., Yoon, W., Kim, S., Kim, D., Kim, S., So, C. H., & Kang, J. (2020) · Bioinformatics · doi:10.1093/bioinformatics/btz682 · Cited by 7,218 · cited 1×
“Fine-tuning language models, such as BERT, on domain specific corpora has proven to be valuable in domains like scientific papers [1] and biomedical text [2].”
BackgroundUniversal Language Model Fine-tuning for Text Classification
Howard, J., & Ruder, S. (2018) · Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p18-1031 · Cited by 4,100 · cited 1×
“Recently, numerous studies have shown the value of fine-tuning language models such as ELMo [3] and BERT [4] to achieve state-of-the-art results [5] on domain specific tasks [6, 7].”
BackgroundHow to Fine-Tune BERT for Text Classification?
Sun, C., Qiu, X., Xu, Y., & Huang, X. (2019) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-32381-3_16 · Cited by 1,534
DocBERT: BERT for Document Classification
Adhikari, A., Ram, A., Tang, R., & Lin, J. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.08398 · Cited by 203
SciBERT: Pretrained Contextualized Embeddings for Scientific Text
Beltagy, I., Cohan, A., & Lo, K. (2019) · Cited by 173
Cited by
On the Opportunities and Risks of Foundation Models
Bommasani, R., Hudson, D. A., Adeli, E., Altman, R., Arora, S., von Arx, S., Bernstein, M. S., Bohg, J., Bosselut, A., Brunskill, E., et al. (2021) · arXiv · doi:10.48550/arxiv.2108.07258 · Cited by 2,676
Lawformer: A pre-trained language model for Chinese legal long documents
Xiao, C., Hu, X., Liu, Z., Tu, C., & Sun, M. (2021) · AI Open · doi:10.1016/j.aiopen.2021.06.003 · Cited by 278
(2021) · doi:10.1145/3462757.3466088 · Cited by 151
El Boukkouri, H., Ferret, O., Lavergne, T., Noji, H., Zweigenbaum, P., & Tsujii, J. (2020) · Proceedings of the 28th International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.609 · Cited by 131
Greco, C. M., & Tagarelli, A. (2023) · Artificial Intelligence and Law · doi:10.1007/s10506-023-09374-7 · Cited by 104
Large Language Models versus Natural Language Understanding and Generation
Karanikolas, N., Manga, E., Samaridi, N., Tousidou, E., & Vassilakopoulos, M. (2023) · Proceedings of the 27th Pan-Hellenic Conference on Progress in Computing and Informatics · doi:10.1145/3635059.3635104 · Cited by 102
Arslan, Y., Allix, K., Veiber, L., Lothritz, C., Bissyandé, T. F., Klein, J., & Goujon, A. (2021) · International World Wide Web Conference (WWW) · doi:10.1145/3442442.3451375 · Cited by 101
A Benchmark for Lease Contract ReviewPreprint
Leivaditi, S., Rossi, J., & Kanoulas, E. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.10386 · Cited by 77
JuriBERT: A Masked-Language Model Adaptation for French Legal Text
Douka, S., Abdine, H., Vazirgiannis, M., Hamdani, R. E., & Amariles, D. R. (2021) · Natural Legal Language Processing Workshop (NLLP) · doi:10.18653/v1/2021.nllp-1.9 · Cited by 64
LegalDB: Long DistilBERT for Legal Document Classification
Bambroo, P., & Awasthi, A. (2021) · International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT) · doi:10.1109/icaect49130.2021.9392558 · Cited by 49
Customizing Contextualized Language Models for Legal Document Reviews
Shaghaghian, S., Feng, L. Y., Jafarpour, B., & Pogrebnyakov, N. (2020) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata50022.2020.9378201 · Cited by 43
Factoring Statutory Reasoning as Language Understanding Challenges
Holzenberger, N., & Durme, B. V. (2021) · doi:10.18653/v1/2021.acl-long.213 · Cited by 33
Enhancing Legal Argument Mining with Domain Pre-training and Neural Networks
Zhang, G., Nulty, P., & Lillis, D. (2022) · Journal of Data Mining & Digital Humanities · doi:10.46298/jdmdh.9147 · Cited by 28
Privacy-Preserving Models for Legal Natural Language Processing
Yin, Y., & Habernal, I. (2022) · Natural Legal Language Processing Workshop (NLLP) · doi:10.18653/v1/2022.nllp-1.14 · Cited by 28
To tune or not to tune? zero-shot models for legal case entailment
Rosa, G. M., Rodrigues, R. C., Lotufo, R., & Nogueira, R. F. (2021) · International Conference on Artificial Intelligence and Law · doi:10.1145/3462757.3466103 · Cited by 24
Towards Grad-CAM Based Explainability in a Legal Text Processing Pipeline. Extended Version
Górski, Ł., Ramakrishna, S., & Nowosielski, J. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-89811-3_11 · Cited by 22
Towards Grad-CAM Based Explainability in a Legal Text Processing PipelinePreprint
Górski, Ł., Ramakrishna, S., & Nowosielski, J. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2012.09603 · Cited by 20
Runtime and Design Time Completeness Checking of Dangerous Android App Permissions Against GDPR
Mcconkey, R., & Olukoya, O. (2023) · IEEE Access · doi:10.1109/access.2023.3347194 · Cited by 18
Classification of US Supreme Court Cases using BERT-Based Techniques
Vatsal, S., Meyers, A., & Ortega, J. E. (2023) · International conference Recent advances in natural language processing · doi:10.26615/978-954-452-092-2_128 · Cited by 17
Semantic Role Labelling for Dutch Law Texts
Bakker, R. M., van Drie, R. A. N., de Boer, M., van Doesburg, R., & van Engers, T. (2022) · Language Resources and Evaluation Conference (LREC) · doi:10.63317/3pf39kwfkmg5 · Cited by 16
The Law of Large Documents: Understanding the Structure of Legal Contracts Using Visual CuesPreprint
Hegel, A., Shah, M., Peaslee, G., Roof, B., & Elwany, E. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.08128 · Cited by 14
Self-citationMichel, M., Djurica, D., & Mendling, J. (2022) · Hawaii International Conference on System Sciences (HICSS) · doi:10.24251/hicss.2022.757 · Cited by 12
Yu, Z., Hou, E., Pompeo, J., Huffaker, R., Wang, M., & Zhao, Y. (2025) · Sustainable Futures · doi:10.1016/j.sftr.2025.100585 · Cited by 11
Better Transcription of UK Supreme Court HearingsPreprint
Saadany, H., Breslin, C., Orǎsan, C., & Walker, S. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2211.17094 · Cited by 11
Determining Worker Type from Legal Text Data using Machine Learning
Yin, Y., Zulkernine, F. H., & Dahan, S. (2020) · IEEE Intl Conf on Dependable, Autonomic and Secure Computing, Intl Conf on Pervasive Intelligence and Computing, Intl Conf on Cloud and Big Data Computing, Intl Conf on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech) · doi:10.1109/dasc-picom-cbdcom-cyberscitech49142.2020.00084 · Cited by 8
A Small Claims Court for the NLP: Judging Legal Text Classification Strategies With Small Datasets
Noguti, M. Y., Vellasques, E., & Oliveira, L. S. (2023) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc53992.2023.10394189 · Cited by 7
Legal HeBERT: A BERT-based NLP Model for Hebrew Legal, Judicial and Legislative TextsPreprint
Chriqui, A., Yahav, I., & Bar‐Siman‐Tov, I. (2022) · SSRN Electronic Journal · doi:10.2139/ssrn.4147127 · Cited by 6
Egger, C. M., Caselli, T., Tziafas, G., de Saint-Phalle, E., & de Vries, W. (2023) · Regulation & Governance · doi:10.1111/rego.12557 · Cited by 6
LegalBERT-th: Development of Legal Q&A Dataset and Automatic Question Tagging
Wiratchawa, K., Khunthong, T., & Intharah, T. (2021) · International Conference on Electrical Engineering/Electronics, Computer, Telecommunications and Information Technology (ECTI-CON) · doi:10.1109/ecti-con51831.2021.9454753 · Cited by 6
Tritto, P. P., & Ponce-Espinosa, H. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-47640-2_5 · Cited by 5
Text Summarization from Judicial Records using Deep Neural Machines
Sarwar, A., Latif, S., Irfan, R., Ul-Hasan, A., & Shafait, F. (2022) · International Conference on Electrical, Computer, Communications and Mechatronics Engineering (ICECCME) · doi:10.1109/iceccme55909.2022.9987795 · Cited by 5
Elwany, E., Hegel, A., Shah, M., Roof, B., Peaslee, G., & Rivet, Q. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2208.08000 · Cited by 5
Self-citationNew Mind Ai Team (2025) · Procedia Computer Science · doi:10.1016/j.procs.2025.08.239 · Cited by 4
Saadany, H., Orǎsan, C., Breslin, C., Barczentewicz, M., & Walker, S. (2025) · Applied Sciences · doi:10.3390/app15169205 · Cited by 4
Lawrence, B., Wang, Y., Pan, Y., & Alexander, C. S. (2022) · Industrial Marketing Management · doi:10.1016/j.indmarman.2022.10.002 · Cited by 4
Automatic Linking of Judgements to UK Supreme Court Hearings
Saadany, H., & Orǎsan, C. (2023) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2023.emnlp-industry.47 · Cited by 4
Customizing Contextualized Language Models forLegal Document ReviewsPreprint
Shaghaghian, S., Luna, Feng, Jafarpour, B., & Pogrebnyakov, N. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.05757 · Cited by 3
Reading Between the Lines: Information Extraction from Industry Requirements
Holter, O. M., & Ell, B. (2023) · International conference Recent advances in natural language processing · doi:10.26615/978-954-452-092-2_076 · Cited by 3
Law in Order: An Open Legal Citation Network for New Zealand
Milz, T., Macpherson, E., & Vetrova, V. V. (2023) · Communications in computer and information science · doi:10.1007/978-981-99-8696-5_15 · Cited by 2
Hadi, A. (2024) · theses.fr (ABES) · doi:10.70675/2ab806f6z8e59z4fcdzbe6cz771e49e0be32 · Cited by 1
General Benefits of Mono-Lingual Pre-Training in Transformers
Zhang, J. (2021) · UA Campus Repository (The University of Arizona) · Cited by 1
Classification and Geotemporal Analysis of Quality-of-Life Issues in Tenant Reviews
Haber, A., & Waks, Z. (2021) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2021.findings-emnlp.217 · Cited by 1
Gartner, M. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2508.03718 · Cited by 1
Linking Judgement Text to Court Hearing Videos: UK Supreme Court as a Case Study
Saadany, H., Orǎsan, C., Walker, S., & Breslin, C. (2024) · Language Resources and Evaluation Conference (LREC) · doi:10.63317/2rosaaskfbbh · Cited by 1
Mudhiganti, S. K. R. (2025) · IEEE World Conference on Applied Intelligence and Computing (AIC) · doi:10.1109/aic66080.2025.11212158 · Cited by 1
Akunna, N. L., & Enyejo, L. A. (2024) · International Journal of Scientific Research in Science Engineering and Technology · doi:10.32628/ijsrset2513157 · Cited by 1
Li, Z., Li, Z., Bai, T., Huang, Y., & Chen, S. (2025) · International Journal of Financial Engineering · doi:10.1142/s2424786325500161
Shao, H.-L., Yu, Y.-C., & Huang, S.-C. (2026) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2026.1896166
Japanese Mistakable Legal Term Correction using Infrequency-aware BERT Classifier
Yamakoshi, T., Komamizu, T., Ogawa, Y., & Toyama, K. (2020) · Transactions of the Japanese Society for Artificial Intelligence · doi:10.1527/tjsai.e-k25
Mask-Guided Visual Text Transformer for Radiology Reports Representation Learning
Sun, J., & Cai, X. (2025) · Lecture notes in computer science · doi:10.1007/978-981-95-3058-8_17
Yu, Z., & Wu, S. (2025) · Research Square · doi:10.21203/rs.3.rs-7958332/v1
Semantic representations based on language models
Pantoja, F. L. (2025) · doi:10.47749/t/unicamp.2025.1509363
Nikiforidis, I. (2026) · DSpace - NTUA (National Technical University of Athens) · doi:10.26240/heal.ntua.32714
Wang, M. (2024) · D-Scholarship@Pitt (University of Pittsburgh)
Enhancing Legal Guidance by Utilizing Natural Language Processing-Based Document Embeddings
Mukim, T. L. (2024) · NORMA
Democratizing Legal Understanding. A Model for Simplifying Judicial Decisions
Ferrão, J. M. M. (2024) · Portuguese National Funding Agency for Science, Research and Technology (RCAAP Project by FCT)
Kilic, B., Bex, F., & Gatt, A. (2023) · Research portal (Tilburg University) · doi:10.48550/arxiv.2307.02882
Kan ramverket BERT appliceras som språkmodell för att effektivisera inlärning av svenska?
Munthe Nilsson, A., & Nilsson, K. (2021) · KTH Publication Database DiVA (KTH Royal Institute of Technology)
AI‑driven framework for contract risk automation and compliance in oracle CPQ
Soma, R. (2026) · Scientific Reports · doi:10.1038/s41598-026-55942-7
Towards Grad-CAM Based Explainability in a Legal Text Processing Pipeline
Ramakrishna, S., Górski, Ł., & Nowosielski, J. (2021) · ReIn UW (University of Warsaw)
Metadata
- Authors
- Elwany, E., Moore, D., & Oberoi, G.
- Venue
- arXiv (Cornell University)
- Publisher
- arXiv
- Published
- 2019
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1911.00473
- OpenAlex
- W2983841094
- Cited by
- 35
- References
- 7
- Type
- posted content
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.