A Graph-Enhanced Click Model for Web Search

Jianghao Lin, Weiwen Liu, Xinyi Dai, Weinan Zhang, Shuai Li, Ruiming Tang, Xiuqiang He, Jianye Hao, Yong Yu

Abstract

Click models are vital for simulating user behavior and estimating document relevance in web search. However, traditional models suffer from extreme data sparsity and the cold-start problem. This paper introduces GraphCM, a novel click model that leverages graph neural networks to capture inter-session relationships. By aggregating information from a global graph of query and document interactions, GraphCM significantly outperforms existing methods, particularly in scenarios involving new queries or documents.

Introduction

In modern search engines, understanding user click behavior is essential for ranking and evaluation. Click models typically rely on the examination hypothesis, which posits that a click occurs only if a user examines a document and finds it attractive ($Click = Examination \times Attractiveness$). Despite their utility, these models face two major challenges: data sparsity and the cold-start problem. In large-scale datasets like TianGong-ST, the interaction sparsity ratio can exceed 99.99%, meaning most query-document pairs lack historical data. Furthermore, when users enter novel queries or encounter new documents, traditional models often fail due to a lack of prior interaction history.

While recent neural click models have attempted to incorporate "intra-session" context—the sequence of actions within a single search session—they largely ignore "inter-session" information. Inter-session data represents the broader web of connections formed by different users across various sessions, which can provide critical collaborative signals.

Illustration of intra-session and inter-session relations between queries and documents.

Methodology: The GraphCM Framework

To address these limitations, we propose the Graph-Enhanced Click Model (GraphCM). GraphCM extends the examination hypothesis by incorporating global graph information to enrich the representations of queries and documents.

Graph Construction and Representation

GraphCM constructs two homogeneous graphs to capture global context:

  1. Query Graph: This graph connects queries based on session reformulation (consecutive queries in a session) and collaborative filtering (queries that led to clicks on the same document).
  2. Document Graph: This graph connects documents that appear consecutively in a result list or those clicked by the same user query.

By using Graph Attention Networks (GAT), the model aggregates features from neighboring nodes in these global graphs. This allows the model to "borrow" relevance information from related queries or documents, effectively mitigating the sparsity of direct interactions.

Model Architecture

The GraphCM architecture consists of several key components designed to process these graph-based features:

  • Query and Document Encoders: These use GATs to generate graph-aware embeddings, which are then processed by Gated Recurrent Units (GRUs) to capture sequential dependencies.
  • Neighbor Interaction Module: This module explicitly models the relationship between the current query and the neighbors of the candidate document. This "triangulation" is particularly effective for cold-start documents.
  • Examination and Click Predictors: The examination predictor accounts for position bias and previous click history using a GRU. The click predictor then combines attractiveness and examination scores using a learnable exponential function ($E^\alpha \times A^\beta$), allowing for dynamic weighting of these factors.
The overall architecture of the Graph-Enhanced Click Model (GraphCM).

Experimental Evaluation

GraphCM was evaluated on three diverse search log datasets: Yandex (a large-scale personalized search challenge), TREC2014 (Session Track), and TianGong-ST (Chinese search engine logs including vertical information and human-annotated relevance labels).

Key Results

The experimental results demonstrate that GraphCM consistently outperforms state-of-the-art baselines, including both probabilistic graphical models (e.g., DBN, UBM) and recent neural models (e.g., CACM).

  • Click Prediction Accuracy: On the TianGong-ST dataset, GraphCM achieved a 4.57% improvement in Log-Likelihood (LL) over the strongest baseline.
  • Relevance Ranking: The model showed superior performance in NDCG metrics, indicating that more accurate click simulation translates directly to better document ranking.
  • Cold-Start Mastery: GraphCM proved remarkably robust in cold-start scenarios. For "Cold Queries" (those not seen during training), GraphCM maintained high accuracy while baseline models experienced significant performance degradation. For example, on Yandex Cold-Q sessions, GraphCM achieved an LL of -0.2316 compared to UBM's -0.2418.

Conclusion

GraphCM represents a significant advancement in click modeling by bridging the gap between intra-session context and inter-session collaborative information. By leveraging graph neural networks to navigate the sparse interaction space of web search, the model provides more accurate relevance estimates and handles cold-start scenarios more effectively than previous methods. Future research will explore higher-order neighbor interactions and the integration of GraphCM into real-time production ranking pipelines.

Summary updated

BibTeX
@inproceedings{lin2021graph,
  author = {Jianghao Lin and Weiwen Liu and Xinyi Dai and Weinan Zhang and Shuai Li and Ruiming Tang and Xiuqiang He and Jianye Hao and Yong Yu},
  title = {{A Graph-Enhanced Click Model for Web Search}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
}
Figure