Abstract
Training high-performing Natural Language Understanding (NLU) models typically requires extensive labeled datasets, which are costly and time-consuming to acquire. This paper investigates Consistency Training (CT), a semi-supervised learning technique, to mitigate this dependency. By leveraging vast amounts of unlabeled text, CT achieves near-state-of-the-art performance using only 0.1% of available labeled data. Furthermore, the study demonstrates that simple dropout-based augmentation serves as a highly effective and computationally efficient alternative to more complex methods like back-translation, providing a practical solution for production-scale NLU systems.
Introduction
In large-scale NLU systems, such as voice assistants, developers frequently encounter the "cold start" problem when expanding into new languages or domains. While unlabeled data is often plentiful, the manual labeling process remains a significant bottleneck. This research addresses the challenge of Domain Classification (DC)—categorizing user intents into domains like "Music" or "Shopping"—specifically in low-data scenarios. The goal is to identify a semi-supervised approach that balances high accuracy with the computational efficiency required for industrial pipelines.
Methodology: Consistency Training Framework
The core methodology centers on Consistency Training (CT). The underlying principle is that a robust model should produce consistent predictions for an original input and its slightly perturbed (augmented) version.
The training objective utilizes a multi-task loss function:
- Supervised Loss: Standard cross-entropy loss calculated on the limited labeled dataset.
- Consistency Loss: Measured via Kullback–Leibler (KL) divergence between the model’s predictions for an unlabeled instance and its augmented counterpart.
Three augmentation strategies were evaluated:
- MARUPA (Paraphrasing by User Feedback): Utilizing real-world human-generated paraphrases from user retries.
- Back-translation: Generating semantic equivalents by translating text to a pivot language and back.
- Dropout as Augmentation: A "hidden-space" technique where the same input is processed twice with different random dropout masks. This method is particularly efficient as it requires no external models or additional data pipelines.
Key Results and Insights
The experimental results highlight a massive gain in data efficiency. Consistency training allows a model trained on just 0.1% of labeled data to outperform a standard supervised baseline trained on 1% of the data—effectively a 10x multiplier on the value of labeled instances.
Performance at 0.1% Labeled Data
When restricted to only 2,998 labeled instances (0.1%):
- Baseline (Supervised only): Showed a -98.96% relative change in accuracy, failing to learn effectively.
- Dropout CT: Achieved a -12.25% relative change, coming remarkably close to the gold standard (100% labeled data) despite the drastic reduction in labels.
- Back-translation CT: Yielded the best overall performance at -9.14%.
Efficiency and Robustness
A standout finding is the effectiveness of dropout-based augmentation. While back-translation offers slightly higher accuracy, dropout is "free" in terms of computation since it is already integrated into the training process. This makes it the most viable candidate for production environments. Additionally, CT models demonstrated superior generalization to "unseen" utterances, significantly reducing False Rejection Rates (FRR) in sparse-data domains like "Music."
Limitations and Future Work
While promising, the study's scope was limited to Domain Classification in Portuguese. Future research is needed to determine if these efficiency gains extend to more granular tasks like Named Entity Recognition (NER) or Slot Filling. Furthermore, CT performance can be sensitive to hyperparameters such as Training Signal Annealing (TSA) schedules and confidence thresholds, necessitating careful tuning during deployment.
Conclusion
Consistency Training, particularly when paired with dropout-based augmentation, offers a powerful mechanism for building high-quality NLU models with minimal labeled data. By providing a 10x efficiency boost, these techniques enable faster feature deployment and improved model robustness in data-constrained environments.
Summary updated