ConvSDG: Session Data Generation for Conversational Search

Fengran Mo, Bole Yi, Kelong Mao, Chen Qu, Kaiyu Huang, Jian-Yun Nie

Abstract

Conversational search represents a shift from keyword-based retrieval to multi-turn, context-dependent interactions. However, the development of effective Conversational Dense Retrievers (CDR) is hindered by a significant scarcity of high-quality, human-annotated session data. This paper presents ConvSDG, a novel framework that leverages Large Language Models (LLMs) to generate synthetic session data. By employing both unsupervised dialogue-level generation and semi-supervised query-level augmentation, ConvSDG provides a scalable solution to the data bottleneck. Experimental results across TREC CAsT and TopiOCQA benchmarks demonstrate that ConvSDG significantly outperforms existing baselines, even surpassing models trained on limited human-labeled datasets in certain scenarios.

Introduction

In conversational search, users interact with systems through a series of related queries, often relying on ellipsis or coreference (e.g., asking "How do I care for it?" after a query about "Bonsai trees"). To handle these interactions, retrievers must understand the latent intent within the context of the entire session. While Conversational Dense Retrievers (CDR) show promise, they require vast amounts of training data to map context-dependent queries to relevant document embeddings.

Human-annotated datasets are not only expensive and time-consuming to produce but also struggle to capture the diverse linguistic variations of natural user behavior. ConvSDG (Session Data Generation) addresses this by using the generative capabilities of LLMs to synthesize coherent, multi-turn search sessions, providing the necessary volume and diversity for robust model training.

The ConvSDG Framework

ConvSDG operates through two primary strategies designed to maximize the utility of LLMs for data generation:

1. Dialogue-level Session Generation (Unsupervised)

In scenarios where no labeled data is available, ConvSDG generates entire conversational sessions from scratch. Rather than generating turns sequentially—which often leads to "topic drift" and loss of coherence—the framework prompts an LLM to generate a complete multi-turn dialogue based on a provided topic (e.g., "Goat Breeds").

To create training signals from this synthetic text, the framework employs Pseudo-Relevance Feedback (PRF). The generated queries are processed by an off-the-shelf retriever, and the top-ranked documents are treated as "ground truth" labels. This allows the model to learn the relationship between conversational context and relevant information without any human intervention.

2. Query-level Augmented Generation (Semi-supervised)

When a small amount of labeled data exists, ConvSDG uses LLMs to expand the dataset. The model takes existing human-annotated queries and generates multiple paraphrased variations that maintain the original intent. This augmentation increases the diversity of the training set while preserving the high-quality relevance labels provided by humans, helping the retriever generalize better to different phrasing styles.

Experimental Results

The researchers evaluated ConvSDG using the ANCE retriever as a base model across several major benchmarks, including TREC CAsT (2019, 2020, 2021) and TopiOCQA.

Performance Gains

ConvSDG demonstrated substantial improvements over state-of-the-art baselines:

  • Unsupervised Setting: On the CAsT-19 benchmark, ConvSDG achieved a 19.2% relative improvement in MRR and a 17.7% improvement in NDCG@3 compared to LLMQR, the leading unsupervised baseline.
  • Semi-supervised Setting: On the more complex CAsT-21 dataset, ConvSDG outperformed strong supervised models like ConvDR and ConvGQR, yielding a 25.5% relative boost in MRR.
  • Generalization: Data generated from one set of topics proved effective for training models tested on entirely different datasets, indicating that ConvSDG captures fundamental conversational patterns rather than just memorizing specific topics.

Key Insights

  • Coherence through Holistic Generation: Generating a session as a single unit rather than turn-by-turn is critical for maintaining contextual integrity. This ensures that later turns in the synthetic session remain logically connected to the initial topic.
  • Optimal Input Formatting: The study found that the most effective signal for the retriever was a combination of the current query, a hypothetical answer generated by the LLM, and the overall session topic ("q+a+topic"). This triplet provides a rich context that helps the dense retriever locate relevant passages more accurately.
  • Synthetic Data Efficacy: A significant finding was that models trained on large-scale synthetic ConvSDG data can outperform those trained on smaller, manual datasets. The sheer volume and diversity of the LLM-generated samples can effectively compensate for the inherent noise in synthetic labels.

Limitations and Future Work

Despite its success, ConvSDG faces challenges related to the noise inherent in Pseudo-Relevance Feedback. If the initial retriever used for PRF selects irrelevant documents, the model may learn incorrect associations. Future research will focus on developing filtering mechanisms to prune low-quality synthetic samples. Additionally, while ConvSDG improves retrieval quality, the increased input length caused by concatenating multiple conversation turns poses a challenge for inference efficiency that requires further optimization.

Conclusion

ConvSDG offers a powerful solution to the data scarcity problem in conversational search. By leveraging LLMs to generate coherent and diverse session data, the framework enables the development of high-performing conversational retrievers that can better understand and serve user intent in multi-turn interactions.

Summary updated

BibTeX
@inproceedings{mo2024convsdg,
  author = {Fengran Mo and Bole Yi and Kelong Mao and Chen Qu and Kaiyu Huang and Jian-Yun Nie},
  title = {{ConvSDG: Session Data Generation for Conversational Search}},
  booktitle = {The Web Conference},
  year = {2024},
}
Figure