Interactive Question Clarification in Dialogue via Reinforcement Learning

Xiang Hu, Zujie Wen, Yafang Wang, Xiaolong Li, Gerard de Melo

Abstract

Ambiguous user queries present a significant hurdle for automated dialogue systems, often accounting for nearly a third of all customer interactions. When a system cannot distinguish between multiple potential intents, it typically defaults to a costly human agent transfer. This paper introduces a reinforcement learning (RL) framework that treats question clarification as a "collection partitioning problem." By generating a diverse set of refinement labels rather than a single clarifying question, the system helps users narrow down their own intent. Experimental results from a large-scale production environment at Ant Financial demonstrate that this approach significantly improves user engagement and reduces human service workload.

The Challenge of Ambiguity

In real-world customer service dialogues, users frequently provide underspecified queries such as "How to apply" or "Credit card." Without further context, an AI cannot determine if the user wants to apply for a loan, report a lost card, or check an application status. In the authors' production logs, these vague queries represent approximately 30% of all sessions.

Traditionally, systems attempt to generate a single clarifying question. However, finding the right level of specificity is difficult; a question that is too broad leaves the user confused, while one that is too narrow may miss the user's actual goal entirely. This research shifts the paradigm from open-ended questioning to providing a menu of actionable "intent labels" that allow the user to refine their query interactively.

The interactive clarification process: (a) User provides an ambiguous query; (b) Bot suggests refinement labels; (c) User selects a label; (d) Bot provides relevant specific questions.

Methodology: Collection Partitioning via RL

The core of the proposed system is an end-to-end sequential recommendation model trained using Reinforcement Learning. The process is framed as a "collection partitioning problem," where the goal is to select a set of labels that most effectively divides the space of possible intents.

Model Architecture

The system utilizes a Seq2Seq framework. A pretrained BERT model serves as the encoder to process the ambiguous query. The decoder then suggests a sequence of labels one by one. Crucially, the decoder maintains state to ensure that subsequent suggestions are not redundant with previously selected labels.

The model architecture features a Transformer-based encoder-decoder structure. The decoder generates actions (labels) which are evaluated by a reward function based on potential intents.

The Reward Function

The RL agent is optimized using a dual-component reward function:

  1. Recall: This measures how well the suggested set of labels covers the total space of potential user intents.
  2. Information Gain (Entropy): Inspired by decision tree algorithms, this component rewards the model for choosing labels that are diverse and clearly distinguish between different intents. This prevents the model from suggesting synonyms (e.g., "Apply" and "Application") and forces it to suggest distinct categories (e.g., "Loan" and "Credit Card").

To navigate the massive search space of over 1,000 candidate labels, the authors employed Monte-Carlo Tree Search (MCTS) during training to simulate and evaluate various clarification sequences.

Key Insights

  • Diversity as a Mathematical Constraint: The inclusion of Information Gain in the reward function is vital. Without it, models tend to cluster around the most frequent labels, providing high relevance but low utility for disambiguation. Entropy-based rewards ensure the system provides a broad "partition" of the knowledge base.
  • RL vs. Supervised Learning: Standard supervised learning struggles in this domain because there is rarely a single "correct" set of labels. RL allows the model to explore multiple valid paths to find the most informative combination for any given query.

Results and Impact

The model was evaluated both offline on a dataset of 40,000 annotated ambiguous questions and online via live production traffic.

  • Performance Metrics: The RL model achieved a 57.22% recall with just six labels, nearly doubling the performance of a standard greedy baseline (32.01%).
  • User Engagement: In live A/B testing, the entropy-driven diversity reward boosted the Click-Through Rate (CTR) from 62.61% to 66.36%, indicating that users found the diverse suggestions more helpful.
  • Operational Efficiency: Most importantly, the Transferal to Human Agents (THA) rate dropped from 15.40% to 14.20%. In a high-volume environment, this 1.2% absolute reduction translates to thousands of hours of saved human labor.

Conclusion

By framing clarification as an interactive partitioning task rather than a generation task, the researchers have created a more robust and user-friendly dialogue system. While currently limited by a predefined inventory of intents, the success of this RL-based approach suggests that "collection partitioning" is a powerful framework for managing ambiguity in complex, real-world AI applications.

Summary updated

BibTeX
@inproceedings{hu2020interactive,
  author = {Xiang Hu and Zujie Wen and Yafang Wang and Xiaolong Li and Gerard de Melo},
  title = {{Interactive Question Clarification in Dialogue via Reinforcement Learning}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.coling-industry.8},
}
Figure