Skip to main content
QUICK REVIEW

[Paper Review] Production Ready Chatbots: Generate if not Retrieve

Aniruddha Tammewar, Monik Pamecha|arXiv (Cornell University)|Nov 1, 2017
Topic ModelingComputer Science8 citations
TL;DR

This paper proposes a hybrid chatbot system that combines a neural conversational model with a rule-based graph dialogue system to improve scheduling reminders in real-world applications. By leveraging the high precision of the graph system and the generative flexibility of neural response generation, the hybrid model achieves higher recall and robustness than rule-based baselines, especially for complex, domain-restricted queries.

ABSTRACT

In this paper, we present a hybrid model that combines a neural conversational model and a rule-based graph dialogue system that assists users in scheduling reminders through a chat conversation. The graph based system has high precision and provides a grammatically accurate response but has a low recall. The neural conversation model can cater to a variety of requests, as it generates the responses word by word as opposed to using canned responses. The hybrid system shows significant improvements over the existing baseline system of rule based approach and caters to complex queries with a domain-restricted neural model. Restricting the conversation topic and combination of graph based retrieval system with a neural generative model makes the final system robust enough for a real world application.

Motivation & Objective

  • To address the limitations of rule-based systems in handling diverse user queries for scheduling tasks.
  • To improve recall in dialogue systems while maintaining grammatical correctness and precision.
  • To develop a production-ready chatbot that handles complex, domain-specific queries effectively.
  • To integrate neural generation with structured retrieval for enhanced robustness in real-world applications.

Proposed method

  • A rule-based graph dialogue system is used to ensure high-precision, grammatically correct responses for scheduling tasks.
  • A domain-restricted neural conversational model generates responses word-by-word, enabling flexibility across varied user inputs.
  • The hybrid architecture combines the graph system's precision with the neural model's generative capability to handle complex queries.
  • The system restricts the conversation domain to improve training efficiency and response reliability.
  • The neural model is trained on a domain-specific dataset to generate contextually appropriate responses.
  • The two components are integrated such that the neural model handles open-ended queries and the graph system ensures correctness in structured tasks.

Experimental results

Research questions

  • RQ1Can a hybrid system combining neural generation and rule-based retrieval improve performance in scheduling chatbots?
  • RQ2How does the integration of a generative model enhance recall without sacrificing response quality?
  • RQ3To what extent does domain restriction improve the robustness and reliability of a neural conversational model?
  • RQ4Can such a hybrid system outperform purely rule-based or purely neural baselines in real-world deployment?

Key findings

  • The hybrid system significantly outperforms a baseline rule-based system in handling complex and varied user queries.
  • The integration of neural generation increases recall while maintaining the grammatical accuracy and precision of the rule-based component.
  • The domain-restricted neural model enables effective response generation for scheduling tasks with high reliability.
  • The combination of retrieval-based precision and generative flexibility results in a robust system suitable for real-world applications.

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.