arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.05862cs.CL
收藏

AdaVAE:探索语言建模的变分自动编码器中的自适应GPT-2

AdaVAE: Exploring Adaptive GPT-2s in Variational Auto-Encoders for Language Modeling

Tsinghua University(清华大学)

Haoqin Tu, Zhongliang Yang, Jinshuai Yang, Yongfeng Huang

摘要:

变分自动编码器(VAE)已经成为同时实现自然语言的表示学习和生成的事实上的学习范式。然而,现有的基于VAE的语言模型要么采用基本的RNN,这对于处理多任务情况下的复杂工作来说并不强大,要么为任何下游任务微调两个预训练的语言模型(PLM),这是对资源的巨大消耗。在本文中,我们提出了第一个VAE框架授权自适应GPT-2(AdaVAE)。与现有系统不同的是,我们使用GPT-2将VAE模型的编码器和解码器与自适应参数高效组件统一起来,并进一步引入潜在注意操作以更好地从Transformer模型构建潜在空间。多个维度的实验验证了AdaVAE能够在三个相关任务(语言建模、表征建模和引导文本生成)中有效地组织语言,即使训练中激活的参数少于$15\%$。我们的代码可在\url{https://github.com/ImKeTT/AdaVAE}上找到。

英文摘要:

Variational Auto-Encoder (VAE) has become the de-facto learning paradigm in achieving representation learning and generation for natural language at the same time. Nevertheless, existing VAE-based language models either employ elementary RNNs, which is not powerful to handle complex works in the multi-task situation, or fine-tunes two pre-trained language models (PLMs) for any downstream task, which is a huge drain on resources. In this paper, we propose the first VAE framework empowered with adaptive GPT-2s (AdaVAE). Different from existing systems, we unify both the encoder\&decoder of the VAE model using GPT-2s with adaptive parameter-efficient components, and further introduce Latent Attention operation to better construct latent space from transformer models. Experiments from multiple dimensions validate that AdaVAE is competent to effectively organize language in three related tasks (language modeling, representation modeling and guided text generation) even with less than $15\%$ activated parameters in training. Our code is available at \url{https://github.com/ImKeTT/AdaVAE}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