Sponsored search systems must accurately match user queries to relevant advertisements. However, the extreme brevity of queries and ads—often averaging fewer than four words—leads to "semantic scarcity," where text-only models like BERT fail to capture underlying intent. This paper, presented at SIGIR '21 by Microsoft researchers, introduces AdsGNN, a framework that augments textual representations with massive historical user-click graphs. By leveraging token-level graph transformers and a novel knowledge distillation strategy, AdsGNN effectively bridges the gap between short-text semantics and user behavior.
The Challenge of Semantic Scarcity
In sponsored search, understanding that a query for "AF1" implies an intent for "Nike Air Force 1" is crucial. While Natural Language Understanding (NLU) models are powerful, they struggle when context is missing. Historical click data is a goldmine of this missing context, representing a collective user intelligence that links disparate terms through behavior. The challenge lies in integrating this high-volume, graph-structured data with deep textual models efficiently enough for real-time production environments.
The AdsGNN Framework
AdsGNN fuses textual and behavioral data through three increasingly sophisticated architectural variants:
- Node-level ($AdsGNN_n$): Enriches a query's representation by aggregating embeddings from its immediate neighbors (the ads previously clicked for that query).
- Edge-level ($AdsGNN_e$): Models the query-ad pair as a single edge unit, drawing context from surrounding edges in the behavior graph, including first-order and second-order relationships.
- Token-level ($AdsGNN_t$): The most advanced variant, which alternates between Graph Transformers and Text Transformers. This allows individual tokens within a query to attend directly to the tokens of related ads in the graph.
Token-Level Fusion and Knowledge Distillation
The $AdsGNN_t$ model represents a paradigm shift from simple embedding aggregation. By allowing cross-node attention at the token level, the model can learn fine-grained semantic relationships that are otherwise lost in global node embeddings.
To address the "cold-start" problem—where new ads or rare queries lack historical neighbors—the researchers employed Knowledge Distillation (KD). A complex "teacher" AdsGNN model, trained on the full graph, teaches a "student" text-only BERT model to produce behavior-aware embeddings. This allows the production system to benefit from graph-level insights using only the text of a new query or ad.
Key Results and Impact
The framework was evaluated using a massive industry dataset from Bing, featuring a behavior graph with over 1 billion clicked relations and a ground-truth set of nearly 850,000 labeled pairs.
- Offline Superiority: $AdsGNN_t$ consistently outperformed state-of-the-art baselines like TwinBERT and TextGNN in ROC-AUC, proving that token-level graph interaction is superior to node-level averaging.
- Online Success: In live A/B testing, the distilled model achieved a +1.13% increase in Revenue Per Mille (RPM) and a -1.46% reduction in the defect rate (irrelevant ads), demonstrating its practical utility in high-stakes environments.
- Long-Tail Robustness: The KD approach proved highly effective for rare items, outperforming standard nearest-neighbor strategies by 3-5% in ROC-AUC.
Conclusion
AdsGNN demonstrates that user behavior is not just a secondary signal but a vital source of "hidden" context that can overcome the limitations of short-text NLU. By tightly coupling graph structures with token-level transformers and utilizing knowledge distillation for deployment, the framework sets a new standard for relevance modeling in large-scale sponsored search.
Summary updated