CL4CTR: A Contrastive Learning Framework for CTR Prediction

Fangye Wang, Yingxu Wang, Dongsheng Li, Hansu Gu, Tun Lu +2 more
12/1/2022
cs.IRcs.AI
contrastive-ssl

Official code: cl4ctr/cl4ctr (48 stars, Python, last commit 2023-07-01).

Abstract

Many Click-Through Rate (CTR) prediction works focused on designing advanced architectures to model complex feature interactions but neglected the importance of feature representation learning, e.g., adopting a plain embedding layer for each feature, which results in sub-optimal feature representations and thus inferior CTR prediction performance. For instance, low frequency features, which account for the majority of features in many CTR tasks, are less considered in standard supervised learning settings, leading to sub-optimal feature representations.

Show full abstract

In this paper, we introduce self-supervised learning to produce high-quality feature representations directly and propose a model-agnostic Contrastive Learning for CTR (CL4CTR) framework consisting of three self-supervised learning signals to regularize the feature representation learning: contrastive loss, feature alignment, and field uniformity. The contrastive module first constructs positive feature pairs by data augmentation and then minimizes the distance between the representations of each positive feature pair by the contrastive loss. The feature alignment constraint forces the representations of features from the same field to be close, and the field uniformity constraint forces the representations of features from different fields to be distant. Extensive experiments verify that CL4CTR achieves the best performance on four datasets and has excellent effectiveness and compatibility with various representative baselines.

View on arXivView PDF

Code Implementations(1)

cl4ctr/cl4ctrOfficial100%

The code of CL4CTR

484PythonAug 23, 20223 years ago

Similar Papers

Cite this paper

@article{wang2022clctr,
  title  = {CL4CTR: A Contrastive Learning Framework for CTR Prediction},
  author = {Fangye Wang and Yingxu Wang and Dongsheng Li and Hansu Gu and Tun Lu and Peng Zhang and Ning Gu},
  year   = {2022},
  eprint = {2212.00522},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.00522}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.00522.svg)](https://codeofpaper.com/paper/2212.00522)

Discussion