The vocabulary, explained.

A reference for all 120 terms in the Advanced AI Vocabulary syllabus. Learn the meaning, then practice making the distinction.

Open the specialist study guide →

120 of 120 terms

Model architecture

Transformer

A neural-network architecture built around attention-based processing of representations. Transformer variants differ in how they attend to inputs and generate outputs.

Model architecture

Self-attention

Attention in which queries, keys, and values come from the same sequence, allowing positions to use information from other positions.

Model architecture

Cross-attention

Attention whose queries come from one representation and whose keys and values come from another, such as a decoder attending to encoder outputs.

Model architecture

Positional encoding

Information added or applied to representations so a model can distinguish positions or ordering in a sequence.

Model architecture

Rotary position embedding (RoPE)

A positional method that rotates query and key vector components according to token position, allowing attention to incorporate relative-position information.

Model architecture

Mixture of experts (MoE)

An architecture with multiple expert subnetworks and a routing mechanism that selects or weights experts for an input.

Model architecture

Sparse activation

Using only a subset of available units or components for a particular input. In sparse MoE systems, only selected experts are evaluated.

Model architecture

Grouped-query attention (GQA)

An attention design where several query heads share a smaller set of key and value heads, reducing key-value storage compared with full multi-head attention.

Model architecture

Latent space

A learned representation space in which coordinates encode features of data rather than necessarily matching human-readable attributes.

Model architecture

Autoregressive modeling

Modeling a sequence by predicting each element conditioned on earlier elements. Language generation commonly predicts the next token this way.

Model architecture

Diffusion model

A generative model trained to reverse a progressive corruption process, commonly producing samples through repeated denoising steps.

Model architecture

Attention mechanism

A mechanism that computes input-dependent weights over representations so information relevant to a query contributes more strongly.

Training & adaptation

Pretraining

The initial broad training phase that learns reusable patterns from data before narrower adaptation or deployment.

Training & adaptation

Supervised fine-tuning (SFT)

Training a model on labeled examples of desired inputs and outputs to adapt its behavior to a task or instruction style.

Training & adaptation

Parameter-efficient fine-tuning (PEFT)

Adaptation methods that train a limited number of additional or selected parameters instead of updating every model parameter.

Training & adaptation

Low-rank adaptation (LoRA)

A PEFT method that learns low-rank update matrices for selected weights while typically freezing the original weights.

Training & adaptation

QLoRA

A fine-tuning approach that combines a quantized frozen base model with trainable low-rank adapters to reduce memory requirements.

Training & adaptation

Knowledge distillation

Training a student model to reproduce useful behavior or outputs of a teacher model, often to create a smaller or cheaper system.

Training & adaptation

Catastrophic forgetting

Loss of previously learned capabilities when a model is trained on new tasks or data.

Training & adaptation

Gradient checkpointing

Saving fewer intermediate activations during training and recomputing them during backpropagation to trade additional computation for lower memory use.

Training & adaptation

Gradient accumulation

Accumulating gradients over several microbatches before an optimizer update, enabling a larger effective batch without holding it all at once.

Training & adaptation

RLHF

Reinforcement learning from human feedback: using human preference or quality feedback to shape a reward signal for model optimization.

Training & adaptation

RLAIF

Reinforcement learning from AI feedback: using feedback from AI systems to help form a reward signal for optimization. The feedback still needs validation.

Training & adaptation

Direct preference optimization (DPO)

A preference-optimization method that trains directly on preferred and dispreferred response pairs without the separate reward-model-and-RL loop of a conventional RLHF pipeline.

Inference & decoding

Token

A unit processed by a model’s tokenizer. It may represent a word fragment, punctuation, bytes, or another encoded element.

Inference & decoding

Tokenization

Converting input into the token sequence or identifiers a model processes; the segmentation depends on the tokenizer.

Inference & decoding

Context window

The amount of context a model can handle in a request or sequence, measured in tokens. Capacity does not guarantee effective use of every part.

Inference & decoding

Key-value cache (KV cache)

