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}.
AdaVAE: Exploring Adaptive GPT-2s in Variational Auto-Encoders for Language Modeling
AdaVAE is a VAE framework using unified GPT-2s with adaptive parameter-efficient components and Latent Attention to handle language modeling, representation modeling, and guided text generation efficiently with reduced parameters.
- Year
- 2022
- Venue
- arXiv 2022
- Authors
- 4
- Hosting
- Abstract onlyARXIV-DEFAULT
Cite
Notes
Only stored in your browser.
Attribution
- Abstract & full text
- arxiv.org/abs/2205.05862v3ARXIV-DEFAULT
- TL;DR
- Semantic Scholar