AI Model Wiki

    Skip to main content
    Back to Glossary

    CLIP Model

    The CLIP Model (Contrastive Language-Image Pre-training) is a neural architecture developed by OpenAI that learns to associate images with natural-language descriptions by training on roughly 400 million image-caption pairs collected from the web. A vision encoder and a text encoder are trained jointly with a contrastive objective: for a batch of image-text pairs, the model maximizes the cosine similarity of matched pairs and minimizes it for all non-matching combinations. The resulting Embedding space is shared, meaning images and their descriptions land near each other in the same high-dimensional geometry.

    Think of it like a museum curator who has catalogued millions of artworks alongside their descriptions: after enough exposure, the curator can immediately tell whether a new description fits a new painting, even if they have never seen that specific combination before.

    The practical capability this unlocks is zero-shot classification. Given an image and a list of candidate labels, CLIP scores the image against text prompts of the form "a photo of a {label}" and returns the highest-scoring label—without ever being trained specifically on that classification task. This behavior underpins image-search engines, Multimodal retrieval systems, and is central to how Diffusion models like Stable Diffusion steer generation from a text prompt.

    CLIP is a cornerstone of Multimodal AI research and directly relates to Zero-Shot learning, Latent Space alignment, Embedding geometry, and Diffusion model conditioning. It influenced subsequent contrastive vision-language models including SigLIP, ALIGN, and the visual encoders used in GPT-4V and LLaVA. The contrastive training approach also inspired analogous methods for aligning text with audio and video.

    You will encounter the CLIP Model when working with text-to-image pipelines, Multimodal Foundation Models, semantic image search APIs, and any system that needs to measure the semantic distance between visual and linguistic content.

    AI Terminology
    Glossary