honglizhan / CovidET

This repo contains the dataset for the EMNLP 2022 paper "Why Do You Feel This Way? Summarizing Triggers of Emotions in Social Media Posts"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CovidET (EMNLP 2022)

This repo contains the dataset and code for our EMNLP 2022 paper. If you use this dataset, please cite our paper.

Title: Why Do You Feel This Way? Summarizing Triggers of Emotions in Social Media Posts

Authors: Hongli Zhan, Tiberiu Sosea, Cornelia Caragea, Junyi Jessy Li

@inproceedings{zhan-etal-2022-feel,
    title = "Why Do You Feel This Way? Summarizing Triggers of Emotions in Social Media Posts",
    author = "Zhan, Hongli  and
      Sosea, Tiberiu  and
      Caragea, Cornelia  and
      Li, Junyi Jessy",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.emnlp-main.642",
    pages = "9436--9453",
    abstract = "Crises such as the COVID-19 pandemic continuously threaten our world and emotionally affect billions of people worldwide in distinct ways. Understanding the triggers leading to people{'}s emotions is of crucial importance. Social media posts can be a good source of such analysis, yet these texts tend to be charged with multiple emotions, with triggers scattering across multiple sentences. This paper takes a novel angle, namely, emotion detection and trigger summarization, aiming to both detect perceived emotions in text, and summarize events and their appraisals that trigger each emotion. To support this goal, we introduce CovidET (Emotions and their Triggers during Covid-19), a dataset of {\textasciitilde}1,900 English Reddit posts related to COVID-19, which contains manual annotations of perceived emotions and abstractive summaries of their triggers described in the post. We develop strong baselines to jointly detect emotions and summarize emotion triggers. Our analyses show that CovidET presents new challenges in emotion-specific summarization, as well as multi-emotion detection in long social media posts.",
}

We release the original Reddit posts along with the annotations. Note that for privacy concerns, we anonymize the names of people as well as businesses mentioned in our dataset. The dataset can be found under the folder "data".

Abstract

Crises such as the COVID-19 pandemic continuously threaten our world and emotionally affect billions of people worldwide in distinct ways. Understanding the triggers leading to people's emotions is of crucial importance. Social media posts can be a good source of such analysis, yet these texts tend to be charged with multiple emotions, with triggers scattering across multiple sentences. This paper takes a novel angle, namely, emotion detection and trigger summarization, aiming to both detect perceived emotions in text, and summarize events that trigger each emotion. To support this goal, we introduce CovidET (Emotions and their Triggers during Covid-19), a dataset of ~1,900 English Reddit posts related to COVID-19, which contains manual annotations of perceived emotions and abstractive summaries of their triggers described in the post. We develop strong baselines to jointly detect emotions and summarize emotion triggers. Our analyses show that CovidET presents new challenges in emotion-specific summarization, as well as multi-emotion detection in long social media posts.

Code

To use the code, please first expand the Json files in the train_val_test directory by adding a Post key (along with the Reddit post text obtained using the PSAW wrapper) to each entry.

Emotion Detection:

$ TOKENIZERS_PARALLELISM=false python emotion_detection.py \
	--emotion <emotion> \
	--training_path <...> \
	--validation_path <...> \
	--test_path <...> \
	--model bert-large-uncased \
	--batch_size <...> \
	--gradient_accumulation_steps <...> \
	--results_detection <filename> \
	--learning_rate <...>

Summarization:

$ TOKENIZERS_PARALLELISM=false python emotion_summarization.py \
	--emotion <emotion> \
	--training_path <...> \
	--validation_path <...> \
	--test_path <...> \
	--model facebook/bart-large-cnn \
	--batch_size <...> \
	--gradient_accumulation_steps <...> \
	--results_summarization <filename> \
	--learning_rate <...>

Detection and Summarization:

$ TOKENIZERS_PARALLELISM=false python detection_summarization.py \
	--emotion <emotion> \
	--training_path <...> \
	--validation_path <...> \
	--test_path <...> \
	--model facebook/bart-large-cnn \
	--batch_size <...> \
	--gradient_accumulation_steps <...> \
	--results_detection_summarization <filename> \
	--learning_rate <...>

RevolverMaps Live Traffic Map

ClustrMaps Tracker

(Traffic since March 7th, 2023)

About

This repo contains the dataset for the EMNLP 2022 paper "Why Do You Feel This Way? Summarizing Triggers of Emotions in Social Media Posts"


Languages

Language:Python 59.0%Language:Jupyter Notebook 41.0%