Source code for ICASSP 2022 paper "MM-DFN: Multimodal Dynamic Fusion Network For Emotion Recognition in Conversations".
In this work, we focus on emotion recognition in multimodal conversations (multimodal ERC). If you are interested in textual ERC, you can refer to a related work DialogueCRN (code).
Install related dependencies:
pip install -r requirements.txt
The original datasets can be found at IEMOCAP and MELD.
Following previous works (DialogueRNN, MMGCN, et al.), raw utterance-level features of textual, acoustic, and visual modality are extracted by TextCNN with Glove embedding, OpenSmile, and DenseNet, respectively. The processed features can be found by the link.
For training model on IEMOCAP and MELD datasets, you can refer to the following:
# IEMOCAP dataset
bash ./script/run_train_ie.sh
# MELD dataset
bash ./script/run_train_me.sh
Note: The optimal hyper-parameters (e.g., the number of gcn layers) are slight differences under different experimental configurations (i.e., the version of CUDA and PyTorch). To facilitate further research by interested parties, we retain the complete code including ablation and control experiments.
Results of MM-DFN on IEMOCAP dataset:
IEMOCAP | ||||||||
---|---|---|---|---|---|---|---|---|
Happy | Sad | Neutral | Angry | Excited | Frustrated | Acc | Macro-F1 | Weighted-F1 |
42.22 | 78.98 | 66.42 | 69.77 | 75.56 | 66.33 | 68.21 | 66.54 | 68.18 |
Results of MM-DFN on MELD dataset:
MELD | ||||||||
---|---|---|---|---|---|---|---|---|
Neutral | Surprise | Sadness | Happy | Anger | Fear/Disgust | Acc | Macro-F1 | Weighted-F1 |
77.76 | 50.69 | 22.93 | 54.78 | 47.82 | - | 62.49 | 36.28 | 59.46 |
Evaluation matrices: Acc, macro-F1, weighted-F1, and the F1 score per class.
@inproceedings{DBLP:conf/icassp/HuHWJM22,
author = {Dou Hu and
Xiaolong Hou and
Lingwei Wei and
Lian{-}Xin Jiang and
Yang Mo},
title = {{MM-DFN:} Multimodal Dynamic Fusion Network for Emotion Recognition
in Conversations},
booktitle = {{ICASSP}},
pages = {7037--7041},
publisher = {{IEEE}},
year = {2022}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。