The Importance of Context for Sentiment Analysis in Dialogues

Bibliographic Details
Main Author: Carvalho, Isabel
Publication Date: 2023
Other Authors: Oliveira, Hugo Gonçalo, Silva, Catarina
Format: Article
Language: eng
Source: Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
Download full: https://hdl.handle.net/10316/114412
https://doi.org/10.1109/ACCESS.2023.3304633
Summary: Sentiment Analysis (SA) can be applied to dialogues to determine the emotional tone throughout the conversation. This is beneficial for dialogue systems because it may improve humancomputer interaction. For instance, in case of negative sentiment, the system may switch to a human operator who can handle the situation more effectively. However, given that dialogues are a series of utterances, the context, including the previous text, plays a crucial role in analyzing the current sentiment. Our aim is to investigate the importance of context when monitoring the sentiment of every utterance during a conversation. To accomplish this goal, we assess sentiment analysis in dialogues with varying levels of context, specifically differing in the number and author of preceding utterances. We conduct experiments on Portuguese customer-support conversations, with each utterance manually labeled as having negative or non-negative sentiment.We test a wide range of text classification approaches, from traditional, as simplicity should not be overlooked, to more recent methods, as they are more likely to achieve better performances. Results indicate that the relevance of context varies. However, context assumes particular value in humancomputer dialogues, when considering both speakers, and in shorter human-human conversations, when focusing on the client. Moreover, the best classifier for both scenarios, based on BERT, achieves the highest scores when considering the context.
id RCAP_0127f7dea0b58f1adae6cecbb7a97e36
oai_identifier_str oai:estudogeral.uc.pt:10316/114412
network_acronym_str RCAP
network_name_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository_id_str https://opendoar.ac.uk/repository/7160
spelling The Importance of Context for Sentiment Analysis in DialoguesSentiment analysisdialogue analysiscontext awarenessnatural language processingdeep learningmachine learningSentiment Analysis (SA) can be applied to dialogues to determine the emotional tone throughout the conversation. This is beneficial for dialogue systems because it may improve humancomputer interaction. For instance, in case of negative sentiment, the system may switch to a human operator who can handle the situation more effectively. However, given that dialogues are a series of utterances, the context, including the previous text, plays a crucial role in analyzing the current sentiment. Our aim is to investigate the importance of context when monitoring the sentiment of every utterance during a conversation. To accomplish this goal, we assess sentiment analysis in dialogues with varying levels of context, specifically differing in the number and author of preceding utterances. We conduct experiments on Portuguese customer-support conversations, with each utterance manually labeled as having negative or non-negative sentiment.We test a wide range of text classification approaches, from traditional, as simplicity should not be overlooked, to more recent methods, as they are more likely to achieve better performances. Results indicate that the relevance of context varies. However, context assumes particular value in humancomputer dialogues, when considering both speakers, and in shorter human-human conversations, when focusing on the client. Moreover, the best classifier for both scenarios, based on BERT, achieves the highest scores when considering the context.This work was supported in part by the Project FLOWANCE, Co-Financed by the European Regional Development Fund (FEDER), through Portugal 2020 (PT2020) under Grant POCI-01-0247-FEDER-047022; in part by the Competitiveness and Internationalization Operational Program (COMPETE 2020), Project POWER, Co-Financed by the European Regional Development Fund (FEDER), through Portugal 2020 (PT2020) under Grant POCI-01-0247-FEDER-070365; in part by the Portuguese Recovery and Resilience Plan (PRR) through project C645008882-00000055, Center for Responsible AI; in part by the Competitiveness and Internationalization Operational Program (COMPETE 2020); in part by the National funds through Foundation for Science and Technology (FCT), within the Scope of the Project Centre for Informatics and Systems of the University of Coimbra (CISUC) under Grant UID/CEC/00326/2020; and in part by the European Social Fund, through the Regional Operational Program Centro 2020.IEEE2023info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/articlehttps://hdl.handle.net/10316/114412https://hdl.handle.net/10316/114412https://doi.org/10.1109/ACCESS.2023.3304633eng2169-3536Carvalho, IsabelOliveira, Hugo GonçaloSilva, Catarinainfo:eu-repo/semantics/openAccessreponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiainstacron:RCAAP2024-09-30T15:11:33Zoai:estudogeral.uc.pt:10316/114412Portal AgregadorONGhttps://www.rcaap.pt/oai/openaireinfo@rcaap.ptopendoar:https://opendoar.ac.uk/repository/71602025-05-29T06:07:33.513189Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologiafalse
dc.title.none.fl_str_mv The Importance of Context for Sentiment Analysis in Dialogues
title The Importance of Context for Sentiment Analysis in Dialogues
spellingShingle The Importance of Context for Sentiment Analysis in Dialogues
Carvalho, Isabel
Sentiment analysis
dialogue analysis
context awareness
natural language processing
deep learning
machine learning
title_short The Importance of Context for Sentiment Analysis in Dialogues
title_full The Importance of Context for Sentiment Analysis in Dialogues
title_fullStr The Importance of Context for Sentiment Analysis in Dialogues
title_full_unstemmed The Importance of Context for Sentiment Analysis in Dialogues
title_sort The Importance of Context for Sentiment Analysis in Dialogues
author Carvalho, Isabel
author_facet Carvalho, Isabel
Oliveira, Hugo Gonçalo
Silva, Catarina
author_role author
author2 Oliveira, Hugo Gonçalo
Silva, Catarina
author2_role author
author
dc.contributor.author.fl_str_mv Carvalho, Isabel
Oliveira, Hugo Gonçalo
Silva, Catarina
dc.subject.por.fl_str_mv Sentiment analysis
dialogue analysis
context awareness
natural language processing
deep learning
machine learning
topic Sentiment analysis
dialogue analysis
context awareness
natural language processing
deep learning
machine learning
description Sentiment Analysis (SA) can be applied to dialogues to determine the emotional tone throughout the conversation. This is beneficial for dialogue systems because it may improve humancomputer interaction. For instance, in case of negative sentiment, the system may switch to a human operator who can handle the situation more effectively. However, given that dialogues are a series of utterances, the context, including the previous text, plays a crucial role in analyzing the current sentiment. Our aim is to investigate the importance of context when monitoring the sentiment of every utterance during a conversation. To accomplish this goal, we assess sentiment analysis in dialogues with varying levels of context, specifically differing in the number and author of preceding utterances. We conduct experiments on Portuguese customer-support conversations, with each utterance manually labeled as having negative or non-negative sentiment.We test a wide range of text classification approaches, from traditional, as simplicity should not be overlooked, to more recent methods, as they are more likely to achieve better performances. Results indicate that the relevance of context varies. However, context assumes particular value in humancomputer dialogues, when considering both speakers, and in shorter human-human conversations, when focusing on the client. Moreover, the best classifier for both scenarios, based on BERT, achieves the highest scores when considering the context.
publishDate 2023
dc.date.none.fl_str_mv 2023
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/article
format article
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/10316/114412
https://hdl.handle.net/10316/114412
https://doi.org/10.1109/ACCESS.2023.3304633
url https://hdl.handle.net/10316/114412
https://doi.org/10.1109/ACCESS.2023.3304633
dc.language.iso.fl_str_mv eng
language eng
dc.relation.none.fl_str_mv 2169-3536
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.publisher.none.fl_str_mv IEEE
publisher.none.fl_str_mv IEEE
dc.source.none.fl_str_mv reponame:Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
instname:FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron:RCAAP
instname_str FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
instacron_str RCAAP
institution RCAAP
reponame_str Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
collection Repositórios Científicos de Acesso Aberto de Portugal (RCAAP)
repository.name.fl_str_mv Repositórios Científicos de Acesso Aberto de Portugal (RCAAP) - FCCN, serviços digitais da FCT – Fundação para a Ciência e a Tecnologia
repository.mail.fl_str_mv info@rcaap.pt
_version_ 1833602583986438144