0
$\begingroup$

Is the Cross Entropy Loss (CEL) important at all, because at Backpropagation (BP) only the Softmax (SM) probability and the one hot vector are relevant?

When applying BP, the derivative of CEL is the difference between the output probability (SM) and the one hot encoded vector. For me the CEL output, which is very sophisticated, does not play any roll for learning.

I´m expecting a fallacy in my reasoning, so could somebody please help me out?

$\endgroup$

2 Answers 2

0
$\begingroup$

During backpropagation we take the derivative of loss function with respect to all the weight parameters. For cross entropy loss this derivative is simply the difference between output probability and predicted probability. Upto this you're correct.

But you missed what loss function represents. The loss function represents the surface manifold of the network. The purpose of learning is to find the minima of this loss function.

We use CE loss because the surface define by it is smooth and continuous, hence we can find the derivative easily.

Mathematically that derivative comes out to be a simple difference, but theoretically we're differentiating the surface defined by the loss function, which is important.

$\endgroup$
1
  • $\begingroup$ But how do we use the negative log likelihood in practice, because the derivative of the CEL is just the difference of the output probability and the one hot vector. The advantages of the logarithmical loss just vanish? $\endgroup$ Commented Jul 22, 2019 at 5:47
0
$\begingroup$

The (CE) loss is what you are trying to minimize, it tells you how well your training procedure has fitted your network to your data. In practice you use it for example for comparing performance on training and valid/test set and for early stopping. You shouldn’t use for example accuracy for that as you are not optimizing your network for accuracy. Also the loss often still decreases while accuracy stays constant.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.