Loss functions in Instance Representation Learning [R]
![Loss functions in Instance Representation Learning [R]](/_next/image?url=https%3A%2F%2Fpreview.redd.it%2F3l7mtxoc3bah1.png%3Fwidth%3D140%26height%3D27%26auto%3Dwebp%26s%3D8426b12f6ec1f44b193529124dee890e0642ad25&w=3840&q=75)
| In Wu et. al, the MLE objective is computationally infeasible due to the high number of images in the dataset. With large n, the denominator in (2) is hard to compute. Therefore, they use NCE (Noise-Contrastive Estimation). Essentially, they approximate the difficult loss in (3) with the easier to compute loss in (7). However, we end up estimating the denominator anyways in (8). Why not just approximate the denominator in (2) with (8)? I asked Claude about this and it said something about it being a biased estimator, but I didn't really get that. I'm also a little confused on the connection of the original NCE formulation as being a way to estimate density and the way it is used here; do we do this because NCE loss is easier to compute and as m (the number of noise samples) increases, we get the gradients of NCE loss and gradients of NLL loss to match? [link] [comments] |
Want to read more?
Check out the full article on the original site