Abstract: Chenguang Zhu, Michael Zeng, Xuedong Huang. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP).
2019.
TL;DR
The paper introduces NLG-LM, a multi-task learning framework that significantly improves the naturalness and fluency of Natural Language Generation (NLG) in task-oriented dialogues. By training a model to simultaneously generate responses conditioned on data and function as an unconditioned language model, the authors achieved state-of-the-art results across five major benchmarks, including a 6.1% BLEU score improvement on the Laptop dataset.
What Problem Does This Paper Address?
In task-oriented dialogue systems, the NLG component is responsible for converting a "Meaning Representation" (MR)—a structured list of facts like (name: Starbucks, wifi: yes)—into a human-readable sentence.
The challenge is a balancing act: the system must be informative (conveying all facts accurately) but also natural (sounding like a human, not a robot). While deep learning has improved the accuracy of these systems, many models still produce rigid, repetitive language because they over-rely on the input MR. The authors aim to bridge this gap by forcing the model to learn the inherent patterns and stylistic variations of human language more explicitly.
Methods
The authors propose a multi-task learning architecture based on a standard sequence-to-sequence (Seq2Seq) model with an attention mechanism. The core innovation is the "Coupling with Language Model" approach:
- The NLG Task: A standard encoder-decoder setup. The encoder processes the MR, and the decoder uses an attention mechanism to reference the MR while generating tokens.
- The LM Task: A secondary, unconditioned task where a separate GRU (Gated Recurrent Unit) in the decoder predicts the next token based only on the previous words, without access to the encoder's MR information.
- Shared Knowledge: Both tasks share the same word embedding dictionary and part of the output projection matrix.
- Joint Optimization: The model is trained on a combined loss function: $\mathcal{L} = \mathcal{L}^{NLG} + \alpha \mathcal{L}^{LM}$. By setting $\alpha = 0.5$, the model is incentivized to satisfy both the data-driven requirements of the task and the general flow of natural language.
Datasets and Evaluation
The model was evaluated on five diverse datasets covering different domains:
- E2E-NLG: A large-scale restaurant booking dataset (51.2K samples).
- RNN-LG Datasets: Four domain-specific datasets including TV (14.1K), Laptop (26.5K), Hotel (8.7K), and Restaurant (8.5K).
The authors used standard metrics like BLEU-4 and NIST to measure performance, ensuring fair comparison by using official evaluation scripts.
Key Results
NLG-LM achieved new state-of-the-art results on all five datasets:
- Laptop Dataset: Saw the most dramatic improvement, with a 6.1% jump in BLEU score over previous baselines.
- E2E-NLG: Outperformed the previous best model (Slug) by 2.2% in BLEU score and achieved a higher NIST score.
- Ablation Study: Removing the LM task (the "w/o LM" version) caused performance to drop significantly. On average, the inclusion of the language modeling task improved results by 2.4% BLEU across the board.
- Qualitative Improvement: Manual inspection of the results showed that the multi-task model produced more varied and less "robotic" sentence structures compared to baseline models.
Key Insights and Ideas
- Language Modeling as a Regularizer: The unconditioned LM task acts as a powerful regularizer. It prevents the model from becoming a simple "lookup table" for MR-to-text mappings and instead forces it to learn the statistical structure of human speech.
- Efficiency: Because the LM task does not require the computationally expensive attention mechanism, adding it only increases training time by about 23.6%. This makes it a highly efficient way to boost performance.
- No Extra Data Needed: Since the LM task uses the same target utterances as the NLG task, it provides "unsupervised" benefits without requiring any additional human-labeled data.
- Delexicalization Strategy: The authors found that keeping binary slots (like
has_internet: yes/no) in their natural form while delexicalizing proper nouns (like restaurant names) provided the best balance for the model to learn linguistic context.
Limitations and Future Work
While the results are impressive, the paper notes a few areas for further exploration. The study primarily used a fixed $\alpha = 0.5$ for the multi-task coefficient; exploring how this balance affects different domains could be beneficial. Additionally, the model still relies on delexicalization, which might face hurdles in very complex domains where entity names change the grammatical structure of the sentence. The authors suggest that this multi-task framework is general enough to be applied to other fields like text summarization or speech recognition.
Summary updated