時ステップごとの正則化を用いたテキストモデリングのための変分オートエンコーダーの改善
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.