Personalized Dialogue Generation with Persona-Adaptive Attention

Qiushi Huang, Yu Zhang, Tom Ko, Xubo Liu, Bo Wu +2 more
10/27/2022
cs.CL

Official code: hqsiswiliam/persona-adaptive-attention (26 stars, Python, last commit 2023-10-13).

Abstract

Persona-based dialogue systems aim to generate consistent responses based on historical context and predefined persona. Unlike conventional dialogue generation, the persona-based dialogue needs to consider both dialogue context and persona, posing a challenge for coherent training.

Show full abstract

Specifically, this requires a delicate weight balance between context and persona. To achieve that, in this paper, we propose an effective framework with Persona-Adaptive Attention (PAA), which adaptively integrates the weights from the persona and context information via our designed attention. In addition, a dynamic masking mechanism is applied to the PAA to not only drop redundant information in context and persona but also serve as a regularization mechanism to avoid overfitting. Experimental results demonstrate the superiority of the proposed PAA framework compared to the strong baselines in both automatic and human evaluation. Moreover, the proposed PAA approach can perform equivalently well in a low-resource regime compared to models trained in a full-data setting, which achieve a similar result with only 20% to 30% of data compared to the larger models trained in the full-data setting. To fully exploit the effectiveness of our design, we designed several variants for handling the weighted information in different ways, showing the necessity and sufficiency of our weighting and masking designs.

View on arXivView PDF

Code Implementations(1)

260PythonNov 30, 20223 years ago

Similar Papers

Cite this paper

@article{huang2022personalized,
  title  = {Personalized Dialogue Generation with Persona-Adaptive Attention},
  author = {Qiushi Huang and Yu Zhang and Tom Ko and Xubo Liu and Bo Wu and Wenwu Wang and Lilian Tang},
  year   = {2022},
  eprint = {2210.15088},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.15088}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.15088.svg)](https://codeofpaper.com/paper/2210.15088)

Discussion