Therefore, we only select sentences from the same document to construct negative pairs.
suppose s i comes from document d k with length n k , then p(s |s i ) is a uniform distribution over the n k − 1 sentences {s j } j = i from d k .