[Paper Review] Neural Machine Translation For Paraphrase Generation
This paper proposes a neural machine translation (NMT)-based approach to automatically generate paraphrases for training data in Alexa skill development, using a sequence-to-sequence model with bidirectional LSTMs and GloVe embeddings. By fine-tuning an encoder on out-of-domain data and applying slot copying, the method significantly improves intent classification and named entity recognition accuracy on unseen skills, reducing manual annotation burden.
Training a spoken language understanding system, as the one in Alexa, typically requires a large human-annotated corpus of data. Manual annotations are expensive and time consuming. In Alexa Skill Kit (ASK) user experience with the skill greatly depends on the amount of data provided by skill developer. In this work, we present an automatic natural language generation system, capable of generating both human-like interactions and annotations by the means of paraphrasing. Our approach consists of machine translation (MT) inspired encoder-decoder deep recurrent neural network. We evaluate our model on the impact it has on ASK skill, intent, named entity classification accuracy and sentence level coverage, all of which demonstrate significant improvements for unseen skills on natural language understanding (NLU) models, trained on the data augmented with paraphrases.
Motivation & Objective
- To reduce the manual annotation burden in training Alexa skill natural language understanding (NLU) models by automatically generating diverse, human-like training examples through paraphrasing.
- To improve intent classification (IC) and named entity recognition (NER) performance on unseen skills by augmenting training data with model-generated paraphrases.
- To develop a flexible, end-to-end neural approach that leverages out-of-domain pretraining while preserving slot information in generated paraphrases.
- To address the challenge of low coverage in skill grammar examples by generating semantically equivalent, diverse utterances for the same intent and slot structure.
Proposed method
- The model uses an encoder-decoder architecture with bidirectional LSTMs to encode source sentences into a context vector and decode them into paraphrases.
- The encoder is pre-trained on a large out-of-domain English corpus and fine-tuned on in-domain Alexa data to improve representation learning.
- GloVe word embeddings are used to reduce vocabulary size and improve robustness to rare words and synonyms.
- A slot copying mechanism is applied post-decoding to preserve entities like cities and numbers in paraphrased outputs.
- Left-to-right beam search with n-best decoding is used during inference to generate diverse paraphrase hypotheses.
- The model is trained to maximize the log-likelihood of target sequences given source inputs, using cross-entropy loss.
Experimental results
Research questions
- RQ1Can a neural machine translation model effectively generate high-quality paraphrases for in-domain conversational data in the Alexa skill domain?
- RQ2To what extent does data augmentation with model-generated paraphrases improve intent classification and named entity recognition performance on unseen skills?
- RQ3How does pre-training on out-of-domain data and fine-tuning on in-domain data affect the quality and diversity of generated paraphrases?
- RQ4What is the impact of slot copying mechanisms on preserving semantic and structural fidelity in generated paraphrases?
- RQ5How does the model perform in terms of grammar and lexical diversity compared to rule-based or statistical paraphrasing methods?
Key findings
- The model improved intent classification accuracy by up to 44.1% and named entity recognition by 9.6% on unseen skills when using data augmented with paraphrases.
- The best-performing configuration (fine-tuned encoder with fixed encoder) achieved a 15.9% relative improvement in intent classification and 17.9% improvement in NER over the baseline.
- Even without a copying mechanism, the model generated grammatically correct sentences with no unknown words, indicating strong generalization on in-domain data.
- The model produced paraphrases that preserved intent and slot structure, even when entities were interchanged, which did not harm training due to consistent slot labeling.
- The use of out-of-domain pretraining significantly enhanced representation learning, especially given the limited in-domain data.
- The model demonstrated robustness to noise, suggesting that paraphrase quality does not need to be perfect to improve downstream NLU performance.
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.