Skip to main content
QUICK REVIEW

[Paper Review] Contrastive Learning for Debiased Candidate Generation in Large-Scale Recommender Systems

Chang Zhou, Jianxin Ma|arXiv (Cornell University)|May 20, 2020
Domain Adaptation and Few-Shot LearningComputer Science58 references11 citations
TL;DR

This paper proposes CLRec and Multi-CLRec, contrastive learning frameworks that reduce exposure bias in large-scale recommender systems by theoretically linking contrastive loss to inverse propensity weighting. By using a fixed-size FIFO queue to cache and reuse negative samples, the method efficiently encodes rich features for under-explored items, significantly reducing the Matthew effect and improving fairness and diversity in candidate generation with minimal computational overhead.

ABSTRACT

Deep candidate generation (DCG) that narrows down the collection of relevant items from billions to hundreds via representation learning has become prevalent in industrial recommender systems. Standard approaches approximate maximum likelihood estimation (MLE) through sampling for better scalability and address the problem of DCG in a way similar to language modeling. However, live recommender systems face severe exposure bias and have a vocabulary several orders of magnitude larger than that of natural language, implying that MLE will preserve and even exacerbate the exposure bias in the long run in order to faithfully fit the observed samples. In this paper, we theoretically prove that a popular choice of contrastive loss is equivalent to reducing the exposure bias via inverse propensity weighting, which provides a new perspective for understanding the effectiveness of contrastive learning. Based on the theoretical discovery, we design CLRec, a contrastive learning method to improve DCG in terms of fairness, effectiveness and efficiency in recommender systems with extremely large candidate size. We further improve upon CLRec and propose Multi-CLRec, for accurate multi-intention aware bias reduction. Our methods have been successfully deployed in Taobao, where at least four-month online A/B tests and offline analyses demonstrate its substantial improvements, including a dramatic reduction in the Matthew effect.

Motivation & Objective

  • To address severe exposure bias in large-scale deep candidate generation (DCG) systems where MLE-based training amplifies popularity bias.
  • To develop a scalable, efficient method for debiasing DCG that maintains high model expressiveness despite billion-scale item vocabularies.
  • To theoretically connect contrastive learning with inverse propensity weighting (IPW), providing a new rationale for its effectiveness in bias reduction.
  • To design a practical framework that enables efficient encoding of rich features for negative samples, even at scale.
  • To improve fairness and diversity in recommendation by reducing the Matthew effect, where popular items dominate.

Proposed method

  • CLRec employs a fixed-size first-in-first-out (FIFO) queue to store positive samples and their representations from previous batches, using them as negative samples in subsequent batches.
  • The method uses a contrastive loss function that is theoretically equivalent to inverse propensity weighting (IPW), thereby reducing exposure bias in training.
  • By reusing computed representations from the queue, CLRec reduces computation cost by up to 90% when the queue size is 10× the batch size.
  • The framework allows for rich feature encoding of negative samples, improving representation quality for under-explored items.
  • Multi-CLRec extends CLRec with a multi-queue design to model multiple user intentions, enabling more accurate, intention-aware bias reduction.
  • The approach avoids training a separate propensity estimator, unlike prior methods, and maintains efficiency in large-scale settings.

Experimental results

Research questions

  • RQ1Can contrastive learning be theoretically linked to inverse propensity weighting (IPW) in the context of recommender systems?
  • RQ2How can contrastive learning be efficiently applied to large-scale DCG with billion-scale candidate sets to reduce exposure bias?
  • RQ3Can a queue-based mechanism enable efficient and effective negative sample encoding without sacrificing training speed?
  • RQ4Does the proposed method reduce the Matthew effect and improve fairness and diversity in candidate generation?
  • RQ5Can the method be extended to model multiple user intentions for more accurate bias reduction?

Key findings

  • CLRec significantly reduces the Matthew effect in candidate generation, as shown by a dramatic decrease in the dominance of popular items in recommendations.
  • Offline analyses on public benchmarks (ML-1M, Beauty, Steam) show CLRec retrieves a more diverse set of items than sampled-softmax, with a 30-50% increase in aggregate diversity.
  • In four-month online A/B tests on Taobao, CLRec demonstrated substantial improvements in fairness and effectiveness, with measurable reduction in popularity bias.
  • The queue-based design reduces computational cost by up to 90% when the queue is 10× the batch size, enabling efficient use of rich features for negative samples.
  • Multi-CLRec further improves performance by modeling multiple user intentions, leading to more accurate and fairer recommendations.
  • The theoretical equivalence between contrastive loss and IPW provides a new explanation for the effectiveness of contrastive learning in debiasing recommendation systems.

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.