Labs · AI Foundations
AI, machine learning, generative AI: what's the difference?
AI is the umbrella, machine learning is an approach, and generative AI creates content. Explore the differences without the jargon.

The takeaway
Ask what a system does: classify, predict, recommend or generate. Calling something AI does not tell you whether it is accurate or appropriate.
AI: the broad category
The OECD describes an AI system as a machine-based system that infers from inputs how to produce predictions, content, recommendations or decisions for explicit or implicit objectives. AI covers different techniques and levels of autonomy. It does not imply consciousness or human-like understanding.
For example, a system might recommend a route or plan a sequence of actions. Not every automation is AI: a fixed instruction that sends a reminder on a date does not become intelligent merely because it saves time.
Machine learning: patterns from data
Machine learning is an approach within AI in which systems learn from data to improve performance. A spam classifier is an illustrative example: labeled messages help a model distinguish categories. Deep learning uses layered neural networks and is a subfield of machine learning.
The Labs learning experiment uses nearest neighbors: labeled points influence how nearby points are classified. Its deliberately small dataset makes the behavior visible, but does not demonstrate a production-ready model. Learning from training data does not mean every deployed system continuously learns from your conversations.
Generative AI: producing new content
NIST describes generative AI models as emulating the structure and characteristics of input data to generate derived synthetic content, such as text, images, audio or video. A text assistant drafting a message is an illustrative example. AI is the umbrella, machine learning is an approach, and generative AI describes a content-generating category; they are not three competing products.
Plausible content can still be wrong. NIST identifies confabulation as a generative-AI risk. Before connecting an assistant to business actions, decide what needs a source, what needs a person's approval and how errors are corrected.
Sources & further reading
- OECD: Updated definition of an AI system
- NIST: Machine learning glossary
- NIST: Generative artificial intelligence glossary
- NIST: Generative AI risk management profile







