Elamur Research⌕
☰
home / papers / 2022 / PoliSe: Reinforcing Politeness Using User Sentiment for Customer Care Response Generation

PoliSe: Reinforcing Politeness Using User Sentiment for Customer Care Response Generation

Paper · 2022 · Mauajama Firdaus, Asif Ekbal and Pushpak Bhattacharyya

Summary

The paper addresses customer-care dialogue. A neutral, generic agent reply, such as "Send us a dm", is rewritten into a courteous one, and the kind of courtesy depends on how the customer feels. An upset customer should get apology or reassurance. A happy customer should get thanks or a greeting. Because no sentiment-labelled customer-care dialogues existed, the authors added sentiment labels to the Twitter-based Courteously Yours Customer Care Dataset (CYCCD).

Their model is a multi-task, end-to-end network built on a hierarchical Transformer:

  • a sentence encoder handles individual utterances;
  • a second Transformer encodes the dialogue context on top of it;
  • a sentiment classifier predicts the user's sentiment;
  • the decoder is initialised with that predicted sentiment plus the context.

Reinforcement-learning rewards push the output toward politeness that fits the sentiment while keeping the original content. In human evaluation, the jointly trained model beat Seq2Seq, HRED, Polite-RL, PT-TGA and PG-RL on fluency, relevance and politeness appropriateness. The work shows that politeness is not one uniform style. The right strategy depends on the listener's affective state.

Key points

  • Data: CYCCD (Golchha et al., 2019) of Twitter customer-care conversations, newly annotated with user sentiment (negative / positive / neutral).
  • Polite behaviours by sentiment: apology, assurance and empathy for negative users; appreciation and acknowledgement for positive users; greeting for neutral users.
  • Architecture:
    • hierarchical Transformer encoder-decoder with GloVe word embeddings and sine-cosine positional embeddings;
    • a BERT-based sentiment classifier;
    • task-specific RL rewards for politeness and content preservation.
  • Human evaluation (fluency / relevance / politeness appropriateness):
    • jointly trained HT + RL + SE: 4.23 / 4.17 / 75%;
    • strongest baseline, PG-RL: 4.11 / 4.06 / 67%;
    • Seq2Seq: 3.82 / 3.73 / 48%.
  • Ablation and error analysis:
    • the ladder climbs step by step: HT (65%) → HT + RL (71%) → HT + RL + SE (73%) → joint training (75%);
    • automatic metrics (BLEU-4, Rouge-L, perplexity, politeness accuracy) are reported to follow the same trend;
    • error types found: repetition or unk tokens, loss of information, and sentiment-inconsistent politeness caused by misclassified sentiment.

Interesting ideas

  • I1. Politeness is chosen as a strategy (apology, assurance, appreciation, greeting, acknowledgement) based on the listener's state, not applied as one uniform "polite" style; this explicit mapping is easy to inspect and adapt.
  • I2. Treating the generic reply as fixed content and adding only a courteous wrapper separates "what to say" from "how to say it"; a reward guards the content side.
  • I3. Courtesy acts such as apologising, reassuring, thanking and greeting are a compact label set for speech acts tied to the speaker's attitude toward the hearer.
  • I4. The error taxonomy separates fluency failures (repetition), content failures (lost information) and pragmatic failures (politeness that clashes with sentiment); the last is traced back to an upstream classifier mistake.
  • I5. The ablation adds components one at a time (hierarchy, then RL, then sentiment, then joint training) and shows each step's gain on the same human metrics.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (back): the generator could pick a politeness move from the reader's detected stance in the world model, as an explainable rule rather than a learned style vector.
  • I2 (back): in the text → graph → text compressor, content could be generated from the meaning graph first, with a separate, checkable layer adding register and courtesy that must not change the graph.
  • I3 (frames): crate prag could tag these acts in dialogue and link each one to the stance of the previous turn, giving material for implicature and irony checks (e.g. thanks after a complaint).
  • I4 (learn): evaluation could report these three classes separately and attribute pragmatic errors to the earlier pipeline stage that caused them.
  • I5 (learn): the same incremental ladder could be used when adding witness parsers or repair rules, so each component's contribution is measured rather than assumed.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Mauajama Firdaus, Asif Ekbal and Pushpak Bhattacharyya. 2022. PoliSe: Reinforcing Politeness Using User Sentiment for Customer Care Response Generation. Proceedings of the 29th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{firdaus2022polise,
  title = {{PoliSe: Reinforcing Politeness Using User Sentiment for Customer Care Response Generation}},
  author = {Mauajama Firdaus, Asif Ekbal and Pushpak Bhattacharyya},
  booktitle = {Proceedings of the 29th International Conference on Computational Linguistics},
  year = {2022},
  doi = {10.48448/4xtj-6y41},
  url = {https://doi.org/10.48448/4xtj-6y41}
}

References

8 references, 6 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Jimmy Lei Ba, Jamie Ryan Kiros, and Geoffrey E Hinton. 2016. Layer normalization. arXiv preprint arXiv:1607.06450. ↗
  2. Keith Carlson, Allen Riddell, and Daniel Rockmore. 2017. Zero-shot style transfer in text using recurrent neural networks. arXiv preprint arXiv:1711.04731. ↗
  3. Stanley Chen, Douglas H. Beeferman, and Ronald Rosenfeld. 1998. Evaluation metrics for language models. find
  4. Cristian Danescu-Niculescu-Mizil, Moritz Sudhof, Dan Jurafsky, Jure Leskovec, and Christopher Potts. 2013. A computational approach to politeness with application to social factors. arXiv preprint arXiv:1306.6078. ↗
  5. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2018. BERT: pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4171–4186.
  6. Nan Duan, Duyu Tang, Peng Chen, and Ming Zhou. 2017. Question generation for question answering. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, pages 866– 874.
  7. William Fedus, Ian Goodfellow, and Andrew M Dai. 2018. Maskgan: Better text generation via filling in the _. arXiv preprint arXiv:1801.07736. ↗
  8. Bjarke Felbo, Alan Mislove, Anders Søgaard, Iyad Rah-wan, and Sune Lehmann. 2017. Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasm. In Conference on Empirical Methods in Natural Language Processing (EMNLP). Mauajama Firdaus, Asif Ekbal, and Pushpak Bhat-

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/firdaus-2022-polise-reinforcing-politeness-user-sentiment/