RTHN: A RNN-Transformer Hierarchical Network for Emotion Cause Extraction

Rui Xia, Mengran Zhang, Zixiang Ding
6/4/2019
cs.CL

Official code: NUSTM/RTHN (39 stars, last commit 2020-01-12).

Abstract

The emotion cause extraction (ECE) task aims at discovering the potential causes behind a certain emotion expression in a document. Techniques including rule-based methods, traditional machine learning methods and deep neural networks have been proposed to solve this task. However, most of the previous work considered ECE as a set of independent clause classification problems and ignored the relations between multiple clauses in a document. In this work, we propose a joint emotion cause extraction framework, named RNN-Transformer Hierarchical Network (RTHN), to encode and classify multiple clauses synchronously. RTHN is composed of a lower word-level encoder based on RNNs to encode multiple words in each clause, and an upper clause-level encoder based on Transformer to learn the correlation between multiple clauses in a document. We furthermore propose ways to encode the relative position and global predication information into Transformer that can capture the causality between clauses and make RTHN more efficient. We finally achieve the best performance among 12 compared systems and improve the F1 score of the state-of-the-art from 72.69\% to 76.77\%.

View on arXivView PDF

Code Implementations(1)

NUSTM/RTHNOfficial100%

The code of IJCAI2019 paper "RTHN: A RNN-Transformer Hierarchical Network for Emotion Cause Extraction".

3910PythonMay 31, 20196 years ago

Similar Papers

Cite this paper

@article{xia2019rthn,
  title  = {RTHN: A RNN-Transformer Hierarchical Network for Emotion Cause Extraction},
  author = {Rui Xia and Mengran Zhang and Zixiang Ding},
  year   = {2019},
  eprint = {1906.01236},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.01236}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.01236.svg)](https://codeofpaper.com/paper/1906.01236)

Discussion