LIMIT-BERT : Linguistic Informed Multi-Task BERT

Junru Zhou, Zhuosheng Zhang, Hai ZhaoarXiv 2019

Abstract

Linguistics Informed Multi-Task BERT (LIMIT-BERT) is a pre-training framework that explicitly incorporates five linguistic tasks—Part-of-Speech tagging, constituent parsing, dependency parsing, and two forms of semantic role labeling—into the language model's initial training. By leveraging a novel phrase-based masking strategy and semi-supervised "silver" labels for massive datasets, LIMIT-BERT produces representations that significantly outperform standard BERT on both structural linguistics and general natural language understanding (NLU) benchmarks, particularly excelling in processing long-range dependencies.

Introduction

Standard language models like BERT and RoBERTa are typically trained on raw, unlabeled text, learning to predict missing words through statistical patterns. However, these models often lack explicit knowledge of grammatical rules (syntax) or the underlying logic of semantic roles (who did what to whom). Traditionally, these linguistic structures are treated as downstream tasks for fine-tuning.

LIMIT-BERT addresses this missed opportunity by integrating structural linguistic knowledge directly into the pre-training phase. The primary challenge—the scarcity of high-quality gold-standard linguistic data compared to massive pre-training corpora—is overcome through a semi-supervised approach that generates labels for large-scale text using existing high-performance parsers.

Methods

The LIMIT-BERT architecture introduces three primary innovations to bridge the gap between language modeling and formal linguistics:

  1. Multi-Task Learning (MTL) with Semi-Supervision: To address data imbalance, the authors used a high-quality pre-trained parser to generate "silver-standard" labels for the BooksCorpus and English Wikipedia (13GB). The model simultaneously learns five tasks: Part-of-Speech (POS) tagging, constituent parsing, dependency parsing, span-based Semantic Role Labeling (SRL), and dependency-based SRL.
  2. Linguistics-Guided Mask Strategy (SPM): Unlike standard BERT's random word masking, LIMIT-BERT employs Syntactic/Semantic Phrase Masking. It identifies and masks meaningful units, such as entire noun phrases or verb-argument structures, forcing the model to understand global sentence structure.
  3. ELECTRA-style Training: The model adopts a generator-discriminator approach. A small generator replaces masked tokens, and the LIMIT-BERT discriminator detects these replacements while solving the five linguistic tasks.
The overall architecture of LIMIT-BERT, showing the generator-discriminator framework integrated with task-specific layers for linguistic analysis.

Key Results

LIMIT-BERT was evaluated against the BERT-WWM (Whole Word Masking) baseline across several benchmarks, showing consistent improvements:

  • Parsing Performance: It achieved a 95.84 F1 score in constituent parsing and 97.14% UAS in dependency parsing, outperforming the baseline even without task-specific fine-tuning.
  • General NLU (GLUE and SNLI): The model surpassed BERT-WWM on the GLUE benchmark and reached 91.7% accuracy on the SNLI test set, demonstrating that linguistic awareness translates to better general performance on sentiment analysis and entailment tasks.
  • Handling Long-Range Dependencies: A key finding is LIMIT-BERT's superior performance on long sentences (50+ tokens). By explicitly modeling syntactic trees and semantic roles, the model handles complex, long-range dependencies more effectively than standard baselines.
Performance of LIMIT-BERT compared to baseline on SRL tasks across different sentence lengths, highlighting its advantage in processing longer sequences.

Conclusion

LIMIT-BERT demonstrates that the relationship between language modeling and linguistics is mutually beneficial. While the model requires significant computational resources and depends on the quality of the "teacher" parser used for silver labeling, it proves that structural awareness improves generalization and regularization. Future work may explore deeper parameter sharing and the incorporation of more explicit linguistic rules into transformer architectures.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Penn Treebank · PTB) constituent syntactic parsingLIMIT-BERTF1 score95.84fine-tuned
Source quote
L199: without fine-tuning obtains 95.84 F1 score of constituent parsing and 97.14% UAS and 95.44% LAS of dependency parsing.
SNLILIMIT-BERTF1 score91.7split: test · model-count=single
Source quote
L327: LIMIT-BERT │ 92.3 │ 91.7
BibTeX
@misc{zhou2019limit,
  author = {Junru Zhou and Zhuosheng Zhang and Hai Zhao},
  title = {{LIMIT-BERT : Linguistic Informed Multi-Task BERT}},
  year = {2019},
  eprint = {1910.14296},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.14296},
}
Figure