Skip to content
AI Atlas

GLOSSARY

Glossary

Every key term scattered across the entries, gathered into one index.

193 terms

3 1

3D Gaussian Splatting

Representing a scene with many 3D Gaussian ellipsoids for fast rendering

FromMultimodal Generation

A 9

Accelerator

A high-throughput parallel unit such as a GPU or TPU

FromTraining & Inference Infrastructure
Action A

What the agent can do; either discrete or continuous

FromMarkov Decision Process
Action value Q(s, a)

Expected discounted return after forcing the first action to be a

FromValue Functions & Q-Learning
Activation function

A function that applies a nonlinear transform to the weighted sum

FromNeuron & Perceptron
Actor / Critic

The policy network and the value network: one acts, one scores

FromPolicy Gradients
Advantage A(s, a)

How much better an action is than the average at that state

FromPolicy Gradients
Alignment

Making model behaviour match human intent and values

FromSafety, Alignment & Prompt Injection
Anomaly detection

Finding the few samples that deviate from the bulk distribution

FromUnsupervised Learning
Automatic differentiation

Letting a framework compute exact gradients automatically, not by numerical approximation

FromBackpropagation

B 8

Batch size

How many samples estimate the gradient per step

FromGradients & Gradient Descent
Bias

How far the model’s average prediction departs from the true regularity

FromBias–Variance Tradeoff
Bias

A learnable offset applied to the threshold

FromNeuron & Perceptron
Bit depth

How many bits encode each channel; 8 bits give 256 levels

FromImage Representation
Bottleneck

The low-dimensional layer holding the latent code, limiting its bandwidth

FromAutoencoders & VAE
Bounding box

A rectangle represented as (x, y, w, h) or corner points

FromObject Detection
BPE

Byte-Pair Encoding: bottom-up merging of frequent symbol pairs

FromTokenization
BPTT

Backpropagation through time after unrolling

FromRecurrent Neural Networks

C 20

Catastrophic forgetting

Rapid loss of old abilities while learning a new task

FromPretraining & Fine-tuning
Chain rule

The derivative of a composition is the product of the local derivatives

FromBackpropagation
Chain-of-thought (CoT)

Making the model write out intermediate reasoning steps

FromPrompting & Alignment
Channel

A distinct measurement at the same location, such as R/G/B or alpha

FromImage Representation
Chunking

Splitting long documents into retrievable pieces

FromRetrieval-Augmented Generation
Classifier-free guidance

Extrapolating between conditional and unconditional predictions to control prompt fidelity

FromDiffusion Models
Clustering

Grouping samples by similarity (k-means, hierarchical clustering)

FromUnsupervised Learning
Colour space

A coordinate system for colour values, such as sRGB, HSV or Lab

FromImage Representation
Computation graph

A computation expressed as nodes and directed edges over which derivatives propagate

FromBackpropagation
Confusion matrix

A cross-tabulation of true versus predicted classes

FromModel Evaluation & Cross-Validation
Continuous batching

Re-forming the batch every step to keep the GPU busy

FromInference Optimization & Serving
Contrastive learning

Learning representations by pulling positives together and pushing negatives apart

FromSelf-Supervised Vision & Contrastive Multimodal Learning
Contrastive loss

A loss that pulls same-class embeddings together and pushes different-class ones apart

FromLoss Functions
ControlNet

A bypass network guiding structure from a condition map

FromLatent Diffusion & Conditional Control
Cosine similarity

The alignment of two vector directions, from −1 to 1

FromWord Embeddings
Cross-attention

Query from one sequence, Key/Value from another

FromAttention Mechanism
Cross-attention

The attention mechanism letting image features query text vectors

FromLatent Diffusion & Conditional Control
Cross-entropy

The information needed to encode data from P using distribution Q

FromEntropy & Information Theory
Cross-entropy

Negative log-probability of the correct class; the default classification loss

FromLoss Functions
Cross-entropy loss

