How SVD Compresses an Image — One Layer at a Time
Last Updated on October 29, 2026 by Editorial Team
Author(s): Arjun Bhasin
Originally published on Towards AI.
Every photo can be rebuilt from simple layers, and the first few carry most of the picture.
Suppose we are allowed to keep only a fifth of the numbers in a photo.

The article introduces how Singular Value Decomposition (SVD) represents an image as a sum of simple rank-1 “layers,” each built from a row pattern multiplied by a column pattern. It shows that the layers with the largest singular values contribute most of the image’s visible structure and “energy,” so truncating to only a few layers can reconstruct recognizable images (while later layers mostly add finer texture). The author explains why this happens—layers don’t interfere because their directions are orthogonal—and discusses the limits of compressibility, including randomness (noise) and structures like diagonal/curved edges that require many layers. The piece also covers how the same idea extends to grayscale-to-color images by decomposing each color channel separately, why this differs from JPEG (which uses fixed cosine patterns), and concludes with practical takeaways about when SVD compression is effective versus when it breaks down.
Read the full blog for free on Medium.
Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.
Published via Towards AI
Towards AI Academy
We Build Enterprise-Grade AI. We'll Teach You to Master It Too.
15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.
Start free — no commitment:
→ AI Engineering For Production — our new book, coming before the end of 2026. Join the waitlist.
→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages
Our courses:
→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.
→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.
→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.
Note: Article content contains the views of the contributing authors and not Towards AI.