New Loss Functions for Fast Maximum Inner Product Search