From Clicks to Preference: A Multi-stage Alignment Framework for Generative Query Suggestion in Conversational System

Junhao Yin, Haolin Wang, Peng Bao, Ju Xu, Yongliang WangarXiv 2025 · DOI

Researchers at ByteDance have developed a comprehensive framework to optimize how conversational AI systems suggest follow-up questions to users. By transitioning from simple click-log imitation to a sophisticated multi-stage alignment process involving probabilistic reward modeling, the team achieved a significant 34% relative increase in click-through rates (CTR) on the live platform, Cici.

Introduction

In modern conversational systems, Query Suggestion (QS) is a vital feature that predicts and suggests possible user queries based on the current dialogue context. This helps users formulate questions more efficiently and discover information they might not have considered. While Large Language Models (LLMs) excel at generating these suggestions, aligning them with actual user preferences remains a significant challenge due to the stochastic nature of user behavior.

Query suggestion interface in the Cici conversational system, showing how users can click suggested follow-up questions to continue a dialogue.

The Challenges of Query Suggestion Alignment

The authors identify three primary hurdles in aligning generative query suggestions:

  1. Noisy Signals: User clicks are inherently stochastic. Factors like positional bias (preferring the first item) or accidental clicks mean that click logs do not perfectly represent true preference.
  2. Reward Hacking: During Reinforcement Learning (RL), models may find "loopholes" to maximize rewards, such as generating repetitive or oddly formatted text that technically satisfies the reward function but degrades user experience.
  3. Out-of-Distribution (OOD) Samples: Reward models often become unreliable when encountering suggestions that differ significantly from their training data, leading to unstable training and "hallucinated" high rewards.

The Multi-stage Alignment Framework

To address these issues, the researchers proposed a four-stage pipeline designed to move from cold-start data collection to high-precision reinforcement learning.

The four-stage alignment framework: 1) Prompt Engineering, 2) Supervised Fine-tuning, 3) Preference Modeling (GaRM), and 4) Reinforcement Learning (GRPO).

1. Prompt Engineering (PE)

This initial stage serves as a cold-start phase. The system uses carefully crafted prompts to generate suggestions, allowing for the collection of preliminary user interaction data.

2. Supervised Fine-Tuning (SFT)

Rather than training directly on raw, noisy click logs, the framework employs a "teacher" model (such as Qwen-32B) to synthesize high-quality, diverse suggestion sets based on successful interactions. This distillation process creates a cleaner foundation for the model than raw user data alone.

3. Preference Modeling with GaRM

The core innovation of this framework is the Gaussian Reward Model (GaRM). Traditional reward models typically output a single scalar score. In contrast, GaRM represents user preference as a probability distribution $N(\mu, \sigma^2)$. This allows the system to capture the uncertainty inherent in user behavior; a high variance ($\sigma$) indicates contexts where user preferences are inconsistent or noisy.

4. Reinforcement Learning (RL)

The final stage utilizes Group Relative Policy Optimization (GRPO). The policy is guided by a "Composite Reward" that integrates the GaRM score with rule-based rewards (for formatting) and LLM-based rewards. To prevent the model from drifting into OOD territory, the researchers use Logged Perplexity (PPL) as a regularization term. This acts as a "tether," ensuring the model stays within the distribution where the reward model is most accurate.

Experimental Results and Impact

The framework was evaluated using a massive dataset, including 950,000 preference pairs derived from seven weeks of real-world click logs.

Online Performance

In A/B testing on the Cici platform involving millions of users, the RL-GaRM approach yielded a 34.03% relative increase in CTR over the baseline. Beyond clicks, the system improved overall user engagement, showing a +1.2% increase in user messages and a +1.16% increase in active days per user.

Safety and Robustness

The framework also significantly improved the system's ability to suppress suggestions for unsafe or inappropriate topics, with the safety success rate rising from 75.5% to 90.5%. Ablation studies confirmed that the probabilistic GaRM approach was essential; removing it led to a 36-point drop in offline quality metrics.

Conclusion

By embracing the uncertainty of user behavior through Gaussian Reward Modeling and implementing a rigorous multi-stage alignment pipeline, this research demonstrates a path forward for more intuitive and engaging conversational AI. While challenges like lexical biases and synonym fragility remain, the framework provides a robust foundation for the next generation of generative query suggestion systems.

Summary updated

BibTeX
@misc{yin2025from,
  author = {Junhao Yin and Haolin Wang and Peng Bao and Ju Xu and Yongliang Wang},
  title = {{From Clicks to Preference: A Multi-stage Alignment Framework for Generative Query Suggestion in Conversational System}},
  year = {2025},
  eprint = {2508.15811},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.15811},
}
Figure