mlsanityData to 13 Oct 2026

LegalRelectra: Mixed-domain Language Modeling for Long-range Legal Text Comprehension

arXiv 2212.08204 ↗First posted 16 Dec 2022cs.CL cs.CYcited by 7

Not on the map. Why?

Abstract (arXiv)

The application of Natural Language Processing (NLP) to specialized domains, such as the law, has recently received a surge of interest. As many legal services rely on processing and analyzing large collections of documents, automating such tasks with NLP tools emerges as a key challenge. Many popular language models, such as BERT or RoBERTa, are general-purpose models, which have limitations on processing specialized legal terminology and syntax. In addition, legal documents may contain specialized vocabulary from other domains, such as medical terminology in personal injury text. Here, we propose LegalRelectra, a legal-domain language model that is trained on mixed-domain legal and medical corpora. We show that our model improves over general-domain and single-domain medical and legal language models when processing mixed-domain (personal injury) text. Our training architecture implements the Electra framework, but utilizes Reformer instead of BERT for its generator and discriminator. We show that this improves the model's performance on processing long passages and results in better long-range text comprehension.

Key facts. Cited by 7 papers in the map (data through 13 Oct 2026). Builds on 15 of its 27 references that are in the map. First posted on arXiv 16 Dec 2022.

Builds on

15 of 27 references.

References · 15

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  3. 2020Longformer: The Long-Document Transformercited by 3,393
  4. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,910
  5. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,942
  6. 2020Reformer: The Efficient Transformercited by 1,662
  7. 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 490
  8. 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 369
  9. 2019Neural Legal Judgment Prediction in Englishcited by 208
  10. 2020FinBERT: A Pretrained Language Model for Financial Communicationscited by 161
  11. 2020How Does NLP Benefit Legal System: A Summary of Legal Artificial Intelligencecited by 128
  12. 2021Lawformer: A Pre-trained Language Model for Chinese Legal Long Documentscited by 115
3 more
  1. 2020LEGAL-BERT: The Muppets straight out of Law Schoolcited by 111
  2. 2017Exploring the Use of Text Classification in the Legal Domaincited by 31
  3. 2021Identifying biases in legal data: An algorithmic fairness perspectivecited by 4

Built on by

Cited by year

Citing papers per year: 2023: 4; 2024: 2; 2025: 1.

7 papers.