RPM-Oriented Query Rewriting Framework for E-commerce Keyword-Based Sponsored Search (Student Abstract)

Xiuying Chen, Daorui Xiao, Shen Gao, Guojun Liu, Wei Lin, Bo Zheng, Dongyan Zhao, Rui Yan

Introduction

In e-commerce sponsored search, the primary objective is to maximize Revenue Per Mille (RPM), a metric that balances ad relevance with advertiser bid prices. A critical component of this system is query rewriting, which maps a user's search query (e.g., "white running shoes") to relevant bid keywords (e.g., "Nike sports shoes").

Traditional query rewriting systems face two significant hurdles:

  1. The Heavy Tail Problem: A vast majority of search queries are rare ("tail" queries). Statistical models relying on historical frequency often fail these queries due to data sparsity.
  2. Revenue Blindness: Most existing models optimize for semantic relevance alone, neglecting the revenue potential of the suggested keywords.

To address these, researchers from Peking University and Alibaba developed the RPM-oriented Query Rewriting Framework (RQRF).

Methodology: The RQRF Architecture

RQRF transitions from a "memory-based" statistical approach to a "representation-based" deep learning model. It consists of two primary innovations: a sophisticated embedding module and an RPM-oriented label construction method.

1. The Embedding Module

The framework maps queries and keywords into a shared high-dimensional vector space. As shown in the architecture diagram, the module processes inputs through a Word Representation Layer that combines word-level and character-level embeddings to handle typos and rare terms.

The RQRF framework and detailed architecture of the embedding module.

The core architecture utilizes a modified Convolutional Neural Network (CNN) paired with a self-attention mechanism. The CNN captures local patterns (phrases), while the self-attention layer models global dependencies between words regardless of their distance. An MLP then produces the final vector representation ($q'$ or $b'$). The distance between these vectors is trained to be proportional to the expected RPM.

2. RPM-Oriented Label Construction

A key contribution is the novel scoring function used to generate training labels from click data: $$score(b_i|q, a) = \frac{price(b_i|a) \times relevance(b_i, q)}{\log(n_{b_i} + 1)}$$ This function ensures the model favors high-value, relevant keywords. Crucially, the popularity penalty (dividing by the log of keyword frequency $n_{b_i}$) mitigates the "Matthew Effect," preventing the system from over-recommending popular keywords and encouraging the discovery of high-RPM niche alternatives.

Experimental Results

The model was trained on a massive dataset of 9.8 billion cases from Alibaba. In offline tests, RQRF significantly outperformed standard baselines such as BM25 and CLSM across multiple information retrieval metrics, including Mean Reciprocal Rank (MRR) and Normalized Discounted Cumulative Gain (NDCG).

Online A/B Testing

A month-long online A/B test demonstrated substantial real-world impact. The framework achieved a 3.07% overall RPM increase.

RPM lift rates across different traffic types, highlighting the framework's effectiveness for tail queries.

As illustrated in the table above, the most dramatic gains occurred in the "tail" of the search distribution, with a 16.44% RPM lift for rare queries. This confirms that deep learning's ability to capture semantic nuances is far superior to simple frequency-based models for handling infrequent search events.

Conclusion

RQRF demonstrates that integrating revenue signals directly into the query rewriting process, combined with advanced neural architectures, can significantly enhance both relevance and profitability in e-commerce search. Future work may explore the computational latency of these deep models and the integration of graph-based structural information.

Summary updated

BibTeX
@inproceedings{chen2020rpm,
  author = {Xiuying Chen and Daorui Xiao and Shen Gao and Guojun Liu and Wei Lin and Bo Zheng and Dongyan Zhao and Rui Yan},
  title = {{RPM-Oriented Query Rewriting Framework for E-commerce Keyword-Based Sponsored Search (Student Abstract)}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i10.7156},
}
Figure