Stored attention keys and values from previous tokens, reused during autoregressive generation to avoid repeatedly computing them.

Inference & decoding

Prefill

The inference stage that processes the input prompt before generating subsequent tokens, commonly creating its attention cache.

Inference & decoding

Decoding

Producing output from a model’s predicted distribution; in language models this commonly means selecting successive tokens.

Inference & decoding

Quantization

Representing weights or other numerical values with lower precision, usually reducing memory or compute costs with possible quality tradeoffs.

Inference & decoding

Speculative decoding

An inference method in which a faster draft process proposes tokens and a target model verifies them. Proper acceptance procedures can preserve the target distribution.

Inference & decoding

Temperature

A parameter that rescales logits before sampling. Lower values concentrate probability; it is not a direct factuality control.

Inference & decoding

Top-p sampling

Sampling from a subset of tokens whose cumulative probability reaches a chosen threshold, also called nucleus sampling.

Inference & decoding

Beam search

A decoding search that retains several high-scoring partial sequences at each step, trading more computation for a broader search.

Inference & decoding

Test-time compute

Additional computation spent at inference time, such as generating, checking, searching, or revising candidate solutions.

Retrieval & representations

Embedding

A numerical representation of an item in a vector space, designed to capture useful features or relationships.

Retrieval & representations

Dense retrieval

Searching with learned dense vector representations, often comparing query and document embeddings.

Retrieval & representations

Sparse retrieval

Retrieval with sparse feature representations, often based on terms. Sparse methods may be lexical or learned.

Retrieval & representations

Hybrid retrieval

Combining retrieval signals such as lexical and dense similarity, usually by merging or weighting their results.

Retrieval & representations

BM25

A lexical ranking function based on term occurrence, term rarity, and document-length normalization.

Retrieval & representations

Approximate nearest neighbor search (ANN)

Searching efficiently for vectors near a query by allowing approximation instead of guaranteeing the exact nearest neighbors.

Retrieval & representations

Reranking

Reordering a retrieved candidate set with a scoring method that may be more costly or task-specific than the first retrieval stage.

Retrieval & representations

Cross-encoder

A model that processes a query and candidate together to estimate relevance or another pairwise relationship.

Retrieval & representations

Bi-encoder

A model that encodes the two sides separately, enabling reusable document embeddings and efficient similarity search.

Retrieval & representations

Retrieval-augmented generation (RAG)

A system pattern that retrieves external information and supplies it to generation. Retrieval alone does not guarantee a correct answer.

Retrieval & representations

Chunking

Dividing source material into units for processing or retrieval while deciding how much structure and context each unit retains.

Retrieval & representations

Query expansion

Augmenting or reformulating a query with additional terms or representations to broaden useful retrieval; it may also introduce irrelevant matches.

Agents & integration

Tool calling

A model producing a structured request for an application to invoke a tool. The application controls actual execution and authorization.

Agents & integration

Orchestration

Coordinating model calls, tools, state, routing, and recovery across a task or system.

Agents & integration

Predefined workflow

A process with control flow primarily specified in advance, even if individual steps use models.

Agents & integration

Agent

A system that can use a model to choose actions or next steps toward a goal within the permissions and controls supplied by its application.

Agents & integration

Agent harness

The surrounding runtime that provides an agent with tools, state, instructions, execution limits, and other operational controls.

Agents & integration

Model Context Protocol (MCP)

A protocol for connecting AI applications with external capabilities and context through clients and servers. It does not itself grant unlimited access.

Agents & integration

Tool schema

A machine-readable description of a tool and its expected parameters. Matching a schema does not establish permission to execute.

Agents & integration

Structured output

Output constrained to a defined structure, such as a JSON schema. Structural correctness does not guarantee factual or business correctness.

Agents & integration

Sandbox

An isolated environment intended to restrict the effects of executed code or actions. Its protection depends on enforced boundaries and configuration.

Agents & integration

Idempotency

A property whereby repeating the same operation has the same intended effect as performing it once, useful for safe retries.

Agents & integration

Human-in-the-loop

