Intuitively, if we construct a dataset for NLSM by randomly sampling some pairs of sentences, the resulting dataset would be extremely imbalanced, where the most of the pairs are neutral for NLI or not duplicated for STS.
to make the dataset relatively balanced, a sampling strategy is often required.