Language Model Adaptation to Specialized Domains through Selective Masking based on Genre and Topical Characteristics
Belfathi, Anas, Gallina, Ygor, Hernandez, Nicolas, Dufour, Richard, Monceaux, Laura
–arXiv.org Artificial Intelligence
Recent advances in pre-trained language modeling have facilitated significant progress across various natural language processing (NLP) tasks. Word masking during model training constitutes a pivotal component of language modeling in architectures like BERT. However, the prevalent method of word masking relies on random selection, potentially disregarding domain-specific linguistic attributes. In this article, we introduce an innovative masking approach leveraging genre and topicality information to tailor language models to specialized domains. Our method incorporates a ranking process that prioritizes words based on their significance, subsequently guiding the masking procedure. Experiments conducted using continual pre-training within the legal domain have underscored the efficacy of our approach on the LegalGLUE benchmark in the English language. Pre-trained language models and code are freely available for use.
arXiv.org Artificial Intelligence
Feb-26-2024
- Country:
- North America
- United States
- New York > New York County
- New York City (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- New York > New York County
- Canada > Ontario
- Toronto (0.05)
- United States
- Europe
- Ireland (0.04)
- Bulgaria (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Russia > Central Federal District
- Moscow Oblast > Moscow (0.04)
- France > Pays de la Loire
- Loire-Atlantique > Nantes (0.04)
- Belarus > Minsk Region
- Minsk (0.04)
- Asia
- Russia (0.04)
- Uzbekistan > Toshkent Shahri
- Tashkent (0.04)
- North America
- Genre:
- Research Report (1.00)
- Industry:
- Law (1.00)
- Technology: