Contrastive Coding Explained for Beginners


Contrastive coding is a method by which computer programs learn to recognize important similarities and differences between data.

Imagine you want to teach a computer to distinguish between pictures of cats and dogs.

The method shows the computer many examples and helps it to place similar things closer together and different things further apart.

This way, the computer learns to recognize important features that distinguish cats from dogs, even if the pictures look different.