Legal Domain Adaptation of Modern BERT Models
- lab CatalyzeX
- lab DagsHub
- lab GotitPub
- lab Hugging Face
- lab ScienceCast
- lab alphaXiv
- lab arXiv
- model ModernBERT
Researchers have adapted a modern BERT model for the legal domain, reporting significant performance gains over its base version on US court opinion datasets, according to a new paper [1]. The study, posted to arXiv, details further pre-training of ModernBERT on all US court opinions using a masked language modeling objective [1]. ModernBERT was trained on roughly 500x more data than the original BERT model, yet the authors found it still benefited from domain-specific adaptation [1]. The resulting models can process sequences up to 8,192 tokens, enabling them to compute embeddings of legal passages or rapidly rerank hundreds of passages for a given search query [1]. The performance improvements were similar to those reported in early work on domain adaptation of BERT-like models, though training a model from scratch did not match the performance of further pre-training an existing ModernBERT checkpoint [1]. Large language models, including BERT variants, are neural networks trained on vast text corpora for natural language processing tasks [2]. They are typically based on the transformer architecture, with generative pre-trained transformers representing a common type that is pre-trained to predict the next word and later fine-tuned for specific behaviors [2]. The legal domain adaptation work applies engineering principles to create a scalable, efficient AI-based solution for a specialized field, merging aspects of data engineering and software engineering [3]. The researchers have released all model checkpoints publicly [1].
research-paperapplicationmodel-release
Background sources we checked (7)
- en.wikipedia.org ↗ A large language model (LLM) is a neural network trained on a vast amount of text for natural language processing tasks, especially language generation. LLMs can typically generate, summarize, translate, and analyze text in many contexts, and are a foundational technology behind …
- en.wikipedia.org ↗ Artificial intelligence engineering (AI engineering) is a technical discipline that focuses on the design, development, and deployment of AI systems. AI engineering involves applying engineering principles and methodologies to create scalable, efficient, and reliable AI-based sol…
- en.wikipedia.org ↗ Evolution is the change in the heritable characteristics of biological populations over successive generations. It occurs when evolutionary processes such as genetic drift and natural selection act on genetic variation, resulting in certain characteristics becoming more or less c…
- en.wikipedia.org ↗ Chinese Filipinos (sometimes referred as Filipino Chinese or Chinoy/Tsinoy in the Philippines) are Filipinos of full or partial Chinese descent, but are typically born and raised in the Philippines. A large proportion of Chinese Filipinos can trace their ancestry back to the Chin…
- en.wikipedia.org ↗ A number of significant scientific events occurred in 2020.…
- en.wikipedia.org ↗ Sustainable Development Goals (abbr. SDGs) were adopted in 2015 by all United Nations (UN) members for the 2030 Agenda for Sustainable Development. The aim of the 17 global goals is "peace and prosperity for people and the planet", tackling climate change, and working to preserv…
- en.wikipedia.org ↗ In molecular biology, a transcription factor (TF) (or sequence-specific DNA-binding factor) is a protein that controls the rate of transcription of genetic information from DNA to messenger RNA, by binding to DNA sequences. Specificity can be due to sequence motifs, or epigenetic…
Sources
- export.arxiv.org — Legal Domain Adaptation of Modern BERT Models ↗