Elsevier

Neurocomputing

Volume 494, 14 July 2022, Pages 242-254
Neurocomputing

Please be polite: Towards building a politeness adaptive dialogue system for goal-oriented conversations

https://doi.org/10.1016/j.neucom.2022.04.029Get rights and content

Abstract

Politeness embalms interactions, putting the parties in conversation at ease. Even the most well-intended communication can fall through if there is a manifestation of rudeness. Complementarily, even the most angst-prone situation can be communicated with much less hurt if lathered with politeness. In this paper, we propose a novel task named as Politeness Adaptive Dialogue System (PADS) to incorporate politeness feedback of agents’ actions according to user’s mood and demands. As there is no politeness labeled conversational data available, we annotate the recently released MultiDoGO dataset having six domains with appropriate politeness labels. The proposed end-to-end dialogue system comprises of a transformer-based politeness classifier that interacts with a reinforced learning framework with four different politeness-oriented reward algorithms, forcing the agent to adapt to polite actions upon encountering the user’s dissatisfaction in the dialogue. We train and evaluate PADS by building six different user simulators, each corresponding to a domain. Quantitative and qualitative analysis show that our proposed politeness based reward algorithms improve the task success rate and reduce the dialogue length with state-of-the-art results.

Introduction

The design of intelligent assistants interacting with users in natural language ranks high in the agenda of current Natural Language Processing (NLP) research. In recent years, several conversational agents have emerged (e.g., Apple’s Siri, Microsoft’s Cortana, Google’s Allo) due to the phenomenal growth of artificial intelligence. Prior research mostly focused on supervised learning-based approaches [1], [2] for building the dialogue systems. These agents can perform simple tasks, answer factual questions, and sometimes aimlessly chit-chat with the user. However, they still lag far behind in terms of both the variety and complexity of tasks they can perform as human assistants. In particular, they lack the ability to learn from user interactions to improve and adapt to the demands of the user. Lately, Reinforcement Learning (RL) has been investigated in order to maximize user experiences to adapt to different dialogue agents, for chitchat [3], task completion [4] and information access [5].

Reinforcement learning’s ability to treat the dialog planning as a sequential decision problem and the focus on long-term rewards [6] have enhanced the performance of dialogue agents compared to the earlier systems. Progress in technology has shown significant impact in conversational systems providing dialogue agents the capability to behave in a more human-like manner [7], [8], [9], [10]. In every goal-oriented dialogue system, enhancing the user experience and providing customer satisfaction is of utmost importance.

Politeness is a virtue of humans [11], [12], and making a machine behave politely is a difficult task that has not been deeply investigated. Especially in goal-oriented dialogue systems, politeness becomes essential when we request the users for the different details needed to complete their demands. An example of generic and polite interactions between the user and the conversational agent is provided in Fig. 1. From the example, it is evident that the politeness adaptive approach by the dialogue agents is more suited to assist the aggrieved and anguished users and provide better communication with its capability to empathize with the user in a humanly manner as opposed to the non-polite system. Previously, in [13], user’s sentiment was incorporated to make the systems more user-adaptive and effective. Inspired by this, we propose to make a politeness adaptive end-to-end learning framework that can assist humans in their day-to-day chores. To achieve this goal, the agent needs to behave cordially and courteously with the users [8] i.e. a dialogue agent should empathize, appreciate, and apologize to its users as much as possible. To form smooth and engaging conversations, behaving politely with its users is important for every conversational agent [14]. Politeness, in itself, has different facets [15], [16], [17] which are difficult to inculcate in a conversational system. By incorporating politeness as shown in the example, it is evident that there is no loss of information, but the response length increases to induce the politeness quotient in the agent. In real life applications as well, the agent requires to pacify the aggrieved users or persuade the customers for products in a polite manner to ensure healthy relationship. To do this, responses tend to increase in length that is acceptable for e-commerce applications whose ultimate goal is to provide customer satisfaction and increase customer retention.

The contributions and/or key attributes of our current work are fourfold 1:

  • We propose a politeness adaptive dialogue system (PADS) that can interact with the users in a polite manner showcasing empathy. To the best of our knowledge, this is the very first attempt towards this direction;

  • Annotate MultiDoGO dataset with the fine-grained politeness information;

  • Design four dialogue policies in a RL-cum-supervised setting to ensure politeness in interactions; and

  • Thorough empirical evaluation is conducted to show that our proposed framework is capable of achieving better task success rates and shorter dialogue lengths in comparison to the strong baselines.

