CatVRNN:通过多任务学习生成类别文本
CatVRNN: Generating Category Texts via Multi-task Learning
摘要:
控制模型生成不同类别的文本是一项具有挑战性的任务,正受到越来越多的关注。最近,生成对抗网络(GANs)在类别文本生成方面表现出了很好的效果。然而,由GANs生成的文本通常遭受模式坍塌和训练不稳定的问题。为了避免上述问题,在这项研究中,受多任务学习的启发,提出了一种新的模型,称为类别感知变分递归神经网络(CatVRNN)。在该模型中,生成和分类任务被同时训练,以生成不同类别的文本。当分类任务合适时,使用多任务学习可以提高生成文本的质量。此外,提出了一个函数来初始化CatVRNN的隐藏状态,以强制模型生成特定类别的文本。在三个数据集上的实验结果表明,该模型在生成文本的多样性方面优于现有的基于GAN的文本生成方法。
英文摘要:
Controlling the model to generate texts of different categories is a challenging task that is receiving increasing attention. Recently, generative adversarial networks (GANs) have shown promising results for category text generation. However, the texts generated by GANs usually suffer from problems of mode collapse and training instability. To avoid the above problems, in this study, inspired by multi-task learning, a novel model called category-aware variational recurrent neural network (CatVRNN) is proposed. In this model, generation and classification tasks are trained simultaneously to generate texts of different categories. The use of multi-task learning can improve the quality of the generated texts, when the classification task is appropriate. In addition, a function is proposed to initialize the hidden state of the CatVRNN to force the model to generate texts of a specific category. Experimental results on three datasets demonstrate that the model can outperform state-of-the-art text generation methods based on GAN in terms of diversity of generated texts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。