VeltrixVeltrix.
← All articles
16 / 62March 17, 2026

AI vs Machine Learning vs Deep Learning: What's Actually the Difference?

The nested relationship between AI, machine learning, and deep learning — explained with real examples, without jargon.

AI contains machine learning. Machine learning contains deep learning. Every deep learning system is an ML system. Every ML system is an AI system. But not every AI system uses machine learning, and not every ML system uses deep learning.

Most confusion about these terms comes from media and marketing using "AI" as a catch-all when they mean something much more specific. When your email provider says it uses "AI" to filter spam, that's ML specifically. When OpenAI builds GPT-4, that's deep learning specifically. When Siri follows rule-based logic, that's traditional AI. Same umbrella term, very different things.

The distinctions that actually matter for understanding why different AI systems behave differently.

LAYER 1 — AI
Artificial Intelligence

The broad goal: make machines exhibit intelligent behaviour. AI as a field dates to 1956 (the Dartmouth Conference). Early AI was largely rule-based — write explicit IF/THEN logic, and the machine follows it. A chess program from 1960 that knows "bishops move diagonally" is AI, but it's not learning anything — those rules were hardcoded.

Real examples: IBM's Deep Blue chess computer (rule-based search), early GPS navigation (algorithmic pathfinding), expert systems used in medical diagnosis in the 1980s and 90s. These are AI but not ML.

LAYER 2 — ML
Machine Learning

The key shift in ML: instead of programming rules explicitly, you feed the system data and let it discover the patterns itself. A spam filter built with ML doesn't get told "emails with the word 'Viagra' are spam." It sees thousands of spam and non-spam emails and discovers the patterns. STAN

Real examples: Email spam filters (trained on labelled spam), Netflix recommendations (trained on watch history), credit scoring models (trained on repayment data), Amazon's purchase recommendations. Most "practical AI" in production is ML.

LAYER 3 — DEEP LEARNING
Deep Learning

Deep learning uses neural networks with many layers (hence "deep") to learn representations of data at multiple levels of abstraction. It doesn't just learn rules — it learns hierarchical features. For image recognition: layer 1 detects edges, layer 2 detects shapes, layer 3 detects objects. This layered approach is what enables it to handle raw inputs like images, audio, and text without hand-crafted features. DL

The field exploded after 2012, when AlexNet won the ImageNet competition with error rates dramatically below traditional approaches. Since then: speech recognition, image generation, game playing (AlphaGo), protein folding (AlphaFold), and the LLMs behind ChatGPT and Claude.

Real examples: ChatGPT, Claude, Gemini (all transformer-based deep learning), Midjourney and DALL-E (diffusion models — deep learning), Google Translate, Face ID on iPhone, AlphaFold's protein structure predictions.

Technology you already use, sorted into the correct category.

AI (not ML)
Rules-based systems

• Siri reading your calendar (rule-based parsing)
• Traffic light timing algorithms
• Old chess programs (heuristic search)
• Autocorrect based on a dictionary
• A thermostat that turns on at 18°C

Machine Learning
Learning from data

• Netflix recommendations
• Gmail spam filter
• Credit card fraud detection
• Amazon's "customers also bought"
• Spotify Discover Weekly
• Google's ad targeting

Deep Learning
Neural networks at scale

• ChatGPT, Claude, Gemini (LLMs)
• Midjourney, DALL-E (image gen)
• Google Translate (neural MT)
• Face ID (convolutional neural net)
• YouTube video recommendations
• AlphaFold (protein structure)

The key insight

The reason deep learning took over is that it removes the need for humans to manually specify features. Traditional ML needed engineers to decide "which attributes of an email indicate spam?" Deep learning figures that out itself from raw data. That's the fundamental shift.

And it's why the last decade of AI progress has been so rapid — once we stopped needing to manually engineer features, we could scale to problems no one had been able to solve before.

Is ChatGPT AI, ML, or deep learning?

All three, simultaneously. ChatGPT is an AI product (fits the broad definition), built using machine learning (trained on data), specifically using deep learning (transformer neural network architecture). When people ask "is this AI or ML?" the answer is often "it's AI built with ML built with deep learning." The categories are nested, not mutually exclusive.

Is all modern AI deep learning?

No. Traditional ML approaches (decision trees, random forests, gradient boosting) are still widely used in production, particularly in tabular data problems (fraud detection, credit scoring, recommendation systems). They're often more interpretable and efficient than deep learning for structured data. Deep learning dominates with unstructured data: images, audio, text, video.

Do I need to understand all three terms to use AI tools?

No. But understanding the nested structure helps you ask better questions about any AI system. "What data was this trained on?" (ML question), "How many layers does it have?" (deep learning question), "What rules govern what it won't do?" (AI safety question). The distinctions become useful when you're evaluating which tool is right for a task, or when something doesn't work as expected.

Sources
STAN
Stanford CS229 — Machine Learning Course (Andrew Ng)cs229.stanford.edu
DL
LeCun, Bengio, Hinton — Deep Learning, Nature 2015nature.com/articles/nature14539
AI is the goal. ML is the method.
Deep learning is the current best method.

The vocabulary matters less than the mental model. When someone says "AI," ask: is this a rule-based system, a traditional ML model, or a deep learning system? Each has different strengths, failure modes, and interpretability. A decision tree that denied your loan application can be explained precisely. A deep learning model that did the same thing often can't.

The fact that deep learning has dominated the last decade doesn't mean it dominates everything. The next breakthrough might use an architecture we haven't invented yet. The field hasn't stopped moving.

Stay ahead of the curve

AI intelligence,
weekly.

Every week: the AI developments that matter, the tools worth trying, and the data behind the headlines. No hype. No filler.

Subscribe free →
Written by Luke Madden, founder of Veltrix Collective. Data synthesis and analysis by Vel.