AI literacy basics
AI, Machine Learning, Deep Learning, and Generative AI
Build a precise taxonomy of AI, machine learning, deep learning, foundation models, and generative systems without forcing imperfect categories into a single ladder.
By the end you can
- Explain the relationship between AI, machine learning, and deep learning
- Describe generative AI as a capability category rather than a perfect nested subset
- Distinguish a model family from a product feature or application
- Decode common product labels into more precise technical questions
Visual
A taxonomy should survive the next product launch
Product names change quickly. The relationships among fields, methods, model families, and applications are more durable, which is what makes them worth learning. The map below is deliberately approximate, because some of these categories overlap rather than nest.
The vocabulary itself has dates. “Foundation model” was proposed in August 2021, by the Stanford report On the Opportunities and Risks of Foundation Models. Its authors wrote: “We call these models foundation models to underscore their critically central yet incomplete character.”
- 01
Artificial intelligence
The broad field of building machine-based systems that infer outputs or choose actions toward objectives.
- 02
Machine learning
A major approach within AI in which performance improves by fitting patterns from data or experience.
- 03
Deep learning
Machine learning based on multi-layer neural networks that learn distributed representations.
- 04
Foundation models
Large models trained broadly enough to support many downstream tasks through prompting, adaptation, or integration.
Generative AI often uses deep foundation models, but “generative” describes what the system produces, not one exact place in a hierarchy.
Key idea
What the EU AI Act calls the same objects
Regulators reached for a different word for the same objects. Regulation (EU) 2024/1689, the EU AI Act, which entered into force on 1 August 2024, never uses the phrase “foundation model”; it legislates the “general-purpose AI model”, defined in Article 3(63) as a model “that displays significant generality and is capable of competently performing a wide range of distinct tasks”. Article 51(2) then presumes such a model has “high impact capabilities” — the trigger for the systemic-risk tier — once the computation used to train it exceeds 10²⁵ floating-point operations.
Machine learning changed where the rules come from
In traditional programming, people specify the procedure and the computer applies it to data; in machine learning, people specify a model family, data, an objective, and a training process, and the fitted parameters then capture a useful mapping.
Machine learning is therefore a major part of modern AI. It is not a synonym for the whole field: search algorithms, logical systems, planners, and hand-authored knowledge are all AI, and none of them learns from a dataset.
Tom Mitchell’s 1997 textbook Machine Learning states the test this shift implies. “A computer program is said to learn from experience E with respect to some class of tasks T and performance measure P, if its performance at tasks in T, as measured by P, improves with experience E.” Ask a vendor to name E, T and P. A system that learns has all three.
The non-learning traditions are equally concrete. A* is a graph-search method published by Peter Hart, Nils Nilsson and Bertram Raphael in 1968. It appeared in IEEE Transactions on Systems Science and Cybernetics. It finds a least-cost route. It always expands the option with the lowest sum of cost so far plus estimated cost remaining. It plans, and it is studied as AI. It has no training data, no fitted parameters, and no experience E to improve with.
Machine learning moves some behavior design from explicit rules into data, objectives, and model fitting.
Comparison
What deep learning adds—and what it demands
Deep learning became influential because it can learn internal representations directly from high-dimensional inputs. That flexibility comes with substantial costs.
The classical side of the comparison below is not a historical footnote. Léo Grinsztajn, Edouard Oyallon and Gaël Varoquaux assembled 45 tabular datasets for a benchmark presented in 2022. They pitted tree ensembles such as XGBoost and random forests against several deep-learning architectures. Each learner got roughly 20,000 compute hours of hyperparameter search. On medium-sized data — around 10,000 samples — the tree-based models still finished ahead. That is before their speed advantage is even counted.
Classical machine learning
Often relies on human-designed features and models suited to structured or modest-sized data.
- Strong on many tabular problems
- Often easier to inspect and train
- Can work with less data and compute
- Example: credit-risk model from financial variables
Deep learning
Uses layered neural networks to learn representations for images, audio, text, graphs, and other complex signals.
- Reduces some manual feature design
- Scales with data and computation
- Can be harder to interpret and debug
- Example: speech recognition from audio waveforms
Generative AI is defined by the output it creates
A discriminative system separates or scores possibilities — spam or not spam, likely delay, best-ranked item — while a generative system models enough structure to produce a new candidate: text, an image, audio, code, a molecular design.
Generative AI is not identical to large language models. Language models are one important family, while diffusion models and other generative approaches operate on images, audio, video, and additional data types.
Diffusion is the clearest example of a generative family that is not linguistic at all. Jonathan Ho, Ajay Jain and Pieter Abbeel presented “Denoising Diffusion Probabilistic Models” in 2020. They produced images by learning to reverse a gradual noising process one step at a time. They report a Fréchet Inception Distance of 3.17 on unconditional CIFAR-10. The method says nothing about language, and nothing about truth. A model of this kind will render a convincing photograph of an event that never took place.
“Generative” tells you what kind of output is produced; it does not tell you whether the output is accurate or appropriate.
Example
A model family is not a finished product
The same underlying model can support very different applications depending on data, instructions, tools, permissions, interfaces, and workflow design.
- A language model can summarize a public article, draft a private email, or propose a database query; each application needs different controls.
- A vision model can power photo search, factory inspection, or medical triage; the stakes and acceptable error patterns differ sharply.
- An embedding model can support semantic search, recommendation, clustering, or duplicate detection without generating visible content.
- A forecasting model can inform inventory planning or trigger automatic purchasing; the action policy changes the system risk.
- A foundation model may be prompted, fine-tuned, connected to retrieval, or wrapped with tools; those choices define much of the product behavior.
Analogy
Why one book sits on four different shelves
A library is organized by subject, format, audience, and purpose at the same time, which is why one book can be history, biography, illustrated nonfiction, and a school text at once.
AI labels work similarly: “deep learning” describes a method, “language model” a model family, “generative” an output behavior, and “assistant” a product role. Shelf labels are only descriptions, though, and technical categories also encode dependencies.
Ask what dimension a label describes before treating two labels as competitors.
Key idea
Three taxonomy traps worth avoiding
Trap one: assuming every modern AI feature is generative. Ranking, forecasting, detection, and optimization remain central.
Trap two: treating larger models as a new species of intelligence rather than systems with particular scaling behavior and interfaces. Trap three: assuming a product inherits every capability or limitation of the model family named in its marketing.
Taxonomy clarifies questions; it should not become a substitute for inspecting the actual system.
Steps
Translate a product label into technical questions
Instead of arguing over names, unpack the label into observable properties.
- 1
“AI-powered”
Ask which output is inferred, which component performs inference, and where rules or automation still dominate.
- 2
“Machine learning”
Ask what examples, labels, objective, and evaluation support the fitted behavior.
- 3
“Deep learning”
Ask what input representation, architecture family, data scale, and compute trade-offs matter.
- 4
“Foundation model”
Ask what broad pretraining contributes and what product-specific grounding or adaptation is added.
- 5
“Generative AI”
Ask what is generated, how claims are verified, and how unsafe or unsupported outputs are handled.
Case
Operation AI Comply: a regulator reads the labels
These questions have enforcement behind them. On 25 September 2024 the US Federal Trade Commission announced Operation AI Comply, five actions against companies whose AI claims it alleged were deceptive. One targeted DoNotPay, which had marketed “the world’s first robot lawyer”; according to the FTC’s announcement, the complaint alleged that the company “did not conduct testing to determine whether its AI chatbot’s output was equal to the level of a human lawyer” and had not hired or retained any attorneys. “Using AI tools to trick, mislead, or defraud people is illegal,” said FTC Chair Lina M. Khan. “The FTC’s enforcement actions make clear that there is no AI exemption from the laws on the books.”
Use the map as an index, not a status ranking
The labels in this lesson tell you where to investigate next: machine learning points toward training and generalization, deep learning toward neural representations, generative AI toward decoding, grounding, and output validation.
None of these labels proves that a product is advanced, useful, or trustworthy, and a simple model fitted to a well-defined problem can outperform an impressive foundation model embedded in a confused workflow.
A tribunal decision from February 2024 shows how little the label settles. In Moffatt v. Air Canada, British Columbia’s Civil Resolution Tribunal held the airline liable. A support chatbot on the airline’s own website had advised a passenger that a bereavement fare could be claimed after travel. The airline’s own bereavement-travel page did not allow that. Air Canada argued that the chatbot was “a separate legal entity that is responsible for its own actions”. Tribunal member Christopher Rivers called that “a remarkable submission”. He wrote: “While a chatbot has an interactive component, it is still just a part of Air Canada’s website.” The model family was never the question. The deployment was.
Method labels describe mechanisms; product quality depends on fit, evidence, and system design.
Key takeaways
- Artificial intelligence is the broad field; machine learning is a major approach within it.
- Deep learning uses multi-layer neural networks to learn distributed representations from data.
- Foundation models are broadly pretrained models intended for reuse across downstream tasks.
- Generative AI describes systems that create candidate content, not one perfectly nested technical layer.
- A model family does not determine the quality or safety of the product built around it.
- Taxonomy is most useful when it turns marketing labels into specific questions about mechanisms and evidence.