Implementations for emotion/cause recognition in conversations
Top 28.7% on sourcepulse
This repository provides implementations for various state-of-the-art models for Emotion Recognition in Conversations (ERC) and Emotion Cause Extraction (ECE). It targets researchers and developers in natural language processing and affective computing, offering a comprehensive toolkit to benchmark and advance conversational AI capabilities.
How It Works
The project implements diverse architectures, including RNN-based (DialogueRNN), Graph Neural Network-based (DialogueGCN), and Transformer-based (COSMIC) models. These methods leverage conversational context, speaker states, and inter-speaker dependencies to predict emotions. COSMIC, in particular, incorporates commonsense knowledge to address challenges like context propagation and emotion shift detection, achieving new state-of-the-art results on several benchmark datasets.
Quick Start & Requirements
conda env create -f environment.yml
and activation.train_iemocap.py
, train_dailydialog.py
) are used for training and evaluation.Highlighted Details
Maintenance & Community
The repository is associated with the declare-lab, with contributions from researchers at various institutions. Recent updates include new work on LLM IQ testing and datasets for humor and emotion cause recognition. A comprehensive reading list for ERC is also available.
Licensing & Compatibility
The repository's licensing is not explicitly stated in the README. However, the inclusion of various models and datasets suggests a focus on academic research. Commercial use compatibility would require further investigation into the specific licenses of each included model and dataset.
Limitations & Caveats
The README indicates that PyTorch Geometric can be a source of non-determinism, and specific execution commands are recommended for result reproducibility. Some models have older dependency requirements (e.g., Python 3.6.5, PyTorch 1.0, TensorFlow 1.9.0), which may pose compatibility challenges with modern environments.
1 year ago
Inactive