Easy2Hard: From Partially to Fully Unmatched Modalities as Negative Samples in Contrastive Learning

Zhi-Cheng Yang, Yichen Liu, Chang Ge, Xiao-Peng Jiang
1/1/2026
contrastive-ssl

No confident code implementation found for this paper.

Abstract

Contrastive learning is widely used for generating multimodal data representations by aligning embeddings of different modalities of the same data samples. This alignment is achieved through a loss function that treats matched and unmatched modality pairs as positive and negative samples within a data batch.

Show full abstract

However, when extending contrastive learning to scenarios involving more than two modalities, existing approaches either rely solely on fully unmatched modalities as negative samples, or fail to distinguish between partially and fully unmatched modalities, thereby overlooking the fine-grained contrasting relationships. To address this limitation, we propose Easy2Hard, a novel framework that explicitly separates partially and fully unmatched modalities. To learn from negative samples at improved granularity, Easy2Hard further introduces a sigmoid weighting curriculum that smoothly transitions the learning process from easy (partially unmatched) to hard (fully unmatched) contrasts. Comprehensive evaluations on five multimodal datasets across diverse domains demonstrate the superiority of our approach.

Semantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026easyhard,
  title  = {Easy2Hard: From Partially to Fully Unmatched Modalities as Negative Samples in Contrastive Learning},
  author = {Zhi-Cheng Yang and Yichen Liu and Chang Ge and Xiao-Peng Jiang},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:a1153d63effa6e596ef76c1183ed89a63b8751f4},
  journal = {Computer Vision and Pattern Recognition}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/a1153d63effa6e596ef76c1183ed89a63b8751f4.svg)](https://codeofpaper.com/paper/a1153d63effa6e596ef76c1183ed89a63b8751f4)

Discussion