ID-based embeddings are widely used in web-scale online recommendation systems. However, their susceptibility to overfitting, particularly due to the long-tail nature of data distributions, often limits training to a single epoch, a phenomenon known as the "one-epoch problem." This challenge has driven research efforts to optimize performance within the first epoch by enhancing convergence speed or feature sparsity. In this study, we introduce a novel two-stage training strategy that incorporates a pre-training phase using a minimal model with contrastive loss, enabling broader data coverage for the embedding system. Our offline experiments demonstrate that multi-epoch training during the pre-training phase does not lead to overfitting, and the resulting embeddings improve online generalization when fine-tuned for more complex downstream recommendation tasks. We deployed the proposed system in live traffic at Pinterest, achieving significant site-wide engagement gains.
@article{arxiv.2508.18700,
title = {Taming the One-Epoch Phenomenon in Online Recommendation System by Two-stage Contrastive ID Pre-training},
author = {Yi-Ping Hsu and Po-Wei Wang and Chantat Eksombatchai and Jiajing Xu},
journal= {arXiv preprint arXiv:2508.18700},
year = {2025}
}
Comments
Published at RecSys'24, see https://dl.acm.org/doi/10.1145/3640457.3688053