SearchGCN: Powering Embedding Retrieval by Graph Convolution Networks for E-Commerce Search

Xinlin Xia, Shang Wang, Han Zhang, Songlin Wang, Sulong Xu, Yun Xiao, Bo Long, Wen-Yun YangSIGIR 2021 · DOI

Abstract

Graph convolution networks (GCN), which recently becomes new state-of-the-art method for graph node classification, recommendation and other applications, has not been successfully applied to industrial-scale search engine yet. In this proposal, we introduce our approach, namely SearchGCN, for embedding-based candidate retrieval in one of the largest e-commerce search engine in the world. Empirical studies demonstrate that SearchGCN learns better embedding representations than existing methods, especially for long tail queries and items. Thus, SearchGCN has been deployed into JD.com's search production since July 2020.

Introduction

In massive e-commerce platforms, candidate retrieval is the critical first step of search, narrowing down billions of products to a manageable set of relevant items. Modern systems typically employ embedding-based retrieval, mapping queries and items into a high-dimensional vector space. However, standard methods struggle with three primary challenges:

  1. The Long-Tail Problem: Rare items lack sufficient interaction data for robust representation learning.
  2. Semantic Sparsity: Short queries (e.g., "phone for grandpa") provide limited context.
  3. Training Inefficiency: Traditional models often ignore the complex web of relationships between queries and items.

SearchGCN addresses these by leveraging Graph Convolutional Networks (GCNs) to aggregate information from related nodes, significantly improving representations for rare search terms and products.

Methodology: SearchGCN Architecture

SearchGCN models the e-commerce ecosystem as a massive graph where nodes represent queries and items, and edges represent interactions like clicks or orders.

SearchGCN graph structure illustrating relationships between queries, items, and attributes.

Key technical components include:

  • Neighbor Aggregation: The model "borrows" information from neighboring nodes to enrich embeddings. For rare queries, it looks at associated items to infer meaning.
  • Attention Mechanism: A weighted sum determines which neighbors should most influence a target node's representation.
  • Neighbor Masking: The SearchGCN-mask variant hides the target node during training, forcing the network to rely on the surrounding graph structure to reconstruct its meaning, which enhances robustness.
  • Industrial Scaling: To handle hundreds of millions of nodes, the system prunes the graph to the top 50 neighbors per node and uses random sampling during training to maintain computational efficiency.

Experimental Results

The model was evaluated using 60 days of real-world user logs from JD.com, encompassing billions of edges.

Offline Performance

SearchGCN-mask outperformed established graph methods like GraphSAGE and PinSAGE across multiple metrics, achieving a Top-1 accuracy of 87.72%.

Offline performance comparison of SearchGCN variants against state-of-the-art graph models.

Online Impact and Tail Improvement

In live A/B tests, SearchGCN delivered a +1.13% increase in Revenue Per Mille (RPM) and a +1.27% increase in Gross Merchandise Value (GMV). Notably, for "tail" (rare) queries, SearchGCN reduced the error rate by 28.94% compared to the previous production baseline (DPSR), confirming its effectiveness in solving data sparsity.

Discussion and Future Work

The core innovation of SearchGCN is using the graph structure as a knowledge bridge, effectively transferring information from popular queries to rare ones. The success of the masking variant suggests that relying on neighborhood context prevents overfitting on sparse individual features.

While successful, future work could address:

  • Inference Latency: Optimizing multi-hop aggregations for real-time search constraints.
  • Feature Engineering: Exploring the relative contributions of text, images, and categorical data.
  • Dynamic Graphs: Moving from static snapshots to real-time embedding updates to capture emerging trends.

Summary updated

BibTeX
@inproceedings{xia2021searchgcn,
  author = {Xinlin Xia and Shang Wang and Han Zhang and Songlin Wang and Sulong Xu and Yun Xiao and Bo Long and Wen-Yun Yang},
  title = {{SearchGCN: Powering Embedding Retrieval by Graph Convolution Networks for E-Commerce Search}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3464927},
}
Figure