Introduction
Traditional Information Retrieval (IR) systems often struggle with the "vocabulary mismatch" problem—the discrepancy between a user's brief query and the language used in relevant documents. To bridge this gap, conventional search engines employ complex pipelines involving spell checkers, query classifiers, and expansion tools. However, these "black-box" systems suffer from a lack of transparency, error propagation across modules, and delayed feedback, as users only discover misunderstandings after reviewing irrelevant results.
This paper proposes a paradigm shift: replacing these opaque pipelines with a single Large Language Model (LLM) that generates a transparent, natural language "machine intent." This framework allows users to see, edit, and confirm the system's interpretation before results are fetched, creating a more interactive and explainable search experience.
Interactive Query Rewriting Framework
The core of the proposal is an LLM-based framework that transforms short queries into full natural language descriptions. This "machine intent" serves as a bridge between user intent and system action. The framework supports four primary user interactions:
- Commit: The user validates the machine's interpretation and proceeds to retrieval.
- Edit (Soft Rewrite): The user manually adjusts the generated intent for greater specificity.
- Explore/Refine: For multifaceted queries, the user navigates through various suggested intents.
- Hard Rewrite: The user reformulates the query if the suggestions are entirely incorrect.
By making the machine's internal representation "scrutable," the system provides a faithful explanation of its logic. This transparency allows users to correct the system early, reducing the noise associated with traditional click-based feedback.
Experimental Setup and Datasets
The researchers evaluated several generative models, including BART, GPT-2, and GPT-3 (specifically text-davinci-003), using zero-shot prompting and in-context learning. The study utilized established IR benchmarks:
- TREC Web Tracks (2009-2011): Provided 1,143 training and 126 validation samples of (topic, description) pairs.
- TREC Web 2012: Served as the primary test set.
- Google "People Also Asked" (PAA): Scraped to augment training data, providing "proxy" intents to help models disambiguate vague queries.
Key Results and Qualitative Analysis
The feasibility study highlighted the superiority of GPT-3 with In-Context Learning. This configuration successfully deciphered intents for highly ambiguous queries by leveraging the model's vast internal knowledge.
Key findings include:
- Superior Disambiguation: GPT-3 outperformed smaller models in identifying the correct context for terms like "EPIC study" or "Alli."
- Impact of Data Augmentation: While Google PAA data improved the performance of smaller models like BART, they still lacked the natural language fluency of larger LLMs.
- Plausibility and Readability: Even with basic prompting, LLMs generated highly readable intents that provide the ranker with richer context, potentially improving downstream retrieval.
Limitations and Future Directions
Despite the promise of LLM-based query understanding, several challenges remain:
- Efficiency: The computational cost and latency of running large LLMs for every query are significant hurdles for real-time search.
- Cold Start: Generating high-quality intents for rare or novel queries without existing training data is difficult.
- User Experience: Designing interfaces that present multiple intents without overwhelming the user is a critical UX challenge.
- Joint Optimization: Future research should explore training the rewriter and retriever (ranker) jointly so they can mutually reinforce each other based on direct user feedback.
Summary updated