aiqbench analysis
This research addresses the "impossible negatives" problem in contrastive learning by introducing Region-Constrained Batch Sampling (RCBS) to align training data with geographical exposure limits on local platforms. By constructing region-homogeneous mini-batches, the method replaces unrealistic negative samples with feasible ones, thereby strengthening user representations for feed ranking and ad targeting without requiring new hardware or massive infrastructure changes.
Don't Contrast the Impossible: Region-Constrained Batching for Contrastive User Modeling on a Local Community Platform
arXiv:2607.28971v1 Announce Type: cross 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.
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.
Information Retrieval (cs.IR); Machine Learning (cs.LG)
arXiv:2607.28971 [cs.IR]
(or arXiv:2607.28971v1 [cs.IR] for this version)
https://doi.org/10.48550/arXiv.2607.28971 Focus to learn more arXiv-issued DOI via DataCite (pending registration)
https://doi.org/10.1145/3805712.3808467 Focus to learn more DOI(s) linking to related resources
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Full text under the publisher's open licence · 258 words
Related coverage

The Alignment Problem: Computer Science Meets Analytic Philosophy
AI Alignment Forum · Oct 18, 2026

[AINews] Reality Checks on AI News (Yegge shuts down Gas Town, Databricks’ +60% Astra cost)
Latent Space · Sep 17, 2026
ARC-CT: Anatomy-Routed Contrastive Vision-Language Learning for 3D Chest CT
arXiv · Sep 1, 2026

How DiDi built intelligent contact center QA with Amazon Bedrock
AWS · Sep 8, 2026