Join Nostr
2024-11-03 20:52:45 UTC

Anoncheg on Nostr: Part1: Part1: #dailyreport #negativesampleing #sampling #llm #recsys Negative ...

Part1: Part1: #dailyreport #negativesampleing #sampling #llm #recsys
Negative sampling used in NLP, RecSys,retrival and
classification tasks to address the computational
challenges associated with large vocabularies or item
sets. It modifies the training objective: Instead of
computing the softmax over the entire vocabulary, it
focuses on distinguishing the target word from a few
randomly selected "noise" or "negative" words.

Instead of loss:
: softmax(x_i) = e^(x_i) / (sum of e^(x_j) for all j from 1 to n)
: L = -log(p(w | c)) = -log(softmax(x_i))