Mejora del Autoencoder Variacional para Modelado de Texto con Regularización Paso a Paso
Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation
Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation
@misc{li2020improving,
title = {Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation},
author = {Ruizhe Li and Xiao Li and Guanyi Chen and Chenghua Lin},
year = {2020},
eprint = {2011.01136},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2011.01136}
}
Li, R., Li, X., Chen, G., & Lin, C. (2020). Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.01136
LI R, LI X, CHEN G, et al. Improving Variational Autoencoder for Text Modelling with Timestep-Wise Regularisation[EB/OL]. (2020-11-02)[2026-11-29]. https://arxiv.org/abs/2011.01136.
Resumen
El Autoencoder Variacional (VAE) es un modelo popular y potente aplicado al modelado de texto para generar oraciones diversas. Sin embargo, ocurre un problema conocido como colapso posterior (o desvanecimiento de la pérdida KL) cuando el VAE se utiliza en el modelado de texto, donde el posterior aproximado colapsa hacia el prior, y el modelo ignorará completamente las variables latentes, degradándose a un modelo de lenguaje plano durante la generación de texto. Este problema es particularmente prevalente cuando se emplean modelos VAE basados en RNN para el modelado de texto. En este trabajo, proponemos una arquitectura simple y genérica llamada Timestep-Wise Regularisation VAE (TWR-VAE), que puede evitar eficazmente el colapso posterior y aplicarse a cualquier modelo VAE basado en RNN. La efectividad y versatilidad de nuestro modelo se demuestran en diferentes tareas, incluyendo el modelado de lenguaje y la generación de respuestas de diálogo.
The Variational Autoencoder (VAE) is a popular and powerful model applied to text modelling to generate diverse sentences. However, an issue known as posterior collapse (or KL loss vanishing) happens when the VAE is used in text modelling, where the approximate posterior collapses to the prior, and the model will totally ignore the latent variables and be degraded to a plain language model during text generation. Such an issue is particularly prevalent when RNN-based VAE models are employed for text modelling. In this paper, we propose a simple, generic architecture called Timestep-Wise Regularisation VAE (TWR-VAE), which can effectively avoid posterior collapse and can be applied to any RNN-based VAE models. The effectiveness and versatility of our model are demonstrated in different tasks, including language modelling and dialogue response generation.