Abstract
Generative Adversarial Networks (GANs) face significant challenges in text generation due to the discrete nature of tokens and the lack of stable training signals. This paper presents TG-SeqGAN, an enhanced framework that incorporates a "truth-guided" reward system and a hybrid discriminator. By combining traditional discriminator scores with semantic distance metrics relative to real data, and utilizing a parallel CNN and self-attention architecture, TG-SeqGAN achieves superior convergence rates and text quality compared to the baseline SeqGAN model.
Introduction
While GANs have seen immense success in continuous domains like image synthesis, their application to discrete text sequences is hindered by the inability to backpropagate gradients directly. The SeqGAN framework addressed this using Reinforcement Learning (RL), yet it remains plagued by training instability. Specifically, without a direct "ground truth" signal during adversarial training, generators often produce low-quality text that slows convergence. Furthermore, standard discriminators typically rely on simple Convolutional Neural Networks (CNNs), which excel at capturing local n-gram patterns but fail to grasp long-range semantic dependencies.
Proposed Methodology: TG-SeqGAN
The authors propose two primary innovations to stabilize and improve text generation: a dual-reward system and a multi-faceted discriminator.
1. Truth-Guided Reward System
In standard SeqGAN, the generator is guided solely by the discriminator's feedback (Network-Reward). TG-SeqGAN augments this with a TG-Reward (Truth-Guided), which measures the semantic similarity—using Cosine and Euclidean distances—between generated sequences and the ground truth training data. This provides a consistent "compass" for the generator, especially during early training phases.
To ensure the model learns from high-quality samples, a Sentence Credibility ($\alpha'$) threshold is introduced. Only sequences meeting this quality bar contribute significantly to the learning process.
2. The "Self_combined" Discriminator and Overall Architecture
To better evaluate text, the discriminator is redesigned with parallel branches: a CNN branch for local features and a Self-Attention branch for long-range dependencies. These features are fused via a Highway Network to preserve critical information before final classification.
Experimental Evaluation
The model was benchmarked using the MS COCO (Microsoft Common Objects in Context) dataset. Performance was measured using Negative Log-Likelihood (NLL-test) and Embedding Similarity.
Key Results
- Accelerated Convergence: TG-SeqGAN reached lower NLL-test loss values significantly faster than the original SeqGAN.
- Optimal Reward Weighting: Experiments indicated that a reward weight ($\beta$) of 0.001 provided the best balance, confirming the necessity of the truth-guided component.
- Discriminator Synergy: The parallel "Self_combined" architecture outperformed single-modality discriminators, improving text quality metrics and stabilizing the training curve.
Conclusion and Future Work
TG-SeqGAN demonstrates that anchoring RL-based text generation with semantic distance metrics and hybrid discriminator architectures can significantly mitigate GAN training issues. Future research may address the computational overhead of parallel modules and the model's performance on more complex, creative datasets beyond image captions.
Summary updated