Empathy Level Alignment via Reinforcement Learning for Empathetic Response Generation

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ma, Hui, Zhang, Bo, Xu, Bo, Wang, Jian, Lin, Hongfei, Sun, Xiao
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910852697817088
author Ma, Hui
Zhang, Bo
Xu, Bo
Wang, Jian
Lin, Hongfei
Sun, Xiao
author_facet Ma, Hui
Zhang, Bo
Xu, Bo
Wang, Jian
Lin, Hongfei
Sun, Xiao
contents Empathetic response generation, aiming to understand the user's situation and feelings and respond empathically, is crucial in building human-like dialogue systems. Traditional approaches typically employ maximum likelihood estimation as the optimization objective during training, yet fail to align the empathy levels between generated and target responses. To this end, we propose an empathetic response generation framework using reinforcement learning (EmpRL). The framework develops an effective empathy reward function and generates empathetic responses by maximizing the expected reward through reinforcement learning. EmpRL utilizes the pre-trained T5 model as the generator and further fine-tunes it to initialize the policy. To align the empathy levels between generated and target responses within a given context, an empathy reward function containing three empathy communication mechanisms -- emotional reaction, interpretation, and exploration -- is constructed using pre-designed and pre-trained empathy identifiers. During reinforcement learning training, the proximal policy optimization algorithm is used to fine-tune the policy, enabling the generation of empathetic responses. Both automatic and human evaluations demonstrate that the proposed EmpRL framework significantly improves the quality of generated responses, enhances the similarity in empathy levels between generated and target responses, and produces empathetic responses covering both affective and cognitive aspects.
format Preprint
id arxiv_https___arxiv_org_abs_2408_02976
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Empathy Level Alignment via Reinforcement Learning for Empathetic Response Generation
Ma, Hui
Zhang, Bo
Xu, Bo
Wang, Jian
Lin, Hongfei
Sun, Xiao
Computation and Language
Artificial Intelligence
Empathetic response generation, aiming to understand the user's situation and feelings and respond empathically, is crucial in building human-like dialogue systems. Traditional approaches typically employ maximum likelihood estimation as the optimization objective during training, yet fail to align the empathy levels between generated and target responses. To this end, we propose an empathetic response generation framework using reinforcement learning (EmpRL). The framework develops an effective empathy reward function and generates empathetic responses by maximizing the expected reward through reinforcement learning. EmpRL utilizes the pre-trained T5 model as the generator and further fine-tunes it to initialize the policy. To align the empathy levels between generated and target responses within a given context, an empathy reward function containing three empathy communication mechanisms -- emotional reaction, interpretation, and exploration -- is constructed using pre-designed and pre-trained empathy identifiers. During reinforcement learning training, the proximal policy optimization algorithm is used to fine-tune the policy, enabling the generation of empathetic responses. Both automatic and human evaluations demonstrate that the proposed EmpRL framework significantly improves the quality of generated responses, enhances the similarity in empathy levels between generated and target responses, and produces empathetic responses covering both affective and cognitive aspects.
title Empathy Level Alignment via Reinforcement Learning for Empathetic Response Generation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2408.02976