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:
- The Long-Tail Problem: Rare items lack sufficient interaction data for robust representation learning.
- Semantic Sparsity: Short queries (e.g., "phone for grandpa") provide limited context.
- 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.
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-maskvariant 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%.
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