In comparison to SimCLR which is self-supervised as the positive and negative pairs are simply determined by their corresponding image indexes, Supervised Contrastive Learning (SCL) [1]} takes the class labels \(y\)  into consideration thus being supervised, in which the training views are constructed by:
\(\mathbf {V}_{\text{SCL}} = \bigcup \limits _{i=1}^\mathbb {B}\bigcup \limits _{j=1}^2\lbrace (\tilde{x}_{i}^{(j)}, y_{i})\mid \tilde{x}_{i}^{(j)}=H^{(j)}(x_i)\rbrace \) 
