1
EC 500 A1: �Vision & language
Homework assignment (proposed changes)
Recap - Final project timeline
Recap - Final project proposal (3%)
Recap - Baseline/prototype is important!
Recap - Final project – What to prevent
Recap - Final project – General rubric
Questions?
8
First half of the semester - basics
Second half of the semester - advances
Second half of the semester - advances
Neural Radiance Fields (NeRF)
Today (51 & 34)
12
Recap: Unconditional generative models
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Gray: visible; White: latent
Recap: Autoregressive model (where is z?)
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Recap: Diffusion model (where is z?)
Recap: Generative adversarial net (GAN) (where is z?)
16
Generator
Discriminator
REAL
FAKE
[Credits: Mengdi Fan and Xinyu Zhou, CSE 5539 course presentation]
Recap: VAE (where is z?)
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Examples
Gaussian encourages “disentanglement”
Recap: Generative models with “z” as Gaussian
[Credits: What are Diffusion Models?]
Today (51 & 34)
23
Vision & language
How to encode/represent text?
Vocabulary size of K
How to encode/represent text?
Image & text representation
v
Transformer Encoder
Transformer for text
A beautiful building ….
Embedding makes it easy to combine vision & language
Visual representation by language supervision
Visual representation by language supervision
Visual representation by language supervision
CLIP (Contrastive Language-Image Pre-Training)
CLIP (Contrastive Language-Image Pre-Training)
CLIP (Contrastive Language-Image Pre-Training)
CLIP (Contrastive Language-Image Pre-Training)
CLIP (Contrastive Language-Image Pre-Training)
CLIP (Contrastive Language-Image Pre-Training)
“positive” image-text pairs
“negative” image-text pairs
CLIP (Contrastive Language-Image Pre-Training)
“positive” text-image pairs
“negative” text-image pairs
CLIP (Contrastive Language-Image Pre-Training)
Illustration
CLIP as a zero-shot classifier
CLIP as a zero-shot classifier
CLIP as a zero-shot classifier
CLIP as a zero-shot classifier
CLIP as a zero-shot classifier
CLIP for image retrieval
[INQUIRE-Search: Interactive Discovery in Large-Scale Biodiversity Databases, 2026]
Questions?
47
Translation between images and text
From unconditioned to conditioned generation
Image-to-Image
Text-to-Image
Text-to-Image (conditional VAE)
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Text-to-Image (conditional VAE)
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Text-to-Image (conditional Diffusion)
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Text-to-Image (conditional Diffusion)
[Figure credit: A. Torralba, P. Isola, and W. T. Freeman, Foundations of Computer Vision.]
Questions?
56
Image-to-Text
Image captioning (by Transformers)
Image captioning (by Transformers)
Image captioning (by Transformers)
Cross-attentions:
Text tokens will attend to the image tokens, using their information to decide on the next words
Image captioning (by Transformers)
Surely, we need training data
Visual question answering (VQA)
LLaVA: Large Language and Vision Assistant
Using another transformer --- for example, a large language model --- to combine image and questions
Questions?
64
Open-vocabulary recognition models
[SAM 3: Segment Anything with Concepts, 2025]
Open-vocabulary recognition models
[SAM 3: Segment Anything with Concepts, 2025]
Open-vocabulary recognition models
[SAM 3: Segment Anything with Concepts, 2025]