Contrastive Loss in Recommendation Systems