[Paper Review] Two are Better than One: Joint Entity and Relation Extraction with Table-Sequence Encoders
This paper proposes a novel table-sequence encoder architecture that jointly performs named entity recognition (NER) and relation extraction (RE) by employing two distinct encoders—a sequence encoder for NER and a table encoder for RE—designed to interact and learn task-specific representations. The method leverages BERT’s attention weights to enhance table representation learning and achieves state-of-the-art performance on four benchmark datasets, outperforming existing joint models.
Named entity recognition and relation extraction are two important fundamental problems. Joint learning algorithms have been proposed to solve both tasks simultaneously, and many of them cast the joint task as a table-filling problem. However, they typically focused on learning a single encoder (usually learning representation in the form of a table) to capture information required for both tasks within the same space. We argue that it can be beneficial to design two distinct encoders to capture such two different types of information in the learning process. In this work, we propose the novel {\em table-sequence encoders} where two different encoders -- a table encoder and a sequence encoder are designed to help each other in the representation learning process. Our experiments confirm the advantages of having {\em two} encoders over {\em one} encoder. On several standard datasets, our model shows significant improvements over existing approaches.
Motivation & Objective
- To address error propagation and feature confusion in joint NER and RE by decoupling representation learning for each task.
- To exploit the structural information in 2D table representations that is lost when converting tables to sequences.
- To improve performance by leveraging BERT’s pairwise word interaction knowledge through attention weights for table representation learning.
- To design an interaction mechanism between sequence and table encoders that enables mutual enhancement of representations.
- To demonstrate that dual encoders outperform single-encoder approaches in joint NER and RE.
Proposed method
- Proposes a dual-encoder architecture with a sequence encoder for NER and a table encoder for RE, enabling task-specific representation learning.
- Uses multidimensional recurrent neural networks (MD-RNNs) to model the 2D table structure, capturing interactions across rows, columns, and layers.
- Introduces table-guided attention that leverages BERT’s self-attention weights to enrich table representations with word-pair interaction knowledge.
- Employs skip connections between encoding layers to stabilize training and allow progressive refinement of representations.
- Designs a cross-encoder interaction module where the sequence and table encoders attend to each other’s hidden states to enhance feature learning.
- Utilizes a linear prediction layer on top of stacked encoders to generate final predictions, with intermediate states probed for interpretability.
Experimental results
Research questions
- RQ1Can learning separate representations for NER and RE using distinct encoders improve performance compared to a single shared encoder?
- RQ2How effectively can structural information in a 2D table representation be exploited for joint NER and RE?
- RQ3To what extent can BERT’s attention weights be leveraged to enhance table representation learning in joint extraction?
- RQ4Does the interaction between sequence and table encoders lead to better modeling of complex entity and relation patterns?
- RQ5How do architectural choices such as RNN directionality and dimensionality affect the performance of the MD-RNN-based table encoder?
Key findings
- The proposed model achieves state-of-the-art F1 scores on four standard datasets: ACE04 (NER: 89.4, RE: 70.2), ACE05 (NER: 89.3, RE: 67.4), CoNLL04 (NER: 89.3, RE: 66.7), and ADE (NER: 89.3, RE: 67.4).
- Removing any dimension (layer, row, or column) from the MD-RNNs leads to performance degradation, confirming the importance of multidimensional modeling.
- Bidirectional RNNs outperform unidirectional ones, and quad-directional RNNs (bidirectional in all dimensions) achieve the best results.
- The table-guided attention mechanism learns more task-relevant patterns—such as entity spans and relation paths—than standard ALBERT attention heads.
- Visualization of intermediate states shows that predictions improve progressively across layers, indicating effective representation refinement through deep stacking and skip connections.
- The model outperforms previous joint models that use a single encoder, demonstrating the benefit of decoupled yet interactive representation learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.