Enhancing Task Bot Engagement with Synthesized Open-Domain Dialog

Miaoran Li, Baolin Peng, Michel Galley, Jianfeng Gao, Zhu Zhang

Abstract

Many efforts have been made to construct dialog systems for different types of conversations, such as task-oriented dialog (TOD) and open-domain dialog (ODD). To better mimic human-level conversations that usually fuse various dialog modes, it is essential to build a system that can effectively handle both TOD and ODD and access different knowledge sources. To address the lack of available data for the fused task, we propose a framework for automatically generating dialogues that combine knowledge-grounded ODDs and TODs in various settings. Additionally, we introduce a unified model PivotBot that is capable of appropriately adopting TOD and ODD modes and accessing different knowledge sources in order to effectively tackle the fused task. Evaluation results demonstrate the superior ability of the proposed model to switch seamlessly between TOD and ODD tasks.

Introduction: The "Great Divide" in Conversational AI

Current conversational AI systems typically fall into two distinct camps: Task-Oriented Dialog (TOD) systems, which are efficient but rigid tools for specific goals like booking flights, and Open-Domain Dialog (ODD) systems, which are engaging chatbots capable of broad conversation but often lack functional utility.

Real-world human interactions are rarely so segmented. We often intersperse tasks with social "interludes"—discussing the weather while booking a taxi or asking about a cuisine's history while searching for a restaurant. Existing bots often fail when users deviate from the task script. This research addresses two primary hurdles: the scarcity of datasets that naturally mix these modes and the architectural rigidity of models that cannot switch between private databases and the open web.

Example of a fused dialogue showing transitions between open-domain chat (ODD) and task-oriented dialogue (TOD).

The Synthesis Framework

To overcome data scarcity, the authors developed a three-stage pipeline to augment standard TOD datasets with synthetic ODD segments.

The three-stage framework for synthesizing fused ODD and TOD data.
  1. ODD Initialization: The framework identifies optimal points to insert chat, such as at the start of a session or during transitions between different tasks.
  2. ODD Simulation: Using models like BlenderBot, the system simulates a conversation. A key innovation here is Target-guided Generation, which ensures the simulated user eventually mentions a keyword (e.g., "restaurant") that anchors the conversation back to the original task.
  3. ODD-to-TOD Transition: A dedicated model generates a "bridge" utterance to smoothly pivot the conversation back to the functional goal, preventing abrupt or jarring shifts.

PivotBot Architecture

PivotBot is a unified Transformer-based model designed to handle both modes within a single architecture. For every turn, it performs:

  • State Prediction: It predicts a state in the format mode:query (e.g., TOD:find_restaurant or ODD:history_of_pizza). This state acts as a switch, determining whether the system queries a private database or searches the web (using engines like Bing).
  • Grounded Generation: By combining the retrieved knowledge with the dialogue history, PivotBot generates responses that are both factually accurate and conversationally engaging.

Datasets: MultiWOZChat

The authors introduced MultiWOZChat, a new dataset enriching the gold-standard MultiWOZ 2.1 with synthesized ODD in three settings:

  • INITIAL: Chitchat at the beginning of the dialogue.
  • TRANSITION: Chitchat occurring when moving between two distinct tasks.
  • MULTIPLE: Chitchat inserted flexibly throughout the entire conversation.

Key Results and Insights

PivotBot was evaluated in a "few-shot" setting to test its efficiency. The results were compelling:

  • Superior Mode Switching: In the INITIAL setting, PivotBot achieved a combined score of 58.06, significantly outperforming TOD-only (12.26) and ODD-only (7.98) baselines.
  • Maintained Task Performance: PivotBot gained social capabilities without sacrificing functional accuracy, performing comparably to specialized task bots on success and inform rates.
  • Human Preference: Human evaluators consistently rated PivotBot higher for appropriateness and engagingness, confirming that handling brief interludes makes bots feel more helpful and human-like.

Conclusion and Future Work

While PivotBot represents a significant step toward fluid human-bot interaction, challenges remain. The reliance on external search engines introduces risks of hallucination or factual errors. Future work will focus on improving retrieval efficiency and implementing more robust safety filters to mitigate social biases inherent in large-scale pre-training data.

Summary updated

BibTeX
@inproceedings{li2023enhancing,
  author = {Miaoran Li and Baolin Peng and Michel Galley and Jianfeng Gao and Zhu Zhang},
  title = {{Enhancing Task Bot Engagement with Synthesized Open-Domain Dialog}},
  booktitle = {SIGDIAL},
  year = {2023},
  url = {https://openreview.net/forum?id=77I42RpPBO},
}
Figure