# What is Vision Transformer? Definition & Technical Mechanics

> **Source:** [SPIDITS AI AI Glossary](https://spidits.com/ai-glossary)  
> **Category:** Neural Architectures  
> **Canonical Citation:** [https://spidits.com/ai-glossary/vision-transformer](https://spidits.com/ai-glossary/vision-transformer)

## Definition
A Vision Transformer (ViT) is a neural network architecture that adapts the Transformer attention mechanism for computer vision tasks. By splitting images into grid patches and treating them like tokens in a sentence, ViT learns long-range visual relations.

## Architectural Mechanics & Deep Dive
A Vision Transformer (ViT) is a computer vision architecture that applies the Transformer model directly to images. ViTs partition an image into a grid of non-overlapping patches, project them into linear embeddings, append positional tokens, and process them as sequence inputs, matching or exceeding CNN capabilities.

## Industry Applications & Real-World Use Cases
Image classification, medical anomaly detection, and video analysis

## Frequently Asked Questions

### How does ViT compare to CNNs?
ViTs generally achieve higher accuracy on massive datasets because they do not have spatial translation limits (inductive bias) like CNNs, but require much more training data.

### What is an image patch in ViT?
A small sub-grid of an image (e.g. 16x16 pixels) that is flattened into a vector and treated as a single token.

## Related Terminology
- [transformer](https://spidits.com/ai-glossary/transformer)
- [cnn](https://spidits.com/ai-glossary/cnn)
- [deep-learning](https://spidits.com/ai-glossary/deep-learning)

---
*From the SPIDITS AI Knowledge Base (336+ terms indexed). Explore full technical definitions: [https://spidits.com/ai-glossary](https://spidits.com/ai-glossary)*
