Abstract
Developing empathetic spoken dialogue systems typically requires large-scale datasets of spoken questions paired with empathetic text responses. Such data is scarce and difficult to curate. This paper introduces LPE (Listen, Perceive, and Express), a framework that enables Large Language Models (LLMs) to engage in empathetic spoken dialogue using only standard speech recognition and emotion datasets. By employing a two-stage training process and a specialized Chain-of-Thought (CoT) prompting strategy, LPE bridges the gap between raw audio features and nuanced conversational reasoning.
Introduction
Human-like AI requires the ability to sense a speaker's emotional state, which in speech is often conveyed through prosody—tone, pitch, and pace—rather than vocabulary alone. Existing systems generally rely on cascaded modules (ASR + SER + LLM), which suffer from latency and error propagation, or end-to-end (E2E) models that require massive, specialized datasets. The LPE framework addresses this "data bottleneck" by decomposing empathy into sub-tasks that can be learned from existing, non-dialogue speech data.
The LPE Framework
The LPE architecture integrates a WavLM encoder to process raw audio with a frozen LLaMA2-7B-chat decoder. To bridge these modalities, the system utilizes two trainable components: a Subsampler Adapter and a Multiscale Adapter.
The Subsampler Adapter maps high-dimensional audio features to content embeddings, while the Multiscale Adapter extracts emotional cues to form emotion embeddings. By keeping the LLM parameters frozen, the model retains its pre-existing reasoning and conversational capabilities while gaining the ability to "hear" and "feel" the input.
Training Methodology
LPE is trained in two distinct stages to align speech features with the LLM's text space without requiring explicit dialogue pairs:
- Stage 1 (Semantic Alignment): The model is trained on the LibriSpeech dataset (960 hours) to map audio features to text, effectively learning to "listen" (ASR).
- Stage 2 (Emotion Alignment): Using labeled emotion datasets like IEMOCAP and MEAD, the model learns to "perceive" emotional nuances. Multitask learning is employed here—replaying ASR data alongside emotion data—to prevent "catastrophic forgetting" of transcription skills.
Chain-of-Thought Prompting Strategy
A core innovation of this work is the use of a customized Chain-of-Thought (CoT) prompt during inference. Since the model is not trained on explicit spoken QA pairs, the CoT prompt guides the frozen LLM to process the input sequentially: Listen (transcribe), Perceive (identify emotion), and Express (generate response).
This structured approach prevents the model from defaulting to simple transcription and ensures the final response is grounded in both the literal content and the emotional context of the speech.
Experimental Results
The LPE framework was evaluated against state-of-the-art E2E models and cascaded baselines using datasets like IEMOCAP and AlpacaTTS.
- Empathy Performance: In subjective evaluations (1-5 scale), LPE achieved an empathy score of 3.72, significantly higher than other E2E models like SALMONN (1.34) and Qwen-Audio-Chat (1.63).
- Win-Rate: Head-to-head comparisons judged by GPT-4 showed that LPE's responses were preferred over cascaded baselines (Whisper + Emotion2vec + LLaMA2) for their emotional depth and quality.
- Generalization: Testing on the held-out IEMOCAP Session 5 confirmed the model's ability to generalize to unseen speakers and natural speech distributions.
Conclusion
The LPE framework demonstrates that empathetic spoken dialogue can emerge from decomposing the task into listening and perceiving sub-tasks. While currently limited to text-only output, future work aims to extend this to end-to-end speech-to-speech generation, allowing the AI to respond with an empathetic tone.
Summary updated