Skip to main content
QUICK REVIEW

[Paper Review] Domain Aware Neural Dialog System

Sajal Choudhary, Prerna Srivastava|arXiv (Cornell University)|Aug 2, 2017
Topic ModelingComputer Science7 references19 citations
TL;DR

This paper proposes DOM-Seq2Seq, a domain-aware neural dialog system that improves response relevance in multi-domain conversations by combining a domain classifier with domain-specific sequence-to-sequence (Seq2Seq) response generators. It uses either an ensemble or RNN-based approach to model domain transitions, achieving 77.57% domain classification accuracy and a 0.801 Word Embedding Greedy Match score, outperforming baseline Seq2Seq models.

ABSTRACT

We investigate the task of building a domain aware chat system which generates intelligent responses in a conversation comprising of different domains. The domain, in this case, is the topic or theme of the conversation. To achieve this, we present DOM-Seq2Seq, a domain aware neural network model based on the novel technique of using domain-targeted sequence-to-sequence models (Sutskever et al., 2014) and a domain classifier. The model captures features from current utterance and domains of the previous utterances to facilitate the formation of relevant responses. We evaluate our model on automatic metrics and compare our performance with the Seq2Seq model.

Motivation & Objective

  • To address the limitation of open-domain neural response generators that fail to maintain domain relevance during multi-turn conversations with topic shifts.
  • To improve response quality by incorporating both the current utterance's domain and the sequence of prior conversation domains.
  • To model domain transitions effectively, especially in conversations where domain shifts occur or are ambiguous.
  • To develop a scalable framework that combines domain classification with domain-specific response generation for improved contextual and domain-aware dialogue.

Proposed method

  • The model uses a domain classifier to predict the current utterance's domain using tf-idf features and an SVM, followed by an ensemble or RNN-based method to incorporate prior domain history.
  • An ensemble-based classifier combines the SVM’s prediction with the last three actual domains using logistic regression to predict the current domain.
  • An RNN-based classifier models long-term domain dependencies by processing a sequence of domains, with hidden states capturing conversation-level domain context.
  • Domain-specific Seq2Seq models are trained on data from Movies, Gaming, and Out-of-Domain categories to generate contextually relevant responses.
  • A re-ranker combines outputs from the domain classifier and domain-specific Seq2Seq generators to select the final domain and response, with feedback from the predicted domain to the classifier.
  • The system uses GloVe embeddings and Word Embedding Greedy Match to evaluate semantic similarity between generated and ground-truth responses.

Experimental results

Research questions

  • RQ1Can a domain-aware dialog system improve response relevance in multi-domain, multi-turn conversations?
  • RQ2How effectively can prior domain history improve the accuracy of current domain classification in ambiguous utterances?
  • RQ3Does combining domain-specific response generators with a domain classifier yield better response quality than a general-purpose Seq2Seq model?
  • RQ4Which approach—ensemble or RNN-based domain classification—better captures long-term domain dependencies in conversation sequences?

Key findings

  • The ensemble-based DOM-Seq2Seq (En-DOM-Seq2Seq) achieved 77.57% domain classification accuracy, significantly outperforming the RNN-based variant (67.8%).
  • En-DOM-Seq2Seq achieved a Word Embedding Greedy Match score of 0.801, surpassing the baseline Seq2Seq model’s score of 0.760.
  • Qualitative analysis shows that DOM-Seq2Seq generates more contextually and semantically relevant responses than the baseline Seq2Seq model.
  • The RNN-based domain classifier underperformed the ensemble method, likely due to the relatively short average conversation length in the dataset, reducing the benefit of long-term memory.
  • The re-ranker effectively integrates domain prediction and response generation, enabling the system to maintain coherence across domain shifts.
  • The model demonstrates that incorporating conversation history and domain-specific training data improves response relevance and semantic similarity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.