[论文解读] End-to-end Emotion-Cause Pair Extraction via Learning to Link
该论文提出E2EECPE,一种端到端多任务学习模型,将情感-原因对抽取建模为使用双仿射注意力的定向链接预测任务,同时检测情感、原因及其配对。该模型在有效性(F1: 0.6280)和效率(快6–7倍)方面均优于最先进的一阶段方法,消融实验证实了辅助任务和位置编码的有益作用。
Emotion-cause pair extraction (ECPE), as an emergent natural language processing task, aims at jointly investigating emotions and their underlying causes in documents. It extends the previous emotion cause extraction (ECE) task, yet without requiring a set of pre-given emotion clauses as in ECE. Existing approaches to ECPE generally adopt a two-stage method, i.e., (1) emotion and cause detection, and then (2) pairing the detected emotions and causes. Such pipeline method, while intuitive, suffers from two critical issues, including error propagation across stages that may hinder the effectiveness, and high computational cost that would limit the practical application of the method. To tackle these issues, we propose a multi-task learning model that can extract emotions, causes and emotion-cause pairs simultaneously in an end-to-end manner. Specifically, our model regards pair extraction as a link prediction task, and learns to link from emotion clauses to cause clauses, i.e., the links are directional. Emotion extraction and cause extraction are incorporated into the model as auxiliary tasks, which further boost the pair extraction. Experiments are conducted on an ECPE benchmarking dataset. The results show that our proposed model outperforms a range of state-of-the-art approaches.
研究动机与目标
- 解决现有两阶段情感-原因对抽取(ECPE)方法中存在的误差传播和高计算成本问题。
- 实现在单次前向传播中联合、端到端地抽取情感、原因及其配对。
- 通过将配对抽取建模为定向链接预测并引入辅助任务,提升模型的有效性和效率。
- 探究多任务学习和位置编码对ECPE性能的影响。
提出的方法
- 该模型将情感-原因对抽取视为定向链接预测任务,使用双仿射注意力预测从情感从句到原因从句的链接。
- 情感和原因检测被纳入为辅助任务,以增强主链接预测任务的表征学习。
- 引入可学习的位置权重矩阵,以编码从句之间的相对位置信息,提升对从句顺序的建模能力。
- 模型通过多任务学习进行端到端训练,所有任务共享上下文表征。
- 推理阶段使用在配对矩阵上学习到的阈值(η)来确定有效的情感-原因对,实验发现最优η = 0.3。
- 该架构采用深度上下文编码器(如BERT类模型)和可微分注意力机制,实现联合优化。
实验结果
研究问题
- RQ1与两阶段流水线相比,端到端学习是否能减少误差传播并提升情感-原因对抽取的效率?
- RQ2使用双仿射注意力将配对抽取建模为定向链接预测,在多大程度上是有效的?
- RQ3辅助任务(情感和原因检测)在多大程度上提升了主配对抽取任务的性能?
- RQ4位置编码在多大程度上影响了模型捕捉从句关系的能力?
- RQ5在推理阶段,何种配对置信度阈值能最大化F1?
主要发现
- 所提出的E2EECPE模型在基准数据集上取得了0.6280的F1分数,优于最先进的一阶段模型。
- 该模型比两阶段基线模型快6–7倍,展现出显著的效率优势。
- 消融实验表明,若移除辅助任务,F1将下降6.35个百分点,证实其对性能的关键作用。
- 位置权重矩阵具有显著贡献,尽管其移除仅导致F1轻微下降0.0005,表明模型对其缺失具有鲁棒性。
- 最优推理阈值为η = 0.3,因为更高的阈值会导致F1下降,这是由于配对损失增加所致。
- 在包含多个配对的困难子集上,模型的精确率和F1略有下降,表明在标签不平衡方面仍存在挑战。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。