[Paper Review] CST5: Data Augmentation for Code-Switched Semantic Parsing
CST5 proposes a data augmentation technique that fine-tunes a multilingual T5 (mT5) model on a small seed set (~100 parallel English-code-switched utterance pairs) to generate high-quality, semantically equivalent code-switched utterances from monolingual English semantic parsing data. The method achieves up to 20x data efficiency gain, matching the performance of models trained on 2,000 labeled examples using only 100 seed examples, and releases Hinglish-TOP (10k human-annotated) and 170K synthetic code-switched utterances.
Extending semantic parsers to code-switched input has been a challenging problem, primarily due to a lack of supervised training data. In this work, we introduce CST5, a new data augmentation technique that finetunes a T5 model using a small seed set ($\approx$100 utterances) to generate code-switched utterances from English utterances. We show that CST5 generates high quality code-switched data, both intrinsically (per human evaluation) and extrinsically by comparing baseline models which are trained without data augmentation to models which are trained with augmented data. Empirically we observe that using CST5, one can achieve the same semantic parsing performance by using up to 20x less labeled data. To aid further research in this area, we are also releasing (a) Hinglish-TOP, the largest human annotated code-switched semantic parsing dataset to date, containing 10k human annotated Hindi-English (Hinglish) code-switched utterances, and (b) Over 170K CST5 generated code-switched utterances from the TOPv2 dataset. Human evaluation shows that both the human annotated data as well as the CST5 generated data is of good quality.
Motivation & Objective
- To address the scarcity of labeled code-switched training data for semantic parsing in low-resource language pairs like Hindi-English.
- To develop a data augmentation method that leverages a small seed set of parallel English-code-switched utterances to generate synthetic code-switched data.
- To improve semantic parsing performance with significantly reduced human-annotated data by leveraging synthetic data generation.
- To release a large-scale, high-quality code-switched semantic parsing dataset to support future research in multilingual NLP.
Proposed method
- Fine-tune a multilingual T5 (mT5) model on a small seed set (~100) of parallel (English, code-switched) utterance pairs to learn code-switching patterns.
- Use the fine-tuned mT5 model to generate code-switched utterances from a large monolingual English semantic parsing dataset (e.g., TOPv2).
- Align the semantic parse of the original English utterance with the generated code-switched utterance to preserve label supervision.
- Apply filtering and human evaluation to ensure semantic equivalence and naturalness of generated data.
- Train and evaluate semantic parsers on both real and synthetic data to measure performance gains.
- Extend the method to other language pairs (e.g., Spanish-English) using machine translation for seed data when parallel data is unavailable.
Experimental results
Research questions
- RQ1Can a small seed set of 100 parallel English-code-switched utterances enable effective data augmentation for code-switched semantic parsing?
- RQ2How does the quality of synthetic code-switched data generated by CST5 compare to human-annotated data in terms of semantic equivalence and naturalness?
- RQ3To what extent does data augmentation using CST5 reduce the required labeled data for achieving comparable semantic parsing performance?
- RQ4Does the performance gain from CST5-generated data hold across different semantic parsing domains, especially in low-resource or complex domains like reminders?
- RQ5Can CST5 be generalized to other language pairs beyond Hindi-English, such as Spanish-English, with minimal parallel data?
Key findings
- Using only 100 seed examples, CST5-generated data enabled a model to match the performance of a model trained on 2,000 human-annotated examples, achieving a 20x reduction in data requirement.
- The XXL mT5 model fine-tuned with CST5 achieved a 25% absolute improvement in exact match (EM) accuracy compared to baseline models without data augmentation.
- Human evaluation confirmed that 89% of generated code-switched utterances were semantically equivalent to the original English utterances, and 98% were judged natural.
- Models trained with CST5-generated data saturated faster than baseline models, indicating high data efficiency and reduced sample complexity.
- On the CSTOP Spanish-English dataset, CST5 improved EM accuracy from 69.2% to 77.8% using only 100 synthetic examples, demonstrating generalization beyond Hindi-English.
- The method showed greater performance gains in complex domains like reminders (16 intents, 2.66 average intents per utterance), where data scarcity is most impactful.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.