Introduction
Natural Language Generation (NLG) is a critical component of spoken dialogue systems, tasked with converting abstract semantic representations—known as dialogue acts—into natural, human-like utterances. Traditionally, NLG has relied on either labor-intensive handcrafted templates or statistical methods requiring expensive semantically aligned corpora. This paper presents a fully data-driven approach that leverages a gated Recurrent Neural Network (RNN) generator and a Convolutional Neural Network (CNN) reranker to produce diverse and semantically accurate responses without the need for manual alignment.
System Architecture
The Gated RNN Generator
The core of the system is a Recurrent Neural Network Language Model (RNNLM) conditioned on a control vector representing the target dialogue act. To improve generalization, the model employs delexicalization, where specific slot values (e.g., restaurant names) are replaced with generic tokens like SLOT_NAME.
A significant innovation is the introduction of a gating mechanism. This mechanism tracks the semantic information that has already been generated. As the RNN produces words corresponding to specific slots, the associated elements in the control vector "decay." This "forgetting" process ensures that the model neither omits required information nor repeats itself, effectively learning the mapping between abstract concepts and surface realizations.
Convolutional Sentence Reranking
While the RNN generator produces fluent candidates, it can occasionally suffer from semantic errors, such as "hallucinating" extra information or missing a slot. To address this, the authors implement a multi-step reranking pipeline. A key component is the CNN Reranker, which acts as a semantic validator. It scans generated candidates to verify the presence of all required semantic features.
In addition to the CNN, a backward RNN is used to ensure linguistic fluency from both directions, further refining the selection of the final output sentence.
Experimental Setup and Results
The model was evaluated using a dataset in the San Francisco restaurant domain, comprising over 5,000 human-written system utterances across 8 dialogue act types and 12 attributes.
The proposed system demonstrated superior performance across both objective and subjective metrics:
- Objective Metrics: The RNN-based model achieved a BLEU score of 0.777, significantly outperforming handcrafted baselines (0.440).
- Semantic Accuracy: By utilizing the CNN reranker, the system achieved a 0% Slot Error Rate (ERR), ensuring perfect fidelity to the input dialogue act.
- Human Evaluation: Blind preference tests showed that human judges found the RNN-generated responses to be more natural and informative than those produced by rule-based systems.
Conclusion and Future Directions
This research demonstrates that a combination of gated RNNs and CNN-based reranking can produce high-quality, stochastic language generation from unaligned data. While the current system relies on delexicalization for categorical slots, future work aims to address more complex attributes and explore transfer learning to adapt the model to new domains with minimal data. This move toward fully data-driven NLG represents a significant step away from brittle, handcrafted dialogue systems.
Summary updated