← Back to Multimodal Mind Map
⚡Flashcard Drill➔
👁️ MultimodalID: clip-architecture

CLIP Two-Tower Architecture

CLIP 双塔架构
🎯Core Definition
CLIP (Contrastive Language-Image Pretraining) is OpenAI's contrastive multimodal model with a two-tower design: an image encoder (ViT such as ViT-B/32, or ResNet) and a text encoder (Transformer), jointly trained on 400M image-text pairs (WIT) to embed images and texts into a shared contrastive space — pulling matched pairs (positives) closer in cosine similarity while pushing other in-batch samples (negatives) apart, with the InfoNCE loss computed symmetrically in both image→text and text→image directions.
💡Use Cases
zero-shot image classification (76.2% top-1 on ImageNet with no fine-tuning), image-text retrieval, the text-conditioning encoder of text-to-image models (Stable Diffusion reuses CLIP's text tower), and the visual-tower backbone of many VLMs.
⚡Key Problems Solved
classic classifiers require a fixed, hand-labeled label set and retraining for every new class; CLIP turns categories from a finite set into an open language space — at inference you fill candidate labels into prompt templates (“a photo of a {label}”), encode them as text features, and pick the class with the highest similarity to the image feature, enabling zero-shot transfer to arbitrary new datasets from a single pretraining.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of CLIP Two-Tower Architecture.
Use Cases
In production engineering, what are the primary use cases for CLIP Two-Tower Architecture and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Which encoders do CLIP's two towers use, and how do both towers share one contrastive space?
2
CLIP vs VLM: CLIP only aligns embeddings, why can't it directly chat?
3
The full zero-shot classification pipeline of CLIP? Role of the prompt template (“a photo of a {label}”)?
4
Why does CLIP use a symmetric loss (image→text + text→image)? What would one-directional training lose?
5
CLIP's role in Stable Diffusion: which tower is used, frozen or trainable?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "CLIP Two-Tower Architecture"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
Next Card →InfoNCE Contrastive Loss

🔗 More Multimodal Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/Multimodal/card/clip-architecture