Learn from relationships between examples
Use pairs of pictures to teach useful similarities, then check what differences the model still notices.
- Starting information
Two allowed views of the same image
- Relationship or operation
Encourage similar representations of the pair
- Consequence
A representation shaped by the pairing rule
Contrastive learning uses relationships between examples. The chosen positive pairs define which differences the model is encouraged to ignore.
Your learning goal
Show which examples belong together. Check whether the model learns useful differences instead of treating everything alike.