In the purely discriminative setting, we use a maxmargin framework for learning (or fine-tuning) parameters θ.
in a context of a particular training example where q i is paired with p + i , we  where δ(•, •) denotes a non-negative margin.