Persona Extraction Through Semantic Similarity for Emotional Support Conversation Generation

Seunghee Han, Se Jin Park, Chae Won Kim, Yong Man Ro

Abstract

In emotional support conversations (ESC), understanding the user's background and personality—their "persona"—is critical for providing empathetic and relevant responses. However, real-world applications often lack pre-defined persona profiles. This paper presents PESS (Persona Extraction through Semantic Similarity), a framework that automatically infers user personas directly from dialogue history. By utilizing novel completeness and consistency losses based on sentence-level semantic similarity, PESS addresses the common issues of information omission and hallucination in persona extraction. Our experiments demonstrate that PESS significantly outperforms existing state-of-the-art models in extraction accuracy and improves the quality of generated emotional support responses.

1. Introduction

Meaningful emotional support requires a deep understanding of the help-seeker's context. A supporter who knows a user is a nurse or a pet owner can tailor their empathy and suggestions to the user's specific lifestyle and stressors. While many dialogue systems rely on static, pre-provided personas, practical deployment requires systems that can dynamically infer this information from the conversation itself.

Existing persona inference models often struggle with two primary challenges: incompleteness, where the model fails to capture details spread across multiple dialogue turns, and inconsistency, where the model generates details that contradict the user's actual statements. PESS is designed to bridge this gap by ensuring extracted personas are both comprehensive and factually grounded.

2. The PESS Framework

The PESS framework utilizes a BART-based architecture to extract persona sentences from dialogue history. The core innovation lies in its training objective, which moves beyond simple word-overlap metrics to focus on semantic meaning through two specialized loss functions:

2.1 Completeness Loss

To ensure the model identifies all relevant user details, the completeness loss compares generated persona sentences against ground-truth attributes. By calculating similarity at the sentence level using a Sentence Transformer, the model is penalized if any piece of information from the dialogue is missing in the output. This encourages the system to "fill in" the user profile thoroughly.

2.2 Consistency Loss

To prevent hallucinations and contradictions, the consistency loss employs a contrastive learning approach. It trains the model to distinguish between consistent and inconsistent persona sentences. The loss function pulls the embeddings of accurate generated sentences closer to the ground truth while pushing inconsistent or contradictory sentences further away in the vector space.

2.3 Response Generation (PESS-GEN)

The final system, PESS-GEN, integrates the inferred persona with the dialogue history. This combined context allows the generator to produce responses that are not only grammatically correct but also contextually appropriate for the user's specific life situation.

3. Experimental Setup

The researchers evaluated PESS using two benchmark datasets:

  • Persona-Chat: Utilized for training the persona extractor, as it contains explicit persona profiles linked to dialogues.
  • ESConv (Emotional Support Conversation): Used to evaluate the downstream impact on response generation. Since ESConv lacks explicit persona labels, it serves as a robust testbed for the model's ability to infer context in a support-seeking environment.

4. Results and Analysis

4.1 Extraction Performance

PESS demonstrated superior performance in persona extraction compared to the previous state-of-the-art model, PAL-PE. The model achieved a ROUGE-L score of 44.28 (vs. 42.97) and a BERTScore of 91.84 (vs. 91.60). These results highlight the effectiveness of using semantic similarity over exact word matching, allowing the model to recognize that phrases like "I work as a nurse's aide" and "I am a nursing assistant" convey the same persona information.

4.2 Response Quality

On the ESConv dataset, PESS-GEN outperformed baselines such as Blenderbot and MISC across BLEU, ROUGE, and Distinct-n metrics. This indicates that the responses generated using PESS-inferred personas are more diverse and human-like.

4.3 Human Evaluation

In A/B testing, human evaluators preferred PESS-GEN over the baseline PAL model 52.1% of the time, compared to only 34.4% for the baseline. Notably, PESS-GEN showed significant improvement in the "Suggestion" category, suggesting that accurate persona extraction allows the AI to offer more actionable and relevant advice to help-seekers.

5. Limitations and Future Work

While PESS represents a significant advancement, several areas for improvement remain:

  • Computational Complexity: The use of sentence transformers for calculating similarity during training increases the computational overhead compared to standard cross-entropy loss.
  • Hyperparameter Sensitivity: The model's performance is linked to a similarity threshold ($\tau$), currently fixed at 0.9, which may require tuning for different languages or domains.
  • Long-term Memory: Future research should address how inferred personas can be maintained and evolved over long-term interactions spanning multiple sessions.

6. Conclusion

PESS introduces a robust method for persona extraction by prioritizing semantic consistency and completeness. By grounding AI responses in a more accurate understanding of the user, PESS enhances the quality of emotional support, making AI-driven empathy more personalized and effective.

Summary updated

BibTeX
@inproceedings{han2024persona,
  author = {Seunghee Han and Se Jin Park and Chae Won Kim and Yong Man Ro},
  title = {{Persona Extraction Through Semantic Similarity for Emotional Support Conversation Generation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=5v109VbvtX},
}
Figure