Skip to main content

Start here

  • Nurses
  • Students
  • Educators

How AI learns

The core idea

AI learns patterns from examples. It is only as good, and as fair, as the examples it learned from.

Why it matters

Nurses are asked to use and judge AI tools. Knowing how they learn helps you ask the right questions.

Key question

"Was it tested on people like mine?" A tool can work well in one place and poorly in another.

AI basics explains what generative AI does. This page goes one level deeper: how AI systems learn, the main types you'll meet in nursing, how bias gets in, and how to make sense of the accuracy claims that come with AI products.

Three kinds of "AI" you'll meet​

TypeHow it worksNursing examples
RulesPeople write the logic: "if this, then that". Not really learning, but often sold as AI.Early warning score calculators, alerts in an electronic record
Machine learningThe system learns patterns from many past examples, then applies them to new cases.Tools that predict falls, deterioration or missed appointments; pressure ulcer image tools
Generative AIA very large model learns from huge amounts of text, images or audio, then creates new content.Copilot, ChatGPT and other AI assistants; AI scribes; image generators

It matters which one you're dealing with. Rules are predictable and easy to check. Machine learning and generative AI find patterns no one wrote down, which makes them powerful but harder to explain and check.

How machine learning learns​

  1. Examples: the developer collects data, for example thousands of past patient records, images or recordings.
  2. Labels: each example is marked with the right answer, such as "fell within a week" or "pressure ulcer category 2". Labels are often made by clinicians, so their judgement and gaps are built in.
  3. Training: the system adjusts itself until it matches the labels as closely as it can.
  4. Testing: it is checked on examples it hasn't seen, to see how well it works on new cases.
  5. Use: it is put to work on real people, ideally with ongoing checks that it still performs well.

If the examples, labels or testing leave out certain groups, the tool will usually work less well for them.

Natural language processing (NLP)​

Natural language processing is AI that works with human language, spoken or written. In nursing you may meet it in:

  • speech-to-text, such as dictation and AI scribes;
  • summarising long notes or letters;
  • searching or sorting free text, for example finding safeguarding concerns in incident reports;
  • translation, which should never replace a professional interpreter in clinical conversations.

Large language models in three ideas​

Generative AI assistants are built on large language models. Three ideas explain most of their behaviour:

  • Prediction, not knowledge. The model writes by predicting likely next words, based on patterns it learned. It doesn't look facts up unless the tool connects it to a source. That's why it can sound certain and still be wrong.
  • Context. It only knows what is in its training and what you give it in the conversation. Attaching the right source, such as a guideline or policy, and telling it to use only that source, makes answers much more reliable. This is called grounding.
  • A training cut-off. The model learned from data up to a date. Newer guidance may be missing unless the tool searches the web or you provide it.

How bias gets in​

WhereWhat goes wrongExample
DataSome groups are missing or under-represented in the examplesSpeech recognition systems made almost twice as many errors for Black speakers as for white speakers (average word error rate 0.35 compared with 0.19) (Koenecke et al., 2020)
MeasurementThe data itself is less accurate for some peoplePulse oximeters can overestimate oxygen levels in people with darker skin, so tools trained on those readings inherit the error. See Equity and AI
LabelsThe "right answers" reflect past decisions, including unfair onesIf some groups were historically under-referred, a tool may learn to under-refer them too
UseA tool is used with people or settings it wasn't designed forA tool built in adult acute care used with children or in the community

Nurses are well placed to notice when a tool doesn't fit the people in their care. Report it through your organisation's incident or digital safety route.

Reading accuracy claims​

AI products often come with impressive numbers. These questions help you understand them:

  • Sensitivity: of the people who really have the condition, how many does the tool catch? Low sensitivity means missed cases (false negatives).
  • Specificity: of the people who don't have it, how many does the tool correctly clear? Low specificity means false alarms (false positives), which add workload and alert fatigue.
  • Tested where, and on whom? A tool tested in one hospital may perform differently in yours. Ask whether results are reported for different ages, ethnic groups, sexes and disabilities.
  • Compared with what? Better than current practice, or just better than chance?
  • Who checks it over time? Performance can drift as patients, practice or equipment change.

Questions to ask before you use or champion an AI tool​

  1. What type of AI is it: rules, machine learning or generative?
  2. What data was it trained and tested on, and does that include people like the ones I care for?
  3. What are its sensitivity and specificity, and what happens when it's wrong?
  4. Is it approved by my organisation, and, if it supports clinical decisions, is it regulated as a medical device?
  5. Who do I tell if I think it's not working well for someone?

Quick self-check: How AI learns & accuracy claims​

Quick clinical self-check

A vendor shows that their AI screening tool achieved 95% accuracy in a single overseas acute hospital. What is the most important question a nurse should ask next?

Next​