The standard objective for classification training

FromImage Classification

D 12

DDIM

Deterministic sampling achieving comparable quality in a few dozen steps

FromDiffusion Models
DDPM

Discrete Markov diffusion, typically needing a thousand sampling steps

FromDiffusion Models
Degradation problem

Deeper networks with higher training error, and not from overfitting

FromNormalization & Residual Connections
Density estimation

Estimating the probability distribution the data follows

FromUnsupervised Learning
Dimension

The number of entries in a vector

FromVectors & Vector Spaces
Dimensionality reduction

Compressing high-dimensional data to fewer dimensions while preserving structure (PCA, t-SNE, UMAP)

FromUnsupervised Learning
Discount factor γ

Between 0 and 1; how much future rewards are valued

FromMarkov Decision Process
Discriminator

The network judging real versus fake, serving as the loss

FromGenerative Adversarial Networks
Double descent

The modern counterexample where test error falls again past the interpolation point

FromBias–Variance Tradeoff
DPO

Direct preference optimisation without an explicit reward model

FromPrompting & Alignment
Dropout

Randomly silencing units during training to prevent co-adaptation

FromOverfitting & Regularization
Dying ReLU

A neuron stuck in the negative region with zero gradient, no longer updating

FromActivation Functions

E 10

Early stopping

Halting training before validation loss turns upward

FromOverfitting & Regularization
Eigenvector / eigenvalue

A vector whose direction is unchanged by the map, and the factor by which it is scaled

FromMatrix Operations & Linear Maps
ELBO

A lower bound on the log-likelihood: the reconstruction term minus the KL term; a VAE’s actual objective

FromAutoencoders & VAE
Embedding

The layer, or its output, that maps a discrete object into a continuous vector

FromVectors & Vector Spaces
Embedding model

A model that encodes text into vectors

FromRetrieval-Augmented Generation
Empirical risk

The model’s average loss on the training samples

FromSupervised Learning
Equivariance

When the input shifts, the output shifts accordingly rather than changing

FromConvolutional Neural Networks
Evidence

The total probability of the data across all hypotheses; it normalises the result

FromBayes’ Theorem
Experience replay

Store past transitions and sample randomly to break correlation

FromDeep Reinforcement Learning
Explicit density

A model that writes down or approximates p(x), e.g. autoregressive or diffusion

FromGenerative Models: An Overview

F 3

F1

The harmonic mean of precision and recall

FromModel Evaluation & Cross-Validation
FID

Fréchet distance between generated and real distributions in Inception feature space; lower is better

FromGenerative Models: An Overview
Function calling

The model emitting structured arguments to invoke an external function

FromAgents & Tool Use

G 5

Gating

Using 0–1 coefficients from Sigmoid to control how much information passes

FromRecurrent Neural Networks
Generalisation

Performance on data the model has not seen

FromOverfitting & Regularization
Generator

The network mapping noise to samples

FromGenerative Adversarial Networks
Gradient flow

The magnitude and stability of gradients as they propagate layer by layer

FromBackpropagation
Guardrail

Checks and constraints bounding what an agent may do

FromAgents & Tool Use

H 3

Hidden state

A continuously updated "summary so far" vector

FromRecurrent Neural Networks
Hinge loss

Requires the correct class to win by a margin; the heart of the SVM

FromLoss Functions
Hypothesis space

The set of all functions the model can represent

FromSupervised Learning

I 9

Identity shortcut

The path in a residual connection that adds the input straight back to the output

FromNormalization & Residual Connections
Implicit density

A model that offers only a sampler, not a probability, e.g. a GAN

FromGenerative Models: An Overview
In-context learning

Solving a task from prompt examples without updating parameters

FromPrompting & Alignment
InfoNCE

The standard contrastive loss; essentially a multi-class cross-entropy

FromSelf-Supervised Vision & Contrastive Multimodal Learning
Inner product

Element-wise product summed over entries; the numerator of cosine similarity

