Proactive Guidance of Multi-Turn Conversation in Industrial Search

Xiaoyu Li, Li Gao, Yiding Liu, Xiaoyang Wang, Shuaiqiang Wang, Junfeng Wang, Dawei YinarXiv 2025 · DOI

Abstract

In modern AI search assistants, users often engage in multi-turn conversations where their goals may shift or evolve. Providing "proactive guidance"—suggested follow-up questions—is crucial for helping users navigate these complex information needs. This paper presents a novel two-phase framework developed at Baidu that combines Goal-adaptive Supervised Fine-Tuning (G-SFT) with Click-oriented Reinforcement Learning (C-RL). By distilling knowledge from large models and optimizing for actual user engagement, the framework achieved a 149% relative improvement in click-through rates and a 70% reduction in latency when deployed in a large-scale industrial search engine.

Introduction

As search engines evolve into conversational AI assistants, the interaction paradigm shifts from single-query retrieval to multi-turn exploration. However, users often struggle to articulate their next steps, and their underlying intent frequently drifts during a session. Existing Large Language Models (LLMs) face significant challenges in this context:

  1. Contextual Noise: Processing long chat histories is computationally expensive and can introduce irrelevant information.
  2. Goal Drifts: Models may fail to detect when a user has moved to a new topic, providing outdated suggestions.
  3. Latency: Real-time search requires sub-second responses, which large-scale LLMs cannot easily provide.

Methodology

The proposed framework addresses these challenges through a two-phase optimization process designed for industrial scale.

Phase 1: Goal-adaptive Supervised Fine-Tuning (G-SFT)

The G-SFT phase focuses on accuracy and efficiency by managing context more effectively through two primary mechanisms:

  • Goal Adaptation Agent (GAA): Instead of passing the entire raw history, the GAA compares the current query with the previous turn to detect goal shifts. It generates a concise summary of the user's current goal. If a significant shift is detected, the agent triggers a "reset" to clear irrelevant context, reducing hallucinations and noise.
  • Knowledge Distillation: To meet industrial latency requirements, the team employed a teacher-student approach. High-quality guidance and Chain-of-Thought (CoT) reasoning were generated using GPT-4o and then distilled into a smaller, more efficient model (ERNIE Speed).

Phase 2: Click-oriented Reinforcement Learning (C-RL)

While G-SFT ensures accuracy, the C-RL phase optimizes for user engagement using a generate-rank paradigm:

  • Diverse Beam Search (DBS): The system generates a variety of candidate questions to ensure that suggestions cover multiple potential user needs rather than redundant variations of the same query.
  • Click Estimator and DPO: A specialized model ranks candidates based on predicted click-through rates. The final model is fine-tuned using Direct Preference Optimization (DPO) on real-world click data, aligning the AI's suggestions with actual human utility.

Experimental Results

The framework was evaluated using real-world data from Baidu Search, including an SFT dataset of 6,072 pairs and an RL dataset of 12,000 preference pairs. The results demonstrate that summarizing goals is more effective than maintaining full raw memory, as it reduces hallucinations and speeds up inference to approximately 1 second end-to-end.

  • Engagement: Online Click-Through Rate (CTR) jumped from 10.15% to 25.28% (a 149% relative improvement).
  • Accuracy: Offline evaluation showed an accuracy of 86.10%, significantly outperforming the baseline.
  • Speed: Inference latency was reduced by 69.55%.

Conclusion and Future Work

This research demonstrates the power of combining goal-adaptive context management with engagement-oriented reinforcement learning. While the current system excels at handling linear goal shifts, future work will focus on more sophisticated state-tracking to handle "back-and-forth" conversations where users return to previous topics. Additionally, the authors aim to explore broader metrics for long-term user satisfaction beyond immediate click-through rates.

Summary updated

BibTeX
@misc{li2025proactive,
  author = {Xiaoyu Li and Xiao Li and Li Gao and Yiding Liu and Xiaoyang Wang and Shuaiqiang Wang and Junfeng Wang and Dawei Yin},
  title = {{Proactive Guidance of Multi-Turn Conversation in Industrial Search}},
  year = {2025},
  eprint = {2505.24251},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.24251},
}
Figure