Introduction
Controlled Natural Language Generation (NLG) represents a significant frontier in NLP, particularly for data augmentation. The ability to generate realistic sentences with specific semantic and syntactic labels—such as a "negative sentiment" review in the "past tense"—can effectively address data scarcity in supervised learning tasks. However, existing approaches often struggle with scalability, requiring separate discriminators for each attribute, or suffer from "posterior collapse," where the model ignores control variables to produce generic output.
The Control, Generate, Augment (CGA) framework addresses these hurdles through a scalable conditional VAE architecture. By utilizing a single discriminator for multiple attributes and introducing a novel cyclical word-dropout routine, CGA produces high-quality, diverse synthetic data capable of matching the performance gains of real human-labeled data in low-resource settings.
The CGA Framework
CGA builds upon the Sentence-VAE framework, incorporating three primary innovations to ensure robust multi-attribute control and output quality.
- Single-Discriminator Scalability: Unlike models that require $K$ discriminators for $K$ attributes, CGA uses a single discriminator to predict all categorical attributes from the latent representation $z$. This design prevents architectural bloat as the number of controlled features increases.
- Cyclical Word-Dropout: To combat posterior collapse, CGA employs a cyclical dropout schedule following a cosine wave. This "breathing" mechanism forces the model to rely on the latent representation during high-dropout phases while maintaining generative capacity during low-dropout phases.
- Context-Aware Loss ($L_{CTX}$): This loss function ensures semantic consistency by measuring the similarity between the original latent vector and the latent vector of the reconstructed sentence, preserving core meaning during attribute adaptation.
Experimental Evaluation
The framework was evaluated on the YELP (restaurant reviews) and IMDB (movie reviews) benchmarks. The authors targeted three distinct attributes:
- Sentiment (Semantic): Positive vs. Negative.
- Verb Tense (Syntactic): Past vs. Present.
- Person Number (Syntactic): Singular vs. Plural.
This selection demonstrates that syntactic features can be disentangled and controlled as effectively as semantic ones.
Results and Analysis
CGA demonstrated exceptional performance in both attribute accuracy and downstream utility. On the YELP dataset, the model achieved matching accuracies of 91.1% for sentiment, 96.6% for tense, and 95.4% for person number. Human evaluations confirmed these findings, with 80% of generated sentences correctly exhibiting all three controlled attributes.
A key finding is the effectiveness of CGA for data augmentation. In low-resource scenarios (500 to 1,000 training samples), augmenting with CGA-generated data provided performance boosts nearly identical to adding the same volume of real human-written data. As shown in the figure above, CGA significantly outperformed rule-based baselines like EDA (Easy Data Augmentation). For a classifier trained on 1,000 YELP sentences, CGA-augmented data improved accuracy from 0.79 to 0.82.
Conclusion and Future Work
The CGA framework proves that synthetic data can serve as a viable substitute for real data in specialized NLP tasks. While the model currently faces limitations regarding sentence length (capped at 20 tokens) and fluency (coherence scores of 0.66), it establishes a scalable path for multi-attribute generation. Future research will focus on improving long-form coherence and investigating the independence of latent representations for naturally correlated attributes.
Summary updated