FromVectors & Vector Spaces
Input x

The feature vector fed to the model

FromSupervised Learning
Internal covariate shift

The shifting distribution of inputs to later layers during training

FromNormalization & Residual Connections
IoU

The ratio of the intersection to the union of two boxes

FromObject Detection
Irreducible error

The unavoidable error floor caused by label noise

FromBias–Variance Tradeoff

J 1

Jailbreak

Inducing a model past its safety training

FromSafety, Alignment & Prompt Injection

K 7

Kernel / filter

A set of learnable weights that slides over the input

FromConvolutional Neural Networks
Kernel / filter

The small weight matrix that is learned

FromConvolution Operations
KL divergence

Cross-entropy minus true entropy; non-negative and asymmetric

FromEntropy & Information Theory
KL divergence

Measures how far the encoded distribution deviates from a standard normal; acts as a regulariser

FromAutoencoders & VAE
KL penalty

Penalises divergence from the reference policy to prevent degeneration

FromReinforcement Learning from Human Feedback
Knowledge distillation

Training a small model on a large model’s soft outputs

FromModel Compression
KV cache

Caching past tokens’ keys and values to avoid recomputation

FromInference Optimization & Serving

L 12

Label y

The correct output for each sample; the source of supervision

FromSupervised Learning
Latent space

The low-dimensional representation space produced by the autoencoder

FromLatent Diffusion & Conditional Control
Learning rate η

How far each step moves

FromGradients & Gradient Descent
Likelihood

The probability of the observed data under given parameters

FromProbability & Distributions
Likelihood

The probability of observed data given that the hypothesis is true

FromBayes’ Theorem
Linearly separable

A hyperplane exists that separates the two classes perfectly

FromNeuron & Perceptron
Log-derivative trick

Turns the gradient of an expectation into a weighted sum of log-probabilities

FromPolicy Gradients
Long-range dependency

Influence between elements far apart in a sequence

FromRecurrent Neural Networks
LoRA

Low-rank adapters training only a tiny number of new parameters

FromPretraining & Fine-tuning
LoRA

Low-rank adaptation increments for low-cost customisation

FromLatent Diffusion & Conditional Control
Loss surface

The high-dimensional terrain of loss values over parameter space

FromGradients & Gradient Descent
Low-rank factorisation

Approximating a large matrix by a product of two smaller ones

FromModel Compression

M 9

mAP

Mean average precision across classes and IoU thresholds

FromObject Detection
Masked language modelling

Hide random words and recover them, a bidirectional objective

FromPretraining & Fine-tuning
MCTS

An algorithm that evaluates moves via sampled rollouts to guide search

FromDeep Reinforcement Learning
Mean squared error (MSE)

The average squared difference between prediction and label; the default regression loss

FromLoss Functions
mIoU

The mean of per-class IoU, the primary segmentation metric

FromSemantic Segmentation
Mode collapse

When a generator covers only a few modes of the data distribution

FromGenerative Models: An Overview
Mode collapse

The generator covers few modes and loses diversity

FromGenerative Adversarial Networks
Multi-armed bandit

The simplest sequential model: unknown reward distributions, one pull per round

FromExploration vs Exploitation
Multi-head attention

Several attentions in parallel, each learning a different focus

FromAttention Mechanism

N 5

Negative sampling

Replacing full-vocabulary softmax with a few random negatives

FromWord Embeddings
NeRF

A neural network representing a scene’s radiance field for novel-view synthesis

FromMultimodal Generation
NMS

Non-maximum suppression, removing duplicate boxes

FromObject Detection
Noise schedule

The timetable of noise added per step, described by βₜ or ᾱₜ

FromDiffusion Models
Norm

A function measuring a vector’s "length"; L2 is the common choice

FromVectors & Vector Spaces

O 3

Off-policy

The behaviour policy may differ from the policy being learned

FromValue Functions & Q-Learning
One-hot

A sparse vector with a single 1; distinct words are fully orthogonal

