# Model training (AI)

> Canonical: https://skillalmanac.com/glossary/ai-model-training | Last verified: 2026-11-25 | Index status: index-eligible

Model training is the process of adjusting a machine-learning model's parameters to optimize an objective, such as minimizing prediction loss or, in reinforcement learning, maximizing reward.

Also called: AI model training, Model training, Machine learning training.

## In plain language

During model training, an algorithm uses training data or interactions to adjust learnable parameters. In a supervised example, a model predicts labels, measures error with a loss function and updates parameters to reduce that loss. Other paradigms differ: unsupervised training seeks patterns without supplied target labels, while reinforcement learning can optimize expected reward. Training can also include data preparation, validation and hyperparameter choices. Resource needs depend on the model, data and procedure; they are not uniformly large.

## Technical definition

Model training fits an algorithm to data by optimizing its learnable parameters. IBM describes an iterative workflow involving data collection and curation, model runs, objective measurement, parameter optimization and validation; it distinguishes parameters from hyperparameters and notes that reinforcement learning can maximize reward rather than minimize loss. Google's linear-regression example gives a narrower supervised case in which training adjusts weights and bias to reduce differences between predicted and actual labels. Fine-tuning is further training of an existing model. Inference instead applies a trained model to new inputs without that operation itself updating the learned parameters.

## How it shows up when you use agents

Model training changes learnable parameters by optimizing an objective with data or interactions. In a supervised-learning example, a model receives features and known labels, produces predictions, measures their difference from the labels with a loss function and updates parameters to reduce that loss. Google's linear-regression lesson illustrates this narrow case through learned weights and bias.

The general term is broader. IBM distinguishes supervised, unsupervised and reinforcement-learning paradigms and notes that reinforcement learning can maximize reward rather than minimize loss. Training work can also include collecting and curating data, selecting hyperparameters and evaluating the resulting model on validation data. The required data and computation depend on the model and procedure; a small linear model and a large neural network are not comparable training projects.

For an agent user, the practical distinction is between changing model parameters and changing what an application supplies at run time. Adding instructions, retrieved documents, tool results or conversation state can alter an answer without itself retraining the model. If you are evaluating a supervised training run, inspect the train, validation and test separation. The split-leakage-check skill is an illustrative catalogue connection that checks supplied files for several contamination patterns, but it neither trains the model nor proves the dataset represents future use.

## Common confusions

**Training versus inference.** Training optimizes parameters. [Inference](/glossary/inference) applies a trained model to new input; an ordinary inference request does not by itself perform the training procedure.

**Training versus prompting.** A [prompt](/glossary/prompt) supplies current instructions or context. It can change the response while leaving learned parameters unchanged.

**Training versus fine-tuning.** [Fine-tuning](/glossary/fine-tuning) is further training of an existing model on additional data or objectives. It is a narrower case, not a wholly separate meaning of learning.

**Parameters versus hyperparameters.** Parameters are learned during optimization. Hyperparameters, such as a learning rate or batch size, configure the learning process and are selected outside the parameter update itself.

**Low training loss versus successful deployment.** Fit to training examples is not enough. Use separated validation or test data and task-appropriate measures to examine behavior on examples not used for fitting.

## Worked examples in this catalogue

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Illustrative catalogue connection: inspect supplied train, validation and test files for contamination before using held-out results to judge a training procedure.

Why it exercises the concept: Separated evaluation data is part of a credible supervised-learning workflow. This skill checks specified leakage patterns but does not train a model or establish that the data is sufficient.

### [llm-eval-test-sets](https://skillalmanac.com/skills/skill-almanac/llm-eval-test-sets)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Illustrative catalogue connection: build and structurally validate cases used to compare an LLM feature, prompt or agent after a training or configuration change.

Why it exercises the concept: Evaluation helps determine whether a change improved the intended behavior. The skill does not run a model, score outputs or perform training, and its expected answers still require suitable evidence.

## Related terms

- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [Training data](https://skillalmanac.com/glossary/training-data.md)
- [Loss function](https://skillalmanac.com/glossary/loss-function.md)
- [Gradient descent](https://skillalmanac.com/glossary/gradient-descent.md)
- [Fine-tuning](https://skillalmanac.com/glossary/fine-tuning.md)
- [Inference](https://skillalmanac.com/glossary/inference.md)
- [Reinforcement learning](https://skillalmanac.com/glossary/reinforcement-learning.md)

## Sources

- [What is model training?](https://www.ibm.com/think/topics/model-training), IBM (accessed 2026-11-25)
- [Linear regression](https://developers.google.com/machine-learning/crash-course/linear-regression), Google for Developers (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
