A Semi-Supervised Text Generation Framework Combining a Deep Transformer and a GAN

Shengquan Wang
2/9/2025
cs.CLcs.AI

No confident code implementation found for this paper.

Abstract

This paper introduces a framework that connects a deep generative pre-trained Transformer language model with a generative adversarial network for semi-supervised text generation. In other words, the proposed model is first pre-trained unsupervised on a large and diverse text corpus with 24 layers. Then a simple GAN architecture for synthetic text generation is introduced, and Gumbel-Softmax is applied to handle the discreteness of tokens. The paper also shows a semi-supervised approach where real data is augmented with GAN samples, which is further used to fine-tune the Transformer model on the merged dataset. Detailed theoretical derivations are also included, outlining the proof of the min-max objective function, and an extensive discussion of the Gumbel-Softmax reparameterization trick.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2025semisupervised,
  title  = {A Semi-Supervised Text Generation Framework Combining a Deep Transformer and a GAN},
  author = {Shengquan Wang},
  year   = {2025},
  eprint = {2502.05937},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.05937v1}
}

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/2502.05937.svg)](https://codeofpaper.com/paper/2502.05937)

Discussion