AI & ML

Representation and Embeddings

Part of Deep Learning, level 4. About 8 hours of study across the topics below.

Create free account

EmbeddingsSimilarity in Vector SpaceMetric Spaces and DistanceDistributed RepresentationsWord EmbeddingsContextual RepresentationsSelf-Supervised LearningContrastive Learning

1Vectors

  1. EmbeddingsVectors that carry meaning: lookup tables that learn where things live. 1–2 h
  2. Similarity in Vector SpaceDot products and cosines as relatedness: the arithmetic behind neighborhoods. 1–2 h
  3. Metric Spaces and DistanceDistance is a choice: axioms, Euclidean vs cosine vs Manhattan, and why it matters. 1–2 h
  4. Distributed RepresentationsMeaning spread across dimensions: why dense vectors share statistics that one-hot cannot. 1–2 h

2Word And Context

  1. Word EmbeddingsWords from company: the Word2Vec/GloVe idea, analogies, and their caveats. 1–2 h
  2. Contextual RepresentationsSame word, different vector: why meaning needs its sentence. 1–2 h

3Representation Learning

  1. Self-Supervised LearningManufacturing labels from the data itself: masking, next-element prediction, and paired views. 1–2 h
  2. Contrastive LearningPull matched pairs together, push others apart: InfoNCE as softmax cross-entropy over similarities. 1–2 h