FromWord Embeddings
Out-of-vocabulary (OOV)

A word absent from the vocabulary, spelled out from subwords

FromTokenization

P 16

Padding

Adding zeros at the border to control output size

FromConvolution Operations
Perplexity

The exponential of the cross-entropy; the effective number of options the model hesitates among per step

FromEntropy & Information Theory
Pipeline parallelism

Placing different layers on different devices and filling bubbles with micro-batches

FromTraining & Inference Infrastructure
Pixel

The smallest sampling unit of an image, carrying one or more channel values

FromImage Representation
Policy π

A mapping from states to actions, or to a distribution over actions

FromMarkov Decision Process
Positional encoding

An explicit order signal, sinusoidal or RoPE

FromTransformer Architecture
Posterior

The updated degree of belief after incorporating the evidence

FromBayes’ Theorem
Pre-activation

A layout placing normalisation before the convolution, which trains more stably

FromNormalization & Residual Connections
Pre-LN

Placing layer norm before each sublayer for stability

FromTransformer Architecture
Precision & recall

Precision asks how many alerts are real; recall asks how many real cases were caught

FromModel Evaluation & Cross-Validation
Preference pair

Two candidate outputs for one input plus the human’s choice between them

FromReinforcement Learning from Human Feedback
Prior

The degree of belief in a hypothesis before seeing data

FromBayes’ Theorem
Probability density

The "thickness" of probability for a continuous variable; its integral over an interval is the probability

FromProbability & Distributions
Projection head

The MLP the contrastive loss is applied to, usually discarded after training

FromSelf-Supervised Vision & Contrastive Multimodal Learning
Prompt injection

Smuggling malicious instructions as data for the model to follow

FromSafety, Alignment & Prompt Injection
Pruning

Removing low-impact weights or whole structures

FromModel Compression

Q 2

Quantisation

Representing float weights and activations with low-bit integers

FromModel Compression
Query / Key / Value

The three vector roles: what you seek, what is on offer, what is carried

FromAttention Mechanism

R 14

Random variable

A function mapping outcomes of a random experiment to numbers

FromProbability & Distributions
Rank

The number of independent directions the map actually spans; at most rows or columns

FromMatrix Operations & Linear Maps
ReAct

A prompting paradigm alternating reasoning and action

FromAgents & Tool Use
Receptive field

The region of the original input that a given output covers

FromConvolutional Neural Networks
Receptive field

The input region that one output pixel depends on

FromConvolution Operations
Red teaming

Actively hunting for failure and misuse paths

FromSafety, Alignment & Prompt Injection
Regret

The gap between realised cumulative reward and always picking the best arm

FromExploration vs Exploitation
Reparameterisation

Writing sampling as a deterministic transform plus external noise so gradients flow

FromAutoencoders & VAE
Reranking

Rescoring candidate passages with a more accurate model

FromRetrieval-Augmented Generation
Residual connection

Adding the input past a sublayer to ease vanishing gradients in depth

FromTransformer Architecture
Reward hacking

Exploiting the proxy reward instead of genuinely completing the task

FromReinforcement Learning from Human Feedback
Reward model

A model fitting human preferences and emitting a differentiable score

FromReinforcement Learning from Human Feedback
ROC-AUC

Area under the ROC curve, measuring ranking ability across all thresholds

FromModel Evaluation & Cross-Validation
RoPE

Rotary Position Embedding: relative position with better extrapolation

FromTransformer Architecture

S 19

Saturation

A function whose derivative tends to 0 at the extremes, blocking gradients

FromActivation Functions
Self-attention

Attention whose Q, K and V all come from one sequence

FromAttention Mechanism
Self-information

The information of a single event, −log p

FromEntropy & Information Theory
Self-play

Generating training data by having an agent play against its past selves

FromDeep Reinforcement Learning
Self-supervised

Labels manufactured from the data itself, no manual annotation