A design in which a person participates in review, approval, correction, or another decision in the process. The role and timing must be explicit.

Agents & integration

Approval binding

Tying authorization or approval to the specific action, destination, and payload that will be executed, so changes cannot silently reuse prior consent.

Evaluation & measurement

Precision

Among predicted positive cases, the fraction that are truly positive: true positives divided by true positives plus false positives.

Evaluation & measurement

Recall

Among actual positive cases, the fraction successfully identified: true positives divided by true positives plus false negatives.

Evaluation & measurement

F1 score

The harmonic mean of precision and recall. It balances those measures but does not encode every business cost or error preference.

Evaluation & measurement

Calibration

Agreement between stated confidence or predicted probabilities and observed frequencies of correctness or outcomes across cases.

Evaluation & measurement

Perplexity

An exponentiated average negative log likelihood of a sequence under a model. Comparisons require compatible tokenization and evaluation conditions.

Evaluation & measurement

Benchmark contamination

Overlap or leakage between evaluation material and training or tuning data that undermines the independence of a benchmark result.

Evaluation & measurement

Ablation study

An experiment that removes or changes a component to investigate its contribution while keeping comparison conditions as controlled as practical.

Evaluation & measurement

Distribution shift

A change between the data distribution used for development or evaluation and the distribution encountered later.

Evaluation & measurement

Out-of-distribution (OOD)

Inputs or conditions outside the distribution a system was trained or evaluated to handle. Detecting them reliably can itself be difficult.

Evaluation & measurement

Pass@k

A measure related to whether at least one of k generated candidates succeeds on a task. Its interpretation depends on sampling and scoring procedures.

Evaluation & measurement

LLM-as-a-judge

Using a language model to score or compare outputs. Judge bias, consistency, rubric quality, and agreement with suitable human review require evaluation.

Evaluation & measurement

Goodhart's law

The observation that aggressively optimizing a measure can make it a poor stand-in for the real objective it was intended to represent.

Security & privacy

Prompt injection

An attempt to make a model follow attacker-controlled instructions that conflict with the intended task or trust boundaries.

Security & privacy

Indirect prompt injection

Prompt injection delivered through external material such as a retrieved document, web page, or tool result.

Security & privacy

Jailbreaking

An attempt to circumvent a model’s behavioral safeguards. It overlaps with some attacks but is not identical to every prompt injection.

Security & privacy

Least privilege

Granting only the permissions necessary for a task, for the appropriate resources and duration.

Security & privacy

Excessive agency

Giving an AI system more capabilities, access, or autonomy than the task safely requires, increasing the possible impact of errors or attacks.

Security & privacy

Confused deputy

A situation where a more privileged component is tricked into using its authority on behalf of a less privileged party.

Security & privacy

Data poisoning

Manipulation of training or other learning data to influence a model’s behavior or quality. Poisoned retrieved content is also a concern at the system level.

Security & privacy

Backdoor

Hidden behavior that is activated by a particular trigger or condition, often introduced through tampering with data or a model.

Security & privacy

Model extraction

Attempts to reproduce or recover aspects of a model through access to its outputs or other exposed information.

Security & privacy

Membership inference

Inferring whether a particular record was included in a model’s training data.

Security & privacy

Differential privacy

A mathematical privacy framework limiting how much an output distribution can change when one person’s data is added or removed, under specified assumptions and parameters.

Security & privacy

Pseudonymization

Replacing direct identifiers with pseudonyms while retaining some means of linkage. It does not by itself make data anonymous.

Serving & operations

Time to first token (TTFT)

Elapsed time until the first generated token is delivered. It differs from the time required to finish the entire response.

Serving & operations

Inter-token latency

The time between successive delivered tokens during generation, which influences perceived streaming speed.

Serving & operations

Throughput

The amount of useful work completed per unit time, such as tokens or requests per second under specified conditions.

Serving & operations

Continuous batching

Serving requests in batches that can change as sequences finish and new requests join, improving utilization under variable workloads.

Serving & operations

Prefix caching

