In the UHop framework, the model is trained to favor the correct relation over incorrect relations.
to select the correct outbound single-hop relations from current entity e, the model prefers the correctr over the other relations R −r of e; to terminate at the current entity e, the model favors the correct relationr linked to the current entity e over the outbound R relations from e. To continue the iteration, it proceeds likewise.