ES4R: Speech Encoding Based on Prepositive Affective Modeling for Empathetic Response Generation
Zhuoyue Gao, Xiaohui Wang, Xiaocui Yang, Wen Zhang, Daling Wang, Shi Feng, Yifei Zhang
TL;DR
ES4R tackles the challenge of preserving affective cues in empathetic speech dialogue by introducing prepositive affective modeling prior to speech encoding. It combines intra-turn and inter-turn attention to form structured affective context, then applies speech-guided cross-modal fusion with an LLM to generate empathetic text, followed by energy-aware TTS for speech synthesis. Across AvaMERG and zero-shot MELD tests, ES4R shows improved empathy, coherence, and expressiveness, with robust performance across backbones and clear ablations validating its components. This approach demonstrates that explicitly modeling affective context before encoding can substantially enhance multimodal empathetic dialogue systems and offers practical gains for real-world conversational AI.
Abstract
Empathetic speech dialogue requires not only understanding linguistic content but also perceiving rich paralinguistic information such as prosody, tone, and emotional intensity for affective understandings. Existing speech-to-speech large language models either rely on ASR transcription or use encoders to extract latent representations, often weakening affective information and contextual coherence in multi-turn dialogues. To address this, we propose \textbf{ES4R}, a framework for speech-based empathetic response generation. Our core innovation lies in explicitly modeling structured affective context before speech encoding, rather than relying on implicit learning by the encoder or explicit emotion supervision. Specifically, we introduce a dual-level attention mechanism to capture turn-level affective states and dialogue-level affective dynamics. The resulting affective representations are then integrated with textual semantics through speech-guided cross-modal attention to generate empathetic responses. For speech output, we employ energy-based strategy selection and style fusion to achieve empathetic speech synthesis. ES4R consistently outperforms strong baselines in both automatic and human evaluations and remains robust across different LLM backbones.
