Version 4 · Story scroll

AI FOUNDATIONS · LESSON 1

How AI, ML, Deep Learning and GenAI Fit Together

AI, ML, deep learning, GenAI. You hear these words all the time. They're not four separate things: each one sits inside the one before it. Scroll to zoom in, one ring at a time.

Four nested rings AI is the largest ring. Machine learning sits inside it, deep learning inside that, and generative AI at the centre. AI ML DEEP LEARNING GenAI

Every ring is one kind of the ring around it.

Ring 1 · The outer circle

AI is the goal

Artificial intelligence means a machine doing a task we'd call smart: sorting, recognising, deciding, creating. The word names the goal, not the method.

Two robots sort a crate of fruit into apple, banana and green apple bins. One follows a rule card; the other learned from example fruit. Both succeed. Takeaway: AI is the goal. Rules and learning are two ways to build it.
ThinkA rule-based sorter meets a fruit nobody wrote a rule for. What happens?›
It gets stuck or sorts it wrong: it can only do what its rules say. A sorter that learned from lots of varied examples can often cope. That flexibility is why most modern AI learns.

Like two cooks making the same dinner: one follows a recipe card, the other learned by tasting. Both are cooking.

Ring 2 · Inside AI

Machine learning learns from data

Instead of writing rules, you show the machine examples that already have the right answer. It finds the pattern, and that pattern is the model.

Train: house cards with prices become dots on a size versus price chart with a fitted line. Predict: a new house becomes a purple dot on the line, which points to its price tag. Takeaway: different data, different model.
It only knows its dataTrain it on Perth houses and it's wrong about Sydney. Never shown a mansion? It guesses badly. The data decides the answer.
ThinkYou train it only on small apartments, then ask about a big farmhouse. Should you trust the price?›
No. The farmhouse is outside anything it has seen, so the line is just stretching into a guess. Train it on different houses and you'd get a different line. Different data, different model.

Like an agent who learned house prices by watching hundreds of sales, not by reading a rulebook.

Ring 3 · Inside ML

Deep learning finds its own clues

A house is two numbers. A photo is millions of pixel numbers. Nobody can hand-pick the clues in all that, so deep learning stacks many layers that find the clues themselves.

A bicycle photo passes through three glass layers: the first shows edges, the second shapes like a wheel and frame, the third a whole bicycle, ending in a BICYCLE label. Takeaway: deep learning is many layers that find their own clues.
Same rule as MLIt only knows what it has seen. Trained on bikes, cars and buses, it will call a horse one of those.
Look insideWhat does a neural network actually look like?›
Inside a neural network: a pixelated bicycle image feeds a column of input dots, three hidden layers of connected dots, and an output that picks BICYCLE over CAR and BUS.Each dot is a simple unit that passes a signal on. Each line is a connection with a strength learned during training. "Deep" just means many layers of these.
ThinkWhy not just write rules for what a bicycle looks like?›
Bikes come in every colour, size, angle and light. The rules would never end. Letting the layers learn from examples works far better. This is exactly where deep learning shines.

Like an assembly line: each station adds a little more until a finished product rolls out.

Ring 4 · The centre

GenAI makes something new

Deep learning looks at a bicycle photo and says "bicycle." Generative AI goes the other way: ask for "a bicycle on the moon," and it makes a picture that never existed.

Left, faded: an ordinary bicycle photo with a LABEL tag, marked versus. Right: the prompt A bicycle on the moon goes to a robot built from stacked layers, which produces a new image of a bicycle on the moon. Takeaway: GenAI creates new content instead of labelling.
ThinkIs GenAI just copying a picture it found somewhere?›
No. It builds a new picture from patterns learned across millions of examples. That's why it can make things nobody has drawn, and also why it sometimes gets details wrong.

Like a musician improvising a new tune from years of songs they've heard.

The whole picture

Remember: each ring is one kind of the ring around it. Today's GenAI is built with deep learning, which is a kind of machine learning, which is one way to do AI.