InstructoR: Instructing Unsupervised Conversational Dense Retrieval with Large Language Models

Zhuoran Jin, Pengfei Cao, Yubo Chen, Kang Liu, Jun Zhao

Abstract

Conversational dense retrieval (CDR) is a complex task requiring systems to interpret multi-turn dialogues often plagued by coreference, omission, and topic switching. Traditional supervised approaches rely on costly human-labeled session-passage pairs. We introduce INSTRUCTOR, a novel unsupervised framework that utilizes Large Language Models (LLMs) as "instructors" to generate soft relevance labels for training dense retrievers. By employing specialized prompting strategies—including conversation generation and posterior guidance—INSTRUCTOR achieves state-of-the-art performance on benchmarks like TopiOCQA and QReCC, surpassing supervised models without requiring any labeled data.

Introduction

In the field of information retrieval, conversational search presents unique challenges compared to traditional ad-hoc retrieval. While standard search queries are typically standalone, conversational retrieval requires the system to maintain context across a multi-turn dialogue. Users frequently utilize pronouns (coreference), omit previously mentioned details (omission), or abruptly change the subject (topic-switching). These "linguistic noises" often obscure the user's true intent, making it difficult for standard retrievers to identify relevant documents.

Figure 1: Comparison between traditional retrieve-then-generate pipelines and the INSTRUCTOR method in conversational scenarios.

The standard methodology for addressing these issues involves fine-tuning dual-encoder retrievers on thousands of human-annotated examples. However, such labels are expensive and difficult to scale. INSTRUCTOR addresses this limitation by proposing a three-stage unsupervised training pipeline that leverages the zero-shot reasoning capabilities of LLMs to supervise a student dense retriever.

Methodology

The INSTRUCTOR framework operates as a teacher-student distillation pipeline. It consists of three primary stages:

  1. Retrieval: An initial ad-hoc retriever (the student) identifies the top-$K$ candidate passages for a given conversation session.
  2. Scoring: A frozen "white-box" LLM (the instructor) calculates a relevance score for these passages. Rather than simple binary labels, the LLM provides a probability distribution based on the likelihood of a passage being relevant to the conversation context.
  3. Distillation: The student retriever is trained to match the LLM’s scoring distribution using KL divergence, effectively inheriting the LLM's understanding of conversational relevance.
Figure 2: The detailed architecture of the INSTRUCTOR framework, highlighting the knowledge distillation process from the LLM to the session encoder.

To enhance the quality of the LLM's supervision, the authors developed three specific instructing strategies:

  • INSTRUCTOR_CRCG (Conversation Generation): This strategy uses Bayes' Theorem to prompt the LLM to generate the conversation context and the current question given the passage. This approach prevents the LLM from being distracted by irrelevant historical context.
  • INSTRUCTOR_QRLV (Question Rewrite as Latent Variable): This method utilizes a "black-box" LLM (e.g., ChatGPT) to rewrite ambiguous queries into clear, standalone questions. These rewrites serve as latent variables to guide the training of the "white-box" LLM used for scoring.
  • INSTRUCTOR_QRPG (Question Response as Posterior Guide): The authors found that the answer (response) to a question provides a powerful signal. By including the response as a "posterior guide," the LLM can more accurately identify which passages were necessary to generate that specific answer.

Experimental Setup

The researchers evaluated INSTRUCTOR on four major benchmarks:

  • QReCC: A large-scale dataset for open-domain conversational QA.
  • TopiOCQA: A challenging dataset characterized by frequent topic-switching.
  • CAsT-19 & CAsT-20: Used for zero-shot evaluation to assess the model's ability to generalize to entirely new topics without further training.

Results and Discussion

INSTRUCTOR achieved remarkable gains over standard ad-hoc retrievers and even surpassed supervised models. On the TopiOCQA dataset, it improved Recall@100 by an average of 34.1% across different retriever architectures. Without using any human-labeled pairs, INSTRUCTOR outperformed LeCoRE (the previous supervised state-of-the-art) by 3.2% on QReCC and 9.7% on TopiOCQA.

Key insights from the evaluation include:

  • LLMs as Zero-Shot Judges: The study demonstrates that LLMs have an inherent zero-shot ability to measure text relevance that exceeds the performance of supervised retrievers when prompted correctly.
  • The Posterior Advantage: Utilizing the response to a query during training acts as a "lighthouse," guiding the retriever toward the most useful information.
  • Efficiency via Distillation: While LLMs are too slow for real-time retrieval, they are excellent for generating training data. Once trained, the student retriever retains the LLM's "wisdom" while maintaining the high speed of a standard dense retriever.

Conclusion

INSTRUCTOR demonstrates that high-quality conversational dense retrieval can be achieved without expensive human labels. By distilling the knowledge of LLMs through clever instructing strategies, the framework sets a new benchmark for unsupervised CDR. Future research will focus on reducing the computational intensity of training and bridging the capability gap between the LLM teacher and the dual-encoder student.

Summary updated

BibTeX
@inproceedings{jin2023instructor,
  author = {Zhuoran Jin and Pengfei Cao and Yubo Chen and Kang Liu and Jun Zhao},
  title = {{InstructoR: Instructing Unsupervised Conversational Dense Retrieval with Large Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.443},
}
Figure