Contrastive Learning and Positive Pair Design
Construct training pairs with a declared shared property and diagnose when augmentation teaches an unwanted invariance.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
The pairing rule defines which views should agree
A contrastive image pipeline can take two transformations of one input as a positive pair and compare it with other examples. Similarity can use normalized embeddings. A crop might preserve overall object identity while discarding the small label needed by a later downstream task. Treating all such views as positive teaches belief about which input differences should be ignored.
Candidates include ambiguous negatives
Two different source images can depict the same object class or condition. Treating them as negatives can push apart features a downstream query would group. Evaluation should test both the retained information and how much depends on training pair design. Cosine similarity defines a common comparison. Self-supervised representation learning analyzes contrastive objectives, anti-collapse regularization and masking.[1][2]