AI Glossary / Statistics and probability / Beginner
Pre-trained model
Definition
A pre-trained model is a model whose parameters have already been learned through an earlier training process before its use in a new workflow or task. It can be used directly, adapted through additional training or employed as a feature extractor. The term is common for large language and generative models, but it also applies to image classifiers, embeddings and other machine-learning models. Pre-trained describes prior training, not a universal guarantee that the model is suitable for a new purpose.
What it means
Training from an existing learned model can reuse patterns acquired from earlier data instead of starting every parameter from scratch. This can reduce the amount of new task-specific data or computation needed, although the benefit depends on how relevant the earlier learning is. A model trained on one language, visual domain or data format may transfer poorly to another. The original objective also matters: a model trained to predict text continuations is not automatically trained to follow user instructions, cite evidence or perform a specialized business task reliably.
How it works
Choose a model compatible with the task, input format and operational constraints. Inspect its documentation, training scope and usage conditions, then reproduce the required preprocessing. Establish a baseline before deciding how to adapt it. One approach freezes the existing representation and trains a new output layer; another updates some or all of the original parameters. Use task-relevant validation and keep final evaluation data separate from adaptation decisions. Preserve the exact model version and accompanying tokenizer or preprocessing settings, because the learned parameters alone may not be sufficient to reproduce predictions.
Three practical examples
- Image analysis: reuse a trained visual encoder and fit a small classification head for a defined set of product categories.
- Text search: apply a pre-trained embedding model to represent documents, then evaluate whether similarity scores support the intended retrieval task.
- Generative assistance: start with a pre-trained language model and assess whether prompting, retrieval or further training is needed for the application's specific requirements.
Think of it this way
Think of beginning a new assignment with experience from previous work. That experience can be valuable, but it may also contain habits and assumptions that do not fit the new setting. The useful question is which earlier capabilities transfer and what must be checked or learned for the new task.
Worked example
Consider an original hypothetical image system whose pre-trained encoder outputs 512 numerical features. A new four-class linear output layer with one bias per class needs 512 times 4 plus 4 = 2,052 trainable parameters. If the encoder has 18 million parameters and is frozen, those parameters remain part of the inference system but are not updated during head training. The head has over 8,700 times fewer parameters than the encoder, but this ratio is not an equal reduction in runtime or total memory: the encoder still processes inputs and stores weights. Suppose held-out accuracy is 160/200 = 80% for a specified baseline and 184/200 = 92% for the adapted system. The difference is 12 percentage points, with errors falling from 40 to 16, a 60% reduction. These invented results illustrate evaluation arithmetic, not a promised transfer-learning benefit or evidence of statistical significance.
Illustrative case study
In a fictional case, Cedar Catalog uses a pre-trained image encoder for a new product-classification task. Its initial evaluation looks strong on well-lit photographs but weaker on warehouse images. The team checks preprocessing, collects representative evaluation cases and compares a frozen-encoder approach with limited fine-tuning. It documents the model version and the conditions under which performance was measured. The release decision rests on that evidence rather than on the model's popularity or the size of its original training corpus.
Common misconceptions and mistakes
Pre-trained does not mean trained on every possible topic or automatically current. It does not mean that no additional training will ever be useful. A frozen encoder still contributes computation during inference, and training only a small head does not remove its storage requirements. A pre-trained base language model and an instruction-tuned conversational model can have different behaviors. Model availability does not by itself establish that the associated data, license or outputs fit every proposed use. Most importantly, successful performance on the original task does not establish accuracy on a new population or decision.
Business use
Businesses can use pre-trained models to shorten experimentation and establish strong baselines, but should evaluate the complete application. Check data-format compatibility, latency, memory, reproducibility and task quality. Compare adaptation options against simpler methods when the problem is narrow. Keep records of version changes, since replacing a model can alter outputs even if the application interface stays the same. For knowledge-intensive work, distinguish information encoded during training from information supplied through retrieval or tools. Test uncommon and consequential cases rather than relying solely on a broad benchmark score.
People also ask
Does a pre-trained model have to be a language model?
No. The term also applies to visual, audio, embedding and other learned models.
Can it be used without changing its weights?
Yes. Direct inference or frozen-feature extraction can be useful when validated for the task.
Is pre-trained the opposite of fine-tuned?
No. Fine-tuning commonly starts from a pre-trained model, so the terms describe related stages of a model's development.
Check your understanding
An encoder is frozen while a new output layer is trained. Are the encoder's parameters absent from the deployed model?
Answer: No. They are still used for inference; frozen means they were not updated in that training stage.
Related terms
Learn next
Learn how frozen-feature extraction differs from fine-tuning, then study task-specific evaluation, preprocessing compatibility and the effects of domain shift.
More in Statistics and probability
- Poisson distribution - The Poisson distribution is a probability distribution for a count taking the values 0, 1, 2 and so on.
- Policy capturing - Policy capturing is a research method for describing how people combine information when making judgments or decisions.
- Poly-Weibull distribution - The poly-Weibull distribution is a continuous time-to-event distribution constructed by adding several Weibull-type hazard functions.
- Pólya urn model - A Pólya urn model is a probability model in which sampling changes the probabilities of future samples through a specified reinforcement rule.
- Polynomial regression - Polynomial regression models an outcome using powers of one or more numerical predictors.
- Polynomial trend coefficient - A polynomial trend coefficient is a numerical weight used with other such weights to test a specified trend across ordered group means.
Sources
Google, Machine Learning Glossary: Generative AI, pre-trained model: https://developers.google.com/machine-learning/glossary/generative TensorFlow, Transfer learning and fine-tuning: https://www.tensorflow.org/tutorials/images/transfer_learning
Previous: Pre-processing algorithm Next: Pre-training