Efficient Dialog Policy Learning by Reasoning with Contextual Knowledge

Haodi Zhang, Zhichao Zeng, Keting Lu, Kaishun Wu, Shiqi Zhang

Abstract

This paper presents a hybrid framework for goal-oriented dialog systems that integrates Deep Reinforcement Learning (DRL) with symbolic reasoning. By utilizing Markov Logic Networks (MLN) for internal state updates and Answer Set Programming (ASP) for external contextual reasoning, the proposed system overcomes challenges of sparse rewards and lack of commonsense knowledge. Experimental results in a hotel booking domain demonstrate significantly improved learning efficiency and policy quality compared to standard DRL baselines.

Introduction

Building goal-oriented dialog agents, such as hotel booking bots, typically relies on Reinforcement Learning (RL). However, standard Deep Reinforcement Learning (DRL) faces two significant hurdles: sparse, unreliable rewards and a lack of commonsense knowledge. In many scenarios, an agent only receives feedback at the end of a long conversation, making it difficult to attribute success to specific actions. Furthermore, traditional DRL is "knowledge-blind," requiring thousands of examples to learn basic relationships that humans understand intuitively, such as the correlation between high star ratings and price.

Methodology

The authors propose a framework that bridges the gap between Knowledge Representation and Reasoning (KRR) and model-free DRL. The architecture consists of three primary pillars:

  1. Deep Reinforcement Learning (The Actor): Standard algorithms like DQN or A2C select dialog actions based on the current state.
  2. Markov Logic Networks (Internal Knowledge): MLNs handle internal factors within the dialog state (e.g., price, star rating). By using first-order logic to define dependencies, the system can probabilistically "fill in the blanks" regarding user preferences.
  3. Answer Set Programming (External Knowledge): ASP manages external contextual factors (e.g., weather, traffic). It uses nonmonotonic reasoning to handle defaults and exceptions, allowing the system to override suggestions based on environmental constraints.
Figure 1: The hybrid architecture integrating DRL with MLN for internal knowledge and ASP for external knowledge.

Experimental Setup

The framework was evaluated using the PyDial multi-domain statistical dialog simulation tool. The researchers modified the standard hotel booking domain to include a larger, more diverse database and introduced external factors like weather and traffic to test the ASP component's impact on decision-making.

Key Results and Insights

The hybrid approach was compared against several popular baselines, including A2C, DQN, ACER, and BBQN.

  • Learning Efficiency: In all tests, the "DRL + MLN + ASP" configuration reached high success rates significantly faster than standard DRL versions.
  • Policy Quality: The final success rate was consistently higher for the hybrid models. For example, in A2C experiments, the hybrid model achieved a success rate near 0.8, while the standard A2C baseline plateaued at a much lower level.
Figure 5: Success rate comparison for A2C-based models, showing the superior learning speed and final performance of the hybrid approach.
  • Robustness to Imperfect Knowledge: A critical finding was that the system does not require a perfect knowledge base. Even when provided with incomplete or slightly inaccurate rules, the hybrid agent outperformed pure RL baselines, suggesting the approach is viable for real-world applications where human-provided knowledge may be flawed.

Conclusion and Future Work

This work successfully demonstrates that treating symbolic reasoning as a guide for learning makes dialog agents more data-efficient and robust. While the results in simulated environments are promising, future research will focus on testing with real human users, automating knowledge acquisition to reduce reliance on human experts, and extending the framework to continuous domains like robotic control.

Summary updated

BibTeX
@inproceedings{zhang2022efficient,
  author = {Haodi Zhang and Zhichao Zeng and Keting Lu and Kaishun Wu and Shiqi Zhang},
  title = {{Efficient Dialog Policy Learning by Reasoning with Contextual Knowledge}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i10.21421},
}
Figure