Method

In-batch negatives

Use other batch items as negatives.

17 cases from 12 companies apply In-batch negatives. 10 were checked in an online A/B test; 4 report results in production.

Typical tasks: Retrieve and rank from millions of items, Recommend from what the user just did, Rank search results, Balance relevance and diversity and 5 more. Companies: Pinterest, Yandex, LinkedIn, Thumbtack, Criteo, Avito and 6 more. Often combined with: Two-tower model, Approximate nearest neighbors, Sequential recommendation, Multi-task learning, Hard negative mining and 27 more.