Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/EDAsPublic

Emotional Dialogue Acts corpus contains dialogue act labels for the multimodal conversational emotion datasets IEMOCAP and MELD.https://www.aclweb.org/anthology/2020.lrec-1.78/

NotificationsYou must be signed in to change notification settings

bothe/EDAs

Repository files navigation


Introduction

Emotional Dialogue Act data contains dialogue act labelsfor existing emotion multi-modal conversational datasets.

Dialogue act provides an intention and performative function in an utterance of the dialogue.For example, it can infer a user's intention by distinguishingQuestion,Answer,Request,Agree/Reject, etc.and performative functions such asAcknowledgement,Conversational-opening or -closing,Thanking, etc.

The aim is to enrich the existing multimodal conversationalemotion dataset that would help advancing conversational analysisand help to build natural dialogue systems.

We chose two popular multimodal emotion datasets:Multimodal EmotionLines Dataset (MELD) andInteractive Emotional dyadic MOtion CAPture database (IEMOCAP).

MELD contains two labels for each utterance in a dialogue:Emotions and Sentiments.

  • Emotions -- Anger, Disgust, Sadness, Joy, Neutral, Surprise and Fear.

  • Sentiments -- positive, negative and neutral.

IEMOCAP contains only emotion but at two levels:Discrete and Fine-grained Dimensional Emotions

  • Discrete Emotions: Anger, Frustration, Sadness, Joy, Excited,Neutral, Surprise and Fear.

  • Fine-grained Dimensional Emotions: Valence, Arousal and Dominance.

Analysis on EDAs

Our analysis on EDAs reveal association betweendialogue acts and emotional states in natural-conversational language.Visualizing co-occurrence of utterances with emotion statesin the particular dialogue acts, please see the graph below from IEMOCAP EDAs:

IEMOCAP Emotion

See live plots/graphs (thanks to Plot.ly):IEMOCAP Emotion Sankey,MELD Emotion Sankey, andMELD Sentiment Sankey.

or bar diagram (as in the paper):

All Combined Bars for IEMOCAP and MELD

IE: IEMOCAP, ME: MELD Emotion and MS: MELD Sentiment.

See separated bar graphs in figures:IEMOCAP Emotion Bars,MELD Emotion Bars, andMELD Sentiment Bars.

Click for the Names and statistics of annotated Dialogue Acts in EDAs

DA Dialogue Act IEMO MELD
sd Statement-non-opinion 43.97 41.63
sv Statement-opinion 19.93 09.34
qy Yes-No-Question 10.3 12.39
qw Wh-Question 7.26 6.08
b Acknowledge (Backchannel) 2.89 2.35
ad Action-directive 1.39 2.31
fc Conventional-closing 1.37 3.76
ba Appreciation or Assessment 1.21 3.72
aa Agree or Accept 0.97 0.50
nn No-Answer 0.78 0.80
ny Yes-Answer 0.75 0.88
br Signal-non-understanding 0.47 1.13
^q Quotation 0.37 0.81
na Affirmative non-yes answers 0.25 0.34
qh Rhetorical-Question 0.23 0.12
bh Rhetorical Backchannel 0.16 0.30
h Hedge 0.15 0.02
qo Open-question 0.14 0.10
ft Thanking 0.13 0.23
qy^d Declarative Yes-No-Question 0.13 0.29
bf Reformulate 0.12 0.19
fp Conventional-opening 0.12 1.19
fa Apology 0.07 0.04
fo Other Forward Function 0.02 0.05
Total 10039 13708
Number of utterances per DA in respective datasets. All values are in percentages (\%) of the total number of utterances. IEMO is for IEMOCAP.

These graphs can be generated usingread_annotated_..._data.py applications

Paper: Automated Neural Ensemble Annotation and Evaluation

"Enriching Existing Conversational Emotion Datasets with Dialogue Acts using Neural Annotators"

The article (accepted at LREC 2020) explaining these datasets can be found at -https://www.aclweb.org/anthology/2020.lrec-1.78/

Acknowledgement

This work has been performed as part of the SECURE EU Project

https://secure-robots.eu/fellows/bothe/EDAs/

Description of the .csv files

