Giter VIP home page Giter VIP logo

dialogueein's Introduction

DialogueEIN

Introduction

This is a reproduction on DialogueEIN: Emotion Interaction Network for Dialogue Affective Analysis-COLING22.

Project structure refers to @shenwzh3/DAG-ERC. Features and Dataset can be found there.

Model

image-20221111190813432

Experiment Result

IEMOCAP MELD
Ref-weighted-avg-f-score 68.93 65.37
result-v1 64.22 62.65
result-SSC 65.67 63.59
result-v2 62.83 63.3
result-v3 63.38 63.03
result-v4 63.84 63.1
result-v5 64.6 64.52
result-v6 63.56 65.11

explanation

  • V1: the inputs of the encoder in the semantic interaction network are featrues have been extracted by roberta-large in advance, fixed.

  • SSC: remove DialogueEIN structure, substitute with a three layers MLP, hidden size the same with BERT config.hidden_size.

  • V2: nearly the same as DialogueEIN raised in original paper, except separate learning rate and the linear transform layer after roberta.

  • V3: add linear transform compared to v2

  • V4: add separate learning rate compared to v3

  • V5: add linear learning rate decay compared to v4

  • V6: fix a fatal bug: extended_mask should be -10000 or 0

Some Validation Experiments

Acc F1-score-avg
DAG-v2 91.13 91.66
DialogueEIN-roberta-large 91.68 89.47
DialogueEIN-feature-fixed 95.52 95.71

These experiments trained on JDDC dataset. Params setting is nearly the same as original paper(bsz=8, lr settings are exactly two groups refered in paper, local_att_window_size=7)

Expr1 and Expr3 are feature fixed(using features extracted from chinese-roberta-base-wwm) and all use last four layers cls as utterance feature.

feature-fixed method boost the model performance showing my reproduction is relatively believable.

Some Ablation Experiments

Model\Metric Acc f-score-weighted
w/o local 91.41 92.3
w/o intra 96.44 96.48
w/o inter 95.8 95.65
w/o global 94.24 94.08
w/o emotion-ebd 88.21 89.41
w/o emotion-interaction 89.03 89.67
DialogueEIN-feature-fixed-share 93.42 93.96
separate-emo-embedding 95.34 95.56
w/o residual 93.05 93.5
encoder_layer = 2 94.06 94.43

Some model structure modification and ablation, which are implemented on JDDC Chinese Dataset.

Some annoying bugs

on the reproduction on MELD, I wrongly choose the 12th layer cls repr as the utterance feature using roberta-large, so the result-v4 on MELD is little worse than original paper.

the training process on IEMOCAP isn't that satisfactory...

dialogueein's People

Contributors

yanpengt06 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.