# Machine learning terms

> Source: https://aiwiki.ai/wiki/machine_learning_terms
> Updated: 2026-06-20
> Categories: Machine Learning
> From AI Wiki (https://aiwiki.ai), a free encyclopedia of artificial intelligence. Quote with attribution.

*See also: [Terms](/wiki/terms) and [Machine learning](/wiki/machine_learning)*

Machine learning terms are the standardized vocabulary used to describe how models learn from data, including concepts such as features, labels, loss, gradient descent, overfitting, and the architectures (neural networks, transformers, decision forests) that implement them. This glossary collects that core vocabulary across machine learning research, engineering, and applied data science, with more than 150 bolded, self-contained definitions plus topic hubs that link to dedicated sub-glossaries. Entries follow the conventions used by the Google Machine Learning Glossary, which itself defines over 460 terms and has been revised nine times since its 2016 launch,[1][10] the Wikipedia machine learning articles,[2][3] and standard textbooks such as Goodfellow, Bengio, and Courville's *Deep Learning* and Bishop's *Pattern Recognition and Machine Learning*.[4] For the complete alphabetical index of every term, see the [Machine learning terms/All](/wiki/machine_learning_terms_all) page.

## What does this glossary cover?

This page is organized in three parts. First, subcategory hubs group ML vocabulary by topic area (fundamentals, NLP, fairness, decision forests, reinforcement learning, computer vision, sequence models, clustering, recommendation systems, and frameworks) and link to a focused glossary for each. Second, a curated set of the most frequently referenced terms appears with concise, one-line definitions grouped by theme. Third, a short list of additional widely used terms is included for completeness. Each definition is written to be liftable on its own: it leads with the term and states the concept in a single sentence.

## Subcategory hubs

The following hub pages organize ML vocabulary by topic area. Each hub contains a focused glossary for that domain along with related concepts and methods.

### Fundamentals

**[Fundamentals](/wiki/machine_learning_terms_fundamentals)** covers the building blocks of supervised and unsupervised learning, including features, labels, examples, training, loss, regularization, gradient descent, hyperparameters, and evaluation metrics such as accuracy, precision, and recall.[1][5] This is the recommended starting point for newcomers to ML.

### Natural language processing

**[Natural Language Processing](/wiki/machine_learning_terms_natural_language_processing)** and **[Language Evaluation](/wiki/machine_learning_terms_language_evaluation)** cover terms for working with text: tokenization, embeddings, attention, transformers, language models, sequence-to-sequence tasks, and quality metrics like BLEU and perplexity.[1]

### Fairness

**[Fairness](/wiki/machine_learning_terms_fairness)** addresses bias, demographic disparities, and ethical considerations in ML systems. It includes fairness metrics, sensitive attributes, disparate impact, and approaches to mitigating bias through pre-processing, in-processing, and post-processing techniques.[1]

### Decision forests

**[Decision Forests](/wiki/machine_learning_terms_decision_forests)** covers tree-based models such as decision trees, random forests, and gradient boosted trees, along with their splitting rules, ensemble methods, feature importance measures, and out-of-bag evaluation.[1][6]

### Reinforcement learning

**[Reinforcement Learning](/wiki/machine_learning_terms_reinforcement_learning)** covers agents that learn by interacting with environments to maximize cumulative reward. Terms include policy, state, action, value function, Q-learning, Markov decision process, and Deep Q-Networks.[1][9]

### Computer vision

**[Computer Vision](/wiki/machine_learning_terms_computer_vision)** and **[Image Models](/wiki/machine_learning_terms_image_models)** cover the processing of pixels and visual scenes: convolutional networks, pooling, bounding boxes, intersection over union, image augmentation, and architectures for classification, detection, and segmentation.[1]

### Sequence models

**[Sequence Models](/wiki/machine_learning_terms_sequence_models)** covers architectures for ordered data such as recurrent neural networks, LSTMs, attention mechanisms, transformers, and time series methods.[1][4]

### Clustering

**[Clustering](/wiki/machine_learning_terms_clustering)** covers unsupervised grouping algorithms including k-means, k-median, agglomerative, divisive, hierarchical, and centroid-based clustering, along with similarity measures and centroid concepts.[1][6]

### Recommendation systems

**[Recommendation Systems](/wiki/machine_learning_terms_recommendation_systems)** covers techniques for predicting user preferences, including collaborative filtering, matrix factorization, candidate generation, scoring, re-ranking, and the user and item matrices used by recommender models.[1]

### TensorFlow and Google Cloud

**[TensorFlow](/wiki/machine_learning_terms_tensorflow)** covers the open-source ML framework's vocabulary including tensors, graphs, sessions, estimators, and the Keras and Layers APIs.[7] **[Google Cloud](/wiki/machine_learning_terms_google_cloud)** covers Cloud TPU, TPU Pods, and other managed infrastructure for training and serving models.[1]

## Key terms with definitions

A curated set of the most frequently referenced ML terms, organized by topic.[1] For the complete alphabetical list, see [Machine learning terms/All](/wiki/machine_learning_terms_all).

### Fundamentals and training

- **[accuracy](/wiki/accuracy)**: Correct predictions divided by total predictions; can mislead on class-imbalanced datasets.
- **[backpropagation](/wiki/backpropagation)**: Algorithm computing gradients of the loss with respect to each weight by chain-rule traversal of the network.[4]
- **[batch](/wiki/batch)**: Set of examples processed in a single training iteration.
- **[batch size](/wiki/batch_size)**: Number of examples in one batch.
- **[cross-entropy](/wiki/cross-entropy)**: Loss measuring the difference between two probability distributions; generalizes log loss to multiple classes.
- **[cross-validation](/wiki/cross-validation)**: Resampling procedure that estimates model performance by repeatedly splitting data into training and validation folds.[6]
- **[early stopping](/wiki/early_stopping)**: Regularization technique that halts training when validation loss stops improving.
- **[epoch](/wiki/epoch)**: One full pass over the training set during training.
- **[example](/wiki/example)**: Single row of data, comprising features and optionally a label.
- **[feature](/wiki/feature)**: Input variable used by a model to make predictions.
- **[feature engineering](/wiki/feature_engineering)**: Process of selecting and transforming raw data into features suitable for modeling.
- **[generalization](/wiki/generalization)**: Model's ability to perform well on examples not seen during training.[3]
- **[gradient descent](/wiki/gradient_descent)**: Optimization algorithm that iteratively updates parameters in the direction of steepest descent of the loss.[5]
- **[hyperparameter](/wiki/hyperparameter)**: Configuration value set by the practitioner before training, such as learning rate or batch size.
- **[label](/wiki/label)**: Target value associated with an example in supervised learning.
- **[learning rate](/wiki/learning_rate)**: Scalar that multiplies the gradient when updating parameters.
- **[loss](/wiki/loss)**: Number expressing how far a model's predictions are from the labels.
- **[mini-batch](/wiki/mini-batch)**: Small subset of training examples used in a single gradient update.
- **[model](/wiki/model)**: Function learned from data that maps inputs to outputs.
- **[optimizer](/wiki/optimizer)**: Algorithm that updates model parameters to reduce loss, such as SGD, Adam, or AdaGrad.
- **[overfitting](/wiki/overfitting)**: Model fitting training data so closely that it fails to generalize to new data.[3]
- **[regularization](/wiki/regularization)**: Technique that penalizes model complexity to reduce overfitting.[4]
- **[semi-supervised learning](/wiki/semi-supervised_learning)**: Training using a mix of labeled and unlabeled data.
- **[stochastic gradient descent (SGD)](/wiki/stochastic_gradient_descent_sgd)**: Gradient descent using estimated gradients from a single example or mini-batch.[5]
- **[supervised machine learning](/wiki/supervised_machine_learning)**: Training using labeled examples to learn an input-to-output mapping.[5]
- **[test set](/wiki/test_set)**: Held-out data used to evaluate the final model.
- **[training set](/wiki/training_set)**: Data used to fit model parameters.
- **[transfer learning](/wiki/transfer_learning)**: Reusing knowledge learned on one task to improve learning on another.
- **[underfitting](/wiki/underfitting)**: Model too simple to capture the relationship between features and labels.
- **[unsupervised machine learning](/wiki/unsupervised_machine_learning)**: Training without labels, discovering patterns or structure in data.[5]
- **[validation set](/wiki/validation_set)**: Held-out data used during training to tune hyperparameters.
- **[weight](/wiki/weight)**: Coefficient that multiplies an input in a model.

### Neural networks and deep learning

- **[activation function](/wiki/activation_function)**: Nonlinear function applied at each neuron that lets a network learn nonlinear relationships.
- **[attention](/wiki/attention)**: Mechanism that weights different parts of an input when producing each part of an output.
- **[batch normalization](/wiki/batch_normalization)**: Layer that normalizes activations across a mini-batch, often speeding training and acting as regularization.
- **[convolutional neural network](/wiki/convolutional_neural_network)**: Neural network built from convolutional layers, commonly used for images.[4]
- **[deep neural network](/wiki/deep_neural_network)**: Neural network with two or more hidden layers.
- **[dropout regularization](/wiki/dropout_regularization)**: Regularization that randomly zeroes out a fraction of neurons during training.[4]
- **[embedding vector](/wiki/embedding_vector)**: Dense vector representation of a discrete input such as a word.
- **[exploding gradient problem](/wiki/exploding_gradient_problem)**: Training instability caused by gradients growing unboundedly large.
- **[fine tuning](/wiki/fine_tuning)**: Continuing training of a pretrained model on a task-specific dataset.
- **[hidden layer](/wiki/hidden_layer)**: Neural network layer between the input and output layers.
- **[Long Short-Term Memory (LSTM)](/wiki/long_short-term_memory_lstm)**: Recurrent neural network cell with gating designed to capture long-range dependencies.[4]
- **[neural network](/wiki/neural_network)**: Model composed of layers of interconnected units that compute nonlinear functions of their inputs.
- **[Rectified Linear Unit (ReLU)](/wiki/rectified_linear_unit_relu)**: Activation function that outputs max(0, x).
- **[recurrent neural network](/wiki/recurrent_neural_network)**: Neural network that processes sequences by maintaining a hidden state across time steps.
- **[self-attention](/wiki/self-attention_also_called_self-attention_layer)**: Attention mechanism in which queries, keys, and values all come from the same sequence.
- **[softmax](/wiki/softmax)**: Function that converts a vector of logits into a probability distribution over classes.
- **[Transformer](/wiki/transformer)**: Neural network architecture built on self-attention, the basis for most large language models. Introduced by Vaswani et al. in the 2017 paper "Attention Is All You Need," which proposed "a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely" and reached 28.4 BLEU on the WMT 2014 English-to-German translation task.[11]
- **[vanishing gradient problem](/wiki/vanishing_gradient_problem)**: Training difficulty in which gradients become very small in early layers, slowing or stopping learning.

### Classification and metrics

- **[AUC (Area under the ROC curve)](/wiki/auc_area_under_the_roc_curve)**: Probability that a randomly chosen positive ranks above a randomly chosen negative.
- **[binary classification](/wiki/binary_classification)**: Classification task with two possible label values.
- **[confusion matrix](/wiki/confusion_matrix)**: NxN table showing counts of predicted versus actual class for a classifier.
- **[F1 score](/wiki/f1_score)**: Harmonic mean of precision and recall, balancing the two metrics in a single number.
- **[logistic regression](/wiki/logistic_regression)**: Classification model that applies a sigmoid to a linear combination of features.[5]
- **[multi-class classification](/wiki/multi-class_classification)**: Classification task with more than two possible classes.
- **[precision](/wiki/precision)**: Fraction of positive predictions that are correct.
- **[recall](/wiki/recall)**: Fraction of actual positives the model correctly predicted as positive.
- **[ROC curve](/wiki/roc_receiver_operating_characteristic_curve)**: Plot of true positive rate against false positive rate across classification thresholds.

### NLP and language models

- **[BERT (Bidirectional Encoder Representations from Transformers)](/wiki/bert_bidirectional_encoder_representations_from_transformers)**: Transformer encoder pre-trained with masked language modeling to produce contextual text embeddings. Introduced by Devlin et al. in 2018, it masks roughly 15% of input tokens during pre-training; the released BERT-base has 110 million parameters and BERT-large has 340 million.[12]
- **[BLEU (Bilingual Evaluation Understudy)](/wiki/bleu_bilingual_evaluation_understudy)**: Score between 0 and 1 evaluating machine translation by N-gram overlap with reference translations. Proposed by Papineni et al. at IBM in 2002, it was among the first automated MT metrics to correlate well with human judgments.[1][13]
- **[GPT (Generative Pre-trained Transformer)](/wiki/gpt_generative_pre-trained_transformer)**: Family of transformer language models pretrained autoregressively on large text corpora.
- **[hallucination](/wiki/hallucination)**: Generation of plausible-sounding but factually incorrect output by a generative model.[2]
- **[language model](/wiki/language_model)**: Model that estimates the probability of token sequences.
- **[large language model](/wiki/large_language_model)**: Transformer language model with billions of parameters trained on very large text corpora.
- **[masked language model](/wiki/masked_language_model)**: Language model trained to predict tokens that have been masked out of an input; BERT pre-training masks about 15% of tokens.[12]
- **[N-gram](/wiki/n-gram)**: Sequence of N consecutive tokens.
- **[perplexity](/wiki/perplexity)**: Measure of how well a language model predicts a sample; lower is better.
- **[sentiment analysis](/wiki/sentiment_analysis)**: NLP task of classifying text by emotional tone, such as positive or negative.
- **[sequence-to-sequence task](/wiki/sequence-to-sequence_task)**: Task that maps an input sequence to an output sequence, such as translation.
- **[token](/wiki/token)**: Smallest unit of text processed by a language model, often a word or subword.
- **[word embedding](/wiki/word_embedding)**: Vector representation of a word capturing semantic and syntactic relationships.

### Reinforcement learning

- **[Bellman equation](/wiki/bellman_equation)**: Recursive equation expressing the value of a state in terms of the expected reward and the value of successor states.[9]
- **[Deep Q-Network (DQN)](/wiki/deep_q-network_dqn)**: Reinforcement learning algorithm using a deep neural network to approximate the Q-function.[9]
- **[Markov decision process (MDP)](/wiki/markov_decision_process_mdp)**: Mathematical framework for sequential decision making under uncertainty.[9]
- **[policy](/wiki/policy)**: Mapping from states to actions or to a distribution over actions.[9]
- **[Q-learning](/wiki/q-learning)**: Reinforcement learning algorithm that estimates the optimal action-value function via temporal difference updates.[9]
- **[reinforcement learning (RL)](/wiki/reinforcement_learning_rl)**: Paradigm in which an agent learns to act in an environment to maximize cumulative reward.[9]
- **[reward](/wiki/reward)**: Scalar signal that a reinforcement learning agent tries to maximize.[9]
- **[state](/wiki/state)**: Description of the environment at a given time in reinforcement learning.[9]

### Trees, ensembles, and clustering

- **[bagging](/wiki/bagging)**: Ensemble method training each model on a bootstrap sample of the data, used in random forests.[6]
- **[boosting](/wiki/boosting)**: Sequential ensemble method that combines weak learners, upweighting examples earlier models got wrong.[6]
- **[decision tree](/wiki/decision_tree)**: Supervised model routing examples through a tree of conditions to reach a leaf prediction.[6]
- **[ensemble](/wiki/ensemble)**: Collection of models whose predictions are combined for a final output.[6]
- **[gradient boosting](/wiki/gradient_boosting)**: Boosting technique in which each new model fits the gradient of the loss from the current ensemble.[6]
- **[k-means](/wiki/k-means)**: Clustering algorithm partitioning data into k clusters around mean centroids.[6]
- **[random forest](/wiki/random_forest)**: Ensemble of decision trees trained on bootstrap samples with attribute sampling.[6]

### Computer vision

- **[bounding box](/wiki/bounding_box)**: Rectangle described by image coordinates that encloses an object of interest.
- **[convolution](/wiki/convolution)**: Mathematical operation that slides a filter over an input to produce a feature map.
- **[data augmentation](/wiki/data_augmentation)**: Artificially enlarging the training set by transforming existing examples, such as rotating images.
- **[image recognition](/wiki/image_recognition)**: Task of identifying objects, scenes, or other content in images.
- **[intersection over union (IoU)](/wiki/intersection_over_union_iou)**: Overlap metric for two regions equal to area of intersection divided by area of union.
- **[pooling](/wiki/pooling)**: Downsampling layer that aggregates spatial regions, such as max or average pooling.

### Fairness

- **[demographic parity](/wiki/demographic_parity)**: Fairness criterion requiring equal positive prediction rates across demographic groups.
- **[disparate impact](/wiki/disparate_impact)**: Adverse effect of a decision system on a protected group, even without explicit discriminatory intent.
- **[equality of opportunity](/wiki/equality_of_opportunity)**: Fairness criterion requiring equal true positive rates across protected groups.
- **[equalized odds](/wiki/equalized_odds)**: Fairness criterion requiring equal true positive and false positive rates across groups.
- **[fairness metric](/wiki/fairness_metric)**: Quantitative measure of how a model's outcomes differ across groups.
- **[sensitive attribute](/wiki/sensitive_attribute)**: Feature such as race, gender, or age that may be protected from use in decisions.

### Recommendation and frameworks

- **[collaborative filtering](/wiki/collaborative_filtering)**: Recommendation technique predicting user preferences based on the preferences of similar users.
- **[Keras](/wiki/keras)**: High-level neural network API integrated into TensorFlow.[7]
- **[matrix factorization](/wiki/matrix_factorization)**: Decomposing a matrix into a product of two lower-rank matrices, used in recommendation.
- **[NumPy](/wiki/numpy)**: Python library for numerical arrays and linear algebra.
- **[pandas](/wiki/pandas)**: Python library for tabular data manipulation built on top of NumPy.
- **[recommendation system](/wiki/recommender_system)**: System that suggests items to users based on their preferences or behaviors.
- **[scikit-learn](/wiki/scikit-learn)**: Python library offering classical machine learning algorithms and preprocessing tools.[6]
- **[Tensor](/wiki/tensor)**: Multidimensional array, the basic data structure in TensorFlow.[7]
- **[TensorFlow](/wiki/tensorflow)**: Open-source platform for building and deploying machine learning models.[7]
- **[Tensor Processing Unit (TPU)](/wiki/tensor_processing_unit_tpu)**: Google's custom ASIC accelerator for machine learning workloads.[1]

### Generative models

- **[diffusion model](/wiki/diffusion_model)**: Generative model that learns to reverse a gradual noising process to produce data.
- **[discriminator](/wiki/discriminator)**: Network in a GAN that learns to distinguish real examples from those produced by the generator.
- **[generative adversarial network (GAN)](/wiki/generative_adversarial_network_gan)**: Two-network system where a generator produces samples and a discriminator tries to detect them.[4]
- **[generative model](/wiki/generative_model)**: Model that learns to produce new examples resembling the training distribution.
- **[generator](/wiki/generator)**: Network in a GAN that produces synthetic examples intended to look real.
- **[multimodal model](/wiki/multimodal_model)**: Model that ingests or produces more than one modality, such as text and images.

## Additional commonly used terms

A short list of widely used ML terms not in the historic glossary, included for completeness.

- **[Adam optimizer](/wiki/adam_optimizer)**: Adaptive optimizer combining momentum with per-parameter learning rates.[4]
- **[autoencoder](/wiki/autoencoder)**: Neural network trained to reconstruct its input through a compressed bottleneck representation.[4]
- **[bias-variance tradeoff](/wiki/bias_variance_tradeoff)**: Tension between underfitting from high bias and overfitting from high variance.[5]
- **[gated recurrent unit (GRU)](/wiki/gated_recurrent_unit)**: Recurrent cell similar to LSTM but with fewer gates.[4]
- **[hyperparameter tuning](/wiki/hyperparameter_tuning)**: Search procedure for choosing hyperparameter values that improve validation performance.[6]
- **[Kullback-Leibler divergence](/wiki/kullback_leibler_divergence)**: Asymmetric measure of how one probability distribution diverges from a reference distribution.[4]
- **[learning curve](/wiki/learning_curve)**: Plot of model performance against training set size or iterations.[6]
- **[mixed precision training](/wiki/mixed_precision_training)**: Training that uses lower-precision arithmetic for speed while keeping critical values in higher precision.[8]
- **[positional encoding](/wiki/positional_encoding)**: Vector added to token embeddings to inject information about token order.
- **[prompt engineering](/wiki/prompt_engineering)**: Crafting inputs to elicit desired behavior from a large language model.
- **[retrieval-augmented generation (RAG)](/wiki/retrieval_augmented_generation)**: Generation conditioned on documents fetched at inference time from an external corpus.
- **[variational autoencoder (VAE)](/wiki/variational_autoencoder)**: Probabilistic autoencoder that models a continuous latent distribution.[4]
- **[zero-shot learning](/wiki/zero-shot_learning)**: Predicting on classes that were not seen during training, often by leveraging textual descriptions.[4]

## How are these definitions sourced?

Definitions on this page are drawn from primary and authoritative references rather than informal usage. The Google Machine Learning Glossary is the leading single source; Google describes it as having grown to over 460 terms across nine revisions since 2016.[1][10] Architecture and algorithm entries are checked against the original papers, for example "Attention Is All You Need" (Vaswani et al., 2017) for the Transformer,[11] the BERT paper (Devlin et al., 2018) for masked language modeling,[12] and Papineni et al. (2002) for BLEU.[13] Textbook references include Goodfellow, Bengio, and Courville's *Deep Learning*,[4] Sutton and Barto's *Reinforcement Learning: An Introduction* for RL terms,[9] and the scikit-learn and TensorFlow documentation for framework terms.[6][7]

## See also

- [Machine learning](/wiki/machine_learning)
- [Machine learning terms/All](/wiki/machine_learning_terms_all)
- [Deep learning](/wiki/deep_learning)
- [Artificial intelligence](/wiki/artificial_intelligence)
- [Natural language processing](/wiki/natural_language_processing)
- [Neural network](/wiki/neural_network)
- [Terms](/wiki/terms)

## References

1. [Google Machine Learning Glossary](https://developers.google.com/machine-learning/glossary)
2. [Wikipedia: Glossary of artificial intelligence](https://en.wikipedia.org/wiki/Glossary_of_artificial_intelligence)
3. [Wikipedia: Machine learning](https://en.wikipedia.org/wiki/Machine_learning)
4. [Goodfellow, Bengio, and Courville: Deep Learning (book site)](https://www.deeplearningbook.org/)
5. [Stanford CS229 Machine Learning Course Notes](https://cs229.stanford.edu/main_notes.pdf)
6. [scikit-learn User Guide](https://scikit-learn.org/stable/user_guide.html)
7. [TensorFlow Documentation](https://www.tensorflow.org/learn)
8. [PyTorch Documentation](https://pytorch.org/docs/stable/index.html)
9. [Sutton and Barto: Reinforcement Learning: An Introduction](http://incompleteideas.net/book/the-book-2nd.html)
10. [Google: The ML Glossary, five years of new language](https://blog.google/technology/ai/ml-glossary-five-years-new-language/)
11. [Vaswani et al. (2017): Attention Is All You Need](https://arxiv.org/abs/1706.03762)
12. [Devlin et al. (2018): BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://arxiv.org/abs/1810.04805)
13. [Papineni et al. (2002): BLEU: a Method for Automatic Evaluation of Machine Translation](https://aclanthology.org/P02-1040/)

