단계별 정규화를 통한 텍스트 모델링을 위한 변분 자동인코더 개선
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.
초록
변분 자동인코더 (VAE) 는 다양한 문장 생성을 위해 텍스트 모델링에 널리 사용되고 강력한 모델이다. 그러나 VAE 를 텍스트 모델링에 적용할 때 발생하는 후방 분포 붕괴 (또는 KL 손실 소실) 문제에서는 근사 후방 분포가 사전 분포로 붕괴되어 모델이 잠재 변수를 완전히 무시하고 텍스트 생성 시 평범한 언어 모델로 저하된다. 이러한 문제는 RNN 기반 VAE 모델이 텍스트 모델링에 사용될 때 특히 빈번하게 발생한다. 본 논문에서는 후방 분포 붕괴를 효과적으로 피할 수 있으며 모든 RNN 기반 VAE 모델에 적용 가능한 간단한 일반적 구조인 시간 단계별 정규화 VAE (TWR-VAE) 를 제안한다. 본 모델의 효과성과 보편성은 언어 모델링 및 대화 응답 생성 등 다양한 작업에서 입증되었다.
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.