Modeling Personalization in Continuous Space for Response Generation via Augmented Wasserstein Autoencoders

Zhangming Chan, Juntao Li, Xiaopeng Yang, Xiuying Chen, Wenpeng Hu, Dongyan Zhao, Rui Yan

Abstract

Open-domain conversational systems often struggle with generating diverse and personalized responses, frequently reverting to generic "universal" replies. This paper presents PersonaWAE, a framework that models user-level personas and utterance-level context within a continuous latent space using Augmented Wasserstein Autoencoders (WAE). By employing a dual Gaussian Mixture Model (GMM) prior and a gated decoding strategy, PersonaWAE effectively captures the multimodal nature of human conversation. Experimental results on a large-scale Weibo dataset demonstrate that PersonaWAE significantly outperforms baseline models in terms of informativeness, diversity, and personalization.

Introduction

The "universal response" problem—where chatbots generate safe but uninformative replies like "I don't know"—remains a significant hurdle in open-domain dialogue systems. While Variational Autoencoders (VAEs) have been employed to introduce latent variables for diversity, they often suffer from posterior collapse. Furthermore, existing personalization techniques typically rely on explicit user profiles or static embeddings, which are often data-hungry or privacy-invasive.

PersonaWAE addresses these issues by modeling personas in a continuous latent space. This approach allows the model to discover semantic commonalities between users even when individual interaction data is sparse, bridging the gap between generic response generation and highly specific personalization.

Methodology

PersonaWAE is built upon the Wasserstein Autoencoder (WAE) framework, which utilizes Wasserstein distance instead of KL-divergence to regularize the latent space, thereby mitigating the risk of vanishing latent variables.

The architecture of PersonaWAE, illustrating the dual encoder structure and the fusion of context and personalization priors into a unified latent variable $z_p$.

Dual Gaussian Mixture Distributions (GMDs)

A core innovation of PersonaWAE is the use of two separate GMDs as priors. One GMD captures the conversational context, while the other captures the persona of the speaker. These distributions are fused into a mixed distribution, from which a latent variable $z_p$ is sampled. This variable represents a weighted combination of the conversation's topic and the user's inherent personality.

Gated Decoding

To ensure that the persona influences the response without overshadowing the context, the model employs a gated decoder. This mechanism dynamically balances the influence of the user embedding and the current conversation state at each time step during response generation.

Experimental Setup

The model was evaluated using a large-scale dataset derived from Weibo, a Chinese social media platform. The dataset was preprocessed to include users with at least 14 utterances, resulting in a corpus of 336,342 conversation sessions. This ensures a sufficient signal for modeling individual personas.

Results and Discussion

PersonaWAE demonstrates superior performance across both automatic and human evaluation metrics.

Quantitative comparison of PersonaWAE against its ablation variants across embedding metrics and BLEU-F1.

Quantitative Performance

As shown in the table above, PersonaWAE achieved the highest BLEU-F1 (0.2350) and significantly outperformed baselines in embedding metrics, such as the Greedy score (0.5914). These results indicate that the generated responses are semantically closer to the ground truth and more informative than those produced by standard CVAE or RL-based models.

Human Evaluation

In blind human assessments, PersonaWAE was rated highest in Readability (2.33), Informativeness (2.37), and Personalization (0.66). Qualitative case studies further confirmed that the model generates distinct, persona-consistent responses for different users given the same input context, whereas baseline models often produce identical or generic replies.

Conclusion

By modeling personas in a continuous latent space and utilizing a dual GMM prior within a WAE framework, PersonaWAE effectively generates personalized and diverse responses. While the model shows some limitations in performance when the number of mixture components is increased beyond $k=3$, it represents a significant step forward in building more human-like conversational agents. Future work will explore the explicit extraction of persona traits from conversation history to further refine the accuracy of the generated identities.

Summary updated

BibTeX
@inproceedings{chan2019modeling,
  author = {Zhangming Chan and Juntao Li and Xiaopeng Yang and Xiuying Chen and Wenpeng Hu and Dongyan Zhao and Rui Yan},
  title = {{Modeling Personalization in Continuous Space for Response Generation via Augmented Wasserstein Autoencoders}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1201},
}
Figure