---
title: Vision Transformer: Reading a Picture as a Row of Patches | Large Programs
description: The Vision Transformer cuts an image into patches and treats them like words in a sentence. What the 2020 paper says it showed about image recognition.
canonical: https://www.largeprograms.com/vision-transformer-cutting-pictures-into-patches/
---

[Home](/) / [How LLMs Work](/category/how-llms-work/)

How LLMs Work

# Vision Transformer: Reading a Picture as a Row of Patches

The Vision Transformer cuts an image into patches and treats them like words in a sentence. What the 2020 paper says it showed about image recognition.

27 November 2026 · 2 min read

Language models read a sentence as a row of words, or tokens. A picture is not a row of words, but a 2020 paper asked: what if you cut a picture into small square patches and read the patches in a row?

![A picture cut into nine numbered patches, lined up in a row, then read by a transformer.](/img/vit-patches.svg)

The paper is "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale". It introduced the **Vision Transformer**, or ViT. Read about the Transformer first in [the Transformer explained simply](/the-transformer-explained-simply/).

## What came before

The abstract explains that the Transformer was already the standard design for language tasks, but in computer vision its use was limited. In vision, attention was either combined with convolutional networks (CNNs, the older way to look at images) or used to replace parts of them while keeping their overall structure. See [computer vision](/computer-vision-how-computers-see/) for the background.

## What the authors say they showed

- A pure transformer applied directly to sequences of image patches "can perform very well on image classification tasks", so the reliance on CNNs is not necessary.
- After pre-training on large amounts of data and transfer to benchmarks such as ImageNet, CIFAR-100 and VTAB, the Vision Transformer reached excellent results compared with the best convolutional networks, while needing "substantially fewer computational resources to train".
- They released code and pre-trained models.

These are the authors' claims for the tests they ran. The abstract does not give the exact accuracy numbers, so this page does not either. For the story of the ImageNet benchmark, see [ImageNet](/imagenet-the-photo-library-that-taught-ai-to-see/).

## Why it matters

The Vision Transformer is an example of one design working for two kinds of data, words and pictures. That helps explain why the same family of ideas appears in [multimodal AI](/what-is-multimodal-ai/), which handles text and images together.

## A note on sources

Everything above comes from the title and abstract of the paper on arXiv (2010.11929), read on 27 November 2026.

## Sources

- [https://arxiv.org/abs/2010.11929](https://arxiv.org/abs/2010.11929)

[Read this page as Markdown (.md)](/vision-transformer-cutting-pictures-into-patches.md)

## Keep reading

[![](/img/hero/art-ai-art-and-music-basics.svg)](/ai-art-and-music-basics/)

How LLMs Work

### [How AI Makes Music: A Beginner's Look](/ai-art-and-music-basics/)

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.
