Abstract
Semi-Supervised Variational Autoencoders (SSVAEs) are widely used models for data efficient learning. In this paper, we question the adequacy of the standard design of sequence SSVAEs for the task of text classification as we exhibit two sources of overcomplexity for which we provide simplifications. These simplifications to SSVAEs preserve their theoretical soundness while providing a number of practical advantages in the semi-supervised setup where the result of training is a text classifier. These simplifications are the removal of (i) the Kullback-Liebler divergence from its objective and (ii) the fully unobserved latent variable from its probabilistic model. These changes relieve users from choosing a prior for their latent variables, make the model smaller and faster, and allow for a better flow of information into the latent variables. We compare the simplified versions to standard SSVAEs on 4 text classification tasks. On top of the above-mentioned simplification, experiments show a speed-up of 26%, while keeping equivalent classification scores. The code to reproduce our experiments is public.- Anthology ID:
- 2021.insights-1.19
- Volume:
- Proceedings of the Second Workshop on Insights from Negative Results in NLP
- Month:
- November
- Year:
- 2021
- Address:
- Online and Punta Cana, Dominican Republic
- Editors:
- João Sedoc, Anna Rogers, Anna Rumshisky, Shabnam Tafreshi
- Venue:
- insights
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 136–143
- Language:
- URL:
- https://aclanthology.org/2021.insights-1.19
- DOI:
- 10.18653/v1/2021.insights-1.19
- Cite (ACL):
- Ghazi Felhi, Joseph Le Roux, and Djamé Seddah. 2021. Challenging the Semi-Supervised VAE Framework for Text Classification. In Proceedings of the Second Workshop on Insights from Negative Results in NLP, pages 136–143, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.
- Cite (Informal):
- Challenging the Semi-Supervised VAE Framework for Text Classification (Felhi et al., insights 2021)
- PDF:
- https://preview.aclanthology.org/cschoel_rss_and_blog/2021.insights-1.19.pdf
- Code
- ghazi-f/challenging-ssvaes
- Data
- AG News, IMDb Movie Reviews