Question 19
For a single query, suppose similarity with the positive is s+=2 and with two negatives are s1=1, s2=0. InfoNCE loss: L = −log( exp(s+) / (exp(s+)+exp(s1)+exp(s2)) ). Using exp(2)=7.39, exp(1)=2.72, exp(0)=1, compute L.
For a single query, suppose similarity with the positive is s+=2 and with two negatives are s1=1, s2=0. InfoNCE loss: L = −log( exp(s+) / (exp(s+)+exp(s1)+exp(s2)) ). Using exp(2)=7.39, exp(1)=2.72, exp(0)=1, compute L.
Correct answer: 0.41 (accepted within ±0.002)
Question 19 of 22 in the IIT Madras BS Deep Learning for Computer Vision (Deep Learning for Computer Vision) End Term paper sat on 10 May 2026, in the January 2026 term (Deep Learning For Computer Vision 06 May 26). It carries 4 marks.