Skip to content

Tools & Tech

8 min left My Library
Tools & Tech · Explainer

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

How AI, machine learning and deep learning fit inside each other, and where each name came from.

Hacks Vitae artwork (AI-assisted)

Prices, versions and facts as of October 2026.

The answer

Deep learning is a kind of machine learning, and machine learning is one way of building artificial intelligence.

Machine learning finds patterns in data instead of running only on knowledge people typed in. Deep learning also learns which features to look at, using neural networks with more than one hidden layer. Not every AI system learns at all.

Why it mattersOur reading: knowing which is which makes product claims and news about AI easier to read.

Key facts
  1. 1955A Dartmouth proposal uses the term artificial intelligence.
  2. 1959Samuel's checkers paper has machine learning in its title.
  3. 2006A wave of research begins under the name deep learning.
  4. Hidden layersA deep model has more than one, per Google's glossary.
  5. Six definitionsNIST's glossary lists six for artificial intelligence.

By Hacks Vitae Published Last checked October 2026 8 min read 12 sources ↓

Start hereA 2016 textbook draws AI, machine learning and deep learning as circles inside each other. Google's glossary notes that some organizations now use AI and machine learning interchangeably. So are they three names for one thing, or three different things?

Deep learning is a kind of machine learning, and machine learning is one way of building artificial intelligence. Picture three circles, one inside the next, with AI as the largest. A 2016 textbook, Deep Learning, draws it that way: deep learning inside representation learning, inside machine learning, inside AI. This page explains each term, where it came from, and how to tell them apart.

1. At a glance

Artificial intelligenceMachine learningDeep learning
In one linePrograms or models that can solve sophisticated tasksSystems that train a model from dataNeural networks with more than one hidden layer
Key date1955: the term appears in a proposal for a Dartmouth study1959: the term appears in the title of a paper on checkers2006: a wave of research begins under this name
Learns from data?Not always: some systems run on knowledge people typed inYes: it finds patterns in dataYes, and it also learns which features to look at
A textbook exampleKnowledge basesLogistic regressionMultilayer perceptrons (MLPs)

Each column sits inside the one to its left. The reverse does not hold, as the mix-ups below show.

2. A simple picture

Here is our own way to picture it. Say you want a computer to sort spam from real email. There are three broad ways to go about it.

3. What each term means, and where it came from

Artificial intelligence

In August 1955, four researchers proposed a two-month study of “artificial intelligence” at Dartmouth College, to run in the summer of 1956. The term goes back at least to that proposal. They started from a conjecture: that “every aspect of learning or any other feature of intelligence” could in principle be described precisely enough for a machine to simulate it.

One of the four, John McCarthy, later defined AI as “the science and engineering of making intelligent machines, especially intelligent computer programs”. His page was last revised in 2007.

Even official definitions vary. The NIST glossary lists six definitions of artificial intelligence: five from a US national security glossary that takes them from a US law, and one from a NIST publication. One of them reads: “A set of techniques, including machine learning, that is designed to approximate a cognitive task.”.

Machine learning

By 1959 Arthur Samuel was using the term in the title of a paper, “Some Studies in Machine Learning Using the Game of Checkers”. He reported that a computer can be programmed so that it learns to play a better game of checkers than the person who wrote the program. It could learn this in 8 or 10 hours of machine-playing time, given only the rules, a sense of direction and an incomplete list of parameters.

His introduction sets out the idea in one line: “Programming computers to learn from experience should eventually eliminate the need for much of this detailed programming effort.”

Today, Google’s Machine Learning Glossary describes machine learning as a program or system that trains a model from input data. The trained model can then make useful predictions from new data drawn from the same distribution as the training data.

Deep learning

In the glossary, a neural network is a model with at least one hidden layer. A hidden layer sits between the input (the features) and the output (the prediction). A deep model is a neural network with more than one hidden layer.

A 2015 review in Nature says deep learning lets models made of multiple processing layers learn representations of data at multiple levels of abstraction.

The ideas are older than the name. The 1955 Dartmouth proposal already listed “Neuron Nets” as one of its topics. The textbook describes three waves of this research: cybernetics in the 1940s to 1960s, then connectionism in the 1980s and 1990s. The third, under the name deep learning, began in 2006. The phrase itself is older: a 1986 conference paper by Rina Dechter used “deep learning” in a different sense, for a way of learning while searching for solutions.

