Don't Contrast the Impossible: Region-Constrained Batching for Contrastive User Modeling on a Local Community Platform

Seungho Han, Byeongchang Kim, Jin Yu
7/31/2026
cs.IRcs.LG
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Contrastive learning is widely used for user modeling in large-scale recommender systems, where standard in-batch negatives implicitly assume universal exposure that any user can be shown any item. On local community platforms such as Karrot, however, exposure is geographically constrained; many user-item pairs are impossible by design yet still treated as negatives during training, diluting the contrastive learning signal.

Show full abstract

We address this impossible negatives problem and propose Region-Constrained Batch Sampling (RCBS), a simple yet effective batching method that constructs region-homogeneous mini-batches so that users are contrasted primarily against items they could feasibly see. By replacing impossible negatives with feasible ones, RCBS naturally introduces harder and more informative negatives under realistic exposure constraints. With offline evaluations and online A/B tests, we show that RCBS consistently improves user representation quality and consequently enhances home feed ranking, retrieval, and display ads ranking. The resulting user embeddings have been deployed in production across various applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{han2026dont,
  title  = {Don't Contrast the Impossible: Region-Constrained Batching for Contrastive User Modeling on a Local Community Platform},
  author = {Seungho Han and Byeongchang Kim and Jin Yu},
  year   = {2026},
  eprint = {2607.28971},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.28971v1}
}

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/2607.28971.svg)](https://codeofpaper.com/paper/2607.28971)

Discussion