The remainder of the paper is organized in the following manner. We offer a brief summary of relevant work in Section II. The proposed methodology is explained in Section III. In Section IV, the dataset and experimental setup, as well as the evaluation metrics, are presented. The results, as well as the appropriate analysis, are presented in Section V. Lastly, in Section VI, we discuss future work.

Section snippets

Related work

Research on dialogues systems has recently focused on combining different modules in an end-to-end learning framework [5], [18], [19], [20], [21]. In [5], the authors have proposed a neural network-based text-in, text-out end-to-end trainable goal-oriented dialogue framework, that converts user input into two internal representations, a distributed representation generated by an intent network and a probability distribution over slot-value pairs called the belief state. Then the database

Preparing politeness oriented conversational data

We create the politeness oriented conversational data by annotating the recently released Multi-Do-Go dataset [46]. The dataset contains the conversations between an agent and customer in six domains, viz. airline, fastfood, finance, insurance, media, and software.

Politeness adaptive dialogue system

In a task-oriented dialogue setting, with each turn, user’s retention in the conversation greatly depends on the friendly, engaging, and empathetic actions of the agent. Further, a dialogue agent interacting with a large number of users must operate at scale and adapt to a user’s need autonomously. To incorporate both of these aspects, we propose an effective end-to-end RL based politeness adaptive dialogue system (PADS), where at first utterance’s politeness semantics are extracted through a

Experiments and analysis

In this section, first, we provide the experimental details of a sequence-to-sequence dialogue generator (SDG) model trained on each domain of Multi-Do-Go dataset to showcase the need of RL setting. Second, we give implementation details of our proposed framework followed by the detailed analysis of the results. In addition, we also provide human evaluation for completeness of our proposed work.

Conclusion

Politeness is essential to appropriately acknowledge, apologize and empathize with the user in any given customer based application specially in goal-oriented dialogue system. To ensure customer satisfaction and increase customer retention it is crucial to incorporate the correct politeness in dialogues systems. In this paper, we have proposed a novel task of developing a politeness adaptive dialogue system. To the best of our knowledge, this is the very first attempt that focuses on

Ethical declaration

The conversations in Multi-Do-GO are collected from online open sources. The copyright belongs to the original authors. The dataset used in this paper is used only for the purpose of academic research. The annotations performed in the dataset are solely for the proposed task and to ensure its effectiveness in real applications.

CRediT authorship contribution statement

Kshitij Mishra: Conceptualization, Data curation, Methodology, Writing - original draft. Mauajama Firdaus: Data curation, Conceptualization, Validation, Writing - original draft. Asif Ekbal: Visualization, Investigation, Supervision, Writing - review & editing.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Kshitij Mishra: He is a research scholar in the Department of Computer Science and Engineering, IIT Patna. His main area of research is Natural Language Processing with primary focus on politeness in conversations.

