exploration-lab commited on
Commit
f41950b
1 Parent(s): 571b070

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +64 -0
README.md CHANGED
@@ -1,3 +1,67 @@
1
  ---
2
  license: cc-by-nc-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: cc-by-nc-4.0
3
  ---
4
+ ## COGMEN; Official Pytorch Implementation
5
+ [![PWC](https://img.shields.io/endpoint.svg?url=https://paperswithcode.com/badge/cogmen-contextualized-gnn-based-multimodal/multimodal-emotion-recognition-on-iemocap)](https://paperswithcode.com/sota/multimodal-emotion-recognition-on-iemocap?p=cogmen-contextualized-gnn-based-multimodal)
6
+
7
+ **CO**ntextualized **G**NN based **M**ultimodal **E**motion recognitio**N**
8
+ ![Teaser image](./COGMEN_architecture.png)
9
+ **Picture:** *COGMEN Model Architecture*
10
+
11
+ This repository contains the official Pytorch implementation of the following paper:
12
+ > **COGMEN: COntextualized GNN based Multimodal Emotion recognitioN**<br>
13
+
14
+ > **Paper:** https://arxiv.org/abs/2205.02455
15
+
16
+ > **Authors:** Abhinav Joshi, Ashwani Bhat, Ayush Jain, Atin Vikram Singh, Ashutosh Modi<br>
17
+ >
18
+ > **Abstract:** *Emotions are an inherent part of human interactions, and consequently, it is imperative to develop AI systems that understand and recognize human emotions. During a conversation involving various people, a person’s emotions are influenced by the other speaker’s utterances and their own emotional state over the utterances. In this paper, we propose COntextualized Graph Neural Network based Multimodal Emotion recognitioN (COGMEN) system that leverages local information (i.e., inter/intra dependency between speakers) and global information (context). The proposed model uses Graph Neural Network (GNN) based architecture to model the complex dependencies (local and global information) in a conversation. Our model gives state-of-theart (SOTA) results on IEMOCAP and MOSEI datasets, and detailed ablation experiments
19
+ show the importance of modeling information at both levels*
20
+
21
+ ## Requirements
22
+
23
+ - We use PyG (PyTorch Geometric) for the GNN component in our architecture. [RGCNConv](https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.conv.RGCNConv) and [TransformerConv](https://pytorch-geometric.readthedocs.io/en/latest/modules/nn.html#torch_geometric.nn.conv.TransformerConv)
24
+
25
+ - We use [comet](https://comet.ml) for logging all our experiments and its Bayesian optimizer for hyperparameter tuning.
26
+
27
+ - For textual features we use [SBERT](https://www.sbert.net/).
28
+ ### Installations
29
+ - [Install PyTorch Geometric](https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html)
30
+
31
+ - [Install Comet.ml](https://www.comet.ml/docs/python-sdk/advanced/)
32
+ - [Install SBERT](https://www.sbert.net/)
33
+
34
+
35
+ ## Preparing datasets for training
36
+
37
+ python preprocess.py --dataset="iemocap_4"
38
+
39
+ ## Training networks
40
+
41
+ python train.py --dataset="iemocap_4" --modalities="atv" --from_begin --epochs=55
42
+
43
+ ## Run Evaluation [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1biIvonBdJWo2TiYyTiQkxZ_V88JEXa_d?usp=sharing)
44
+
45
+ python eval.py --dataset="iemocap_4" --modalities="atv"
46
+
47
+ Please cite the paper using following citation:
48
+
49
+ ## Citation
50
+ @inproceedings{joshi-etal-2022-cogmen,
51
+ title = "{COGMEN}: {CO}ntextualized {GNN} based Multimodal Emotion recognitio{N}",
52
+ author = "Joshi, Abhinav and
53
+ Bhat, Ashwani and
54
+ Jain, Ayush and
55
+ Singh, Atin and
56
+ Modi, Ashutosh",
57
+ booktitle = "Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies",
58
+ month = jul,
59
+ year = "2022",
60
+ address = "Seattle, United States",
61
+ publisher = "Association for Computational Linguistics",
62
+ url = "https://aclanthology.org/2022.naacl-main.306",
63
+ pages = "4148--4164",
64
+ abstract = "Emotions are an inherent part of human interactions, and consequently, it is imperative to develop AI systems that understand and recognize human emotions. During a conversation involving various people, a person{'}s emotions are influenced by the other speaker{'}s utterances and their own emotional state over the utterances. In this paper, we propose COntextualized Graph Neural Network based Multi- modal Emotion recognitioN (COGMEN) system that leverages local information (i.e., inter/intra dependency between speakers) and global information (context). The proposed model uses Graph Neural Network (GNN) based architecture to model the complex dependencies (local and global information) in a conversation. Our model gives state-of-the- art (SOTA) results on IEMOCAP and MOSEI datasets, and detailed ablation experiments show the importance of modeling information at both levels.",}
65
+
66
+ ## Acknowledgments
67
+ The structure of our code is inspired by [pytorch-DialogueGCN-mianzhang](https://github.com/mianzhang/dialogue_gcn).