Can you point to a reference for the sample weighting and the operations done on the ground truth labels in the loss function?