1 Star 0 Fork 0

白又胖 / MM-DFN

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

MM-DFN

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).

Quick Start

Requirements

  • python 3.6.10
  • torch 1.4.0
  • torch-geometric 1.4.3
  • torch-scatter 2.0.4
  • scikit-learn 0.21.2
  • CUDA 10.1

Install related dependencies:

pip install -r requirements.txt

Dataset

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.

Run examples

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

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.

Citation

@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}
}
MIT License Copyright (c) 2022 zerohd4869 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
Python 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/ZH-ZZZZ/MM-DFN.git
git@gitee.com:ZH-ZZZZ/MM-DFN.git
ZH-ZZZZ
MM-DFN
MM-DFN
main

搜索帮助