Reference
Glossary
Short definitions — two sentences at most — each linking to the full explanation.
All terms
1–12 of 335 terms
Look up a term or choose its first letter. Every definition links to its fuller explanation.
A
- AbstentionSelective prediction, Reject option, Confidence target, Risk–coverage curve
- Answering only when confidence clears a threshold and otherwise saying 'I don't know'; with a penalty k for wrong answers the break-even threshold is k/(1+k). Abstention and Selective Prediction →
- Activation checkpointinggradient checkpointing, activation recomputation
- Storing only some intermediate values from the forward pass and recomputing the rest during backpropagation, trading compute for memory. Where Training Memory Goes →
- Activation functionReLU, sigmoid, tanh, GELU, nonlinearity
- The nonlinearity applied after each neuron's weighted sum; without it, stacked layers collapse into one linear map. Activation Functions →
- Activation patchingCausal tracing
- Copying an internal activation from one run into another to see whether it changes the output, which tests whether that component matters. Circuits and Mechanistic Interpretability →
- Active parametersactivated parameters
- The parameters a mixture-of-experts model actually uses for one token (13B of Mixtral's 47B). Compute follows active parameters; memory follows the total. Mixture of Experts (MoE) →
- Actor–criticactor-critic, critic
- An RL method with two learned parts: a policy (actor) that acts and a value estimate (critic) that judges its actions to reduce noise. Actor–Critic Methods →
- AdamAdamW, momentum, optimizer
- An optimizer combining momentum with per-parameter step sizes. AdamW, its weight-decay variant, is the default for Transformers. Momentum and Adam →
- AdamWdecoupled weight decay
- Adam with weight decay applied separately from the adaptive gradient step; the usual optimizer for LLM pretraining. Learning-Rate Schedules, Warmup and Clipping →
- Adversarial exampleAdversarial perturbation, FGSM, Fast gradient sign method
- An input changed slightly, on purpose, so that a model gets it wrong; first shown for image classifiers in 2013. Robustness and Prompt Sensitivity →
- Agent Evaluation
- Agent evaluation checks final outcomes, constraint compliance and repeated-run reliability under a specified budget. Agent Evaluation →
- Agent Memory
- Agent memory retains and retrieves task evidence, state and useful history across model calls. Agent Memory →
- Agent Planning and ReAct
- Agent planning organizes actions toward a goal and revises them as new observations arrive. Agent Planning and ReAct →
- Agent Reflection
- Reflection turns feedback from an attempt into a proposed lesson for subsequent attempts. Agent Reflection →
- Agent Reliability and Budgets
- Agent reliability measures completing a whole task correctly under limits, not merely choosing one plausible action. Agent Reliability and Budgets →
- Agent Runtime
- The agent runtime assembles context, routes authorized tool calls, records observations and enforces execution limits. Agent Runtime →
- Agent trajectory
- The sequence of actions and observations produced while attempting a task. Agent Evaluation →
- Agent Trust Boundaries
- Agent trust boundaries prevent untrusted observations from granting permissions or directing unauthorized tool use. Agent Trust Boundaries →
- AI winter
- A period of collapsed funding and interest after AI's promises outran its results — roughly 1974–1980 and from 1987. AI Winters →
- Alignment
- The broader goal of making system behavior accord with intended goals and constraints; assistant post-training addresses only part of it. From Base Model to Assistant →
- All-reducecollective communication
- A collective operation in which every GPU contributes a vector and every GPU receives the sum or average, used to combine gradients. Data Parallelism and All-Reduce →
- Approximate nearest-neighbour searchANN search, approximate nearest neighbor
- Finding the vectors most similar to a query without comparing it to every stored vector, trading a little recall for a large speed-up. Approximate Nearest-Neighbour Search →
- Arithmetic intensity
- Floating-point operations done per byte moved from memory. Work below the hardware's ratio (about 295 for an H100 in BF16) waits on memory; above it, on arithmetic. Prefill, Decode and the Memory Wall →
- Assistant modelchat model
- A language model tuned and formatted to respond in conversational roles and follow requests more reliably. From Base Model to ChatGPT →
- Attention
- A mechanism that lets a model compute a weighted average of other positions' information, with weights based on relevance. Attention →
- Automatic differentiationautodiff, autograd, computational graph
- Software that records a computation's operations and applies the chain rule to compute exact gradients automatically. Computational Graphs and Autodiff →
- Autoregressive generationnext-token prediction, decoder-only generation
- Generating text one token at a time, each chosen from a distribution conditioned on everything generated so far. Autoregressive Next-Token Prediction →
B
- Backpropagationbackprop, backward pass
- Computing the gradient of the loss for every weight by passing the error backward through the network with the chain rule. Backpropagation →
- Base model
- A model after pretraining, before an assistant-specific post-training recipe; it can still answer questions with suitable context. From Base Model to ChatGPT →
- Batch normalizationbatch norm
- Normalizing each layer's activations with mini-batch statistics to speed up and stabilize training. Batch Normalization →
- Batch sizeglobal batch, tokens per batch
- How much data one optimizer step averages over. For LLMs it is counted in tokens, often millions per step. The Pretraining Loop →
- Bayes' theoremprior, posterior, likelihood, base rate
- P(H | E) = P(E | H)·P(H) / P(E). Turns 'how likely is the evidence given the cause' into 'how likely is the cause given the evidence'. Conditional Probability and Bayes' Theorem →
- BenchmarkLLM benchmark, Leaderboard, MMLU
- A fixed set of tasks, a way of asking the model and a scoring rule; its score measures only what those three capture together. Benchmarks and What They Measure →
- Benchmark contaminationdata contamination, test set leakage
- When test questions or answers appear in a model's training data, so its benchmark score partly measures memory. Benchmark Contamination →
- Benchmark saturationSaturated benchmark, Humanity's Last Exam, GPQA
- When top models score near a benchmark's ceiling, so it no longer separates them; harder or fresher tests replace it. Benchmarks and What They Measure →
- Best-of-NBest-of-n sampling
- Generate N candidates and keep the one a verifier scores highest; self-consistency instead keeps the most common answer. Verifiers and Best-of-N →
- BF16bfloat16, brain floating point
- A 16-bit number format with FP32's range (8 exponent bits) but less precision; the usual format for LLM training. Mixed-Precision Training (FP16 and BF16) →
- Bi-encoderdual encoder
- A model that encodes the query and each passage separately into vectors, so passages can be embedded ahead of time and compared by dot product. Text Embeddings →
- BM25Okapi BM25
- The standard keyword-ranking formula: inverse document frequency times a term frequency that saturates, normalised for document length. Keyword Search and BM25 →
- Bradley–Terry modelBradley-Terry, Elo rating, Arena rating
- A model of pairwise comparisons: each player has a strength θ and P(i beats j) = σ(θᵢ − θⱼ). Used for arena leaderboards and reward models. Human Preference Evaluation and Arenas →
- Byte-pair encodingBPE, byte-level BPE, merges
- A way to build a tokenizer: start from characters or bytes and repeatedly merge the most frequent adjacent pair into a new vocabulary symbol. Tokenization →
C
- CalibrationCalibrated, Overconfidence, Miscalibration
- Confidence matching accuracy: of the answers given with 80% confidence, about 80% are right. Calibration →
- Causal maskcausal masking, look-ahead mask
- Blocks each position from attending to later positions (their scores are set to −∞ before softmax), so next-token prediction can't cheat. Causal Masking →
- Chain of ThoughtCoT, Chain-of-thought prompting, Let's think step by step
- Intermediate text a model writes before its final answer, so later tokens can condition on partial results. Chain of Thought →
- Chain rule
- The derivative of a composition is the product of the derivatives along the chain. Backpropagation applies it layer by layer. The Chain Rule →
- Chat templaterole tokens
- A model-specific serialization of message roles, content and turn boundaries into tokens. Chat Templates →
- Chatbot ArenaLMArena, Arena
- A public site where users compare two anonymous models on their own prompts; votes are turned into Bradley–Terry ratings with intervals. Human Preference Evaluation and Arenas →
- Chunkchunking, chunk size
- A passage cut from a document for indexing; its size and overlap decide what retrieval can find and how much prompt space each result costs. Chunking →
- Classification
- Predicting a category (spam / not spam, digit, next token). Features, Labels and Tasks →
- Classifier-free guidanceCFG, Guidance scale, Negative prompt
- Extrapolating from a model's unconditional prediction toward its prompted one; higher scales follow the prompt more closely and reduce diversity. Classifier-Free Guidance →
- CLIPContrastive Language-Image Pre-training, Image-text embedding, Joint embedding space
- A pair of encoders trained so matching images and captions get similar vectors; enables zero-shot classification and conditions many image generators. CLIP and Image–Text Embeddings →
- Clustered standard errorClustered errors
- A standard error that accounts for questions coming in related groups (several per passage), which makes them less independent than they look. Error Bars on Evals →
- CNNconvolutional neural network, ConvNet
- A network built from stacked convolution, nonlinearity and pooling layers, so early layers detect edges and later layers detect larger patterns. Convolutional Neural Networks →
- CodebookVector quantization, VQ, VQ-VAE, Discrete visual tokens
- A learned list of vectors; quantizing replaces each patch or audio frame by the index of its nearest entry, giving discrete tokens. Turning Signals into Tokens →
- Coding Agents
- Coding agents inspect and modify software through tools, using executable checks to guide and verify changes. Coding Agents →
- Common Crawl
- A public archive of web crawls released as regular snapshots. Most LLM pretraining text starts here, then passes through heavy filtering. Building a Pretraining Dataset →
- Compute-optimalChinchilla-optimal, 20 tokens per parameter
- The split of a fixed training budget between model size and tokens that minimises loss; about 20 tokens per parameter by the Chinchilla analysis. Compute-Optimal Training (Kaplan vs Chinchilla) →
- Computer-Use Agents
- Computer-use agents act through interface controls and inspect fresh observations to determine the resulting state. Computer-Use Agents →
- Conditional probabilityP(A | B)
- The probability of A given that B happened: restrict attention to the cases where B is true. Conditional Probability and Bayes' Theorem →
- Confidence intervalstandard error, error bars
- A range expressing the uncertainty of a measured quantity. For an accuracy p on n examples, roughly p ± 2·√(p(1−p)/n). Sampling and Uncertainty →
- Constitutional AIconstitution
- Principle-guided critique, revision and AI preference feedback for training assistant behavior. Constitutional AI and AI Feedback →
- Constrained decodinggrammar-constrained decoding, guided generation
- Masking, at every step, the tokens that would break a required format and renormalising over the rest, which guarantees the format but not the content. Structured Outputs and Constrained Decoding →
- Construct validity
- Whether doing well on a test actually means having the ability the test is named after. Benchmarks and What They Measure →
- Context engineering
- Choosing what goes into a model's context window, in what form and order, under a token budget. Context Engineering →
- Context windowcontext length, n_ctx
- The maximum number of tokens a model can take into account at once: 1,024 for GPT-2, 2,048 for GPT-3, far more for recent models. Parameters, Tokens and Context Windows →
- Continuous batchingiteration-level scheduling
- Re-forming the batch at every decode step, so finished requests leave and new ones join without waiting for the whole batch. PagedAttention and Continuous Batching →
- Contrastive learningcontrastive loss
- Training by pulling the representations of matching pairs together and pushing non-matching ones apart. Contrastive Learning →
- Convolutionconvolutional layer, kernel, filter
- Sliding one small grid of weights (a filter or kernel) across an input and taking a weighted sum at every position. The same weights are reused everywhere. Convolution →
- Cosine schedulecosine decay, cosine annealing
- A learning-rate schedule that decays from its peak to a small floor along half a cosine curve. Learning-Rate Schedules, Warmup and Clipping →
- Cosine similarity
- The dot product of two vectors divided by the product of their lengths: the cosine of the angle between them, from −1 to 1. Dot Product →
- Cross-encoder
- A model that reads a query and a passage together in one input and outputs a relevance score: accurate, but it must run once per pair. Reranking →
- Cross-entropylog loss, negative log-likelihood, NLL
- The loss −log p(correct answer). It is the training objective of classifiers and language models. Cross-Entropy Loss →
- CTCconnectionist temporal classification
- A training objective for sequence labelling without alignments: add a blank symbol and sum the probability of every frame alignment that collapses to the target text. Speech Recognition and Synthesis →
D
- Data leakagetarget leakage, contamination
- Information in training or evaluation data that won't be available at prediction time, inflating results. Data Leakage →
- Data mixturedata mix, mixture weights
- The sampling weights given to each data source (web, code, books, papers…) during training, chosen on purpose rather than in proportion to size. Data Mixtures, Repetition and Synthetic Data →
- Data parallelismDDP, data parallel
- Training a copy of the model on every GPU with different slices of each batch, averaging gradients before every update. Data Parallelism and All-Reduce →
- DDIMDeterministic sampler, Sampling steps
- A diffusion sampler that reuses a DDPM-trained model but can skip steps and run deterministically, trading steps for quality. Diffusion Models →
- Decode stepdecode phase, generation step
- One pass of the model that produces one new token per sequence. It reads every weight and every cached key and value, so its speed is usually limited by memory bandwidth. Prefill, Decode and the Memory Wall →
- Deduplicationdedup, near-duplicate detection
- Removing exact and near-identical documents or lines from training data so copies are neither memorised nor overweighted. Deduplication and MinHash →
- Dense retrievalsemantic search, vector search
- Finding passages by comparing embedding vectors of the query and the passages, so matches can share meaning without sharing words. Semantic and Hybrid Search →
- Derivativeslope
- How fast a function's output changes as its input is nudged — the local slope. Derivatives and Gradients →
- Differential privacyDP-SGD
- A formal guarantee that a model barely depends on any single training example; DP-SGD achieves it by clipping per-example gradients and adding noise. Memorization and Training-Data Extraction →
- Diffusion modelDenoising diffusion, DDPM, Score-based model, Denoiser
- A generator trained to remove noise; sampling starts from pure noise and denoises step by step into data. Diffusion Models →
- Distribution shiftcovariate shift, concept drift
- A mismatch between the data a model was trained on and the data it meets in use. Distribution Shift →
- Dot productinner product
- Multiply two vectors element by element and sum the results. Large when the vectors point the same way; the basic similarity score in ML. Dot Product →
- DPOdirect preference optimization
- A direct pairwise objective comparing response log-probability changes relative to a reference model. Direct Preference Optimization →
- Dropout
- Randomly switching off units during training so the network can't rely on any single one; a regularizer. Dropout →
E
- Early fusionNative multimodality, Mixed-modal model
- Putting tokens of every modality into one sequence and vocabulary from the start of training, instead of attaching a separate encoder later. Vision-Language Models →
- Embeddingembedding vector, dense representation
- A learned vector representing an item (token, word, document, image) so that similar items have nearby vectors. Embeddings →
- Emergent abilitiesemergence
- Abilities that seem absent in smaller models and appear in larger ones. Whether the jumps are real or an artefact of the metric is debated. Emergent Abilities and the Debate →
- Encoder-only / decoder-onlyBERT, GPT, encoder–decoder, T5
- The three ways to wire Transformer blocks: bidirectional encoders (BERT), causal decoders (GPT) or both with cross-attention (T5). Encoder, Decoder & Encoder–Decoder →
- Entropyinformation, surprise, bits, nats
- The average surprise (−log p) of a distribution's outcomes — how uncertain it is. Entropy →
- Epochpass over the data
- One full pass through the training data. LLM pretraining usually makes about one pass over most data. The Pretraining Loop →
- Expected calibration errorECE
- The average gap between confidence and accuracy across confidence bins, weighted by how many answers fall in each. Calibration →
- Expected valuemean, expectation
- The probability-weighted average of a random quantity. Training minimizes the expected loss over the data. Expected Value and Variance →
- Expert systemMYCIN, XCON
- A program encoding a specialist's knowledge as if–then rules in a narrow domain; AI's first commercial success (1970s–80s). Expert Systems →
- Exploration vs exploitationε-greedy, epsilon-greedy, multi-armed bandit
- The trade-off between using the best action known so far and trying others that might be better. Exploration vs Exploitation →
F
- FActScoreAtomic facts, Factual precision
- A factuality metric that splits a long answer into atomic facts and reports the share supported by a knowledge source. Hallucination →
- Faithfulnessgroundedness
- Whether every claim in an answer is supported by the sources it was given and cites, regardless of whether it is true elsewhere. Evaluating Retrieval and RAG →
- Faithfulness of Reasoning TracesCoT faithfulness, Unfaithful explanations
- A reasoning trace is faithful to the extent that it accurately reflects what caused the model's answer. Faithfulness of Reasoning Traces →
- Featurefeature vector, input variable
- A measurable input property of an example; the model's inputs. Features, Labels and Tasks →
- Feature engineeringhand-crafted features
- Designing input features by hand — the bottleneck that deep learning's learned features removed. Hand-Crafted Features vs Learned Features →
- Feature mapactivation map, channel
- The grid of outputs produced by one filter across an input. A convolutional layer with F filters produces F feature maps (channels). Convolution →
- Feed-forward networkFFN, MLP
- In a Transformer block, a two-layer network applied to each token separately after attention; holds most of the parameters. Feed-Forward Sublayer (MLP) →
- FIDFréchet Inception Distance, CLIPScore
- Fréchet Inception Distance compares feature statistics of generated and real image sets; lower is better. It does not check prompt alignment. Multimodal Hallucination and Evaluation →
- Fine-tuningtransfer learning, pretrain then fine-tune
- Continuing to train a pretrained model on a smaller, task-specific dataset so it adapts to that task. Pretrain, Then Fine-Tune →
- Fixed-vector bottleneck
- The constraint in early encoder-decoders where the whole source must be compressed into one fixed-size vector for the decoder. The Fixed-Vector Bottleneck →
- FlashAttention
- An exact attention algorithm that works in tiles held in fast on-chip memory and never writes the full score matrix to main memory. FlashAttention →
- FLOPsfloating-point operations, training compute
- A count of arithmetic operations. Training a dense Transformer costs about 6 × parameters × tokens FLOPs. The Compute Budget (C ≈ 6ND) →
- Flow matchingRectified flow, Velocity field
- Training a model to predict the velocity that carries noise to data along chosen paths; a generalization of diffusion training. Diffusion Models →
- Forward passinference
- Computing a network's output from its input, layer by layer. The Forward Pass →
- FP8E4M3, E5M2
- 8-bit floating-point formats: E4M3 (more precision) and E5M2 (more range), supported by recent GPUs for training and inference. Quantization →
G
- Generalization
- How well a model performs on data it was not trained on — the actual goal of learning. Generalization, Overfitting and Underfitting →
- Generative adversarial networkGAN, Discriminator
- A generator trained to fool a discriminator that tells real data from generated data; the leading image generator before diffusion. Generative Models: GANs, VAEs and Image Tokens →
- Gradientpartial derivative, ∇
- The vector of partial derivatives of a function with respect to all its inputs. It points in the direction of steepest increase. Derivatives and Gradients →
- Gradient accumulationmicro-batch
- Summing gradients over several smaller micro-batches before one optimizer step, to train with a batch larger than fits in memory at once. The Pretraining Loop →
- Gradient clipping
- Scaling the gradient down whenever its norm exceeds a threshold, so a single unusual batch can't throw the weights far. Learning-Rate Schedules, Warmup and Clipping →
- Gradient descentlearning rate, step size
- Minimize a loss by repeatedly moving parameters a small step against the gradient: w ← w − η·∇L(w). Gradient Descent →
- Group Relative Policy OptimizationGRPO
- A PPO variant that scores each response against a group of responses to the same prompt, replacing the learned value model. Group Relative Policy Optimization (GRPO) →
- Grouped-query attentionGQA
- Attention in which groups of query heads share one key head and one value head, shrinking the KV cache by the group size. Multi-Query and Grouped-Query Attention →
- Guardrailguardrails
- A check in code around a model (on inputs, retrieved content, outputs or actions) that enforces what the model's training only makes likely. Guardrails →
H
- Hallucination
- Fluent, confident output that is false or unsupported. It follows from rare facts and from grading that rewards guessing; retrieval and abstention reduce it but do not eliminate it. Hallucination →
- Hard negativehard negatives
- A wrong answer that looks right, such as a passage sharing the query's words without answering it; it teaches finer distinctions than a random one. Contrastive Learning →
- HeuristicA*, heuristic search
- A rule of thumb that estimates how promising an option is, used to guide search toward a goal with less exploring. Search →
- HNSWHierarchical Navigable Small World
- A vector index built as layered graphs of neighbours; a search descends greedily from a sparse top layer to the full bottom layer. Approximate Nearest-Neighbour Search →
- Human-in-the-Loop Agents
- Human-in-the-loop systems reserve meaningful decisions or approvals for a person at defined points in execution. Human-in-the-Loop Agents →
- Hybrid search
- Running keyword and vector search together and merging their rankings, usually with reciprocal rank fusion. Semantic and Hybrid Search →
I
- Idempotency
- A property that lets an operation be repeated without duplicating its intended effect; useful when a tool call times out after a possible write. Agent Runtime →
- Image patch tokenPatch token, Visual token, Image tokens
- One square region of an image, turned into one vector (or one codebook index) so a Transformer can read the image as a sequence. Turning Signals into Tokens →
- In-batch negatives
- Using the other examples in a training batch as the wrong answers for each query, which gives contrastive training many negatives for free. Contrastive Learning →
- In-context learningfew-shot prompting, zero-shot, one-shot, prompting
- A model performing a task from instructions or examples given in its prompt, with no change to its weights. In-Context Learning →
- Indirect prompt injectionprompt injection
- An attempt to redirect an LLM application through instructions embedded in external content it reads. Agent Trust Boundaries →
- Induction headInduction heads
- An attention head that, at a repeated token A, attends to the token that followed A earlier and copies it; it needs a previous-token head in an earlier layer. Circuits and Mechanistic Interpretability →
- Inductive biasarchitectural prior
- Assumptions built into a model's structure, such as a CNN's locality or an RNN's step-by-step order. They help when they match the data and the data is limited. From MLPs to Transformers: The Architecture Story →
- Inference engineforward chaining, backward chaining
- The part of a rule-based system that applies rules to facts to derive conclusions. Logic and Rules →
- Inference-Time ScalingTest-time scaling, Thinking budget, Reasoning effort
- Improving answers by spending more computation per request on longer reasoning, more samples, search or verification. Inference-Time Scaling →
- InfoNCE
- A contrastive loss: a softmax over similarities that must pick the true partner out of a set of negatives, trained with cross-entropy. Contrastive Learning →
- Instruction datademonstration data
- Tasks or conversations paired with target responses for supervised fine-tuning. Instruction and Demonstration Data →
- Inverse document frequencyIDF
- A term's weight in search, higher for terms that occur in fewer documents: rare words are more informative than common ones. Keyword Search and BM25 →
- Inverted index
- A map from each term to the documents containing it (with counts), so a keyword query only scores documents that share its words. Keyword Search and BM25 →
- IsoFLOP curveIsoFLOP profile
- Loss plotted against model size for a fixed compute budget; its minimum marks the compute-optimal model size. Compute-Optimal Training (Kaplan vs Chinchilla) →
- IVF indexinverted file index
- A vector index that clusters vectors with k-means and, at query time, scans only the few clusters whose centroids are nearest the query. Approximate Nearest-Neighbour Search →
J
- Jaccard similarityJaccard index
- Size of the intersection of two sets divided by the size of their union: 1 for identical sets, 0 for disjoint ones. Deduplication and MinHash →
- JailbreakJailbreaking, Adversarial suffix, GCG
- An input crafted to make a safety-trained model produce what it was trained to refuse. Jailbreaks and Adversarial Prompts →
K
- k-meansclustering
- Clustering by alternately assigning points to the nearest centre and moving centres to their points' mean. k-Means Clustering →
- KL divergenceKullback–Leibler divergence, relative entropy
- A non-negative, asymmetric measure of how different one probability distribution is from another. KL Divergence →
- Knowledge cutofftraining cutoff
- The date after which a model's training data has nothing, so it knows nothing later than that unless it is told in the prompt. Parametric vs Retrieved Knowledge →
- Knowledge distillationdistillation, teacher–student
- Training a small student model to match a larger teacher's output probabilities rather than only the correct labels. Knowledge Distillation →
- Knowledge graphontology, semantic network, frames
- A structured representation of entities and the relations between them — a descendant of symbolic knowledge representation. Knowledge Representation →
- Knowledge-acquisition bottleneckbrittleness, tacit knowledge
- The difficulty of getting knowledge into rule-based systems: expertise is tacit, full of exceptions, and vast. The Knowledge-Acquisition Bottleneck →
- KV cachekey-value cache
- Stored keys and values of every earlier token in every attention layer, so each new token computes only its own. It grows with context length and number of users. The KV Cache →
L
- Labeltarget, ground truth
- The correct output for a training example — what a supervised model learns to predict. Features, Labels and Tasks →
- Language modelnext-word prediction
- A model that assigns a probability distribution to the next text unit given the preceding units. Language Modeling →
- Large language modelLLM, language model at scale
- A Transformer with billions of parameters pretrained to predict the next token on a very large amount of text, then usually adapted into an assistant. Pretraining at Scale →
- Late interactionColBERT
- Encoding query and passage separately into one vector per token, then scoring with a cheap sum of best matches; between a bi-encoder and a cross-encoder. Reranking →
- Latent diffusionStable Diffusion, LDM, Diffusion transformer, DiT
- Running diffusion in the compressed latent space of an autoencoder rather than on pixels, with text conditioning through cross-attention. Latent Diffusion and Text-to-Image →
- Layer normalizationLayerNorm, RMSNorm
- Rescales each token's vector to zero mean and unit variance, with a learned scale and shift, keeping activations stable. Layer Normalization →
- Linear regressionleast squares
- Predicting a number as a weighted sum of features, fitted by minimizing squared error. Linear Regression →
- LLM Agents
- An LLM agent repeatedly selects actions from observations to pursue a goal within a software-controlled environment. LLM Agents →
- LLM-as-a-judgeLLM judge, Model judge, Auto-evaluator, MT-Bench, AlpacaEval
- Using a strong language model to grade or compare answers; cheap and scalable, but biased by answer order, length and style unless corrected. LLM-as-a-Judge →
- Load balancingauxiliary load-balancing loss, expert capacity
- Keeping a mixture-of-experts model's experts evenly used, for example with an extra loss term or a cap on tokens per expert. Mixture of Experts (MoE) →
- Locality-sensitive hashingLSH, banding
- Hashing designed so similar items collide: split MinHash signatures into bands, and only compare documents that share a band. Deduplication and MinHash →
- Logistic regressionsigmoid, logit
- A linear classifier: a weighted sum passed through a sigmoid to give a probability, trained with cross-entropy. Logistic Regression →
- Logits
- The raw, unnormalized scores a model outputs — one per class or vocabulary token — before softmax turns them into probabilities. Softmax →
- LoRAlow-rank adaptation
- Fine-tuning by freezing a model's weights and training a low-rank update (two thin matrices) for selected weight matrices. LoRA, QLoRA and Parameter-Efficient Fine-Tuning →
- Loss functionobjective, cost function, MSE
- A single number measuring how wrong a model's predictions are. Training minimizes its average over the data. Loss Functions →
- Loss mask
- An indicator selecting which tokens contribute direct terms to the training objective. Supervised Fine-Tuning →
- Loss scaling
- Multiplying the loss by a large factor before backpropagation so small FP16 gradients don't round to zero, then dividing it out before the update. Mixed-Precision Training (FP16 and BF16) →
- Loss spikedivergence
- A sudden jump in training loss. Runs recover by rolling back to an earlier checkpoint, skipping data or lowering the learning rate. Loss Spikes, Failures and Checkpoints →
- Lost in the middle
- The finding that language models use relevant information best at the start or end of a long context and worst in the middle. Context Engineering →
- LSTMGRU, gated recurrent unit, long short-term memory
- A gated recurrent architecture that learns when to retain and update information across sequence steps. GRUs are a more compact related design. LSTMs and GRUs →
M
- Machine learninglearning from data
- Building systems that learn their behaviour from examples rather than following hand-written rules. From Rules to Learning →
- Matrix multiplicationmatmul, linear layer
- Each output entry is the dot product of a row of one matrix with a column of the other. A neural-network layer is a matrix multiplication plus a nonlinearity. Matrix Multiplication →
- Mean pooling
- Averaging a Transformer's output token vectors into one vector for the whole text; the usual way text embedding models produce a single vector. Text Embeddings →
- Mean reciprocal rankMRR
- The average over queries of 1 / (rank of the first relevant result): 1 if it comes first, 0.5 if second, and so on. Evaluating Retrieval and RAG →
- Mechanistic interpretabilityCircuit, Circuits, Reverse engineering
- Explaining a network's behaviour as an algorithm carried out by specific components, tested by interventions. Circuits and Mechanistic Interpretability →
- Membership inference
- Deciding from a model's behaviour whether a particular record was in its training data. Memorization and Training-Data Extraction →
- Memory bandwidthHBM bandwidth
- How many bytes per second a GPU can read from its main memory (3.35 TB/s for an H100 SXM). It sets the speed limit for decoding. Prefill, Decode and the Memory Wall →
- MFUmodel FLOPs utilization
- The share of a GPU's peak arithmetic rate that a training run actually turns into useful model computation; large runs reach roughly 40–50%. The Compute Budget (C ≈ 6ND) →
- MinHashmin-wise hashing
- A short signature of a document's shingle set: for each of many hash functions, the minimum hash. The share of matching entries estimates Jaccard similarity. Deduplication and MinHash →
- Mixed precisionmixed-precision training
- Doing most arithmetic in 16-bit floating point while keeping a 32-bit master copy of the weights for updates. Mixed-Precision Training (FP16 and BF16) →
- Mixture of expertsMoE
- A layer with many expert networks and a router that sends each token to a few of them, so total parameters grow faster than compute per token. Mixture of Experts (MoE) →
- Model Context ProtocolMCP
- MCP defines how host applications connect to servers exposing tools, resources and prompts. Model Context Protocol →
- Multi-Agent Systems
- Multi-agent systems coordinate separate model contexts or roles to accomplish a shared task. Multi-Agent Systems →
- Multi-head attentionMHA, attention head
- Several attention operations run in parallel on smaller slices of the vectors, each with its own queries, keys and values; outputs are concatenated. Multi-Head Attention →
- Multi-query attentionMQA
- Attention in which all query heads share a single key head and value head: the smallest KV cache, with some quality loss. Multi-Query and Grouped-Query Attention →
- Multilayer perceptronMLP, hidden layer, fully connected
- A network of layers of neurons — input, hidden layers, output — each building on the previous layer's outputs. Multilayer Perceptron (MLP) →
- Multimodal modelMultimodal AI, Modality, LMM, Large multimodal model
- A model that takes in or produces more than one kind of signal, such as text, images, audio, video or actions. Turning Signals into Tokens →
N
- N-grambigram, trigram
- A short sequence of n words. An n-gram language model predicts from the previous n−1 words using counts. N-Gram Models →
- Naive Bayes
- A classifier applying Bayes' theorem with the assumption that features are independent given the class. Naive Bayes →
- nDCGnormalized discounted cumulative gain
- A ranking metric that credits relevant results more the higher they appear, with a logarithmic discount, divided by the best possible score. Evaluating Retrieval and RAG →
- Neural audio codecSoundStream, EnCodec, Audio tokens, Residual vector quantization
- A learned encoder and decoder that compress audio into a short stream of discrete codes, which language-model-style systems can read and generate. Audio Language Models and Voice →
- Neuronunit, node, weights, bias
- The basic unit of a neural network: a weighted sum of inputs plus a bias, passed through an activation function. The Artificial Neuron →
- Non-parametric memoryretrieved knowledge
- Knowledge kept outside the model, in a document collection or index it can search at question time. Parametric vs Retrieved Knowledge →
O
- Object hallucinationMultimodal hallucination, POPE
- A vision-language model describing objects or details that are not in the image. Multimodal Hallucination and Evaluation →
- Observation
- The result an agent receives after an action: data, changed state, an error or an uncertain outcome. LLM Agents →
- OCROptical character recognition, Document understanding, OCR-free
- Reading text from images. Modern vision-language models often read documents directly from pixels rather than calling a separate OCR engine. Reading Documents, Charts and Screens →
- One-hot encoding
- One coordinate per vocabulary item, with exactly one 1 and all other entries 0. It represents identity but gives no similarity between different words. One-Hot Encoding →
- Optimizer statesAdam moments
- Values an optimizer keeps per parameter, such as Adam's running averages. With mixed precision they take 12 of the 16 bytes per parameter. Where Training Memory Goes →
- Outlier features
- A few hidden dimensions with very large values that appear in large language models and break quantization schemes with one shared scale. Quantization →
- Over-refusal
- Unnecessarily declining a benign request; measure it separately from unsafe compliance. Safety Tuning and Refusal →
- Overfittingunderfitting, bias–variance
- Fitting the training data (including its noise) so closely that performance on new data suffers. Generalization, Overfitting and Underfitting →
P
- PagedAttentionvLLM
- Storing the KV cache in small fixed-size blocks found through a table, like virtual memory, so little memory is wasted and blocks can be shared. PagedAttention and Continuous Batching →
- Paired comparisonPaired differences, Paired test
- Comparing two models on the same questions using per-question differences; only disagreements count, so its error bars are tighter than comparing two scores. Error Bars on Evals →
- Parametersweights, model size
- The learned numbers in a model. GPT-3 has 175 billion. Size alone does not determine quality; training data and compute matter as much. Parameters, Tokens and Context Windows →
- Parametric knowledgeparametric memory
- What a model learned into its weights during training: available without lookup, but frozen, unsourced and patchy for rare facts. Parametric vs Retrieved Knowledge →
- pass^k
- A repeated-run reliability measure asking whether all k trials succeed; distinct from pass@k, which asks whether at least one succeeds. Agent Evaluation →
- PCAprincipal component analysis
- Finding the directions of greatest variance in data to reduce its dimensions. Principal Component Analysis (PCA) →
- PEFTparameter-efficient fine-tuning, adapters
- Fine-tuning methods that train a small number of added or selected parameters while keeping most of the model frozen. LoRA, QLoRA and Parameter-Efficient Fine-Tuning →
- Perceptron
- The first learning neuron (1958): a thresholded weighted sum with a mistake-driven update rule; limited to linear boundaries. The Perceptron →
- PerplexityPPL
- exp(average cross-entropy per token): roughly how many tokens a language model is effectively choosing between. Perplexity →
- Pipeline parallelismpipeline bubble
- Giving each GPU a block of consecutive layers and streaming micro-batches through them; GPUs idle in the 'bubble' as the pipeline fills and drains. Tensor and Pipeline Parallelism →
- PlanningSTRIPS
- Finding a sequence of actions, each with preconditions and effects, that achieves a goal. Planning →
- Policyπ
- An agent's rule for choosing actions: a probability for each action in each state. MDPs, Policies and Value →
- Policy gradientREINFORCE, PPO, advantage
- Training a policy network directly by raising the log-probability of actions in proportion to how much better than expected they turned out. Policy Gradients →
- Poolingmax pooling, average pooling, downsampling
- Summarising each small block of a feature map, usually by its maximum, to shrink it. Cheaper later layers and tolerance to small shifts, at the cost of exact position. Pooling and Downsampling →
- Position bias
- An evaluator preferring an answer because of where it appears (usually first); fixed by judging both orders. LLM-as-a-Judge →
- Positional encodingposition embedding, RoPE
- Information about token position added to (or built into) attention, since attention alone ignores order. Positional Encoding →
- Post-training
- Training after pretraining to adapt behavior or capability, including supervised and preference-based methods. From Base Model to Assistant →
- Power analysisStatistical power
- Working out in advance how many questions an evaluation needs to detect a difference of a given size. Error Bars on Evals →
- PPOproximal policy optimization
- A policy-optimization method with a clipped surrogate relative to the policy that collected the rollout. PPO for Language Models →
- Pre-normpre-LN, pre-normalization
- Placing normalization at the start of each sublayer, inside the residual branch, rather than after the residual addition. The Modern Decoder Block: Pre-Norm, RMSNorm, SwiGLU →
- Precision and recallF1, confusion matrix
- Precision: share of flagged items that were correct. Recall: share of true items that were caught. Evaluation Metrics for Classifiers →
- Preference pairchosen and rejected
- A prompt with two responses and a judgment favoring one under a rubric. Learning from Comparisons →
- Prefillprefill phase, prompt processing
- The first phase of inference: the whole prompt goes through the model in one parallel pass, filling the KV cache. It decides the time to first token. Prefill, Decode and the Memory Wall →
- Pretrainingself-supervised learning, pre-training
- Training on raw, unlabelled data with a task the data supplies itself, such as predicting the next token. The expensive first stage of building an LLM. Pretraining at Scale →
- Probability distributionrandom variable, categorical distribution, Gaussian
- An assignment of probabilities to every possible outcome, summing to 1. Classifiers and language models output one. Probability and Distributions →
- ProbeLinear probe, Probing classifier, Control task
- A small classifier trained on a model's internal activations to test whether some property is decodable there. Probing Representations →
- Process and Outcome SupervisionProcess supervision, Outcome supervision, Step-level feedback
- Outcome supervision labels only the final result; process supervision gives feedback on each intermediate step. Process vs Outcome Supervision →
- Process Reward ModelPRM, PRM800K
- A learned model that scores each step of a solution, trained on step-level labels; it can select solutions or supply rewards. Process vs Outcome Supervision →
- Product quantizationPQ
- Compressing vectors by splitting each into pieces and storing, for each piece, the index of its nearest learned centroid; distances are estimated from the codes. Approximate Nearest-Neighbour Search →
- ProjectorConnector, Vision-language connector, Q-Former, Perceiver Resampler
- The trained layer or small network that maps image-encoder features into vectors a language model can read as tokens. Vision-Language Models →
- Prompt sensitivityFormat sensitivity
- A model's answers or scores changing with meaningless differences in wording or formatting. Robustness and Prompt Sensitivity →
- Pruningweight sparsity
- Removing weights or structures that contribute little to a trained network; it saves time only when the hardware can skip the zeros. Pruning and Sparsity →
Q
- Q-learningtemporal-difference learning, TD learning, DQN
- Learning action values from experience by moving Q(s, a) toward r + γ·max Q(s′, ·) after every step. Q-Learning →
- QLoRA
- LoRA fine-tuning on top of a base model frozen in 4 bits, which let a 65B model be fine-tuned on one 48 GB GPU. LoRA, QLoRA and Parameter-Efficient Fine-Tuning →
- Quality filterquality classifier
- A rule or model that scores documents and drops low-quality ones before training, e.g. a classifier trained on a stronger model's ratings of educational value. Building a Pretraining Dataset →
- QuantizationINT8, INT4, 4-bit, 8-bit
- Storing numbers in fewer bits by mapping them onto a small grid of levels with a shared scale, trading a little accuracy for memory and speed. Quantization →
- Query, key, valueQ/K/V, QKV
- Three learned projections of each token in attention: the query asks 'what am I looking for?', keys advertise 'what I contain', values carry the information passed on. Self-Attention →
R
- Random forestdecision tree, gradient boosting
- An ensemble of decision trees trained on random subsets of data and features, with predictions averaged. Decision Trees and Random Forests →
- Reasoning VerifiersVerifier, Outcome reward model, ORM
- A check or learned scorer that judges candidate solutions so a system can select or revise them. Verifiers and Best-of-N →
- Recall@k
- The fraction of a query's relevant items that appear in the top k results; for RAG, whether the answer passage made it into the prompt. Evaluating Retrieval and RAG →
- Receptive field
- The region of the input that can influence one unit. Each stacked 3×3 layer widens it by two pixels; pooling widens it faster. Convolutional Neural Networks →
- Reciprocal rank fusionRRF
- Merging ranked lists by adding 1 / (k + rank) for each item from every list (k = 60 by convention), so only ranks matter, not scores. Semantic and Hybrid Search →
- Red teamingRed team, Automated red teaming
- Deliberately trying to make a model fail, by people or models, to find harmful behaviours before users do. Red Teaming →
- Reference policy
- A baseline distribution used to measure and regularize departure during optimization. Reinforcement Learning from Human Feedback →
- Regression
- Predicting a number (price, demand, temperature). Features, Labels and Tasks →
- Regularizationweight decay, L1, L2, ridge, lasso
- Techniques that discourage overly complex models, such as penalizing large weights, to improve generalization. Regularization →
- Reinforcement learningRL, agent, environment
- Learning to act by trial and error: an agent takes actions in an environment and adjusts its behaviour to maximise the total reward it receives. Reinforcement Learning →
- Reinforcement Learning with Verifiable RewardsRLVR, Rule-based rewards
- RL in which a program, such as an answer check or a test suite, computes the reward for each sampled response. RL with Verifiable Rewards →
- Rejection samplingbest-of-N
- In post-training, generate candidates, select responses with a judge and optionally use them as demonstrations. Generate, Rank, Then Train →
- Reliability diagramCalibration curve
- A plot of accuracy against stated confidence, bin by bin; a calibrated model's bars lie on the diagonal. Calibration →
- Representation learninglearned features, deep learning
- Networks learning their own intermediate features from raw data instead of relying on hand-crafted ones. Representation Learning →
- Rerankerre-ranker
- A second-stage model that rescores a fast retriever's top candidates more accurately, usually a cross-encoder. Reranking →
- Residual connectionskip connection, residual stream
- Adding a layer's input to its output (x + f(x)) so the layer learns a correction; makes deep networks trainable. Residual Connections →
- Retrieval-augmented generationRAG
- Answering by first retrieving relevant passages from a collection and then generating with those passages in the prompt, so the answer can use and cite them. Retrieval-Augmented Generation (RAG) →
- Rewardreturn, discount factor, γ
- The scalar score an agent receives after an action. The return is the discounted sum of future rewards, which the agent tries to maximise. Reinforcement Learning →
- Reward hackingreward overoptimization
- Increasing a proxy reward without improving, and sometimes worsening, the intended outcome. Evaluating Post-Training →
- Reward modelpreference model
- A learned predictor of response desirability under its feedback data; its score is a proxy. Reward Models →
- RLAIFreinforcement learning from AI feedback
- Reinforcement learning using AI-generated judgments as feedback; humans still choose the judge, principles and training setup. Constitutional AI and AI Feedback →
- RLHFreinforcement learning from human feedback
- Policy optimization using human feedback, commonly through a learned reward model. Reinforcement Learning from Human Feedback →
- RMSNorm
- Normalization that divides a vector by its root mean square, without LayerNorm's mean subtraction. Used in LLaMA-style models. The Modern Decoder Block: Pre-Norm, RMSNorm, SwiGLU →
- RNNrecurrent neural network, hidden state, backpropagation through time
- A network that reads a sequence step by step, repeatedly updating a hidden state that summarizes earlier inputs. Recurrent Neural Networks →
- ROC / AUCROC curve
- The trade-off between true- and false-positive rates across all thresholds; AUC summarizes it (0.5 = chance, 1 = perfect). Evaluation Metrics for Classifiers →
- RoPErotary position embedding
- Encoding position by rotating each pair of query and key coordinates by an angle proportional to the token's position, so attention scores depend on relative distance. Rotary Position Embedding (RoPE) →
- Routergating network, gate
- In a mixture-of-experts layer, the small linear layer that scores the experts for each token and picks the top few. Mixture of Experts (MoE) →
S
- Safety tuning
- Training appropriate answering, refusal and redirection; excessive refusal of benign requests is a separate failure. Safety Tuning and Refusal →
- Scaling lawspower law, compute-optimal
- Empirical rules showing a model's loss falls smoothly and predictably as parameters, data and compute grow. Scaling Laws (Preview) →
- SearchBFS, DFS, state space
- Solving a problem by exploring sequences of actions from a start state until one reaches the goal. Search →
- Search for ReasoningTree of Thoughts, ToT, Beam search over thoughts
- Keeping several partial solutions alive, scoring them and expanding the most promising, instead of committing to one path. Search over Reasoning Steps →
- Self-attention
- Attention in which every token in a sequence attends to the tokens of the same sequence, producing context-aware representations. Self-Attention →
- Self-ConsistencyMajority voting, cons@k, maj@k
- Sampling several reasoning paths for one question and returning the final answer they most often reach. Self-Consistency →
- Self-supervised learningpretraining objective
- Learning from unlabelled data by predicting a hidden or next part of it — e.g. the next word. How LLMs are pretrained. Supervised, Unsupervised and Self-Supervised Learning →
- SentencePiece
- A tokenizer library that trains BPE or unigram vocabularies directly from raw text, treating spaces as ordinary symbols; used by LLaMA among others. Designing the Tokenizer →
- Sequence-to-sequenceseq2seq, encoder-decoder
- An encoder reads a source sequence and a decoder produces a target sequence, often with a different length or order. Sequence-to-Sequence Models →
- Shinglek-gram, n-gram shingle
- A run of k consecutive words. Near-duplicate detection compares documents as sets of shingles. Deduplication and MinHash →
- Singleton rate
- The share of facts that appear exactly once in training data; Kalai et al. (2025) argue it lower-bounds a base model's hallucination rate on such facts. Hallucination →
- Smoothingadd-one smoothing, Laplace smoothing
- Adjusting count-based probabilities so unseen continuations are not assigned exact zero probability. N-Gram Models →
- Softmax
- A function that turns a list of arbitrary scores into positive numbers that sum to 1 — a probability distribution. Larger scores get exponentially more weight. Softmax →
- Sparse autoencoderSAE, Dictionary learning, Feature steering
- A wide autoencoder trained on a model's activations with a sparsity penalty, whose units tend to correspond to interpretable features. Sparse Autoencoders and Dictionary Learning →
- Sparse retrievallexical retrieval
- Retrieval by matching terms (as in BM25), named for the sparse vectors of word counts it effectively compares. Keyword Search and BM25 →
- Special tokencontrol token, <|endoftext|>
- A reserved vocabulary entry that marks structure rather than text, such as the end of a document or the start of a chat turn. Designing the Tokenizer →
- Spectrogrammel spectrogram, STFT, short-time Fourier transform
- A time × frequency picture of a sound: each column holds the frequency content of one short window of audio. Audio and Spectrograms →
- Speculative decodingspeculative sampling, draft model
- Generating with a small draft model's guesses that the large model verifies in one parallel pass, keeping the large model's output distribution. Speculative Decoding →
- Speech-to-speech modelVoice mode, Audio language model, End-to-end voice
- One model that hears audio and answers in audio, instead of a pipeline of speech recognition, a text model and speech synthesis. Audio Language Models and Voice →
- SRAM and HBMon-chip memory, high-bandwidth memory
- A GPU's two main memory levels: a little very fast memory on the chip (SRAM) and tens of gigabytes of slower main memory (HBM). FlashAttention →
- Stochastic gradient descentSGD, mini-batch, batch size, epoch
- Gradient descent using the gradient of a small random batch of examples as a cheap, noisy estimate of the full gradient. Stochastic Gradient Descent (SGD) →
- Structured outputJSON mode
- Model output in a machine-readable format, such as JSON matching a schema, so a program can parse it. Structured Outputs and Constrained Decoding →
- SuperpositionPolysemantic neuron, Polysemanticity, Monosemantic
- A network representing more features than it has neurons, as overlapping directions; one reason single neurons respond to unrelated things. Superposition and Polysemantic Neurons →
- Supervised fine-tuningSFT, instruction tuning
- Continued training on desired responses; a loss mask selects the tokens used as supervised targets. Supervised Fine-Tuning →
- Supervised learninglabels
- Learning a mapping from inputs to known correct outputs (labels). Supervised, Unsupervised and Self-Supervised Learning →
- Support vector machineSVM, kernel trick
- A classifier that picks the boundary with the widest margin; kernels let it draw non-linear boundaries. Support Vector Machines →
- SwiGLUgated linear unit, GLU
- A gated feed-forward layer: one projection, passed through SiLU, multiplies another projection elementwise before the output projection. The Modern Decoder Block: Pre-Norm, RMSNorm, SwiGLU →
- Sycophancy
- Agreement with a user’s stated belief at the expense of a more accurate answer. Evaluating Post-Training →
- Symbolic AIGOFAI, classical AI
- AI built from explicit symbols and hand-written rules, manipulated by logic and search. Dominant from the 1950s to the 1980s. Symbolic AI →
- Synthetic datagenerated data
- Training data written by a model rather than by people, such as generated textbooks or exercises. Useful where real data is scarce; its limits are debated. Data Mixtures, Repetition and Synthetic Data →
- Synthetic Reasoning Data and DistillationReasoning distillation, STaR, Self-Taught Reasoner
- Fine-tuning a model on solutions that a stronger or costlier system generated and that passed a check. Synthetic Reasoning Data and Distillation →
- System promptsystem message
- The developer's standing instructions placed first in a conversation; the model was post-trained to give them priority, but they are not enforced. System Prompts and Instructions →
T
- Teacher forcing
- Training each next-token prediction on earlier target tokens supplied by the dataset. Supervised Fine-Tuning →
- Temperaturesampling temperature
- A decoding setting that divides the logits before softmax: below 1 makes output more predictable, above 1 more varied; 0 means always take the top token. Decoding: Greedy, Temperature, Top-k, Top-p →
- Temperature scaling
- Recalibrating a model by dividing its logits by one number T fitted on held-out data; T > 1 softens overconfidence and accuracy is unchanged. Calibration →
- Tensorshape, broadcasting
- An n-dimensional array of numbers, e.g. [batch, tokens, d_model]. Tracking tensor shapes is most of the bookkeeping in deep learning. Tensors and Shapes →
- Tensor parallelismintra-layer parallelism
- Splitting each layer's weight matrices across GPUs that compute together on the same tokens, usually within one server. Tensor and Pipeline Parallelism →
- Text embeddingsentence embedding, document embedding
- One fixed-length vector for a whole passage, placed so that passages with similar meaning have high cosine similarity. Text Embeddings →
- Text-to-videoVideo generation, Spacetime patches, Sora
- Generating video from a prompt, usually by diffusion over spacetime patches of a compressed video latent. Video Generation →
- TF-IDF
- A weighting of a term in a document: how often it appears there (term frequency) times how rare it is across documents (inverse document frequency). Keyword Search and BM25 →
- Time to first tokenTTFT
- How long a user waits before the first generated token appears; mostly the prefill time. Prefill, Decode and the Memory Wall →
- Tokentoken ID, tokenizer, tokenization
- The unit of text a language model reads and writes — often a word piece like 'trans' + 'formers'. Models see token IDs, not characters. Tokenization →
- Tool callingfunction calling, tool use
- The model emits a structured request (tool name and arguments); the application runs the tool and returns the result for the model to continue with. Tool Calling →
- Tool Execution in Agents
- A model proposes a tool call, but separate software validates, authorizes and executes it. Tool Execution in Agents →
- Top-p samplingnucleus sampling, top-k sampling, greedy decoding, beam search
- Sampling only from the smallest set of most likely tokens whose probabilities add up to p. Top-k keeps a fixed number instead. Decoding: Greedy, Temperature, Top-k, Top-p →
- Training vs Inference ComputeTest-time compute, Train-time compute
- Training compute changes a model's parameters for every later request; inference compute is spent on one request with the parameters fixed. Training vs Inference Compute →
- Training-data extractionExtraction attack, Memorization, Divergence attack
- Querying a model so that it outputs verbatim pieces of its training data, which can include personal information. Memorization and Training-Data Extraction →
- Transformer
- A neural-network architecture built from stacked self-attention and feed-forward layers, introduced in 2017; the basis of modern LLMs. The Transformer Block →
- TruthfulQAImitative falsehood
- A benchmark of 817 questions built around popular misconceptions, testing whether models repeat human falsehoods. Hallucination →
- Turing testimitation game
- Turing's 1950 proposal: if an interrogator can't tell a machine's typed conversation from a human's, treat the machine as intelligent. The Turing Test →
U
- Unsupervised learningclustering, dimensionality reduction
- Finding structure in data without labels, such as clusters or low-dimensional directions. Supervised, Unsupervised and Self-Supervised Learning →
V
- Validation settest set, train/validation/test split, cross-validation
- Held-out data used to choose models and hyperparameters; the test set is kept for one final evaluation. Generalization, Overfitting and Underfitting →
- Value functionV(s), Q(s, a), Q-value, Bellman equation
- The expected return from a state (V) or from taking an action in a state (Q). The Bellman equation links a state's value to its successors'. MDPs, Policies and Value →
- Vanishing gradientsexploding gradients
- Gradients shrinking toward zero (or blowing up) as they pass back through many layers, stalling or destabilizing training. Vanishing and Exploding Gradients →
- Variancestandard deviation
- The average squared distance from the mean — how spread out a quantity is. Its square root is the standard deviation. Expected Value and Variance →
- Variational autoencoderVAE, Latent space
- An encoder–decoder trained to compress data into a latent code and reconstruct it; its decoder can generate new data from codes. Generative Models: GANs, VAEs and Image Tokens →
- Vector
- An ordered list of numbers, e.g. [0.2, −1.3, 4.0]. In ML, almost everything — a word, an image, a user — is represented as a vector. Vectors →
- Vector database
- A database that stores embeddings with their text and metadata and answers similarity queries through an approximate nearest-neighbour index. Approximate Nearest-Neighbour Search →
- Verbosity biasLength bias, Length-controlled win rate
- An evaluator preferring longer answers regardless of quality; length-controlled win rates regress it out. LLM-as-a-Judge →
- Vision TransformerViT, patch embedding
- A Transformer applied to an image cut into patches (for example 16×16 pixels), each patch embedded as a token. Vision Transformer (ViT) →
- Vision-language modelVLM, LVLM, Visual instruction tuning, LLaVA
- A language model that also takes images as input, usually through an image encoder whose features are projected into the model's token space. Vision-Language Models →
- Vision-language-action modelVLA, RT-2, OpenVLA, Action tokens
- A vision-language model fine-tuned to output robot actions, often as discretized tokens, from camera images and an instruction. Vision-Language-Action Models →
W
- Warmuplearning-rate warmup
- Raising the learning rate gradually from near zero over the first training steps, to avoid destabilising large early steps. Learning-Rate Schedules, Warmup and Clipping →
- Weight initializationXavier, He initialization
- Choosing the scale of random starting weights so signals and gradients stay stable across layers. Weight Initialization →
- Win rateWin rate against a reference
- The share of comparisons a model wins, either against other models or against a fixed reference answer (as in AlpacaEval). Human Preference Evaluation and Arenas →
- Word2vecskip-gram, CBOW, negative sampling
- Efficient methods for learning word vectors from local context prediction tasks; negative sampling speeds up skip-gram training. Word2Vec →
- Workflows vs Agents
- A workflow specifies control paths in code, while an agent lets a model select subsequent actions from observations. Workflows vs Agents →
- World modelLearned simulator, Dreamer, Genie
- A learned model that predicts how an environment changes in response to actions, so an agent can plan or train inside it. World Models →
Z
- ZeROFSDP, fully sharded data parallel
- Sharded data parallelism: each GPU stores only a slice of the optimizer states, gradients and weights, gathering pieces when needed. Sharded Training (ZeRO and FSDP) →
- Zero-shot classificationZero-shot image classification
- Classifying with labels the model was never trained on as classes, by comparing an input's embedding with the embeddings of label descriptions. CLIP and Image–Text Embeddings →
12 terms at a time. Continue when you're ready.