Glossary of AI and Machine Learning Terms for Clinicians
Plain-language definitions of the technical vocabulary encountered throughout this knowledge base.
The terms are grouped by topic, roughly in the order the sections introduce them, because a definition is easier to follow next to its neighbours. Use your browser's find to jump to a word. Where the field uses two names for one thing (it does this a lot), both are given.
The basics
Artificial intelligence (AI). Any software that does something we would call intelligent if a person did it. The term is too broad to tell you what a paper did. See 1.1.
Machine learning (ML). The part of AI that learns its rules from examples instead of being given them. A logistic regression fitted to data is machine learning.
Deep learning. The part of machine learning that uses neural networks with many layers. It works on raw images, signals and text without someone choosing the features first.
Neural network. A mathematical function built from layers of simple units, with adjustable numbers (weights) that are set during training. In the end it is a very big function.
Model. The trained function: input in, prediction out. The file your engineer sends you is the model.
Algorithm. Strictly, the procedure used to train a model. In practice people use it to mean the model, and so does the FDA.
Parameters (weights). The numbers inside a model that training adjusts. A modern imaging network has millions of them.
Training. Fitting the parameters to data.
Inference. Running the finished model on a new case.
Feature. An input variable. In classical machine learning people choose the features. In deep learning the network builds its own.
Radiomics. Measuring features from medical images by hand-designed formulas (size, intensity, texture) and feeding those numbers to a classical model.
Label. The correct answer attached to a training example. See 2.3.
Rule-based system (expert system). Software that follows if-then rules written by people. No learning is involved. A drug interaction alert is one.
How models learn
Supervised learning. Training on examples that each come with a label. Most diagnostic AI is trained this way. See 1.2.
Unsupervised learning. Finding structure in data that has no labels: clusters, compressed representations, anomalies.
Self-supervised learning. Training on unlabeled data by hiding part of it and asking the model to predict the hidden part. It is how foundation models are pretrained.
Weak supervision. Training on labels that are cheap and noisy, for example labels pulled from radiology reports by a program.
Semi-supervised learning. Combining a small labeled set with a large unlabeled one.
Active learning. Letting the model choose which cases a human should label next, usually the ones it is least sure about.
Reinforcement learning. Learning a strategy by taking actions and receiving rewards or penalties. Rare in clinical research.
Pretraining. Training a model on a large general dataset before adapting it to a specific task.
Fine-tuning. Continuing to train a pretrained model on your own, smaller dataset.
Transfer learning. The general practice of starting from a pretrained model. See 3.3.
Representation (embedding). The internal summary of an input that a network has learned to compute. A good one is useful for tasks the model was never trained on.
Kinds of task
Classification. Assigning a case to a category: malignant or benign, one of five grades.
Regression. Predicting a number: ejection fraction, bone age.
Segmentation. Outlining a structure by labeling every pixel or voxel that belongs to it.
Detection. Finding and locating objects, usually with a box around each one.
Clustering. Grouping similar cases without being told what the groups are.
Anomaly detection. Learning what normal looks like and flagging whatever departs from it.
See 1.5 for matching a clinical question to one of these.
Architectures
Convolutional neural network (CNN). A network that slides small filters across an image to pick up local patterns. The standard choice for images since 2012. See 1.3.
U-Net. A CNN shaped for segmentation, with an encoder that shrinks the image and a decoder that restores it. Published in 2015 and still the default for medical image segmentation.
Transformer. An architecture built on attention, which lets every part of the input be related to every other part. Used for text first and now for images as well (the vision transformer, or ViT).
Recurrent neural network (RNN). A network that processes a sequence one step at a time. Largely replaced by transformers. LSTM is the best-known variant.
Gradient boosted trees. A classical method that builds many small decision trees in sequence. Often the best choice for tabular clinical data. XGBoost is a common implementation.
Foundation model. A large model pretrained on broad data, meant to be adapted to many tasks. See 1.4.
Large language model (LLM). A foundation model trained on text to predict the next word. ChatGPT is built on one.
Generative model. A model that produces new text or images instead of a label. GANs and diffusion models are the two main kinds for images. See 2.8.
Hallucination. A generative model producing content that is fluent and wrong.
Data
Ground truth. The label treated as correct. In medicine it is usually expert judgment, which makes the phrase more confident than it should be. Reference standard is the better term in a clinical study. See 5.7.
Annotation. Producing labels: categories, boxes, outlines or measurements.
Annotation protocol. The written instructions that tell annotators exactly what to label and how.
Inter-reader (inter-rater) agreement. How well two readers agree on the same cases. It sets a ceiling on what a model's performance can be measured to be.
Cohen's kappa. Agreement between two readers on categories, corrected for the agreement expected by chance. Fleiss' kappa is the version for more than two readers.
Adjudication. Resolving disagreements between readers, by vote, by a senior arbitrator or by discussion.
Class imbalance. One class being much rarer than the other, which is the normal state of clinical data. See 2.4.
Prevalence. The proportion of cases in a population that have the condition.
Enrichment. Deliberately adding more positive cases to a dataset than the natural prevalence would give.
Oversampling and undersampling. Showing the model the rare class more often, or the common class less often, during training.
Preprocessing. Converting images into the form the model takes as input: rescaling, windowing, resizing, normalizing. See 2.5.
Normalization. Putting intensities on a common scale, for example by subtracting the mean and dividing by the standard deviation.
Augmentation. Randomly varying training images (small rotations, zooms, brightness changes) so the model sees more variety.
Synthetic data. Data produced by a simulator or a generative model instead of a patient.
De-identification. Removing information that could identify a patient. See 2.7.
Pseudonymisation. Replacing identifiers with a code while a key exists that could link back. Under GDPR this is still personal data.
PHI (protected health information). Identifiable health information as defined by HIPAA in the US.
DICOM. The standard file format and network protocol for medical images. Each file has pixel data and a header of metadata. See 8.3.
Hounsfield unit (HU). The calibrated intensity scale of CT, on which water is 0 and air is -1000.
Metadata. Information about a case other than the image itself: site, scanner, date, acquisition settings.
Building and training a model
Training set. The cases the model learns from.
Validation set (tuning set, development set). Cases held out of training and used to make choices: when to stop, which settings to use, where to put the threshold. Confusingly, clinicians use "validation" to mean something closer to the test. See 3.2.
Test set (hold-out set). Cases used once, at the end, to estimate performance. Nothing about the model may be chosen by looking at it.
Data leakage. Information about the test cases reaching the model during development. The commonest form is one patient's images appearing on both sides of the split.
Loss function. The number training tries to make small: a measure of how far the model's outputs are from the labels.
Epoch. One pass through the whole training set.
Hyperparameter. A setting chosen by people before training, such as the learning rate or the number of layers, as opposed to a parameter the training sets. See 3.4.
Learning rate. How big a step the training takes each time it adjusts the weights.
Overfitting. A model memorizing its training data and doing worse on new data. See 3.5.
Underfitting. A model too simple, or trained too little, to capture the pattern even in the training data.
Regularization. Any technique that discourages overfitting. Dropout, weight decay and early stopping are the usual ones.
Learning curve. A plot of performance against training set size (or against training time). See 2.2.
GPU. Graphics processing unit, the hardware that makes training deep networks practical. See 3.7.
Experiment tracking. Recording every training run with its data, code, settings and results, so that a result can be reproduced.
Measuring performance
Confusion matrix. The two-by-two table of true positives, false positives, true negatives and false negatives. See 4.1.
Accuracy. The proportion of all cases the model got right. Misleading when one class is rare.
Sensitivity (recall, true positive rate). Of the cases that have the condition, the proportion the model calls positive.
Specificity (true negative rate). Of the cases that do not have the condition, the proportion the model calls negative.
Positive predictive value (PPV, precision). Of the cases the model calls positive, the proportion that have the condition. It depends on prevalence.
Negative predictive value (NPV). Of the cases the model calls negative, the proportion that do not have the condition. It also depends on prevalence.
F1 score. The harmonic mean of precision and recall.
Likelihood ratio. How much a positive (LR+) or negative (LR-) result changes the odds of disease.
Threshold (operating point). The score above which a case is called positive. Moving it trades sensitivity against specificity.
ROC curve. Sensitivity plotted against the false positive rate at every possible threshold. See 4.2.
AUC (AUROC). The area under the ROC curve. It is the probability that the model scores a randomly chosen positive case above a randomly chosen negative one.
Precision-recall curve (AUPRC for its area). Precision plotted against recall at every threshold. More informative than the ROC curve when the condition is rare.
Dice coefficient. A measure of overlap between two outlines, from 0 (none) to 1 (identical). The default segmentation metric. See 4.3.
IoU (intersection over union, Jaccard index). Another overlap measure, closely related to Dice and always a little lower.
Hausdorff distance. How far apart two outlines are at their worst point. HD95 is a version that ignores the worst 5%.
Calibration. Whether a model's stated probabilities match reality: of the cases it gives 80%, do about 80% have the condition? See 4.4.
Discrimination. How well a model separates positives from negatives, which is what AUC measures. A model can discriminate well and be badly calibrated.
Reliability diagram (calibration plot). Predicted probability plotted against the observed frequency.
Brier score. The mean squared difference between predicted probabilities and outcomes. Lower is better.
Confidence interval. The range of values consistent with the data, at a stated level (usually 95%). A performance figure without one is incomplete. See 4.5.
Bootstrap. Estimating a confidence interval by resampling the test set with replacement many times.
Cross-validation. Splitting the data into several folds and rotating which fold is held out, so every case is used for testing once. See 4.6.
Grouped cross-validation. Cross-validation in which all of a patient's (or a site's) data stays in one fold.
Leave-one-site-out. Training on all sites but one and testing on the one left out, in rotation.
DeLong's test. A statistical test for comparing two AUCs measured on the same cases. See 4.7.
McNemar's test. A test for comparing two classifiers' yes-or-no answers on the same cases.
Validation and study design
Internal validation. Testing on held-out data from the same source as the training data.
External validation. Testing on data from sites that contributed nothing to training. See 5.4.
Technical validation. Showing that the model performs its task accurately on a test set.
Clinical validation. Showing that using the model makes a clinical difference. See 5.1.
Reference standard. The best available method for establishing whether the condition is present, against which the model is scored.
Retrospective study. A study using data that already exists. See 5.2.
Prospective study. A study that collects new data according to a protocol written in advance. See 5.3.
Temporal validation. Testing on cases from a later period than the training data.
Standalone performance. How the model does on its own, with no clinician involved.
Reader study. A study comparing clinicians reading with and without the model's help. See 5.5.
MRMC (multi-reader multi-case). The usual design and analysis for a reader study, in which several readers each read the same set of cases.
Washout period. The gap between two reading sessions in a crossover reader study, so readers forget the cases.
Endpoint. The outcome a study is designed to measure. See 5.6.
Spectrum bias. Inflated performance from testing on obvious cases and healthy controls, with the difficult middle missing.
Verification bias. Distortion that comes from only some patients getting the reference standard test, usually the ones who looked suspicious.
Generalization, bias and fairness
Generalization. How well performance holds up on data from somewhere other than the training data. See 2.6 and 7.3.
Distribution shift (domain shift, dataset shift). A difference between the data a model was trained on and the data it meets in use.
Shortcut learning. A model learning something that predicts the label in the training data for the wrong reason, such as a hospital's film marker. See 1.6.
Confounder. A variable related to both the input and the label, which a model can use as a shortcut.
Harmonization. Adjusting data from different scanners or sites to make it more alike.
Domain adaptation. Training methods that help a model perform on a new site or scanner.
Federated learning. Training one model across several institutions without the data leaving any of them.
Bias. In this field, a systematic error that makes a model perform worse, or behave differently, for some patients than others. See 7.1.
Subgroup analysis. Reporting performance separately by age, sex, race, site, scanner and so on. See 7.2.
Hidden stratification. A model doing badly on a clinically important subtype that the overall figures hide.
Explainability (interpretability). Methods for showing why a model gave the answer it did. See 7.4.
Saliency map (heat map). An image overlay showing which pixels most affected the model's output. Grad-CAM is a common method. Less reliable than it looks.
SHAP. A method for dividing a prediction among the input features, used mostly with tabular models.
Model card. A short standard document describing a model: what it is for, what it was trained on, how it performs and for whom. See 7.5.
Datasheet (for a dataset). The equivalent document for a dataset.
Deployment
PACS. Picture archiving and communication system, where a hospital stores and views its images.
EHR (EMR). Electronic health record.
HL7 and FHIR. Standards for exchanging clinical data between systems. FHIR is the newer one.
Workflow integration. Fitting a tool into the sequence of steps clinicians already follow. See 8.2.
Alert fatigue. Clinicians ignoring alerts because there are too many of them. See 8.4.
Automation bias. Accepting an automated suggestion without checking it.
Data drift. The inputs changing over time, for example after a scanner upgrade. See 8.6.
Concept drift. The relationship between input and correct answer changing over time, for example when a diagnostic definition is revised.
Locked (frozen) model. A model that does not change after release unless a new version is deliberately issued.
Regulation
SaMD (Software as a Medical Device). Software that is a medical device on its own, without being part of a hardware device. See 6.1.
Intended use. The manufacturer's statement of what the device is for and for whom. It determines whether the software is a device and how it is classified.
CDS (clinical decision support). Software that helps clinicians make decisions. Some CDS is exempt from FDA device regulation. Software that analyses medical images is not.
Device class (I, II, III). The FDA's risk classes. Most AI imaging tools are Class II. See 6.2.
510(k). The FDA pathway for showing that a device is substantially equivalent to one already on the market. See 6.3.
Predicate. The legally marketed device a 510(k) compares itself to.
De Novo. The pathway for a new kind of low-to-moderate risk device with no predicate. See 6.4.
PMA (premarket approval). The pathway for Class III devices. See 6.5.
Breakthrough Device designation. An FDA program giving faster, more interactive review to devices for serious conditions. See 6.6.
Q-Submission (Q-Sub, Pre-Sub). A formal request for FDA feedback before you submit.
GMLP (Good Machine Learning Practice). Ten guiding principles published by the FDA, Health Canada and the UK's MHRA. See 6.7.
PCCP (Predetermined Change Control Plan). A plan, agreed with the regulator in advance, for how a model will be updated after clearance. See 6.8.
IEC 62304. The international standard for medical device software lifecycle processes. See 6.9.
QMS (quality management system). The documented procedures by which a company designs, builds and maintains a device. ISO 13485 is the standard for it. See 6.10.
DHF (design history file). The record showing that a device was designed according to its plan.
Verification and validation. Verification asks whether the software was built to its specification. Validation asks whether it meets the user's need. Engineers and clinicians both use "validation," for different things.
EU MDR. The European Union's Medical Device Regulation. See 6.11.
CE marking. The mark showing that a device meets EU requirements.
Notified Body. An organization authorized to assess devices under the EU MDR.
MDSAP. The Medical Device Single Audit Program: one quality system audit accepted by the US, Canada, Japan, Australia and Brazil.
Post-market surveillance. Monitoring a device's safety and performance after release. See 6.12.
IRB (REB in Canada). The ethics board that approves research involving people or their data.
Reporting
CONSORT-AI. The reporting guideline for randomized trials of AI interventions. See 9.1.
SPIRIT-AI. The guideline for the protocols of those trials.
TRIPOD+AI. The guideline for reporting prediction models, covering regression and machine learning.
STARD. The guideline for diagnostic accuracy studies.
CLAIM. A checklist for AI studies in medical imaging.
Pre-registration. Publishing a study's design and analysis plan before the data is analysed.
Reproducibility. Whether someone else, given the same data and code, gets the same result. See 9.4.
This article is part of the AI in Clinical Research Knowledge Base.