is the score for negative sample (h i , t ′ i ) corresponding to current positive entity pair should be small for task T r which represents the model can properly encode truth values of triples.
gradients of parameters indicate how should the parameters be updated.