References (73)

  • M. Gašić et al.

    Dialogue manager domain adaptation using gaussian process reinforcement learning

    Comput. Speech Language

    (2017)
  • J.C. Acosta et al.

    Achieving rapport with turn-by-turn, user-responsive emotional coloring

    Speech Commun.

    (2011)
  • J. Schatzmann, B. Thomson, K. Weilhammer, H. Ye, S. Young, Agenda-based user simulation for bootstrapping a pomdp...
  • S. Young et al.

    Pomdp-based statistical spoken dialog systems: A review

    Proc. IEEE

    (2013)
  • J. Li, W. Monroe, A. Ritter, M. Galley, J. Gao, D. Jurafsky, Deep reinforcement learning for dialogue generation, arXiv...
  • T.-H. Wen, D. Vandyke, N. Mrksic, M. Gasic, L.M. Rojas-Barahona, P.-H. Su, S. Ultes, S. Young, A network-based...
  • P.-H. Su, P. Budzianowski, S. Ultes, M. Gasic, S. Young, Sample-efficient actor-critic reinforcement learning with...
  • H. Zhou et al.

    Emotional chatting machine: Emotional conversation generation with internal and external memory

  • H. Golchha et al.

    Courteously yours: inducing courteous behavior in customer care responses using reinforced pointer generator network

  • H. Rashkin, E.M. Smith, M. Li, Y.-L. Boureau, Towards empathetic open-domain conversation models: A new benchmark and...
  • T. Niu et al.

    Polite dialogue generation without parallel data

    Trans. Assoc. Comput. Linguistics

    (2018)
  • P. Brown et al.
    (1987)
  • C. Danescu-Niculescu-Mizil, M. Sudhof, D. Jurafsky, J. Leskovec, C. Potts, A computational approach to politeness with...
  • W. Shi, Z. Yu, Sentiment adaptive end-to-end dialog systems, arXiv preprint...
  • L. Coppock, Politeness strategies in conversation closings, Unpublished manuscript: Stanford...
  • N. Kitamura

    Adapting brown and levinson’s ‘politeness’ theory to the analysis of casual conversation, in

  • E. Stephan et al.

    Politeness and psychological distance: a construal level perspective

    J. Personality Soc. Psychol.

    (2010)
  • D. Laplante et al.

    On how things are said: Voice tone, voice intensity, verbal content, and perceptions of politeness

    J. Language Soc. Psychol.

    (2003)
  • X. Li, Y.-N. Chen, L. Li, J. Gao, A. Celikyilmaz, End-to-end task-completion neural dialogue systems, arXiv preprint...
  • B. Dhingra, L. Li, X. Li, J. Gao, Y.-N. Chen, F. Ahmed, L. Deng, Towards end-to-end reinforcement learning of dialogue...
  • J.D. Williams, K. Asadi, G. Zweig, Hybrid code networks: practical and efficient end-to-end dialog control with...
  • B. Liu, I. Lane, An end-to-end trainable neural network model with belief tracking for task-oriented dialog, arXiv...
  • L. Ren, K. Xie, L. Chen, K. Yu, Towards universal dialogue state tracking, arXiv preprint...
  • B. Hancock, A. Bordes, P.-E. Mazare, J. Weston, Learning from dialogue after deployment: Feed yourself, chatbot!, arXiv...
  • G.-L. Chao, I. Lane, Bert-dst: Scalable end-to-end dialogue state tracking with bidirectional encoder representations...
  • W. Zhu, K. Mo, Y. Zhang, Z. Zhu, X. Peng, Q. Yang, Flexible end-to-end dialogue system for knowledge grounded...
  • M. Eric, C.D. Manning, Key-value retrieval networks for task-oriented dialogue, arXiv preprint...
  • H. Wen, Y. Liu, W. Che, L. Qin, T. Liu, Sequence-to-sequence learning for task-oriented dialogue with dialogue state...
  • M. Ghazvininejad, C. Brockett, M.-W. Chang, B. Dolan, J. Gao, W.-T. Yih, M. Galley, A knowledge-grounded neural...
  • L. Qin, Y. Liu, W. Che, H. Wen, Y. Li, T. Liu, Entity-consistent end-to-end task-oriented dialogue system with kb...
  • K. Hua et al.

    Learning to detect relevant contexts and knowledge for response selection in retrieval-based dialogue systems

  • L. Qin, X. Xu, W. Che, Y. Zhang, T. Liu, Dynamic fusion network for multi-domain end-to-end task-oriented dialog, arXiv...
  • J. Wang et al.

    Dual dynamic memory network for end-to-end multi-turn task-oriented dialog systems

  • A. Madotto, C.-S. Wu, P. Fung, Mem2seq: Effectively incorporating knowledge bases into end-to-end task-oriented dialog...
  • C.-S. Wu, A. Madotto, E. Hosseini-Asl, C. Xiong, R. Socher, P. Fung, Transferable multi-domain state generator for...
  • A. Madotto, S. Cahyawijaya, G.I. Winata, Y. Xu, Z. Liu, Z. Lin, P. Fung, Learning knowledge bases with parameters for...
  • Cited by (20)

    • Affective Computing for Social Good Applications: Current Advances, Gaps and Opportunities in Conversational Setting

      2024, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    • Multi-step Prompting for Few-shot Emotion-Grounded Conversations

      2023, International Conference on Information and Knowledge Management, Proceedings
    • Being Polite: Modeling Politeness Variation in a Personalized Dialog Agent

      2023, IEEE Transactions on Computational Social Systems
    View all citing articles on Scopus

    Kshitij Mishra: He is a research scholar in the Department of Computer Science and Engineering, IIT Patna. His main area of research is Natural Language Processing with primary focus on politeness in conversations.

    Mauajama Firdaus: She is a research scholar in the Department of Computer Science and Engineering, IIT Patna. Her main area of research is Natural Language Processing and Dialogue Generation. She has published papers in various peer reviewed conferences and journals of international repute.

    Asif Ekbal: He is currently an Associate Professor in the Department of Computer Science and Engineering, IIT Patna. His research interests include Natural Language Processing, Information Extraction, Text Mining and Machine Learning applications. He is an awardee of the Best Innovative Project award from the Indian National Academy of Engineering (INAE), Visvesvaraya Young Faculty Research (YFRF) Award from the Govt. of India and JSPS Invitation Fellowship from the Govt. of Japan.

    Fully documented templates are available in the elsarticle package on CTAN.

    View full text