Query-oriented Data Augmentation for Session Search
Haonan Chen, Zhicheng Dou, Yutao Zhu, Ji-Rong Wen
TL;DR
The paper tackles the challenge of modeling session context in session-based document ranking by revealing a symmetry gap: the relevance between a candidate document and a session context can vary with changes to the current query. It introduces QASS, a two-stage approach that augments data by altering the current query at term- and query-levels, producing negative sequences of varying difficulty (easy via random queries, medium via historical/term modifications, hard via ambiguous queries) and training with a BERT-based sequence scorer using pairwise losses and carefully tuned margins. Empirical results on AOL and Tiangong-ST show that QASS outperforms strong baselines, with notable gains from ambiguous-query mining and term-level perturbations, while maintaining comparable online inference cost. The work contributes a novel direction in session-search learning by performing negative sampling on the query side, offering practical improvements for building context-aware retrieval systems and opening avenues for curriculum-like training and broader base-model deployment in future work.
Abstract
Modeling contextual information in a search session has drawn more and more attention when understanding complex user intents. Recent methods are all data-driven, i.e., they train different models on large-scale search log data to identify the relevance between search contexts and candidate documents. The common training paradigm is to pair the search context with different candidate documents and train the model to rank the clicked documents higher than the unclicked ones. However, this paradigm neglects the symmetric nature of the relevance between the session context and document, i.e., the clicked documents can also be paired with different search contexts when training. In this work, we propose query-oriented data augmentation to enrich search logs and empower the modeling. We generate supplemental training pairs by altering the most important part of a search context, i.e., the current query, and train our model to rank the generated sequence along with the original sequence. This approach enables models to learn that the relevance of a document may vary as the session context changes, leading to a better understanding of users' search patterns. We develop several strategies to alter the current query, resulting in new training data with varying degrees of difficulty. Through experimentation on two extensive public search logs, we have successfully demonstrated the effectiveness of our model.
