Stanford
University
  • Stanford Home
  • Maps & Directions
  • Search Stanford
  • Emergency Info
  • Terms of Use
  • Privacy
  • Copyright
  • Trademarks
  • Non-Discrimination
  • Accessibility
© Stanford University.  Stanford, California 94305.

What is Contrastive Learning?

Contrastive Learning is a machine learning technique where the model learns by comparing similar and dissimilar examples to understand what makes things alike or different. A model is trained to put similar items (like two photos of cats) closer together in its internal representation while move dissimilar items (like a photo of a cat and a photo of a toaster) farther apart.


Contrastive Learning mentioned at Stanford HAI

What is Contrastive Learning? | Stanford HAI

Explore Similar Terms:

Self-Supervised Learning | Unsupervised Learning | Embeddings

See Full List of Terms & Definitions

Skip to content
  • About

    • About
    • People
    • Get Involved with HAI
    • Support HAI
    • Subscribe to Email
  • Research

    • Research
    • Fellowship Programs
    • Grants
    • Student Affinity Groups
    • Centers & Labs
    • Research Publications
    • Research Partners
  • Education

    • Education
    • Executive and Professional Education
    • Government and Policymakers
    • K-12
    • Stanford Students
  • Policy

    • Policy
    • Policy Publications
    • Policymaker Education
    • Student Opportunities
  • AI Index

    • AI Index
    • AI Index Report
    • Global Vibrancy Tool
    • People
  • News
  • Events
  • Industry
  • Centers & Labs

Stay Up To Date

Get the latest news, advances in research, policy work, and education program updates from HAI in your inbox weekly.

Sign Up For Latest News

Navigate
  • About
  • Events
  • AI Glossary
  • Careers
  • Search
Participate
  • Get Involved
  • Support HAI
  • Contact Us

Enroll in a Human-Centered AI Course

This HAI program covers technical fundamentals, business implications, and societal considerations.
My Summer of Learning: Inside Stanford HAI’s AI4ALL Program
Anandita Mukherjee
Aug 06
news

AI4All participant Anandita Mukherjee shares her experience in an immersive two-week AI learning experience.

My Summer of Learning: Inside Stanford HAI’s AI4ALL Program

Anandita Mukherjee
Aug 06

AI4All participant Anandita Mukherjee shares her experience in an immersive two-week AI learning experience.

Education, Skills
news