TL;DR
This paper introduces GenCRF, a novel framework that uses Large Language Models (LLMs) to generate diverse query reformulations, clusters them to represent distinct user intents, and intelligently combines them for improved information retrieval. GenCRF achieves state-of-the-art performance, outperforming previous methods by up to 12% on nDCG@10.
What Problem Does This Paper Address?
The core challenge in Information Retrieval (IR) is understanding and fulfilling a user's information need, even when their initial query is ambiguous or incomplete. Query reformulation aims to address this by automatically modifying user queries to improve search results. While recent approaches leverage LLMs for this task, they often suffer from generating too few, redundant, or semantically similar reformulations. This limits their ability to capture the diverse intents a single query might represent, hindering overall retrieval effectiveness. The paper tackles this by proposing a method that can generate multiple, distinct reformulations and effectively utilize them.
Methods
GenCRF is a multi-stage framework designed to overcome the limitations of existing query reformulation methods:
- Generative Reformulation: It uses LLMs with customized prompts to generate a diverse set of reformulations from an initial query. These prompts are categorized into "Contextual Expansion," "Detail Specific," and "Aspect Specific" to encourage varied query generation.
- Clustering: The generated reformulations are then clustered into 1-3 groups. This step aims to group queries that represent similar intents, reducing redundancy and identifying distinct user needs. A representative query is generated for each cluster.
- Weighted Aggregation: To combine the initial query and the cluster representatives effectively, GenCRF employs novel weighted aggregation strategies:
- Similarity-Based Dynamic Weighting (SimDW): Reformulated queries are weighted based on their cosine similarity to the original query, with a threshold to filter irrelevant ones.
- Score-Based Dynamic Weighting (ScoreDW): This builds on SimDW by using a multidimensional scoring system (Relevance, Specificity, Clarity, Comprehensiveness, Usefulness) to dynamically weight reformulations.
- Fine-Tuning for ScoreDW: The LLM used for scoring is fine-tuned using GPT-40 as a benchmark to improve its precision in evaluating query quality.
- Query Evaluation Rewarding Model (QERM): This novel component acts as a feedback loop. It assesses the quality of the clustered reformulations (using nDCG@10 as a metric) and signals to the LLM whether to re-generate or re-cluster queries, ensuring continuous improvement and high-quality outputs.
Datasets
The primary experiments were conducted on six datasets from the BEIR benchmark: SciFact, TREC-COVID, SciDOCS, NFCorpus, DBPedia-entity, and FiQA-2018. For ablation studies and parameter analysis, two additional datasets were used: ArguAna and CQADupStack-English. The Quora dataset was utilized for fine-tuning the scoring LLM and training the QERM.
Key Insights and Ideas
- Intent Diversity is Key: The paper strongly advocates that capturing diverse user intents within a single query is crucial for effective reformulation, moving beyond simple keyword expansion.
- Prompt Engineering Matters: Tailored prompts are shown to be more effective than generic ones for generating varied and useful reformulations.
- Clustering for Intent Grouping: Dynamically clustering reformulations is an effective way to organize and represent distinct user intents, reducing redundancy.
- Intelligent Aggregation: Simply concatenating reformulations is suboptimal. Weighted aggregation strategies that consider similarity or quality scores are vital for combining them effectively.
- Feedback Loops Enhance Quality: The QERM model demonstrates the power of iterative refinement and feedback for improving the quality and relevance of generated queries.
Key Results
GenCRF achieved state-of-the-art performance on the BEIR benchmark, outperforming previous query reformulation methods by up to 12% on nDCG@10. The fine-tuned ScoreDW-FT-QERM variant consistently delivered the best results across various datasets. Ablation studies confirmed the effectiveness of individual components, such as the optimal initial query weight (0.7) and the benefit of using 2-3 generated queries per prompt.
Limitations and Future Work
The authors acknowledge that while GenCRF shows significant improvements, further work could explore its application to real-world search scenarios. The paper also implicitly suggests that the effectiveness of the prompt types and clustering strategies might be further optimized. Future research could also investigate adapting GenCRF to different LLMs and exploring more sophisticated feedback mechanisms.
Summary updated