Can anybody please clarify what a surrogate loss function is? I'm familiar with what a loss function is, and that we want to bring about a convex function that is differentiable, but I don't understand the theory behind how you can satisfactorily use a surrogate loss function and actually trust its results.