AI, ML, deep learning, GenAI: getting the terms straight
Four terms you hear used as synonyms are actually nested — each a specialization of the one before. Here's the hierarchy, with concrete examples and the mistakes it saves you from.
In most meetings, "AI", "ML", "deep learning" and "generative AI" are used interchangeably. They aren't synonyms. They're nested: each is a specific subset of the one before. Mixing them up is harmless small talk and costly when it drives a buying decision.
The nested-set picture
┌──────────────────────────────────────────────────┐
│ Artificial intelligence │
│ ┌───────────────────────────────────────────┐ │
│ │ Machine learning │ │
│ │ ┌─────────────────────────────────────┐ │ │
│ │ │ Deep learning │ │ │
│ │ │ ┌──────────────────────────────┐ │ │ │
│ │ │ │ Generative AI │ │ │ │
│ │ │ │ ┌───────────────────────┐ │ │ │ │
│ │ │ │ │ Large language models │ │ │ │ │
│ │ │ │ └───────────────────────┘ │ │ │ │
│ │ │ └──────────────────────────────┘ │ │ │
│ │ └─────────────────────────────────────┘ │ │
│ └───────────────────────────────────────────┘ │
└──────────────────────────────────────────────────┘
Everything inside is also everything outside. Every LLM is a generative AI system; every generative AI system is a deep-learning system; every deep-learning system is machine learning; all machine learning is a flavor of AI. The reverse is not true.
Artificial intelligence: the goal, not the method
AI is the oldest and vaguest term in the stack. It names a goal — making machines do things that, when humans do them, we call intelligent. That goal has been pursued with:
- Hand-crafted rules (the expert systems of the 1980s).
- Search over state spaces (chess engines before AlphaZero).
- Statistical learning (everything we now call ML).
- Hybrid systems (modern robotics stacks combining planning and learning).
If a vendor says their product "uses AI", that sentence commits them to nothing. Ask which of the above.
Machine learning: patterns from data
Machine learning is the subset of AI where the behavior isn't programmed, it's learned from examples. A spam filter trained on labeled emails is ML. A linear regression that predicts next quarter's revenue from the last twelve is ML. A random forest that scores credit applications is ML.
ML works when:
- There's enough representative data.
- The thing you want to predict is actually in that data (not just correlated with something that was).
- You can measure success in a way that matches the business question.
ML is also where most of the boring and valuable automation of the last 15 years lives: fraud scoring, demand forecasting, OCR, search ranking. Not glamorous. Enormous ROI.
Deep learning: ML done with layered neural networks
Deep learning is a subset of ML. The "deep" refers to the depth of a neural network — many layers of simple units stacked on top of each other. The breakthrough wasn't the architecture (neural nets are from the 1950s); it was realizing that enough data, enough compute, and layers deep enough could learn representations by themselves instead of being told what to look for.
Deep learning is what finally made computer vision robust (ImageNet, 2012), what pushed speech recognition past human parity (around 2017), and what underpins essentially every modern AI product.
If a product does something ML couldn't easily do a decade ago — describe an image in natural language, recognize an arbitrary speaker, generate a plausible paragraph — it's deep learning.
Generative AI: deep learning that produces artifacts
Most ML models predict or classify. They turn an input into a label, a number, or a probability. Generative AI models produce — text, images, audio, video, protein structures, code.
The seemingly small shift from "classify" to "generate" changes what the technology is good for:
- A classifier helps you decide. ("Is this transaction fraud? Confidence 0.94.")
- A generator helps you create. ("Write a draft reply to this support ticket.")
The failure modes are different too. A classifier that's wrong gives you a wrong label. A generator that's wrong gives you a plausible paragraph of nonsense. In production, that difference matters more than any benchmark number.
Large language models: generative AI, specialized to text
LLMs — ChatGPT, Claude, Gemini, Llama, Qwen — are a specific family of generative AI models built on the transformer architecture (2017). They're trained on vast amounts of text to predict the next token, and then fine-tuned to behave like a cooperative assistant.
Three things to remember about LLMs:
- They are prediction engines all the way down. Everything they do, including reasoning and tool use, is implemented as "what token should come next?"
- They can be wrong fluently. Hallucination rates on leading models in 2026 sit between about 0.7% and 2% on benchmark tasks — low, but non-zero, and the errors are confident.
- They're not the whole landscape. Image generators (diffusion models), speech models, and code models are related but architecturally distinct.
Why the distinctions matter when you're buying
If someone pitches you an "AI solution" and you don't ask which layer of the pyramid, you'll end up paying for the wrong thing:
- For a prediction problem with structured data (churn, forecasting, lead scoring) — classical ML is often a better fit than an LLM. Cheaper, more interpretable, easier to monitor.
- For a problem with unstructured text or images — deep learning is likely the right tier, but whether you need a frontier LLM depends on how specialized and verifiable the task is.
- For a problem that requires producing novel content — generative AI, almost by definition.
- For a problem that needs a chatbot persona — that's a UI question wrapping one of the above, not a technology category on its own.
The map isn't the territory, but it does keep you from buying a yacht when you need a dinghy.