What is the goal of contrastive loss in representation learning?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Asks what contrastive loss is trying to achieve when training representations, and how its common forms work. Tests understanding of embedding geometry, positive and negative pairs, margins and temperature, and why the learned embeddings transfer to retrieval and verification.