Controlling the Risk of Conversational Search via Reinforcement Learning

Zhenduo Wang, Qingyao Ai

Introduction

In conversational search, agents face a constant tension between gathering more information and potentially annoying the user. While clarifying questions can resolve ambiguity, asking irrelevant or repetitive questions risks driving the user away. This paper, presented at WWW '21, addresses this "risk" by explicitly modeling the trade-off between the benefit of clarification and the cost of user frustration.

The Risk-Aware Framework

The researchers from the University of Utah proposed a framework that integrates three core modules to manage this trade-off:

  1. Result Retrieval Module: This module ranks candidate answers based on the current conversation context using state-of-the-art Bi-encoders and Poly-encoders.
  2. Question Retrieval Module: Similarly, this module ranks potential clarifying questions from a candidate pool.
  3. Risk Decision Module: The "brain" of the system, implemented as a Deep Q-Network (DQN). It evaluates the top-ranked answers and questions along with their confidence scores to make a binary decision: Answer or Ask.
The proposed framework for risk-aware conversational search, highlighting the Risk Decision module's role in choosing between asking a question or returning results.

Training via Reinforcement Learning

Since no "gold standard" dataset exists for when exactly to ask a question, the authors employed Reinforcement Learning. They developed a user simulator based on real conversation logs. The agent receives rewards for "good" questions (those appearing in original human logs) and penalties for "bad" questions that cause the simulated user to leave. Correct answers are rewarded based on Mean Reciprocal Rank (MRR).

Dataset and Preprocessing

The study utilizes the MSDialog dataset, containing over 35,000 customer service conversations from Microsoft community forums. The authors filtered this into a cleaned subset of 3,762 conversations, focusing on two-participant interactions with definitive resolutions (voted "best answers").

Key Insights

  • Joint Evaluation: The system argues that the decision to ask a question should not just depend on query ambiguity, but on a simultaneous comparison of the quality of available answers versus the quality of available questions.
  • User Tolerance Modeling: The agent was tested against varying levels of user patience (from 0-tolerance to 2-tolerance). It proved most effective for impatient users, where the risk of a bad question is highest.
  • Avoiding the "Clarification Trap": The DQN learns to suppress clarification for "easy" queries where a high-quality answer is already available, while taking calculated risks on "hard" queries to improve final answer ranking.

Key Results

The risk-aware agent was evaluated against several baselines: Q0A (always answer), Q1A (always ask one question), and CtxPred (a standard binary classifier).

Performance comparison across different user tolerance levels. The risk-aware model ("Ours") consistently achieves higher Recall@1 and lower decision error (Dec. err) compared to baselines.

As shown in the results table, the risk-aware agent achieved a Recall@1 of 0.7775 (using a Poly-encoder reranker), significantly outperforming both the "always answer" (0.7475) and "always ask" (0.7525) baselines. Notably, the model maintained superior performance across different user tolerance levels, demonstrating its robustness in managing conversational risk.

Limitations and Future Work

While effective, the current model relies on retrieval from a pre-defined pool of questions and answers. Future work includes integrating this risk-aware logic into generative models (like GPT-based agents) and expanding the action space beyond a simple binary choice between the top question and top answer.

Reference: Wang, Z., & Ai, Q. (2021). Controlling the Risk of Conversational Search via Reinforcement Learning. In Proceedings of the Web Conference 2021 (WWW '21).

Summary updated

BibTeX
@inproceedings{wang2021controlling,
  author = {Zhenduo Wang and Qingyao Ai},
  title = {{Controlling the Risk of Conversational Search via Reinforcement Learning}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3449893},
}
Figure