[Paper Review] Context Attentive Document Ranking and Query Suggestion
This paper proposes CARS, a context-aware neural ranking model that jointly optimizes document ranking and query suggestion using a two-level hierarchical RNN to encode search context from users' query and click history. By applying multi-level attention mechanisms, CARS captures variable-range dependencies in search tasks, significantly outperforming baselines on the AOL search log, especially as search tasks progress.
We present a context-aware neural ranking model to exploit users' on-task search activities and enhance retrieval performance. In particular, a two-level hierarchical recurrent neural network is introduced to learn search context representation of individual queries, search tasks, and corresponding dependency structure by jointly optimizing two companion retrieval tasks: document ranking and query suggestion. To identify the variable dependency structure between search context and users' ongoing search activities, attention at both levels of recurrent states are introduced. Extensive experiment comparisons against a rich set of baseline methods and an in-depth ablation analysis confirm the value of our proposed approach for modeling search context buried in search tasks.
Motivation & Objective
- To improve document ranking and query suggestion by modeling users' on-task search behavior beyond individual queries.
- To address the limitations of keyword-based and rule-based context modeling, which suffer from vocabulary gaps and fixed dependency structures.
- To jointly optimize document ranking and query suggestion using a multi-task learning framework that shares representations across tasks.
- To model dynamic, variable-range dependencies in sequential search activities using hierarchical recurrent networks with attention.
- To learn a contextual representation that evolves with each user action (query or click) to reflect changing search intent.
Proposed method
- CARS employs a two-level hierarchical RNN: the lower level encodes individual queries and documents using bidirectional RNNs, while the upper level models task-level context via recurrent states over query and click embeddings.
- The model uses self-attention at both the word-level (within queries/documents) and the task-level (across past queries/clicks) to dynamically weight relevant past actions.
- Search context is updated incrementally with each new query or click, enabling the model to maintain a running summary of user intent.
- The model jointly optimizes for document ranking and query suggestion using a regularized multi-task learning objective to improve generalization and representation quality.
- Attention weights are used to interpret model decisions, highlighting which past queries or clicks most influence current predictions.
- The architecture is trained end-to-end on the AOL search log, which includes authentic user queries, clicks, and session-level structure.
Experimental results
Research questions
- RQ1Can a neural model jointly improve document ranking and query suggestion by leveraging sequential user search behavior?
- RQ2How does modeling variable-range dependencies in search sequences affect retrieval performance compared to fixed-range baselines?
- RQ3To what extent does the model’s context representation improve as a search task progresses?
- RQ4How do attention weights reflect meaningful relationships between past actions and current predictions?
- RQ5Can the joint optimization of two companion tasks lead to better representations than single-task learning?
Key findings
- CARS significantly outperforms a rich set of classical and neural IR baselines in both document ranking and query suggestion on the AOL search log.
- Performance in both tasks improves steadily as search tasks progress, with CARS showing faster improvement than baselines like MNSRF and M-Match Tensor.
- The attention mechanism successfully identifies key terms in queries and documents, with top attention weights aligning with topical focus.
- For document ranking, the most recent clicked document (Q2) has the highest attention weight (αᶜ₂,ᵣ = 0.91), indicating strong influence on ranking decisions.
- For query suggestion, the most recent query (Q2) contributes more (αq₂,ₛ = 0.63) than earlier queries (αq₁,ₛ = 0.37), reflecting natural task progression.
- In long search tasks (beyond 7 queries), the performance gain in query suggestion diminishes, as users tend to repeat short queries, making them predictable by all models.
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.