Similarly, given two mentions n i and n j , if they refer to the same detected object c k , then both b n i ,c k and b n j ,c k should be large.
we can use the maximum of their product among all K classes except "null" as the probability of n i and n j related to the same object in I.