Skip to main content
QUICK REVIEW

[Paper Review] End-to-End User Behavior Retrieval in Click-Through RatePrediction Model

Qiwei Chen, Changhua Pei|arXiv (Cornell University)|Aug 10, 2021
Recommender Systems and TechniquesComputer Science39 references16 citations
TL;DR

This paper proposes ETA (End-to-end Target Attention), a novel method for end-to-end retrieval of long-term user behavior sequences in click-through rate (CTR) prediction. By leveraging SimHash-based locality-sensitive hashing to enable real-time, low-complexity retrieval, ETA eliminates the information gap and training-inference divergence of two-stage models, achieving a 3.1% GMV improvement in online A/B testing over state-of-the-art models.

ABSTRACT

Click-Through Rate (CTR) prediction is one of the core tasks in recommender systems (RS). It predicts a personalized click probability for each user-item pair. Recently, researchers have found that the performance of CTR model can be improved greatly by taking user behavior sequence into consideration, especially long-term user behavior sequence. The report on an e-commerce website shows that 23\% of users have more than 1000 clicks during the past 5 months. Though there are numerous works focus on modeling sequential user behaviors, few works can handle long-term user behavior sequence due to the strict inference time constraint in real world system. Two-stage methods are proposed to push the limit for better performance. At the first stage, an auxiliary task is designed to retrieve the top-$k$ similar items from long-term user behavior sequence. At the second stage, the classical attention mechanism is conducted between the candidate item and $k$ items selected in the first stage. However, information gap happens between retrieval stage and the main CTR task. This goal divergence can greatly diminishing the performance gain of long-term user sequence. In this paper, inspired by Reformer, we propose a locality-sensitive hashing (LSH) method called ETA (End-to-end Target Attention) which can greatly reduce the training and inference cost and make the end-to-end training with long-term user behavior sequence possible. Both offline and online experiments confirm the effectiveness of our model. We deploy ETA into a large-scale real world E-commerce system and achieve extra 3.1\% improvements on GMV (Gross Merchandise Value) compared to a two-stage long user sequence CTR model.

Motivation & Objective

  • To address the performance degradation caused by information gap and model divergence in two-stage CTR models that use long-term user behavior sequences.
  • To enable end-to-end training and inference for long-term behavior sequence modeling, eliminating the need for offline auxiliary retrieval models.
  • To reduce the computational cost of top-k retrieval from O(L×B×d) to O(L×B) using SimHash-based locality-sensitive hashing.
  • To maintain high prediction accuracy while satisfying strict online service level agreements (SLAs) in large-scale recommender systems.
  • To demonstrate the effectiveness of end-to-end retrieval through offline and online evaluations in a real-world e-commerce setting.

Proposed method

  • Proposes ETA, an end-to-end CTR model that integrates long-term user behavior sequence retrieval directly into the main training and inference pipeline.
  • Uses SimHash to generate fixed-length fingerprints for each item embedding, enabling efficient Hamming distance-based similarity search.
  • Replaces expensive dot-product or L2-based retrieval with O(L×B) Hamming distance computation, drastically reducing retrieval complexity.
  • Integrates the top-k retrieved items from the user's long behavior sequence into the target attention mechanism for dynamic user interest modeling.
  • Employs a differentiable retrieval mechanism that aligns the retrieval objective with the main CTR prediction task, eliminating target divergence.
  • Supports real-time retrieval during both training and serving, removing the need for outdated offline inverted indices.

Experimental results

Research questions

  • RQ1Can end-to-end retrieval of long-term user behavior sequences improve CTR prediction performance compared to two-stage methods?
  • RQ2How can retrieval complexity be reduced to enable real-time, online retrieval in production-scale systems?
  • RQ3Does eliminating the information gap between retrieval and CTR prediction lead to measurable improvements in model performance?
  • RQ4What trade-offs exist between retrieval accuracy, inference latency, and model performance when varying sequence length and fingerprint bit-length?
  • RQ5Can SimHash-based retrieval achieve comparable or better performance than traditional inner product-based retrieval with significantly reduced computational cost?

Key findings

  • ETA achieves a 3.1% improvement in Gross Merchandise Value (GMV) in online A/B testing compared to the state-of-the-art two-stage model.
  • The base ETA model (v0) achieves 0.7361 AUC with 19ms inference time, outperforming the baseline avg(1024) model (0.7311 AUC, 14ms) and reducing inference cost by 46% compared to full sequence attention (v4).
  • Replacing SimHash with inner product retrieval (v3) improves AUC by 0.07% but increases inference time by 68%, making it unsuitable for online SLA constraints.
  • Increasing SimHash fingerprint bit-length improves AUC up to a point, but gains become marginal when bit-length exceeds twice the embedding dimension.
  • The model maintains strong performance across different user behavior sequence lengths, with v2.3 (2048-length sequence) achieving 0.7394 AUC and 23ms inference time.
  • ETA enables end-to-end training with full alignment between retrieval and CTR objectives, eliminating the outdated embedding and divergent target issues of two-stage models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.