GeekHub Learn
Module

The AI to ML to DL to GenAI to LLM hierarchy

This is the single most useful diagram in the entire course. If you internalize it, every news headline and job description suddenly slots into the right bucket.

Think of Russian dolls. The biggest doll is AI. Open it: inside is Machine Learning. Open that: inside is Deep Learning. Open that: Generative AI. Open that: Large Language Models. Each is a special case of the one outside it.

  • AI: anything that makes a machine act intelligently.
  • Machine Learning (ML): AI that learns from data instead of being programmed with rules.
  • Deep Learning (DL): ML that uses neural networks with many layers.
  • Generative AI (GenAI): DL models that create new content (text, images, audio, video).
  • Large Language Models (LLMs): GenAI for text, trained on huge text corpora.

ChatGPT is an LLM. An LLM is a GenAI model. A GenAI model is a deep learning model. Deep learning is machine learning. Machine learning is AI.

Each layer adds a constraint and a power:

LayerAddsTrades off
ML over AILearns from dataNeeds lots of clean data
DL over MLHandles unstructured data (text, images, audio)Needs lots of compute
GenAI over DLProduces new content, not just predictionsHard to evaluate "good"
LLM over GenAISpecifically for languageHallucinates, costly

Visualize it

Insert the nested circles diagram from Lesson 1.1, this time labeled with one real example in each ring: "Symbolic AI: Deep Blue. ML: Spam filter. DL: Image classifier. GenAI: DALL-E. LLM: ChatGPT."

Try it now

Read three AI news headlines from this week (any tech site). For each, write which layer it is talking about. Be strict: if it says "AI" but means "an LLM call", note that. This pattern recognition compounds fast.

Hands-on lab

Open a blank doc. From memory, draw the nested-circles diagram. Place these in the right ring:

  • Netflix recommendations
  • ChatGPT
  • Self-driving Tesla
  • Midjourney
  • Gmail's spam filter
  • DeepFake video
  • A bank's credit-scoring model

Then check yourself: most are ML, some are DL, two are GenAI, one is an LLM.

Try it now

True or false: Every LLM is a deep learning model, but not every deep learning model is an LLM. Justify.

Common mistakes

  • Treating "AI" and "LLM" as synonyms. LLMs are a tiny sliver.
  • Calling image generators LLMs. They are GenAI but not LLMs.
  • Believing ML always uses neural networks. It often does not (decision trees, gradient boosting, linear regression).

Debugging tip

When reading a paper or product spec, ask: which ring are we in? It changes what evaluation methods, costs, and risks apply.

Challenge

Pick any AI startup from a YC batch in 2025 or 2026. Read its landing page. Write a 200-word note placing its tech in the hierarchy and identifying the layer where the actual differentiation lives.

Where this shows up

  • ML (not DL): credit scoring, fraud detection on tabular data
  • DL (not GenAI): face recognition, voice typing
  • GenAI (not LLM): Midjourney, Suno music, Sora video
  • LLM: ChatGPT, Claude, Gemini, Llama

From the field

A common 2026 product mistake: teams use an LLM where a tiny ML classifier would be 100x cheaper and more accurate. Knowing the hierarchy saves money.

Recap

AI is the umbrella. ML learns from data. DL is ML with neural networks. GenAI generates content. LLMs are GenAI for text. Internalize this and the rest of the course unfolds cleanly.


Quick recall

3 prompts · think before you flip

Prompt 1 of 3

Is every machine learning model a deep learning model? Why or why not?

Quiz time

2 questions · tap an answer to check it

  1. 1. ChatGPT is best described as

  2. 2. Decision trees are a form of

Finished lesson 1.2?

Mark complete to update your module progress and unlock the streak.

Loading