FromPretraining & Fine-tuning
Semantic / instance / panoptic

Class → class + instance → the two unified

FromSemantic Segmentation
SentencePiece

A subword toolkit that runs directly on the character/byte stream

FromTokenization
SFT

Supervised fine-tuning on instruction–response pairs

FromPrompting & Alignment
SGD

Approximating the full gradient with a mini-batch

FromGradients & Gradient Descent
Shannon entropy

The average information, or uncertainty, of a random variable

FromEntropy & Information Theory
Singular value decomposition

Writing any matrix as the product "rotate · stretch · rotate"

FromMatrix Operations & Linear Maps
Skip connection

Routing shallow high-resolution features into deep layers to preserve boundaries

FromSemantic Segmentation
Skip-gram

A training objective that predicts surrounding words from the centre

FromWord Embeddings
Softmax

Turns a set of real scores into a probability distribution summing to 1

FromProbability & Distributions
Spatiotemporal patch

A local unit spanning frames in video, used to model motion

FromMultimodal Generation
Speculative decoding

A small model drafts and the large model verifies in parallel to speed up generation

FromInference Optimization & Serving
State S

The variables describing the present situation; must satisfy the Markov property

FromMarkov Decision Process
State value V(s)

Expected discounted return from s under policy π

FromValue Functions & Q-Learning
Stride

How many pixels the window jumps each step

FromConvolution Operations

T 11

Target network

A slowly updated copy of the network providing stable bootstrap targets

FromDeep Reinforcement Learning
TD error

The gap between the fresh target and the old estimate

FromValue Functions & Q-Learning
Tensor parallelism

Splitting a single layer’s large matrices across devices

FromTraining & Inference Infrastructure
Thompson sampling

Sample from the posterior and pick the max, auto-directing exploration to uncertainty

FromExploration vs Exploitation
Time to first token (TTFT)

Time from sending a request to receiving the first token

FromInference Optimization & Serving
Tool

One external capability an agent may invoke

FromAgents & Tool Use
Top-1 / top-5 error

Whether the top prediction / top five include the true label

FromImage Classification
Transfer learning

Pre-train on a large dataset, then fine-tune on a small task

FromImage Classification
Transpose

Flip a matrix across its diagonal so rows become columns

FromMatrix Operations & Linear Maps
Transposed convolution

An upsampling operation common in segmentation decoders

FromSemantic Segmentation
Trust region / KL constraint

Bounds how far the new policy may drift from the old

FromPolicy Gradients

V 6

Vanishing gradient

Gradients shrinking exponentially as they are multiplied across layers

FromActivation Functions
Variance

How sensitive the model is to perturbations of the training set

FromBias–Variance Tradeoff
Vector database

A store providing nearest-neighbour search over high-dimensional vectors

FromRetrieval-Augmented Generation
ViT

An architecture that applies a Transformer to image patches

FromImage Classification
Vocabulary

The fixed set of all tokens and their indices

FromTokenization
Vocoder

The component that turns acoustic features back into a waveform

FromMultimodal Generation

W 4

Wasserstein distance

An earth-mover distance between distributions, better behaved for training than JS divergence

FromGenerative Adversarial Networks
Weight

How strongly an input influences the output; may be positive or negative

FromNeuron & Perceptron
Weight decay (L2)

Adding a squared-weight penalty to the loss to suppress large weights

FromOverfitting & Regularization
Weight sharing

Reusing one set of weights across all spatial positions

FromConvolutional Neural Networks

Z 3

ZeRO

Sharding optimiser states, gradients and parameters to cut per-device memory

FromTraining & Inference Infrastructure
Zero-centred

Outputs symmetric about 0, which aids optimisation

FromActivation Functions
Zero-shot classification

Classifying directly with text prompts, without fine-tuning

FromSelf-Supervised Vision & Contrastive Multimodal Learning

Ε 1

ε-greedy

Explore at random with probability ε, exploit the current best otherwise

FromExploration vs Exploitation