A working definition
Artificial intelligence (AI) is software that does tasks we normally think need human intelligence: recognising a picture, understanding speech, predicting what will happen, or writing text.
Ordinary software follows rules written by a programmer: "if the bill is above 5,000, ask for approval." AI software is different. It learns patterns from examples and then applies those patterns to new cases.
The family
| Term | Meaning | Hospital example |
|---|---|---|
| Artificial intelligence | The whole field | Any of the below |
| Machine learning | Software that learns from data | Predicting which patients will miss appointments |
| Deep learning | Machine learning with many-layered neural networks; good with images, sound and text | Detecting a nodule on a chest X-ray |
| Natural language processing | Working with human language | Pulling the diagnosis out of a discharge summary |
| Computer vision | Working with images and video | Counting swabs, reading a pathology slide |
| Generative AI | Creates new text, images or speech | Drafting a discharge summary or a reply to a complaint |
| Large language model | The engine behind chat assistants; trained on huge amounts of text | A chat assistant that answers policy questions |
How a machine learns
Think of teaching a new resident to read chest X-rays. You show thousands of films, each with the correct report. Over time the resident learns what pneumonia looks like. Machine learning is similar.
- Collect data: say 50,000 chest X-rays.
- Label it: experts mark each as normal or abnormal. The labels are the "answers".
- Train: the software adjusts millions of internal numbers until its answers match the labels.
- Validate: it is tested on films it has never seen.
- Deploy: it is used on new patients.
- Monitor: its performance is watched, because the real world changes.
The result of training is called a model.
Three ways of learning
- Supervised learning: learning from labelled examples, as above. Most medical AI is of this kind.
- Unsupervised learning: finding groups in unlabelled data, such as clusters of patients with similar patterns of use.
- Reinforcement learning: learning by trial and reward. Rare in hospitals so far.
What follows from this
- AI is only as good as its data. A model trained on patients from another country, or only on adults, may fail on your patients.
- AI finds patterns, not meaning. It does not "understand" illness. It can be confidently wrong.
- AI predicts; people decide. In healthcare the output is advice to a qualified person, not an order.
- AI needs upkeep. Disease patterns, machines and forms change, and performance can slip. This is called drift.
Automation is not always AI
Many useful hospital tools are simple automation: an automatic reminder message, a rule that flags a drug allergy. They are valuable and cheaper. Do not pay AI prices for a rule, and do not dismiss a rule because it is not AI.