English

Towards a Sentiment-Aware Conversational Agent

Computation and Language 2022-07-26 v1

Abstract

In this paper, we propose an end-to-end sentiment-aware conversational agent based on two models: a reply sentiment prediction model, which leverages the context of the dialogue to predict an appropriate sentiment for the agent to express in its reply; and a text generation model, which is conditioned on the predicted sentiment and the context of the dialogue, to produce a reply that is both context and sentiment appropriate. Additionally, we propose to use a sentiment classification model to evaluate the sentiment expressed by the agent during the development of the model. This allows us to evaluate the agent in an automatic way. Both automatic and human evaluation results show that explicitly guiding the text generation model with a pre-defined set of sentences leads to clear improvements, both regarding the expressed sentiment and the quality of the generated text.

Keywords

Cite

@article{arxiv.2207.11774,
  title  = {Towards a Sentiment-Aware Conversational Agent},
  author = {Isabel Dias and Ricardo Rei and Patrícia Pereira and Luisa Coheur},
  journal= {arXiv preprint arXiv:2207.11774},
  year   = {2022}
}
R2 v1 2026-06-25T01:10:58.382Z