We observed that the naive pairwise ranking loss that uses a fixed margin unfairly penalizes the locally positive sentences during training.
the loss should be active only for local windows that differ in D pos and D neg .