Reusing previously computed state for matching input prefixes. Cache correctness, privacy, and scope still need explicit controls.

Serving & operations

PagedAttention

An attention-memory management approach that stores key-value cache blocks non-contiguously to reduce waste and support efficient serving.

Serving & operations

Tensor parallelism

Splitting individual tensor operations or layer computations across multiple devices.

Serving & operations

Pipeline parallelism

Splitting groups of model layers or stages across devices and passing intermediate activations between them.

Serving & operations

Data parallelism

Processing different data batches on replicated model copies and coordinating updates during training.

Serving & operations

Zero Redundancy Optimizer (ZeRO)

A family of distributed training techniques that partition optimizer states, gradients, and optionally parameters across workers to reduce redundant memory use.

Serving & operations

Checkpoint

A saved representation of model or training state that can support loading, resuming, or reproducing a particular point in development.

Serving & operations

Model drift

Changes in a deployed model system’s behavior or performance over time, often associated with changing data or conditions. Terminology varies by context.

Learning paradigms & data

Supervised learning

Learning from examples paired with target labels or outputs.

Learning paradigms & data

Self-supervised learning

Learning with targets constructed from the data itself, such as predicting masked or subsequent elements.

Learning paradigms & data

Unsupervised learning

Learning patterns or structure from data without explicit target labels for the task, such as clustering.

Learning paradigms & data

Reinforcement learning

Learning a policy through interaction and a reward signal, with choices affecting outcomes over time.

Learning paradigms & data

Transfer learning

Using knowledge learned on one task or dataset to improve learning on another related setting.

Learning paradigms & data

Active learning

A learning process that selects which examples should receive labels or additional feedback to use a labeling budget effectively.

Learning paradigms & data

Curriculum learning

Organizing training examples or tasks in a deliberate sequence, such as increasing difficulty, to influence learning.

Learning paradigms & data

Synthetic data

Artificially generated data used for development, training, or testing. It can inherit biases and errors from its generation process.

Learning paradigms & data

Weak supervision

Learning from imperfect labels or signals, such as heuristic rules, noisy annotations, or indirect supervision.

Learning paradigms & data

Multimodal learning

Learning from more than one data modality, such as text, images, audio, or video.

Learning paradigms & data

Contrastive learning

Learning representations by comparing related and unrelated examples, encouraging useful similarity and separation.

Learning paradigms & data

Federated learning

Training across distributed participants that share updates rather than centralizing all raw data. Updates can still present privacy risks.

Strategy & governance

Foundation model

A broadly trained model that can be adapted or used for multiple downstream tasks.

Strategy & governance

Frontier model

A label for models near the leading edge of capability; the boundary changes and is not a single universal technical threshold.

Strategy & governance

Artificial general intelligence (AGI)

A contested term for broadly general artificial intelligence. There is no single universally accepted operational definition or test.

Strategy & governance

Alignment

Work to make system behavior consistent with intended goals, values, and constraints; whose goals and which context need to be specified.

Strategy & governance

Grounding

Connecting an output to relevant evidence or context and ensuring claims are supported by it.

Strategy & governance

Hallucination

Generated content that is unsupported, invented, or incorrect relative to the task or evidence. Fluency does not distinguish it from a supported answer.

Strategy & governance

Explainability

Methods or explanations intended to make a model’s output or behavior understandable to people. An explanation may be plausible without being faithful.

Strategy & governance

Interpretability

The ability to investigate and understand a system’s internal representations or mechanisms; usage overlaps with explainability across communities.

Strategy & governance

Data provenance

The record of data’s origin, transformations, ownership, and lineage, used to assess trust, permissions, and reproducibility.

Strategy & governance

Model card

Documentation describing a model’s intended uses, evaluation, limitations, and other relevant characteristics. It is evidence to review, not a safety guarantee.

Strategy & governance

Risk appetite

The amount and kinds of risk an organization is willing to accept in pursuing its objectives, translated into decision thresholds and controls.

Strategy & governance

Open weights

Model weights made available for download or use under specified terms. This does not necessarily include training data, full source code, or unrestricted licensing.