How Models See

To a computer, an image is just a grid of numbers — millions of pixel values with no inherent meaning. Turning that raw grid into something a model can understand (this is a dog, that's a face, here's text on a sign) is the problem of computer vision, and the way it's solved has changed dramatically. The field moved from hand-crafted feature detectors, to convolutional networks that learn features, to — most recently — the surprising discovery that the transformer architecture behind language models works remarkably well for images too. Understanding how models see is the foundation of the vision side of multimodal AI.

Before models can connect vision to language, they must process vision — turn images into representations they can work with. This post covers how AI models “see”: images as data, the evolution from convolutional neural networks (CNNs) to the Vision Transformer (ViT), how ViT treats an image as a sequence of patches, and what an image encoder produces. It’s the vision foundation the rest of the multimodal series builds on — because the image embeddings these models produce are what get connected to text and other modalities.

Images as data

To a model, an image is a grid of numbers — pixel values (for color images, typically three values per pixel: red, green, blue) arranged in a 2D grid. There’s no inherent “meaning” — just numbers. The challenge of computer vision is turning that raw grid into a useful representation that captures what’s in the image:

Images are grids of numbers, and vision models turn those raw pixels into meaningful representations (embeddings) by learning features from data. The evolution of how they learn those features — from CNNs to Vision Transformers — is the rest of this post, and the image embeddings they produce are the foundation for connecting vision to language.

From CNNs to transformers

The dominant approach to vision for years was convolutional neural networks (CNNs), but recently the transformer — the architecture behind LLMs — has become central to vision too. The evolution matters:

The evolution from CNNs (image-specific, hierarchical feature learning, long-dominant) to transformers (general, surprisingly effective for vision at scale) is central — both as vision progress and because the transformer’s cross-modality generality is what makes combining vision and language natural. The Vision Transformer is how transformers were adapted to images.

The Vision Transformer: images as patches

The Vision Transformer (ViT) adapts the transformer to images with a clever, simple idea: treat an image as a sequence of patches, analogous to how a transformer treats text as a sequence of tokens:

The Vision Transformer treats an image as a sequence of patches processed by a transformer with self-attention — bringing images under the same architecture as language. This “image as a sequence of patches” idea both advanced vision and, crucially, aligned vision with language architecturally, enabling the shared-space multimodal connections the rest of the series relies on.

The image encoder and its output

Whether CNN or ViT, the practical result relevant to multimodal AI is an image encoder that turns an image into an embedding — and understanding its output is what matters going forward:

How models see comes down to: images are grids of pixels, vision models learn to turn them into meaningful embeddings, the field moved from CNNs to transformers (the Vision Transformer treating images as sequences of patches), and the result is an image encoder producing embeddings — which, crucially, can be connected to text and other modalities in a shared space. That connection is the next post’s topic: CLIP, and how vision and language are linked. Next: connecting modalities.

Key takeaways

Further reading

Sources & References