Giter Club home page Giter Club logo

cogmen's Introduction

COGMEN; Official Pytorch Implementation

PWC

COntextualized GNN based Multimodal Emotion recognitioN Teaser image Picture: COGMEN Model Architecture

This repository contains the official Pytorch implementation of the following paper:

COGMEN: COntextualized GNN based Multimodal Emotion recognitioN

Paper: https://arxiv.org/abs/2205.02455

Authors: Abhinav Joshi, Ashwani Bhat, Ayush Jain, Atin Vikram Singh, Ashutosh Modi

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 show the importance of modeling information at both levels

Requirements

  • We use PyG (PyTorch Geometric) for the GNN component in our architecture. RGCNConv and TransformerConv

  • We use comet for logging all our experiments and its Bayesian optimizer for hyperparameter tuning.

  • For textual features we use SBERT.

Installations

Preparing datasets for training

    python preprocess.py --dataset="iemocap_4"

Training networks

    python train.py --dataset="iemocap_4" --modalities="atv" --from_begin --epochs=55

Run Evaluation Open In Colab

    python eval.py --dataset="iemocap_4" --modalities="atv"

Citation

    @inproceedings{COGMEN-2022,
    title = “{COGMEN:} {CO}ntextualized {G}NN based {M}ultimodal {E}motion recognitio{N}”,
    author = {Joshi, Abhinav and Bhat, Ashwani and Jain, Ayush and Singh, Atin Vikram and Modi, Ashutosh},
    booktitle = "Proceedings of the 2022 Conference of the North {A}merican Chapter of the Association for Computational Linguistics: Human Language Technologies, {NAACL-HLT}",
    month = jul,
    year = “2022”,
    address = "Seattle, Washington",
    publisher = "Association for Computational Linguistics",
    }

Acknowledgments

The structure of our code is inspired by pytorch-DialogueGCN-mianzhang.

cogmen's People

Contributors

iabhinavjoshi avatar ashwani-bhat avatar exploration-lab 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.