Loss functions in Instance Representation Learning [R] — PLINKFEED