4. What each one is used for

Large language models are deep learning too. Google’s glossary describes a large language model, informally, as any language model based on the Transformer. Google researchers introduced the Transformer in 2017 as a new neural network architecture. Google’s Machine Learning Crash Course adds that a complete Transformer model stacks multiple self-attention layers on top of one another. Our page on how large language models work goes further.

5. The differences that matter in practice

6. Common mix-ups

AI and machine learning mean the same thing. They overlap, but they are not the same. Google’s glossary says that formally, machine learning is a sub-field of artificial intelligence. It adds that some organizations have begun using the two terms interchangeably. Our reading: when a product says “AI”, it may simply mean machine learning.

If it’s AI, it learned from data. Not always. The textbook’s diagram says machine learning is used for many but not all approaches to AI.

Deep means it understands deeply. The word is about layers, not insight. The textbook notes there is no consensus about how much depth a model needs to count as “deep”.

Neural networks are copies of the brain. The textbook describes them as inspired by the brain, but generally not designed to be realistic models of biological function.

Generative AI is a fourth, separate thing. Our reading: it is a label for what some of these systems do, not a separate layer. Google’s glossary calls generative AI “an emerging transformative field with no formal definition”, and lists large language models among its examples.

7. How to tell them apart

Our rule of thumb: two questions sort most cases.

  1. Did people write the rules, or did it learn them from data? Rules written by people point to AI without machine learning.
  2. If it learned, did it learn its own features through many layers? If yes, it is deep learning. If a person chose the features, it is classic machine learning.

When a product page only says “AI”, look for its documentation or model card. Our AI glossary explains 22 related terms in plain words.

Where to go next

Quick answers

Is machine learning the same as AI?

Not quite. Google's glossary says that formally, machine learning is a sub-field of artificial intelligence. It adds that some organizations have begun using the two terms interchangeably.

Is all AI machine learning?

No. Some systems run on knowledge people typed in. The textbook's diagram says machine learning is used for many but not all approaches to AI.

Is deep learning the same as a neural network?

Deep learning uses neural networks with more than one hidden layer. In Google's glossary, a neural network has at least one hidden layer, and a deep model has more than one.

Are large language models deep learning?

Yes. Google's glossary describes a large language model, informally, as any language model based on the Transformer. Google researchers introduced the Transformer in 2017 as a new neural network architecture. Google's crash course says a complete Transformer stacks multiple self-attention layers.

Where does the term artificial intelligence come from?

It goes back at least to August 1955, when four researchers, including John McCarthy, proposed a summer study of "artificial intelligence" at Dartmouth College.

Use this

The lesson

Sort any AI claim by asking where its knowledge comes from and who chose what it looks at.

  1. Ask whether people wrote the rules or the system learned them from data.
  2. If it learned, ask whether it learned its own features through many layers.
  3. Check the product's documentation or model card for the method it names.
The rule

Did people write these rules, or did the system learn them from data?

Quick quiz

Three questions, thirty seconds

Nothing is scored or saved. Recalling it once now is what makes it last.

1. Which sits inside which?

Answer: Deep learning inside machine learning, inside AI.Read it again ↑

2. What makes a neural network a deep model in Google's glossary?

Answer: It has more than one hidden layer.Read it again ↑

3. In what year did Arthur Samuel's checkers paper use machine learning in its title?

Answer: 1959.Read it again ↑

How we checked this · Last checked October 2026
  • We read the 1955 Dartmouth proposal and John McCarthy's own question-and-answer page on his Stanford pages.
  • For Samuel's 1959 paper we read the abstract and the introduction. We do not say who first used the term machine learning, only that Samuel was using it by 1959.
  • For the deep learning textbook we read chapter 1 on its official website. For the 2015 Nature review we read the abstract.
  • We read Google's Machine Learning Glossary and the NIST glossary entries directly. Glossary wording can change, so we will check them again.

How we check every article →

Sources

Primary written at the time, by a witness, or the original text Scholarly edited or peer-reviewed work Popular press, blogs and general websites