Abstract
Generative Adversarial Networks (GANs) for text generation frequently encounter challenges related to sparse feedback and mode collapse. Traditional discriminators evaluate only complete sentences, providing a single binary signal that fails to pinpoint specific errors within a sequence. This paper proposes an Adversarial Sub-sequence mechanism that segments sequences into multiple sub-sequences for individual evaluation. This approach provides denser, more granular feedback to the generator, significantly reducing mode collapse and improving the quality of generated text. Experimental results across synthetic and real-world datasets demonstrate that integrating this mechanism into existing architectures like SeqGAN, LeakGAN, and RelGAN leads to state-of-the-art performance.
Introduction: The Challenge of Sparse Feedback
While GANs have revolutionized image synthesis, their application to discrete text generation remains difficult. A primary hurdle is feedback sparsity. In a standard setup, a discriminator provides a single score for a completed sentence (e.g., 20 words). This binary feedback is insufficient for two reasons:
- Lack of Granularity: The generator cannot discern which specific parts of a sequence contributed to a "fake" classification.
- Mode Collapse: Limited feedback often drives the generator toward a few "safe" patterns that consistently fool the discriminator, resulting in repetitive and non-diverse output.
The authors address these issues by providing the generator with more informative guidance throughout the sequence construction process.
Methodology: Adversarial Sub-sequence Evaluation
The core innovation is the segmentation of the generated sequence $X_{1:T}$ into multiple sub-sequences (e.g., $X_{1:1}, X_{1:2}, \dots, X_{1:T}$). The discriminator $D_\phi$ is then tasked with a multi-task objective: predicting the authenticity of each individual segment.
Key Technical Advantages
- Replacing Monte Carlo (MC) Search: Traditional models like SeqGAN rely on expensive MC sampling to estimate rewards for partial sequences. Direct evaluation of sub-sequences by the discriminator serves as a more efficient proxy, reducing both computational overhead and gradient variance.
- Simplified Implementation: To maintain efficiency, the authors introduce a "Simplified Method" that evaluates only two segments: the full sequence and a sub-sequence at the average sentence length ($T_{ave}$) of the training corpus.
- Model Agnostic Framework: The mechanism is designed to be integrated into various GAN architectures, including RL-based (SeqGAN) and continuous approximation-based models (RelGAN).
Experimental Results
The proposed approach was evaluated on synthetic data (generated by an LSTM "Oracle"), the COCO Image Captions dataset, and the EMNLP2017 WMT News dataset.
Quantitative Performance
The improved models (prefixed with "Imp-") showed consistent gains in both quality (BLEU scores) and diversity ($NLL_{gen}$). Notably, the method breaks the typical trade-off where higher quality usually comes at the cost of lower diversity.
As shown in the table above, Imp-RelGAN(10) achieved a BLEU-2 score of 0.879, significantly outperforming the baseline RelGAN. Furthermore, the $NLL_{gen}$ for Imp-LeakGAN dropped to 0.584, indicating a substantial improvement in the diversity of generated sequences compared to the standard LeakGAN.
Synthetic and Human Evaluation
On synthetic sequences of length 40, Imp-RelGAN achieved an $NLL_{oracle}$ of 5.920, compared to 6.765 for the baseline. Human evaluation via a Turing test further validated these results, with Imp-RelGAN receiving a score of 0.54, the highest among all tested models.
Discussion and Future Work
By rewarding the generator for correctly constructing the beginning and middle of sentences, the Adversarial Sub-sequence mechanism effectively alleviates long-distance dependency issues and vanishing gradients. However, challenges remain regarding the coordination of convergence speeds for different sub-sequence lengths and the sensitivity of hyperparameters like the "temperature" parameter. Future research may explore applying this segmented evaluation logic to other domains, such as evaluating sub-regions in image generation tasks.
Summary updated