Visual Encoding and Debiasing for CTR Prediction

Si Chen, Chen Lin, Wanxian Guan, Jiayi Wei, Xingyuan Bu, He Guo, Hui Li, Xubin Li, Jian Xu, Bo Zheng · DOI

Abstract

In visual search advertising, Click-Through Rate (CTR) prediction is essential for matching user queries with relevant advertisements. However, traditional visual encoders often struggle with two primary issues: a lack of fine-grained stylistic discrimination and sample selection bias (SSB) toward popular items. This paper presents a novel framework developed by researchers at Alibaba and Xiamen University that addresses these challenges through a multi-stage contrastive learning approach combined with an online debiasing network. By leveraging self-supervised pre-training as an unbiased anchor, the system improves representation for long-tail items and achieves significant gains in both offline benchmarks and real-world production environments.

1. Introduction

Visual search advertising allows users to find products by uploading images, making the visual features of an ad the primary driver of user engagement. Predicting the Click-Through Rate (CTR) for these ads is a complex task that relies heavily on the quality of visual embeddings. Most existing systems utilize generic visual encoders, such as standard ResNets, which are often pre-trained on broad category labels.

These standard approaches suffer from two critical limitations. First is coarseness: encoders trained on general labels (e.g., "dress" vs. "skirt") fail to capture the subtle stylistic nuances—such as pattern, texture, or cut—that influence a user's decision to click. Second is Sample Selection Bias (SSB): models trained on historical click data naturally favor "popular" items that have high impression counts. This creates a feedback loop where long-tail or new items are under-represented, leading to poor discovery and reduced diversity in search results.

2. Methodology

The proposed framework introduces a three-part architecture designed to capture fine-grained details while neutralizing popularity bias.

2.1 Stage 1 (S1): Unbiased Pre-training

The first stage utilizes self-supervised contrastive learning on a massive unlabeled dataset. By applying data augmentations like cropping and color jittering, the model learns to recognize general visual structures and features. Because this stage does not use click data, the resulting representations are inherently unbiased by item popularity, serving as a neutral "ground truth" for visual similarity.

2.2 Stage 2 (S2): Fine-tuning with Click Data

To address the coarseness of generic features, the encoder is fine-tuned using actual user click data. The model is trained to pull "query images" and "clicked images" closer together in the feature space. To increase the precision of the model, the researchers employ "hard negatives"—samples from the same category that were not clicked. This forces the encoder to distinguish between very similar items based on specific stylistic attributes.

2.3 The Debiasing Network (D) and Gating

The core innovation is the online debiasing network. This component uses the unbiased features from Stage 1 to identify items that are visually similar but have vastly different impression counts. It essentially instructs the CTR predictor to treat a long-tail item similarly to a popular item if their visual signatures (from S1) match.

Finally, a Gating Mechanism dynamically fuses the fine-grained features from S2 and the debiased features from the D-network into a single vector. This allows the model to balance the need for high-precision style matching with the need for fair representation across the entire product catalog.

3. Experimental Setup

The framework was evaluated using three distinct datasets to ensure robustness:

  1. Internal Annotated Dataset: Tens of thousands of image pairs from Alibaba’s production system, manually labeled for style and design relevance to test fine-grained accuracy.
  2. Billion-scale Taobao Dataset: A massive production dataset containing 0.4 billion unique images and 1 billion samples collected over a 15-day period.
  3. Live Traffic: Online A/B testing conducted on the Alibaba mobile app’s visual search platform.

4. Key Results

The framework was benchmarked against industry standards, including ResNet-C, VGG, and Vision Transformers (ViT).

  • Offline Performance: On the Taobao dataset, the full framework (S1+S2+D) achieved a 5% improvement in AUC over the leading competitors.
  • Long-tail Accuracy: The debiasing network showed its greatest strength in the "bottom 10%" of items. For these low-impression samples, the model significantly outperformed standard supervised encoders, proving that the S1 anchor effectively mitigates SSB.
  • Online Impact: During live A/B testing at Alibaba, the system resulted in a 4%–5% increase in CTR and a 1%–2% increase in Revenue per Mille (RPM). In the context of Alibaba's scale, these represent substantial commercial gains.

5. Discussion and Conclusion

The research demonstrates that the "accuracy-diversity" dilemma in CTR prediction can be managed by using self-supervised learning as a debiasing anchor. By separating the learning of visual style (Stage 2) from the correction of popularity bias (Debiasing Network), the model maintains high predictive power without sacrificing the visibility of new or long-tail products.

While the framework is highly effective for visual features, the authors note that it does not yet account for non-visual biases, such as position bias or user-history bias. Additionally, the computational overhead of a multi-stage gating network requires careful optimization for real-time deployment. Future research will likely explore extending this contrastive debiasing approach to multi-modal data, incorporating both text and image features to further refine CTR predictions.

Summary updated

BibTeX
@inproceedings{chen2022visual,
  author = {Si Chen and Chen Lin and Wanxian Guan and Jiayi Wei and Xingyuan Bu and He Guo and Hui Li and Xubin Li and Jian Xu and Bo Zheng},
  title = {{Visual Encoding and Debiasing for CTR Prediction}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2022},
  url = {https://openreview.net/forum?id=QoYC7z5jOL},
}
Figure