Deep Learning glossary
207 key terms, each in one sentence, with the lesson that teaches it.
A
- Accelerator
- specialised hardware (GPUs, TPUs and others) built for the arithmetic patterns deep learning relies on.
- Why GPUs and Accelerators
- Accuracy-cost trade-off
- balancing a candidate's performance against its compute, memory or latency cost.
- Neural Architecture Search
- Activation function
- the non-linear function applied to a neuron's weighted sum.
- The Artificial Neuron and Activation Functions
- Activation maximization
- optimising an input (rather than weights) to maximise a chosen unit's activation.
- Feature Visualization
- Adaptive step size
- letting a solver choose smaller steps where accuracy requires it and larger steps where it doesn't.
- Neural ODEs
- Adversarial example
- an input deliberately, minimally perturbed to damage a model's prediction.
- Adversarial Examples and Robustness
- Adversarial training
- training two networks against each other's objectives simultaneously.
- Generative Adversarial Networks
- Alignment
- which input positions a model attended to most strongly when producing a given output.
- Encoder-Decoder Architectures with Attention
- All-reduce
- the communication step that averages gradients across all workers.
- Distributed and Data-Parallel Training
- Anchor, positive, negative
- the reference example, its true match, and unrelated distractor examples in a contrastive training batch.
- Contrastive Learning
- Attention head
- one independent attention computation with its own query, key and value projections.
- Multi-Head Attention
- Attention score
- a measure of relevance between a decoder state and an encoder state.
- Encoder-Decoder Architectures with Attention
B
- Backbone
- a pretrained architecture (often one of these) reused as the starting point for another vision task.
- CNN Architectures: From LeNet to ResNet
- Backpropagation through time (BPTT)
- backpropagation applied to an RNN unrolled across its time steps.
- Backpropagation Through Time
- Baseline
- a simple, well-understood model used as a starting comparison point before trying something more complex.
- Choosing an Architecture for a Problem
- the neutral reference input (often all zeros) integrated gradients measures attribution relative to.
- Interpretability and Attribution
- Batch normalization
- normalizing a layer's activations using the current batch's mean and variance, then applying a learned scale and shift.
- Batch Normalization
- normalizing across the batch, for each feature (see Batch Normalization).
- Layer Normalization
- Batch size
- the number of examples averaged into one gradient estimate.
- Batch Size and Training Dynamics
- Bidirectional RNN
- two RNNs, one reading forward and one reading backward, with their hidden states combined at each position.
- Bidirectional and Stacked RNNs
- Bottleneck
- the smallest, most compressed layer in an autoencoder, between the encoder and decoder.
- Autoencoders
- Bounding box
- a rectangle, usually given by two corner coordinates, marking where a detected object is.
- Object Detection and Segmentation
C
- Candidate content
- the tanh-activated new information proposed for the cell state at each step.
- Long Short-Term Memory
- Candidate hidden state
- the tanh-activated proposed new value, blended with the old state to produce the final hidden state.
- Gated Recurrent Units
- Chain rule compounding
- the multiplication of many per-layer factors that produces both effects.
- Vanishing and Exploding Gradients
- Change of variables
- the probability formula relating a base distribution's density to a transformed distribution's density via the Jacobian determinant.
- Normalizing Flows
- Channel
- one "layer" of a stack of feature maps (or of an input like RGB).
- Filters, Feature Maps and Channels
- Checkpoint
- a saved snapshot of a model's weights, optimizer state and training progress.
- Checkpointing and Reproducibility
- Checkpoint interval
- how many training steps elapse between saved checkpoints.
- Checkpointing and Reproducibility
- Clip by norm
- rescaling the whole gradient vector to a maximum length, preserving direction.
- Gradient Clipping
- Communication overhead
- the time cost of synchronising workers, which limits real-world speedup.
- Distributed and Data-Parallel Training
- Completeness
- the property that attributions sum exactly to the change in output between the input and the baseline.
- Interpretability and Attribution
- Composition (of features)
- building a new detector by combining the outputs of earlier, simpler detectors.
- What Deep Networks Learn
- Compression stack
- combining multiple size-reduction techniques (pruning, quantization, distillation) together.
- Edge and On-Device Deep Learning
- Concatenation
- joining the forward and backward hidden states into one combined vector per position.
- Bidirectional and Stacked RNNs
- Context vector (attention-based)
- the weighted combination of encoder states, recomputed at every decoding step.
- Encoder-Decoder Architectures with Attention
- Convolution
- sliding a small filter over an image (or signal) and computing a weighted sum at each position.
- The Convolution Operation
- Cosine decay
- smoothly decreasing the learning rate following a cosine curve.
- Learning Rate Schedules and Warmup
D
- Data augmentation
- generating new training examples by applying label-preserving transformations to existing ones.
- Data Augmentation
- Data leakage
- information about the target leaking into the training inputs in a way that inflates apparent performance unrealistically.
- Debugging a Training Run
- Data parallelism
- splitting a batch across multiple workers, each computing gradients on its own shard.
- Distributed and Data-Parallel Training
- Data structure (for architecture choice)
- whether the input is grid-shaped, sequential, graph-shaped, or none of these.
- Choosing an Architecture for a Problem
- Dead unit
- a ReLU unit whose input is always negative, so it never activates or updates.
- The Artificial Neuron and Activation Functions
- Decoder
- the RNN that generates the output sequence, starting from the context vector.
- Sequence-to-Sequence Models
- Degradation problem
- very deep plain networks training worse, even on training data, as depth increases past a point.
- Residual and Skip Connections
- Design walkthrough
- working through a project's decisions in the order they naturally arise, each backed by evidence.
- Capstone: Designing a Deep Learning System End to End
- Differential privacy
- training techniques that limit how much any single training example can be inferred from a trained model.
- Ethics and Safety of Deep Systems
- Dilated convolution
- a filter variant that grows the receptive field by spacing out its taps, without adding layers or downsampling.
- Receptive Fields and Depth
- Diminishing returns
- a shrinking relative improvement from each further increase in scale.
- Scaling Laws and Model Capacity
- Discriminator
- the network trained to distinguish real samples from the generator's fakes.
- Generative Adversarial Networks
- Distillation loss
- cross-entropy between a student's and teacher's softened output distributions.
- Knowledge Distillation
- Double descent
- test error falling, rising to a peak at the interpolation threshold, then falling again with further capacity.
- Overfitting and Double Descent
- Downstream task
- the real task of interest, which reuses representations learned via a pretext task.
- Self-Supervised Learning
E
- Early stopping
- halting training (or keeping an earlier checkpoint) once validation performance stops improving.
- Early Stopping and Ensembling Deep Nets
- Edge deployment
- running a model directly on the end-user's device rather than a remote server.
- Edge and On-Device Deep Learning
- Encoder
- the RNN that reads the input sequence and produces a context vector.
- Sequence-to-Sequence Models
- Encoder / decoder
- the two halves of an autoencoder, compressing and then expanding the representation.
- Autoencoders
- End-to-end
- covering a project from initial architecture choice through to a deployable, checked result.
- Capstone: Designing a Deep Learning System End to End
- Ensembling
- averaging the predictions of several independently trained models.
- Early Stopping and Ensembling Deep Nets
- Epoch-units
- a simple measure of total training compute used, summed across every candidate and training round.
- Hyperparameter Tuning for Deep Networks
- Euler's method
- the simplest way to numerically solve a differential equation, taking fixed-size steps along the rate of change.
- Neural ODEs
- Exploding gradient
- a gradient that grows without bound as it propagates back through many layers.
- Vanishing and Exploding Gradients
- Exponential separation
- when one architecture needs exponentially more units than another to represent the same function.
- Why Depth Helps
F
- Feature extraction (as a transfer strategy)
- freezing a pretrained backbone and training only a new output layer.
- Transfer Learning and Fine-Tuning
- Feature hierarchy
- the tendency for depth to progress from simple, generic features to complex, task-specific ones.
- What Deep Networks Learn
- Feature map
- the 2D grid of outputs produced by sliding one filter over an input.
- Filters, Feature Maps and Channels
- FGSM (Fast Gradient Sign Method)
- a simple adversarial attack using the sign of the gradient to perturb every input dimension by a fixed small step.
- Adversarial Examples and Robustness
- Filter depth
- the number of 2D grids making up one filter, equal to its input's channel count.
- Filters, Feature Maps and Channels
- Filter visualization
- directly viewing a layer's filter weights as image patches, most interpretable at the first layer.
- Feature Visualization
- Fine-tuning
- continuing to train some or all of a pretrained model's own weights on a new task.
- Transfer Learning and Fine-Tuning
- Flatten
- reshaping a feature map into a single vector, with no computation.
- Image Classification End to End
- Forget, input, output gates
- learned sigmoid layers controlling what is kept, added, and revealed at each step.
- Long Short-Term Memory
- Forward (noising) process
- the fixed, un-learned process of gradually adding noise to data.
- Diffusion Models
- Forward pass
- computing a network's output from its input, layer by layer.
- The Multilayer Feedforward Network
- Frequency (in positional encoding)
- how quickly a given dimension's value changes from one position to the next.
- Positional Encoding
- Fully connected (dense) layer
- a layer connecting every input to every output with its own weight.
- From Linear Models to Neural Networks
G
- Generative misuse
- using a generative model's realistic output to deceive or defraud.
- Ethics and Safety of Deep Systems
- Generic vs. task-specific features
- reusable low-level patterns versus patterns specialised to one particular task.
- What Deep Networks Learn
- GloVe
- an alternative method learning embeddings directly from word co-occurrence statistics.
- Word Embeddings
- GPU (graphics processing unit)
- hardware with many simple cores, well-suited to the kind of massive, uniform parallelism matrix multiplication needs.
- Why GPUs and Accelerators
- Gradient noise
- the random variation of a batch gradient around the true, full-dataset gradient.
- Batch Size and Training Dynamics
- Gradient norm
- the size (magnitude) of the overall gradient vector at a given training step, often monitored to catch instability early.
- Debugging a Training Run
- Graph neural network (GNN)
- a network whose layers aggregate information from each node's actual graph neighbours.
- Graph Neural Networks
H
- Head dimension
- the (usually reduced) dimensionality each head's projections operate in.
- Multi-Head Attention
- Hidden layer
- a layer of units between the input and the output, not observed directly.
- From Linear Models to Neural Networks
- Hidden state
- the vector an RNN carries from one time step to the next, summarising everything seen so far.
- Recurrent Neural Networks
- Hop
- one edge's worth of distance in a graph; a GNN with k layers can reach information up to k hops away.
- Graph Neural Networks
- Hyperband
- a practical algorithm running several successive-halving schedules in parallel to hedge against early elimination risk.
- Hyperparameter Tuning for Deep Networks
I
- Ill-conditioned loss
- a loss surface with very different curvatures in different directions.
- Second-Order and Natural Gradient Ideas
- ImageNet
- the large-scale image classification benchmark these architectures competed on.
- CNN Architectures: From LeNet to ResNet
- InfoNCE loss
- the standard contrastive loss, a softmax cross-entropy over similarity scores against one true positive.
- Contrastive Learning
- Integrated gradients
- an attribution method that averages the gradient along a path from a baseline input to the actual input.
- Interpretability and Attribution
- Interpolation threshold
- the point where a model has just enough capacity to fit its training data exactly.
- Overfitting and Double Descent
- Intersection over Union (IoU)
- the overlap area between two boxes divided by their combined (union) area.
- Object Detection and Segmentation
- Invariance
- a property of the task (like orientation not mattering for "is this a cat") that augmentation teaches the network to respect.
- Data Augmentation
- Inverted dropout
- scaling surviving units up by 1/(1 − p) so the expected activation is unchanged.
- Dropout
J
- Jacobian determinant
- the local stretching (or shrinking) factor a transformation applies to volume (or, in 1D, length).
- Normalizing Flows
- Jump (cumulative stride)
- the product of all strides applied so far, which scales how fast later layers grow the receptive field.
- Receptive Fields and Depth
K
- Kernel (filter)
- the small grid of learned (or hand-designed) weights being slid across the input.
- The Convolution Operation
- KL divergence
- a measure of how different two probability distributions are, used here to pull latent distributions toward the standard normal.
- Variational Autoencoders
L
- Label-preserving transformation
- a change to the input that does not change the correct output.
- Data Augmentation
- Law of large numbers
- the statistical fact that averaging more samples reduces estimation noise.
- Batch Size and Training Dynamics
- Layer normalization
- normalizing across one example's own features, independent of the batch.
- Layer Normalization
- Learning rate schedule
- a rule for changing the learning rate over the course of training.
- Learning Rate Schedules and Warmup
- LeNet, AlexNet, VGGNet, ResNet
- four landmark CNN architectures, each solving a bottleneck of the one before it.
- CNN Architectures: From LeNet to ResNet
- Linearly separable
- classes a single straight line (or hyperplane) can divide.
- From Linear Models to Neural Networks
- Loss curve
- the plot of training (and validation) loss over time, the first and most informative diagnostic tool for a training run.
- Debugging a Training Run
- Loss scaling
- multiplying the loss by a large constant to prevent small gradients from underflowing in low precision.
- Mixed Precision Training
M
- Membership inference attack
- inferring whether a specific record was in a model's training data.
- Ethics and Safety of Deep Systems
- Minimum-norm solution
- among all parameter settings that fit the training data exactly, the one with the smallest overall size.
- Overfitting and Double Descent
- Mixed precision training
- running most computation in a lower-precision format while keeping precision-sensitive parts at higher precision.
- Mixed Precision Training
- Modality
- a kind of data (vision, audio, language, and others), each with its own typical raw representation.
- Deep Learning Across Modalities
- Mode collapse
- a generator producing a narrow range of outputs rather than diverse ones.
- Training Instabilities in GANs
- Multi-head attention
- running several attention heads in parallel and concatenating their outputs.
- Multi-Head Attention
- Multimodal
- a problem combining more than one kind of data structure (such as images and text together).
- Choosing an Architecture for a Problem
- Multimodal model
- a model that combines information from more than one modality.
- Deep Learning Across Modalities
N
- Negative sampling
- approximating the full softmax by scoring the true context word against a small set of random negative examples.
- Word Embeddings
- Neural ODE
- a network whose depth is treated as continuous time, with the hidden state's evolution defined by a differential equation.
- Neural ODEs
- Newton's method
- the second-order update Δx = −H⁻¹g, exact in one step for a quadratic loss.
- Second-Order and Natural Gradient Ideas
- Noise schedule
- the sequence of per-step noise amounts (β_t) controlling how quickly data is noised.
- Diffusion Models
- Non-linearity (activation function)
- a function applied after each linear map that lets stacking add power.
- From Linear Models to Neural Networks
- Non-saturating loss
- a generator loss formulation chosen specifically to avoid that vanishing-gradient trap.
- Training Instabilities in GANs
- Normalizing flow
- a generative model built from invertible transformations with computable Jacobians.
- Normalizing Flows
O
- On-device inference
- inference computed locally, with no network round trip.
- Edge and On-Device Deep Learning
P
- Padding
- adding a border (usually zeros) around an input so a filter can reach its edges.
- Padding, Stride and Pooling
- Parallel processing
- performing many independent operations at the same time rather than one after another.
- Why GPUs and Accelerators
- Parallelizable
- able to be computed all at once rather than step by step.
- Why Attention Replaced Recurrence
- Path length
- the number of sequential computation steps separating two positions in a sequence.
- Why Attention Replaced Recurrence
- Patience
- the number of epochs without improvement tolerated before actually stopping.
- Early Stopping and Ensembling Deep Nets
- Permutation-invariant
- unaffected by reordering the inputs — the property plain attention has without positional information.
- Positional Encoding
- Pipeline (convolve, pool, repeat, flatten, classify)
- the standard structure of a CNN image classifier.
- Image Classification End to End
- Pooling
- summarising each small patch of a feature map with one number (commonly the maximum or average), with no learned weights.
- Padding, Stride and Pooling
- Positional encoding
- a position-dependent vector added to each token's embedding so order-sensitive information survives into attention.
- Positional Encoding
- Power law
- a relationship where one quantity scales as a fixed power of another, appearing as a straight line on a log-log plot.
- Scaling Laws and Model Capacity
- Pre-deployment safety review
- checking a model's privacy, robustness and fairness properties before it ships, not only its accuracy.
- Capstone: Designing a Deep Learning System End to End
- Pretext task
- the specific, auto-labelled task a self-supervised model is trained to solve.
- Self-Supervised Learning
Q
- Quadratic cost
- compute or memory that grows with the square of the sequence length, as full self-attention's scoring does.
- Why Attention Replaced Recurrence
- Quantization
- representing values with a smaller, fixed set of discrete levels instead of full floating-point precision.
- Quantization
R
- Receptive field
- the region of the original input that a given unit's output depends on.
- Receptive Fields and Depth
- Reconstruction error
- the difference between an autoencoder's input and its reconstructed output.
- Autoencoders
- ReLU
- max(0, z), the most common hidden-layer activation in deep networks.
- The Artificial Neuron and Activation Functions
- Reparameterization trick
- expressing a random sample as a differentiable function of learned parameters and independent noise.
- Variational Autoencoders
- Representational power
- what a model family can express, independent of whether training finds it.
- Universal Approximation
- Reproducibility
- the ability to obtain the same training result given the same starting conditions.
- Checkpointing and Reproducibility
- Reset gate
- the gate controlling how much of the previous hidden state feeds into the new candidate's computation.
- Gated Recurrent Units
- Reverse (denoising) process
- the trained process of removing noise step by step, used to generate new samples.
- Diffusion Models
- Robustness
- a model's resistance to deliberately adversarial (as opposed to naturally occurring) input changes.
- Adversarial Examples and Robustness
- Router (gating network)
- the small network that scores and selects which experts handle a given input.
- Mixture of Experts
- Running statistics
- the accumulated mean and variance used at test time instead of a single batch's.
- Batch Normalization
S
- Saliency map
- a per-pixel measure of how sensitive a prediction is to small changes in that pixel.
- Feature Visualization
- Saturating gradient
- a gradient that shrinks toward zero in exactly the situation where a strong training signal is most needed.
- Training Instabilities in GANs
- Saturation
- a region of an activation function where its slope is close to zero.
- The Artificial Neuron and Activation Functions
- Scale
- the spacing between adjacent quantization levels, determined by the value range and bit-width.
- Quantization
- Scaling law (in deep learning)
- an empirical power-law relationship between a model's loss and its scale (parameters, data, or compute).
- Scaling Laws and Model Capacity
- Search strategy
- the method used to propose and evaluate candidate architectures.
- Neural Architecture Search
- Second-order method
- an optimization method that uses curvature (second-derivative) information, not just the gradient.
- Second-Order and Natural Gradient Ideas
- Segmentation
- labelling every pixel of an image, rather than the image as a whole.
- Object Detection and Segmentation
- Self-supervised learning
- training with targets generated automatically from unlabelled data, rather than from human annotation.
- Self-Supervised Learning
- Skip connection
- a path that carries a layer's input forward, around (added to) that layer's own output.
- Residual and Skip Connections
- Soft step
- a scaled, shifted sigmoid used as a building block for approximating curves.
- Universal Approximation
- Stacked RNN
- multiple RNN layers, each one's output sequence feeding the next as its input sequence.
- Bidirectional and Stacked RNNs
- Step decay
- multiplying the learning rate by a fixed factor at set intervals.
- Learning Rate Schedules and Warmup
- Successive halving
- a search strategy that eliminates the weaker half of candidates at each checkpoint, giving only survivors further training budget.
- Hyperparameter Tuning for Deep Networks
T
- Teacher / student
- the large, already-trained model and the smaller model being trained to mimic it.
- Knowledge Distillation
- Teacher forcing
- feeding the true previous output during training instead of the model's own generated output.
- Sequence-to-Sequence Models
- Temperature
- a scaling factor that softens (or sharpens) a softmax distribution.
- Knowledge Distillation
- Temperature (τ)
- a scaling constant controlling how sharply the softmax concentrates on the closest candidate.
- Contrastive Learning
- Top-k selection
- keeping only the k highest-scoring experts and renormalising their weights.
- Mixture of Experts
- Train/test mismatch
- the need for running statistics at test time that batch norm has and layer norm avoids.
- Layer Normalization
- Transfer learning
- reusing a model trained on one task as the starting point for another.
- Transfer Learning and Fine-Tuning
- Truncated BPTT
- backpropagating through only a limited number of recent steps instead of the whole sequence.
- Backpropagation Through Time
U
- Underflow
- a value too small to represent in a given numerical format, rounding to zero.
- Mixed Precision Training
- Universal approximation theorem
- a sufficiently wide one-hidden-layer network can approximate any continuous function on a bounded input.
- Universal Approximation
- Unrolling
- representing a recurrence over T steps as an explicit T-layer computational graph.
- Backpropagation Through Time
- Update gate
- the single gate controlling the trade-off between the old hidden state and the new candidate.
- Gated Recurrent Units
V
- Valid convolution
- convolution with no padding, producing a smaller output than the input.
- The Convolution Operation
- Vanishing gradient
- a gradient that shrinks toward zero as it propagates back through many layers.
- Vanishing and Exploding Gradients
- Variational autoencoder (VAE)
- an autoencoder whose bottleneck is a learned probability distribution rather than a fixed vector.
- Variational Autoencoders
- Vision transformer
- an architecture applying attention to image patches, adapting an idea originally developed for language.
- Deep Learning Across Modalities
W
- Warmup
- a short initial phase that ramps the learning rate up from near zero.
- Learning Rate Schedules and Warmup
- Weight matrix
- a layer's weights, one row per unit, one column per input.
- The Multilayer Feedforward Network
- Weight sharing across time
- the same principle as a convolution's weight sharing across space, applied to sequence position instead.
- Recurrent Neural Networks
- word2vec
- a family of methods (including skip-gram) that learn word embeddings by predicting context words.
- Word Embeddings
X
#
No term matches that filter.