Question: You have been introduced to angular margin losses in class that imposes a constraint of the embedding vector and the entries in the weight matrix

You have been introduced to angular margin losses in class that imposes a constraint of the embedding vector and the entries in the weight matrix of the last layer to be unit-norm. Recall that the actual loss function is still the negative log of the predicted probability for the ground truth class. You are required to modify this loss function to impose a margin on the usual softmax loss function without imposing any constraints on the embedding vector and the weight matrix.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!