← Module 1 overview
Module 1 · Lesson 1.1
1.1
What is AI?

AI Around You

What AI is, how it differs from a hand-written rule, and where it already shows up in medicine

Overview

You do not need any background in computers for this module. In five short lessons you will learn what AI is, how it learns, what it learns from, how to tell whether it is any good, and how it fails. This first lesson sets up the vocabulary. It takes about 15 minutes.

By the end of this lesson you can:

Running example: PTX-Detect

Throughout Module 1 we follow one made-up tool, PTX-Detect. It looks at a chest X-ray and flags a possible pneumothorax (collapsed lung) so a radiologist reads that film first. Each lesson asks one question about it: what is it, how was it trained, what did it learn from, how good is it, and when does it break?

You already use AI

Before medicine, think about your phone. Several things you use every day are AI:

A simple working definition: artificial intelligence (AI) is a computer system that does a task we would normally say needs human intelligence, such as recognizing a face, understanding language or spotting a pattern in an image.

For a friendly 12-minute overview, watch this before going on:

AI Simply Explained in 12 Minutes
AI Simply Explained in 12 Minutes Watch on YouTube

Rules vs learning

There are two broad ways to get a computer to do a task.

Write the rule yourself. A person decides the logic: "if temperature is above 38 °C, flag fever." The computer follows it exactly. This is predictable and easy to check, and it is how many hospital alerts work.

Let it learn from examples. Some tasks are too hard to write down. Try writing a rule for "what does a pneumothorax look like on a chest X-ray?" It depends on the patient's position, the film quality, the size of the collapse and much more. Instead, you show the computer thousands of X-rays, each labeled "pneumothorax" or "no pneumothorax", and let it find the pattern itself. The result is called a model, and this approach is called machine learning.

Left: a hand-written rule turns a temperature into a fever flag. Right: 10,000 labeled chest X-rays go into training, which produces a model that labels new X-rays.
Figure 1. A rule is written by a person. A model is learned from labeled examples.
PTX-Detect

PTX-Detect is a learned model, not a rule. Nobody wrote "look for a thin white line with no lung markings beyond it." Its makers gave it many labeled chest X-rays and it worked out its own pattern. That is its strength, and also why it can learn the wrong thing, as you will see in Lesson 1.5.

The family tree: AI, machine learning, deep learning, generative AI

These four terms are often used as if they mean the same thing. They don't. Each one sits inside the one before it.

Nested ovals: artificial intelligence contains machine learning, which contains deep learning, which contains generative AI. Examples on the right for each level.
Figure 2. Each term is a smaller group inside the one before it.

Before you turn each card over, try to say in your own words what the term means. Then flip it and compare.

Artificial intelligenceThe outermost ring
Artificial intelligenceThe whole field: any system doing a task that normally needs human intelligence. It includes hand-written rule systems, such as an alert when potassium is above 6.0.
Machine learning (ML)Inside AI
Machine learning (ML)AI that learns patterns from examples instead of following rules a person wrote.
Deep learningInside machine learning
Deep learningMachine learning that uses neural networks with many layers. Most modern image AI, including PTX-Detect, is deep learning. Lesson 1.2 explains the layers.
Generative AIThe innermost ring
Generative AIDeep learning models that create new content, such as text or images. Large language models (LLMs) like ChatGPT are generative AI.

So every deep learning model is machine learning, and every machine learning model is AI. The reverse is not true: a simple rule-based alert is AI but not machine learning.

Optional, if you are curious how chatbots work: Large Language Models explained briefly (3Blue1Brown, 8 min).

Try it: AI or not?

Interactive

For each tool, decide how it works. Pick one answer per card to see the explanation. There are no points; this is just practice.

CalculatorAdds, multiplies, divides.
A fixed rule. Arithmetic is written into it exactly; it never learned anything. It is not usually called AI at all.
Email spam filterMoves junk mail out of your inbox.
Learned. Modern spam filters learn from millions of emails people marked as spam, and keep updating as spammers change tactics.
Basic thermostatTurns the heat on below 20 °C.
A fixed rule: "if below 20, heat on." Some "smart" thermostats do learn your habits, but a basic one follows a single rule.
Wells score for pulmonary embolismAdds points for clinical signs.
A fixed rule. Experts chose the items and point values from studies, and you add them up by hand or in the EHR. The computer does not learn anything new.
Face unlockOpens your phone when it sees you.
Learned. A deep learning model trained on huge numbers of face images learned what makes faces different. Nobody wrote rules for noses and eyebrows.
ChatGPTWrites answers to your questions.
Learned. It is a large language model, a type of generative AI, trained on enormous amounts of text to predict the next word.

Want to see a learned model in action? Play Quick, Draw! for two minutes. You doodle, and a neural network guesses what you drew. It learned from millions of other people's doodles.

AI in medicine today

AI is already part of daily clinical work. A few examples you may meet on rotations:

Module 2 shows where these tools fit into the radiology workflow, and Module 3 covers how to judge them and use them safely.

Image needed

Screenshot of a triage alert, e.g. a worklist with an AI flag on a head CT for possible hemorrhage. De-identified or vendor image with permission.

Image needed

Screening mammogram with an AI mark (box or score) on a suspicious area. De-identified or openly licensed.

Landmark examples (optional reading)

Deep learning detecting diabetic retinopathy in retinal photos: Gulshan et al., JAMA 2016. Classifying skin lesions from photos: Esteva et al., Nature 2017.

What AI is not

Three common misunderstandings:

Knowledge check

Answer each question to continue. Any answer is fine; read the explanation.

Which of these learned its behavior from examples?

The X-ray tool was trained on labeled examples, so it is machine learning. The other three follow rules or tables that people wrote.

Is every AI tool a deep learning model?

Deep learning sits inside machine learning, which sits inside AI (Figure 2). Rule-based systems and simpler machine learning models are AI without being deep learning.

What does "generative" mean in generative AI?

Generative AI produces new content: a chatbot writes text, an image model draws pictures. It is still trained for particular kinds of output and is not "general" intelligence.

Key takeaways

Go further (optional)

Next lesson: how does a model like PTX-Detect actually learn?

← Module 1 overview Next: How Models Learn →