The function g shares an updating paradigm similar to negative sampling: where σ denotes the sigmoid function and γ the discounting learning rate.
d is the target label specifying the relative direction of w t+i given w t , defined as according on the relative position of w t+i respect to w t .