Learning a similarity metric discriminatively, with application to face verification
Loss Functions for Discriminative Training of Energy-Based Models