The files

  • annotated_eda_data/eda_iemocap_no_utts_dataset.csv - contains the EDAs in IEMOCAP data, without utterances.
  • annotated_eda_data/eda_meld_emotion_dataset.csv - contains the EDAs in meld data, they are staked (train, dev, test).

What else there in the files...

Click for understanding the csv files

Column NameDescription
speakerName of the speaker (in MELD) or speaker id (in IEMOCAP)
utt_idThe index of an utterance in the dialogue, starting from 0 (in Meld) or starting 0 from speaker turn (in IEMOCAP)
utteranceString of utterance.
emotionThe emotion (neutral, joy, excited, sadness, anger, surprise, fear, frustration, disgust) expressed by the speaker in the utterance.
sentimentThe sentiment (positive, neutral, negative) expressed by the speaker in the utterance (only in MELD).
eda1Emotional dialogue act label from Utterance-level 1 model.
eda2Emotional dialogue act label from Utterance-level 2 model.
eda3Emotional dialogue act label from Context 1 model.
eda4Emotional dialogue act label from Context 2 model.
eda5Emotional dialogue act label from Context 3 model.
EDAFinal emotional dialogue act as an ensemble of all models (eda1, eda2, eda3, eda4, eda5)
all_matchFlag to indicate if all EDAs are matching (eda1 = eda2 = eda3 = eda4 = eda5).
con_matchFlag to indicate EDAs matched based on context models.
matchFlag to indicate EDAs matched based on confidence ranking.

Running the scripts

In case, if you want to reproduce the python environment used for the entire project,please find theconda_env/environment.yml filewhich can be maneged via conda (anaconda or miniconda).

  1. Rundia_act_meld_ensemble.py ordia_act_mocap_ensemble.py for respective data,to generate and calculate the reliability metrics ensemble of the dialogue acts given that all the labels are stored inmodel_output_labels directory.

  2. Runread_annotated_mocap_data.py orread_annotated_meld_data.py to read, generate the the graph and and calculate the data statistics

Currently, all the predictions are available in themodel_output_labels directory, hence we skip the following.

  1. Rundia_act_meld_annotator.py ordia_act_mocap_annotator.py to annotate the datasets;given that models exists they will be updated soon.

Annotate your own conversational data: Server API

In case, you want to annotate the conversational data,please find thedialogue_act_annotator.py file,which contains a client example for sending the requests to the server APIthat takes care to generate utterance representation and make the predictions.

In case the server is not working, host your own server usingthe repositorybothe/dialogue-act-recognition.

You just need to arrangeutterances into list along with otherlists such asspeaker,utt_id andemotion(it is optional, if you have any other annotation per utterance,or just pass flagis_emotion=False inensemble_eda_annotation() function.).

This API is not fully tested, hence send the requests at your own risk!

However, it is fully automated and hosted viaUni-Hamburg, Informatik web servers.

Try to send, not more than 500 utterances, if it is above that number,server might take long to respond, hence it is recommendedto contact author [bothe] for your query.

Referring to the work

Paper explaining the process of dialogue act annotation:

-EDAs:

C. Bothe, C. Weber, S. Magg, S. Wermter.EDA: Enriching Emotional Dialogue Acts using an Ensemble of Neural Annotators.(LREC 2020)https://secure-robots.eu/fellows/bothe/EDAs/

The original work of datasets:

-IEMOCAP:

Busso, C., Bulut, M., Lee, C., Kazemzadeh, A., Mower, E., Kim, S., Chang, J. N., Lee, S., and Narayanan, S.IEMOCAP: Interactive emotional dyadic motion capture database.(Language Resources and Evaluation 2008)https://sail.usc.edu/iemocap/

-MELD:

S. Poria, D. Hazarika, N. Majumder, G. Naik, E. Cambria, R. Mihalcea.MELD: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversation.(ACL 2019)https://affective-meld.github.io/

Chen, S.Y., Hsu, C.C., Kuo, C.C. and Ku, L.W.EmotionLines: An Emotion Corpus of Multi-Party Conversations.(arXiv preprint arXiv:1802.08379 2018)


[8]ページ先頭

©2009-2025 Movatter.jp