Abstract
Standard sequence-to-sequence models often produce generic and irrelevant responses in dialogue systems due to a lack of long-term planning. We present Multiresolution Recurrent Neural Networks (MrRNNs), a framework that models dialogue at two levels of abstraction: a coarse sequence representing high-level intent or entities, and a fine-grained natural language sequence. By conditioning word generation on these coarse "plans," MrRNNs produce more coherent and goal-oriented responses. Evaluated on the Ubuntu Dialogue Corpus, MrRNNs significantly outperform state-of-the-art baselines in both automated metrics and human evaluation.
Introduction
Dialogue generation remains a significant challenge in natural language processing. While standard Recurrent Neural Networks (RNNs) and Sequence-to-Sequence (Seq2Seq) models can generate grammatically correct sentences, they often fail to maintain topical consistency over multiple turns. This "short-term memory" issue leads to generic responses like "I don't know," which lack the specific information required in technical support or goal-oriented contexts.
Human communication naturally involves a hierarchy: we typically decide on the core concepts or actions we wish to convey before selecting the specific words. Existing models struggle to capture this compositional structure, attempting to learn both high-level semantics and low-level syntax within a single hidden state.
Methodology: The MrRNN Framework
The Multiresolution RNN (MrRNN) addresses this by introducing a parallel stochastic process to model high-level "coarse" information alongside natural language. Building on the Hierarchical Recurrent Encoder-Decoder (HRED) architecture, the MrRNN utilizes two distinct sub-models:
- Coarse Sub-model: Generates a sequence of high-level tokens ($z_t$) that act as a "skeleton" for the response. These can be sequences of nouns or activity-entity pairs (e.g., "copy_activity" + "host_entity").
- Natural Language Sub-model: Generates the actual sentence ($w_t$), conditioned on both the dialogue history and the coarse tokens produced by the first sub-model.
This factorial representation allows the model to generalize better by decoupling the "what" from the "how." The system is trained to maximize the joint log-likelihood of both sequences, ensuring they remain synchronized throughout the generation process.
Experimental Setup and Results
The models were evaluated using the Ubuntu Dialogue Corpus, a dataset of technical support interactions. This domain is ideal for testing multiresolution approaches because technical solutions often involve specific entities (software names) and activities (commands).
Quantitative Performance
The MrRNN demonstrated superior performance across multiple metrics. Notably, the MrRNN (Activity-Entity) model achieved an F1 score of 11.43 for activities, nearly tripling the performance of the HRED baseline.
Human Evaluation
In blind studies, human evaluators rated MrRNN responses as significantly more fluent and relevant. On a 0-4 scale, the MrRNN (Noun) variant achieved a fluency score of 3.48, compared to 2.98 for HRED. Qualitatively, the model avoids generic replies, instead offering specific technical advice such as "try a different mirror" or "open up gedit /.bashrc."
Conclusion
By explicitly modeling high-level plans, Multiresolution RNNs bridge the gap between abstract intent and surface-level realization. While currently reliant on automated extraction for coarse sequences, future iterations could learn these abstractions end-to-end. This approach holds promise for any complex generation task requiring long-term coherence, from technical support to creative writing.
Summary updated