Learn Before
Relation

Max-margin loss

  • Here we are again comparing the decoded score for a true pair to a negative sample. However, rather than treating this as a binary classification task, in the equation below, we are just comparing the direct output of the decoders.
  • If the score for the “true” pair is more significant than the “negative” pair then we have a small loss. The ∆ term is called the margin, and the loss will equal 0 if the score difference is at least that large for all examples.
  • This loss is also known as the hinge loss.
Image 0

0

1

Updated 2022-07-16

Contributors are:

Who are from:

Tags

Data Science