TracIn icon indicating copy to clipboard operation
TracIn copied to clipboard

where is the loss gradient calculated in the proponent/opponent example

Open Helaly96 opened this issue 3 years ago • 2 comments

unlike the colab example of self influence where the gradient of the loss is clearly calculated using tape, i don't see where the loss_grad is being calculated in the proponent/opponent example loss_grad = tf.one_hot(labels, 1000) - probs this is just the loss with no gradients, and it's not calculated anywhere else can someone clarify?

Helaly96 avatar Jan 05 '23 13:01 Helaly96

I also need this, especially can someone clarify where the random projection trick is being done ?

Thanks

gumityolcu avatar Jan 18 '24 14:01 gumityolcu

I am also a little confuesed about this I check the other issues discussed by author. He mentioned that in #6 we can get the influence(tracin score) = lg_sim (error_similarity) * a_sim (encoding similarity) according to the appendix F. This seems a bit confusing to me. If anyone could show me the derivation process, I would be very grateful.

SeanZh30 avatar Feb 25 '24 20:02 SeanZh30