Introduction
Following the release of BERT, a pivotal question emerged in Natural Language Processing (NLP): are complex linguistic features like dependency trees and part-of-speech tags still necessary when using powerful pretrained language models? In their paper, Peng Shi and Jimmy Lin demonstrate that for core tasks such as Relation Extraction (RE) and Semantic Role Labeling (SRL), the answer is a resounding "no." By constructing simple architectures atop BERT, they achieved state-of-the-art results, suggesting that BERT’s contextual embeddings implicitly capture the syntactic information previously hard-coded by researchers.
The Syntactic Bottleneck
Before the advent of BERT, RE and SRL systems relied heavily on external linguistic tools. Researchers typically incorporated part-of-speech tags and dependency trees to help models understand sentence structure. However, this reliance created a "syntactic bottleneck." High-quality parsers are not universally available for all languages, and they often lack robustness when applied to out-of-domain text like social media. Errors from these parsers propagate through the system, limiting overall performance. Shi and Lin set out to determine if BERT’s deep contextualized embeddings could entirely replace these brittle, external features.
Proposed Architectures
The authors' approach is characterized by simplicity, favoring standard components like BiLSTMs and MLPs over complex graph convolutional networks.
BERT for Relation Extraction
To make BERT "entity-aware" for RE, the authors formatted the input sequence by appending the subject and object after the sentence. They also masked entity mentions (e.g., using SUBJ-PER) to prevent the model from memorizing specific names. The BERT output is concatenated with position embeddings and processed through a single-layer BiLSTM and a Multi-Layer Perceptron (MLP) for classification.
BERT for Semantic Role Labeling
For SRL, the model must identify relationships between a predicate and its arguments. The input is formatted as [CLS] sentence [SEP] predicate [SEP]. Each token's BERT representation is concatenated with a "predicate indicator" embedding. The final prediction for a token is made by passing its hidden state and the predicate's hidden state through an MLP.
Evaluation and Results
The models were evaluated on several gold-standard benchmarks, including TACRED for Relation Extraction and CoNLL 2005, 2008, 2009, and 2012 for Semantic Role Labeling.
Key Findings
- Implicit Syntax: BERT-based models outperformed previous state-of-the-art systems that utilized explicit dependency trees. This indicates that BERT’s self-attention mechanism learns the necessary syntactic structures during pretraining.
- Input Formatting Efficacy: Significant performance gains were achieved simply by modifying the input sequence to "tell" BERT what to focus on, rather than altering the underlying architecture.
- Robustness: The BERT-based models showed remarkable performance on out-of-domain data (the "Brown" test set), widening the gap over traditional models that rely on brittle parsers.
On the TACRED dataset, the "BERT-LSTM-base" model achieved an F1 score of 67.8, surpassing complex Graph Convolutional Networks. In SRL tasks, the model reached 92.4 F1 on the CoNLL 2009 dependency-based task and set new state-of-the-art benchmarks for single models in span-based SRL.
Conclusion
By removing the need for external parsers, Shi and Lin's approach makes NLP pipelines faster and more portable across different languages and domains. While BERT itself is computationally intensive, the simplicity of the task-specific layers provides a strong, streamlined baseline for future research in relation extraction and semantic role labeling.
Summary updated