Method

Triplet loss

Anchor-positive-negative margin loss for embeddings.

17 cases from 16 companies apply Triplet loss. 2 were checked in an online A/B test; 3 report results in production.

Typical tasks: Learn user and item embeddings, Retrieve and rank from millions of items, Match entities, Rank search results and 3 more. Companies: SberDevices, Avito, Rabota.ru, Ramp, CFT, eBay and 10 more. Often combined with: Embedding fine-tuning, Data augmentation, LoRA fine-tuning, Gradient boosting, Hard negative mining and 50 more.