Abstract
LIMIT-BERT (Linguistics Informed Multi-Task BERT) integrates explicit linguistic knowledge—specifically syntax and semantics—directly into the pre-training process through multi-task learning. By leveraging semi-supervised labeling and a novel phrase-based masking strategy, LIMIT-BERT outperforms standard BERT models on both specialized linguistic tasks and general natural language understanding (NLU) benchmarks such as GLUE.
Introduction
Most contemporary language models, including BERT and RoBERTa, are "linguistically agnostic" during their initial training. They learn patterns by predicting missing words in massive amounts of unlabeled text without explicit knowledge of parts of speech, sentence structure (syntax), or semantic roles (who did what to whom). While these models eventually acquire some linguistic intuition during fine-tuning, the authors of LIMIT-BERT argue that learning these fundamental structures during pre-training leads to more robust and generalizable representations.
The primary challenge in this approach is the scarcity of high-quality "gold standard" linguistic data compared to the massive datasets required for pre-training. LIMIT-BERT addresses this through a combination of multi-task learning and semi-supervised data augmentation.
Methodology
LIMIT-BERT employs four key strategies to bridge the gap between raw text and formal linguistics:
- Multi-Task Learning (MTL): The model is trained simultaneously on five linguistic tasks: Part-Of-Speech (POS) tagging, constituent parsing, dependency parsing, span-based Semantic Role Labeling (SRL), and dependency-based SRL.
- Semi-Supervised Learning: To overcome data scarcity, a state-of-the-art "teacher" model automatically annotates the BooksCorpus and Wikipedia datasets, providing "silver" labels for billions of words.
- ELECTRA-style Training: Instead of standard Masked Language Modeling (MLM), LIMIT-BERT adopts the generator-discriminator approach from ELECTRA, improving computational efficiency and reducing the training-inference mismatch.
Linguistics-Guided Mask Strategy (SPM)
Standard BERT models mask random tokens. In contrast, LIMIT-BERT introduces Syntactic/Semantic Phrase Masking (SPM). This strategy identifies meaningful linguistic units—such as entire noun phrases or verb predicates—and masks the entire unit. This forces the model to rely on structural context rather than local word co-occurrences to fill in the blanks.
Experimental Setup and Results
The model was pre-trained on BooksCorpus and English Wikipedia and evaluated against the Penn Treebank (PTB) for syntax, CoNLL datasets for SRL, and the GLUE benchmark for general NLU.
Key Findings
- Superior NLU Performance: LIMIT-BERT achieved a GLUE score of 83.3, significantly outperforming the Whole Word Masking (WWM) BERT baseline of 80.5.
- Inherent Linguistic Knowledge: Without task-specific fine-tuning, the model reached a 95.84 F1 score on constituent parsing and 97.14% UAS on dependency parsing, demonstrating that it successfully internalizes linguistic rules during pre-training.
- Robustness on Long Sentences: LIMIT-BERT showed marked improvements on sentences exceeding 50 words. This suggests that explicit syntactic knowledge helps the model maintain coherence in complex structures where standard models often struggle.
Conclusion
LIMIT-BERT demonstrates that linguistics-informed pre-training acts as a powerful regularizer, preventing models from relying on simple statistical shortcuts. By treating linguistics as a core component of the training objective rather than an afterthought, LIMIT-BERT develops a deeper "logic" of language. Future research may explore more sophisticated parameter-sharing methods and scaling these techniques to even larger architectures and diverse languages.
Summary updated