Abstract
Emotion-cause pair extraction (ECPE) aims to extract emotion clauses and corresponding cause clauses, which have recently received growing attention. Previous methods sequentially encode features with a specified order. They first encode the emotion and cause features for clause extraction and then combine them for pair extraction. This lead to an imbalance in inter-task feature interaction where features extracted later have no direct contact with the former. To address this issue, we propose a novel Pair-Based Joint Encoding (PBJE) network, which generates pairs and clauses features simultaneously in a joint feature encoding manner to model the causal relationship in clauses. PBJE can balance the information flow among emotion clauses, cause clauses and pairs. From a multi-relational perspective, we construct a heterogeneous undirected graph and apply the Relational Graph Convolutional Network (RGCN) to capture the multiplex relationship between clauses and the relationship between pairs and clauses. Experimental results show that PBJE achieves state-of-the-art performance on the Chinese benchmark corpus.
Introduction
The task of Emotion-Cause Pair Extraction (ECPE) involves identifying both the emotion expressed in a text and the specific clause that triggered it. For example, in the sentence "The girl asked to break up in a fit of anger because of the boy's bad treatment of her," an ECPE system must correctly pair the emotion clause ("the girl asked to break up...") with the cause clause ("the boy's bad treatment...").
Historically, models have approached this sequentially: first identifying emotion clauses, then cause clauses, and finally pairing them. This "one-way street" for information often leads to error propagation. If a clause is misidentified in the first step, the final pairing is inevitably flawed. Furthermore, the final pairing stage cannot provide feedback to the earlier extraction stages, creating an imbalance in feature learning.
Methodology: The PBJE Framework
To overcome the limitations of sequential processing, the Pair-Based Joint Encoding (PBJE) network utilizes a joint encoding strategy that allows for bidirectional information flow between clauses and potential pairs.
Core Components
- Initial Representation: The model uses a pre-trained BERT encoder to generate initial vector representations for every clause in a document.
- Pair Generation: Initial "pair features" are created by concatenating clause representations with relative position embeddings.
- Heterogeneous Graph Construction: The model builds a graph containing four types of nodes: Emotion Clause nodes, Cause Clause nodes, Pair nodes, and a global Document node. Five distinct relation types (e.g., Clause-to-Pair, Document-to-All) are defined to model complex interactions.
- Relational Graph Convolutional Network (RGCN): By applying RGCN layers, the model allows pair nodes to update their information based on their constituent clauses, and vice versa. This ensures that a clause's likelihood of being a "cause" is informed by its potential to form a logical pair with an "emotion."
- Multi-Task Learning: The network is trained simultaneously on three objectives: pair extraction, emotion clause identification, and cause clause identification.
Key Insights and Results
PBJE achieves state-of-the-art (SOTA) performance on the standard Chinese benchmark corpus, reaching an F1 score of 76.37% for the ECPE task. This outperforms previous leading models like ECPE-MLL (74.52%) and RankCP (73.60%).
Analysis of Performance
- Bidirectional Flow: The joint encoding approach specifically boosted performance in Cause Extraction (78.78% F1). Because causes are often complex descriptions compared to keyword-driven emotions, leveraging the clearer signal from emotion nodes through the graph structure significantly aids the model.
- The Document Node: The global document node acts as a contextual pivot, helping the model filter out "noise"—clauses that might contain emotional words but are irrelevant to the primary causal narrative.
- Ablation Studies: Removing "Pair Nodes" from the graph resulted in the most significant performance drop, confirming that explicit pair modeling is the most vital component of the architecture.
Limitations and Future Work
Currently, PBJE uses a local window constraint ($\lambda=3$) to maintain graph manageability, covering approximately 85% of causal pairs in the dataset. However, this prevents the model from capturing long-distance causal relationships that can span up to 12 clauses. Future research will focus on handling larger distances without introducing excessive noise from the increased number of negative samples.
Summary updated