Litcius/Paper detail

Pairwise Supervised Contrastive Learning of Sentence Representations

Dejiao Zhang, Shang-Wen Li, Xiao Wei, Henghui Zhu, Ramesh Nallapati, Andrew O. Arnold, Bing Xiang

2021Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing43 citationsDOIOpen Access PDF

Abstract

Many recent successes in sentence representation learning have been achieved by simply fine-tuning on the Natural Language Inference (NLI) datasets with triplet loss or siamese loss. Nevertheless, they share a common weakness: sentences in a contradiction pair are not necessarily from different semantic categories. Therefore, optimizing the semantic entailment and contradiction reasoning objective alone is inadequate to capture the high-level semantic structure. The drawback is compounded by the fact that the vanilla siamese or triplet losses only learn from individual sentence pairs or triplets, which often suffer from bad local optima. In this paper, we propose PairSupCon, an instance discrimination based approach aiming to bridge semantic entailment and contradiction understanding with high-level categorical concept encoding. We evaluate PairSupCon on various downstream tasks that involve understanding sentence semantics at different granularities. We outperform the previous state-of-theart method with 10%-13% averaged improvement on eight clustering tasks, and 5%-6% averaged improvement on seven semantic textual similarity (STS) tasks.

Topics & Concepts

Natural language processingComputer scienceArtificial intelligenceSentencePairwise comparisonTextual entailmentSemantic similarityInferenceRepresentation (politics)Semantics (computer science)ContradictionSimilarity (geometry)Logical consequenceLinguisticsLawProgramming languagePhilosophyPolitical sciencePoliticsImage (mathematics)Topic ModelingNatural Language Processing TechniquesMultimodal Machine Learning Applications
Pairwise Supervised Contrastive Learning of Sentence Representations | Litcius