[Paper Review] Task-Oriented Query Reformulation with Reinforcement Learning
This paper proposes a reinforcement learning (RL)-based framework for task-oriented query reformulation that improves document retrieval by selecting relevant terms from the original query and retrieved documents. Using neural networks to score candidate terms and optimize for recall via RL, the method achieves 5–20% relative recall improvement over strong baselines on three datasets, with a novel upper-bound estimation method revealing significant room for future gains.
Search engines play an important role in our everyday lives by assisting us in finding the information we need. When we input a complex query, however, results are often far from satisfactory. In this work, we introduce a query reformulation system based on a neural network that rewrites a query to maximize the number of relevant documents returned. We train this neural network with reinforcement learning. The actions correspond to selecting terms to build a reformulated query, and the reward is the document recall. We evaluate our approach on three datasets against strong baselines and show a relative improvement of 5-20% in terms of recall. Furthermore, we present a simple method to estimate a conservative upper-bound performance of a model in a particular environment and verify that there is still large room for improvements.
Motivation & Objective
- To address the challenge of low retrieval recall when users submit complex or imprecise queries to search engines.
- To develop a task-oriented query reformulation system that dynamically improves query relevance through reinforcement learning.
- To train an agent to select terms from the original query and retrieved documents to maximize retrieval performance (recall).
- To estimate a conservative upper bound on model performance in a given environment to identify room for future improvement.
- To introduce a new large-scale dataset (MS Academic) with 300k+ query-relevant document pairs for academic information retrieval.
Proposed method
- The framework treats the search engine as a black-box environment, where the agent (reformulator) takes actions by selecting terms from the original query and retrieved documents to build a reformulated query.
- A neural network with CNN or RNN encoders processes query and candidate term embeddings to compute the probability of selecting each term, using concatenation of query and term representations followed by a feedforward layer with sigmoid activation.
- The core equation is P(t_i|q_0) = σ(U^T tanh(W(φ_a(v) || φ_b(e_i)) + b)), where embeddings are learned from pretrained word vectors and out-of-vocabulary terms are embedded during training.
- The agent is trained via policy gradient reinforcement learning, with the reward defined as the recall of relevant documents retrieved using the reformulated query.
- The method supports multiple tasks (e.g., question answering, citation recommendation) by fine-tuning on task-specific datasets.
- A novel oracle-based method estimates an upper-bound performance for the RL model in a given environment, providing a benchmark for future improvements.
Experimental results
Research questions
- RQ1Can reinforcement learning effectively optimize query reformulation to improve document retrieval recall?
- RQ2How does the performance of the RL-based reformulator compare to strong baselines across diverse retrieval tasks?
- RQ3What is the upper bound of performance for such a model in a given retrieval environment, and how much room remains for improvement?
- RQ4How do different training tasks influence the selection of reformulation terms (e.g., proper nouns vs. semantic terms)?
- RQ5To what extent can the same framework be adapted to different information retrieval tasks using task-specific fine-tuning?
Key findings
- The RL-based query reformulator achieves a relative improvement of 5–20% in recall over strong baselines across three datasets: TREC-CAR, Jeopardy, and MS Academic.
- Models trained on different tasks select distinct types of terms: Jeopardy-trained models favor proper nouns (e.g., 'Tunxis'), TREC-CAR models select semantic terms (e.g., 'accreditation'), and MSA models choose diverse entity-related terms (e.g., 'arts center', 'library').
- The proposed oracle method estimates a conservative upper bound on model performance, indicating that significant room for improvement remains in the framework.
- The RL-CNN model achieves the best trade-off between speed and performance, with inference taking ~1 second per batch of 64 queries, of which ~40% is spent on document retrieval.
- Training the best model (RL-RNN) takes 8–10 days on a single K80 GPU, demonstrating the method’s computational intensity despite strong results.
- Qualitative analysis confirms that the model assigns higher selection probabilities to semantically relevant terms, even when common words are included due to the reward function’s lack of penalty for neutral terms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.