Don't Contrast the Impossible: Region-Constrained Batching for Contrastive User Modeling on a Local Community Platform
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. 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.
Create a lesson
Metadata
- Categories
- cs.IR, cs.LG
- Journal
- Proceedings of the 49th International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR '26), pages 4639-4643, 2026
- Comments
- Accepted at SIGIR 2026 (Industry Track)
Related papers
Energy Constrained Hierarchical Underwater Monitoring via Local Multi-Agent RAG
Shared title terminologycs.IRMohamed Amine Janati, Laurent Gautier, Stéphane Barbot
Grounding User Preferences in Shared Multimodal Concepts for Recommendation
Shared title terminologycs.IRAo Xu, Jinhui Huang, Wenqiang Tang et al.
Learning the Platform, Not the Learner: Sequencing Shortcuts in the Offline Evaluation of Educational Recommender Systems and LLM Rankers
Shared title terminologycs.IRYoussef Jdidou
User-Adaptive Fusion of Multiple Foundation Models for Recommender Systems
Shared title terminologycs.IRSunwoo Kim, Hyunjin Hwang, Geon Lee et al.
Beyond Knowledge Transfer: How User Overlap Shapes Diversity in Cross-Domain Recommendation
Shared title terminologycs.IRYuhan Zhao, Weixin Chen, Shu Chen et al.
Leader Finding: A New Variation of Expert Finding in Community Question Answering
Shared title terminologycs.IRSepideh Entezari Maleki, Mahmood Neshati