Transformers as Neural Augmentors: Class Conditional Sentence Generation via Variational Bayes

M. Şafak Bilici, Mehmet Fatih Amasyali
5/19/2022
cs.CLcs.LG
transformer-attention

Official code: safakkbilici/Conditional-Variational-Transformer (9 stars, Python, last commit 2022-06-20).

Abstract

Data augmentation methods for Natural Language Processing tasks are explored in recent years, however they are limited and it is hard to capture the diversity on sentence level. Besides, it is not always possible to perform data augmentation on supervised tasks.

Show full abstract

To address those problems, we propose a neural data augmentation method, which is a combination of Conditional Variational Autoencoder and encoder-decoder Transformer model. While encoding and decoding the input sentence, our model captures the syntactic and semantic representation of the input language with its class condition. Following the developments in the past years on pre-trained language models, we train and evaluate our models on several benchmarks to strengthen the downstream tasks. We compare our method with 3 different augmentation techniques. The presented results show that, our model increases the performance of current models compared to other data augmentation techniques with a small amount of computation power.

View on arXivView PDF

Code Implementations(1)

Code for our paper "Transformers as Neural Augmentors: Class Conditional Sentence Generation via Variational Bayes", arXiv preprint arXiv:2205.09391, 2022.

90Python, Jupyter NotebookSep 8, 20214 years ago

Similar Papers

Cite this paper

@article{bilici2022transformers,
  title  = {Transformers as Neural Augmentors: Class Conditional Sentence Generation via Variational Bayes},
  author = {M. Şafak Bilici and Mehmet Fatih Amasyali},
  year   = {2022},
  eprint = {2205.09391},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.09391}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.09391.svg)](https://codeofpaper.com/paper/2205.09391)

Discussion