In order to learn the entity representation v e such that it encodes all of its mentions' contexts, we introduce an objective that encourages the context representation v m to be similar to v e (where mention m is a link to entity e), and dissimilar to other candidates 4 .
we maximize the probability of predicting the correct entity from the mentioncontext vector as P text (e|m) = where C m is the set of candidate entities.