Glossary#
One definition per term, and one term per concept. The name in bold is the one the course uses most. Other names the parts use follow it as "also called". The last column links to the chapter that defines the term best: 03.02 means part 03, chapter 02. The definitions come from the glossaries of the eleven parts, merged into one list.
- A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · Z · Numbers
A#
| Term | Definition | Defined in |
|---|---|---|
| A/B test (also called: A/B experiment) | Showing a change to a randomly assigned treatment group and comparing it with a control group. | 08.09 |
| A2A | The Agent2Agent protocol, an open convention for agents to exchange tasks and messages over the network. | 03.08 |
| Ablation | Running a system again with one ingredient removed, to measure that ingredient's effect. | 01.03 |
| Accelerator chip | A processor built for model arithmetic. | 07.09 |
| Accelerator intensity | A chip's peak FLOP/s divided by its memory bandwidth. | 10.02 |
| Acceptance test | A test that the product serves the users' needs, which validates that the right system was built. | 08.08 |
| Accessibility gap | Welleck's name for the distance between strong research methods and tools people can use, since the methods are often closed or costly to run | 06.04 |
| Accessibility tree | The operating system's list of interface elements with their roles and names. | 06.01 |
| Accountability | The state in which a named person or role answers for each kind of automated decision and affected people can appeal. | 08.14 |
| Accuracy (of a measure) | How close a measure's values lie, on average, to the true value. | 07.03 |
| Accuracy (of a model) | The share of a model's predictions that match the label. | 08.02 |
| Acting (in an agent) | Calling something outside the model, such as retrieval, code execution or a tool, which adds knowledge and feedback. | 01.08 |
| Action | What an agent does in its environment, such as calling a tool. | 01.08 |
| Action space | The set of moves an agent can make. | 02.07 |
| Activation (also called: Activations) | Intermediate results computed in the forward pass that the backward pass needs. | 10.02 |
| Activation checkpointing | Storing only some layers' activations and recomputing the rest in the backward pass. | 10.02 |
| Activation function | A simple nonlinearity such as max(0, x) applied to each value. |
09.02 |
| Activation memory | The memory holding a layer's intermediate results while it runs. | 09.02 |
| Activation sparsity | Zeros in the intermediate results, for example in point-cloud data, that a sparse kernel can skip. | 09.03 |
| Active parameters | The parameters one token passes through, as opposed to the model's total parameters. | 10.04 |
| Adam | An optimizer that combines momentum, the average of past gradients, with the average of their squares to scale each update. | 10.02 |
| Adapter | A small trainable layer inserted into each transformer block. | 09.09 |
| Adapter (DSPy) | The part that lays a module's fields out as a prompt and parses the output back. | 02.05 |
| AddressSanitizer | A sanitizer that detects out-of-bounds reads and writes at run time. | 04.08 |
| Advantage | A reward minus a baseline, here the group's standardized reward, which sets the size and sign of an update. | 10.11 |
| Adversarial data set (also called: Attack set) | A versioned collection of attacks, each with its task, the place its payload is planted, and its oracle. | 04.06 |
| Adversarial environment | A test setting with a hostile system prompt, a hostile user prompt, or misleading examples in the prompt. | 04.07 |
| Adversarial example (also called: Evasion attack) | An input changed just enough to flip a model's output. | 04.07 |
| Adversarial search | Searching for the smallest input change that breaks an invariant or relation. | 08.04 |
| Adversarial suffix | A string of tokens appended to a request that makes an aligned model comply. | 04.02 |
| Adverse event reporting | A channel through which harms observed after deployment are reported, as in aviation and cybersecurity. | 04.09 |
| Agency (also called: Level of automation) | How much an agent can do without a person: which tools, with which permissions, and how much autonomy. | 04.03 |
| Agent | A system that pursues a goal by acting on an environment in steps: at each step it observes the environment, decides the next action itself, and acts again, until the goal is met or a budget runs out. | 01.08 |
| Agent (conversational peer) | In conversation programming, a named participant with a role and a function that speaks for it: a model, a tool or a person. | 05.02 |
| Agent loop | The code that calls the model, runs the chosen tool, appends the result to the history and checks for a stop. | 02.01 |
| Agent skills | Named bundles of instructions and tools that an agent can call. | 02.07 |
| Agent-computer interface (ACI) | The set of commands an agent uses to view, search and change a computer, designed around the model's limits. | 02.02 |
| AgentBeats | The platform that hosts assessments between green agents and white agents. | 03.08 |
| Agentic model | A model trained to maximize verifiable rewards by acting in environments with tools, in addition to matching human preference. | 01.03 |
| Agentic RAG | An agent layer above retrieval that treats retrieval as a tool and decomposes the question before answering. | 05.03 |
| Agentic RL | Reinforcement learning on whole trajectories in environments with tools, with task success as the reward. | 01.03 |
| Agents4Science 2025 | An online conference held on October 22, 2025 in which agents wrote and reviewed the papers. | 06.03 |
| AgentTrek | A pipeline that turns web tutorials into agent trajectories by replaying them and filtering with an evaluator model. | 06.01 |
| AGUVIS | A vision-only GUI agent trained with a unified action format and an inner monologue. | 06.01 |
| AI Safety Levels | Named risk levels, ASL-1 to ASL-4 in the lecture, each with required safeguards before a model may reach it. | 03.06 |
| AI safety vs AI security | Safety means the system does no harm to the outside world; security means the system is protected from outsiders. | 04.01 |
| Alert | A notification sent when a telemetry value crosses a threshold. | 07.10 |
| Algorithm and system co-design | Changing the model and the software or hardware together instead of tuning either alone. | 09.02 |
| Aligned model | A model post-trained to maximize a given objective, such as human preference for chat models or verifiable rewards for agentic models. | 01.03 |
| Alignment | In CS336, moving from full supervision to scored responses: generate, score with a human, verifier or judge, and update. | 10.12 |
| Alignment problem | The risk that an automated system meets an assigned objective that captures the task only partially. | 08.13 |
| All-gather | Collecting every rank's slice onto every rank. | 10.06 |
| All-reduce | Summing tensors across ranks so that every rank has the total. | 10.06 |
| All-to-all | Every rank sending a different slice to every other rank. | 10.06 |
| Allow-list | A list of the only destinations or actions that are permitted. | 05.06 |
| AlphaProof | DeepMind's system that combines autoformalization, imitation, reinforcement learning and test-time RL on Lean proofs. | 06.04 |
| Amplitude encoding | Loading an input vector into the state vector, so n features need only the base-2 logarithm of n qubits | 09.11 |
| Analogical prompting | Asking a model to first recall a similar problem and its solution, then solve the new problem. | 01.05 |
| Anchor | The few conditions on an input that suffice to produce a given prediction. | 08.13 |
| AND gate, OR gate | The two ways causes combine in a fault tree: all are needed, or one is enough. | 07.04 |
| Angle encoding | Storing each value in a rotation angle, one gate per value, with no state-preparation circuit | 09.11 |
| Annotated run | A run that a person reviewed and labeled, used to measure a user simulator's own error rate. | 03.04 |
| Annotator (also called: Labeler) | A person who labels examples or grades outputs by hand. | 03.03 |
| Anomaly detection | Flagging behavior that differs from the normal pattern. | 04.05 |
| Anomaly detection (data) | Learned checks that flag values unusual for the data's distribution. | 08.06 |
| Anonymization | Removing identifying information or sensitive attributes from stored data, which is hard because models can infer what is missing. Only in the proposal above; the course mentions anonymized logs in 08/09, step 3 of "How it works", without defining the term. | 08.09 |
| Anti-classification | A fairness criterion requiring that protected attributes never change the output. | 08.13 |
| Antipattern | A common practice that looks helpful and causes harm. | 07.08 |
| AnyRes | Splitting a high-resolution image into encoder-sized tiles and concatenating their tokens. | 10.12 |
| API access | Using a model only through prompts and responses, which allows measuring behavior. | 06.03 |
| API agent | An agent that uses software by calling functions the software exposes. | 05.06 |
| Appeal path | A route by which a person can have an automated decision reversed. | 07.04 |
| Arbitrary encoding | Combining several encodings in one circuit: rotations, then CNOT gates, then rotations | 09.11 |
| Architectural style | A common overall structure for systems, such as client-server or three tiers. | 07.05 |
| Architectural view | A picture of a system that shows one concern and hides the rest. | 07.05 |
| Architecturally significant requirement | A quality requirement that can be met only by planning the whole system. | 07.05 |
| Architecture decision record (ADR) | A short file that keeps one decision with its context, the alternatives considered and the conditions for revisiting it. | 07.05 |
| Arithmetic intensity | An operation's FLOPs divided by the bytes it moves. | 10.02 |
| ASM (assumption) | A statement about the world that the software relies on to meet its requirements. | 07.03 |
| Aspect ratio | Model width divided by number of layers, the depth-versus-width choice to fix before scaling. | 10.03 |
| Asset | Anything in a system worth protecting, from user data to the API key, the system prompt, and whatever a tool can reach. | 04.01 |
| Associativity | Connecting scattered pieces of information. | 02.04 |
| Assurance case | A structured record of safety claims and the evidence supporting them. | 08.13 |
| Asynchronous RL | Training in which the sampler and the trainer do not wait for each other. | 02.08 |
| Attack success rate | Successful attacks divided by attempts, with the number of runs stated. | 04.06 |
| Attack surface | The set of ways anyone can interact with a system. | 08.14 |
| Attacker | Anyone who controls input that the system will read or run, including a legitimate user who wants more than they should get. | 04.01 |
| Attempt | One run of one task by the system under test. | 03.02 |
| Attention | The step in which each token weighs how relevant the earlier tokens are and updates its vector with what it finds. | 01.02 |
| Attention head | One of the parallel attention sub-calculations of a layer; KV heads are the ones that produce keys and values. | 09.08 |
| Attention sink | A token, usually among the first, that attracts a large share of attention regardless of meaning. | 09.08 |
| Attribution | The share of statements in an answer that the cited sources support. | 05.07 |
| Audit trail | The record of events that lets you reconstruct a run afterwards. | 04.05 |
| Autoencoder | A network trained to reconstruct its input, used to flag inputs it reconstructs badly. | 09.07 |
| Autoformalization | Translating a mathematical statement or proof from prose into formal code. | 06.04 |
| Automate, prompt, augment | The three strengths of human interaction with a model, from acting without asking to only showing information. | 07.04 |
| Automation bias | The tendency of people to accept a machine's suggestion. | 07.04 |
| Availability | The goal that authorized users get reliable and timely access to a service. | 04.01 |
| AWQ | Activation-aware weight quantization: a 4-bit weight-only method that scales up the few channels that matter most before quantizing them. | 09.08 |
B#
| Term | Definition | Defined in |
|---|---|---|
| Backdoor | A hidden trigger in a model that makes it misbehave when it appears in the input. | 04.01 |
| Backoff | A wait that grows between retry attempts, up to a cap. | 02.02 |
| Backpropagation | The algorithm that computes how each weight should change by reading every intermediate result again. | 09.02 |
| Bake-off | Running two implementations on the same cases and comparing success, cost and latency. | 05.01 |
| Bank conflict | Two threads needing the same shared-memory bank in one cycle, which forces them to wait. | 10.05 |
| Barren plateau | A region where a quantum circuit's gradients vanish as it grows, stalling training. | 09.11 |
| Base model | A model that has only been pre-trained: it continues text and does not follow instructions. | 01.02 |
| Baseline | The simplest version of a solution, measured so that anything smarter can be compared with it. | 07.02 |
| Basic event | A cause in a fault tree that is not split further; model failure is usually treated as one. | 07.04 |
| Basis encoding | Storing a binary string as one basis state of the qubits | 09.11 |
| Batch | A group of requests or inputs processed together to reuse the weights. | 09.02 |
| Batch processing | One long computation over a large snapshot of data, built for throughput. | 07.09 |
| Bayesian optimizer | A search method that picks the next trial from the results of earlier trials. | 02.05 |
| Behavior cloning (also called: Imitation model) | Learning by copying demonstrated answers, which is what SFT does. | 01.03 |
| Behavioral requirement | A requirement that says what the software does. | 07.03 |
| Behavioral testing | Building test data for one capability at a time and asserting a pass rate per capability. | 08.04 |
| Benchmark | A dataset, an environment and a scoring procedure that many teams use to compare systems. | 03.04 |
| Benign environment | A test setting with plain prompts. | 04.07 |
| Best response | The strategy that scores highest against a given opponent strategy. | 05.04 |
| Best-of-N (also called: Search by repeated sampling) | Sampling N answers in parallel and keeping one that passes a check. | 05.05 |
| Beta distribution | A flexible probability distribution for values between 0 and 1, which fits per-question pass rates across models. | 01.07 |
| Bias | In a neural network, one extra learned number per output of a layer, added after the multiply. | 09.02 |
| Big Sleep | Google Project Zero's agent that finds memory-safety bugs with a code browser, a scripting tool, and a debugger. | 04.08 |
| BitFit | Parameter-efficient fine-tuning that trains only the bias terms. | 09.09 |
| Bitter lesson | Richard Sutton's argument that methods which make the best use of growing compute win in the long run. | 01.02 |
| Black-box attack | An attack that uses only success or failure as feedback. | 04.02 |
| Black-box test | A check that you can print every message and edit every prompt a framework sends to the model. | 05.01 |
| Blast radius | The share of users and systems exposed to the consequences of a failed experiment or release. | 11.07 |
| Bloch sphere | The sphere whose points are the states of one qubit; a single-qubit gate rotates it | 09.11 |
| Blue/green deployment | Switching all traffic from an old version to a new one at once. | 08.09 |
| Blueprint | A decomposition of a research proof into definitions and lemmas arranged as a dependency graph, written in LaTeX before each node is proved in Lean | 06.04 |
| Bootstrap | Estimating uncertainty by resampling the observed data with replacement. | 01.07 |
| Bootstrapping (few-shot) | Keeping the traces of runs that passed the metric and using them as worked examples in prompts. | 02.05 |
| Bubble | Time in a pipeline when some GPUs wait for others. | 10.06 |
| Byte-pair encoding (BPE) | A method that learns a vocabulary by repeatedly merging the most frequent pair of adjacent units, starting from bytes. | 10.01 |
C#
| Term | Definition | Defined in |
|---|---|---|
| CACE principle | "Changing anything changes everything": one change in data, model, or prompt can shift the behavior of the whole system. | 08.08 |
| Cache | A store of results from expensive computations, reused until an invalidation rule removes them. | 07.09 |
| Calibrated model | A model whose confidence scores match how often its predictions are right. | 07.04 |
| Calibration (quantization) | Collecting value ranges for activations on sample inputs before quantizing. | 09.04 |
| Canary | A harmless word or marker that an agent would never produce unless it followed a payload. | 04.02 |
| Canary release | A release that first shows a new model to a small share of traffic and rolls it back if quality drops. | 07.08 |
| Canary test | Inserting random strings a known number of times into training data and measuring their exposure after training. | 04.07 |
| Capability evaluation | Measuring what a system can do, including the things you do not want it to do. | 03.06 |
| Capability negotiation | The exchange at connection time in which a client and a server state which protocol features they support. | 05.06 |
| Capability tier | A statement of what an agent may touch at a given level, with the evaluation that admits a model to it. | 03.06 |
| Capacity planning | Estimating the load, the cost per unit and the needed resources before building. | 07.09 |
| Capture the flag (CTF) | A security contest with small problems to solve, used as benchmarks for agents. | 04.08 |
| Cascade (two-phase prediction) | A design in which a small model decides whether to call an expensive one. | 07.07 |
| Catastrophic forgetting | A neural network losing old knowledge when it learns something new. | 02.04 |
| Chain-of-thought (CoT) (also called: Chain-of-thought prompting) | The reasoning steps a model writes before its final answer. Chain-of-thought prompting asks for them through worked examples or an instruction. | 01.05 |
| Chaos engineering (also called: Chaos testing) | Injecting faults into a running system to test its robustness. | 08.09 |
| Chat model | A model after post-training that follows instructions and converses, such as the models you call through an API. | 01.03 |
| Chat pattern | The rule for who speaks next in a conversation and when it ends. | 05.02 |
| Chat template | The fixed format, with roles, in which conversations are written for training and serving. | 10.11 |
| Cheap talk | Communication that costs nothing and binds nobody; useless in a two-player zero-sum equilibrium. | 05.04 |
| Cheese | A cheap strategy that wins when the opponent is unprepared and tends to work across opponents. | 05.05 |
| Chinchilla rule of thumb | About 20 training tokens per parameter for a compute-optimal model. | 01.02 |
| Chunk | One piece of a document, a few hundred tokens, stored for retrieval. | 02.04 |
| CIA triad | The three classic security goals: confidentiality, integrity, and availability. | 04.01 |
| Classification model | A model that predicts one label from a fixed set. | 08.02 |
| Classifier | A small model that labels an input, for example harmful or harmless. | 04.04 |
| Classifier guidance | Steering each sampling step of a diffusion model with the gradient of a separately trained classifier, multiplied by a strength | 09.10 |
| Classifier-free guidance | Steering that evaluates the diffusion model twice per step, with and without the condition, and blends the two estimates; it doubles the FLOPs | 09.10 |
| Client (MCP) | The part inside a host that holds one connection to a server. | 05.06 |
| Client-side deployment | Running a model on the user's device. | 07.07 |
| CLIP (also called: CLIP embeddings) | A model trained on image-caption pairs so that each image's embedding matches its caption's. | 10.12 |
| Clipping | Cutting a value range below its maximum so the remaining values get finer steps. | 09.04 |
| Closed-ended task | A task with few possible answers, so a program can check them. | 01.01 |
| Cluster | A group of observations that depend on the same source, such as repeated attempts on one task. | 03.05 |
| Clustered standard error | A standard error that treats each cluster as one source of evidence. | 03.05 |
| Coalescing | Combining the memory accesses of a warp's threads into a few full cache-line transfers. | 10.05 |
| Code action | An action expressed as code or a shell command that does several things at once. | 02.07 |
| Code browser | A tool that lets an agent jump to definitions and follow cross-references as an IDE does. | 04.08 |
| Codebook | The small table of allowed values that each index points to in k-means quantization. | 09.04 |
| Codified knowledge | The good practice that a community has written down; architectural styles and design patterns are this kind | 07.05 |
| Coding agent | An agent whose environment is a code base, which it reads, edits and runs. | 02.07 |
| Cohen's kappa | Agreement between two labelers after removing the agreement expected by chance. | 03.03 |
| Cold start | The delay before a fresh sandbox or process is ready to use. | 05.06 |
| Collective operation | A communication pattern in which every rank takes part at once, such as all-reduce. | 10.06 |
| Common Crawl | A public snapshot of web pages, used as raw material for pre-training data. | 01.02 |
| Compaction | Shortening an agent's history by replacing older steps with a summary. | 02.04 |
| Complete mediation | The principle that every access is checked, with no exceptions. | 04.04 |
| Complexity asymmetry | The requirement that the simulated user stay less capable than the agent, so the task still needs the agent. | 03.04 |
| Component | A part of a system with one responsibility. | 07.05 |
| Component mistake | A wrong output from one part of a system. | 07.04 |
| Compound AI system (also called: compound system, Hybrid system) | A modular program in which language models carry out specialized steps instead of answering as one black box. | 02.05 |
| Compression ratio | Bytes of text per token; higher means shorter sequences. | 10.01 |
| Compute threshold (also called: Training-compute threshold) | A limit on the computing power used to train a model, used to decide which models a rule covers. | 04.09 |
| Compute-bound | Limited by arithmetic rather than data movement. | 10.02 |
| Computer use | Letting a model operate a desktop by receiving screenshots and returning mouse and keyboard actions. | 05.06 |
| Concept drift | A change in the correct output for the same input. | 08.06 |
| Conditioning signal | An extra input that tells a network which style to play. | 05.05 |
| Confidence interval | A range that would contain the true value in a stated share of repeated evaluations; a 95 percent interval is the usual choice. | 03.05 |
| Confidence score | A number from 0 to 1 for how sure a model is about its prediction. | 07.01 |
| Confidentiality | The goal that only authorized parties can read information. | 04.01 |
| Confusion matrix | A table of true labels against predicted labels in which each off-diagonal cell is one kind of mistake. | 08.02 |
| Constrained flow | A design in which people write the control flow and the model only fills in steps or picks options. | 05.01 |
| Construct validity | Whether a measure captures the concept it was meant to capture. | 07.03 |
| Container | An isolated package of code and dependencies that runs the same way on every machine. | 07.07 |
| Containment | Limiting which parts of a system a failing component can affect. | 07.04 |
| Contamination (also called: Dataset leakage) | The presence of test examples in a model's training data, so a score can come from memory. | 03.04 |
| Context engineering | Deciding what enters the context window: compacting, selecting and loading on demand. | 02.06 |
| Context parallelism | Splitting the activations of a long sequence across accelerators, as in ring attention, so that each one handles part of the context. | 10.06 |
| Context window (also called: Context) | The maximum number of tokens a model can consider in one call, counted across input and output. | 01.04 |
| Continuous batching | Adding new requests to the running batch as they arrive. | 10.08 |
| Continuous delivery (CD) | Keeping every change that passes its checks ready to release through an automated process. | 07.08 |
| Continuous integration (CI) | The practice of running the test suite on every change, in a clean environment, and refusing to merge a change that breaks it. | 08.01 |
| Control divergence | Threads in a warp taking different branches, which then run one after another. | 10.05 |
| Control flow | The rule for who acts next: your code, the model, or another agent. | 05.01 |
| Control group | The users who keep the old version in an experiment, for comparison. | 08.09 |
| Conversation programming | Building an agent system as a conversation between agents, where the message history is the whole program state. | 05.02 |
| Convolution | A layer in which each output depends only on a small window of inputs. | 09.02 |
| Copra | An in-context theorem-proving agent that trains nothing and proposes steps for the proof assistant to execute. | 06.04 |
| Cost per prediction | The operating cost of one prediction, including a share of the training cost. | 07.06 |
| Counterfactual explanation | A statement of a small change to an input that would have produced a different prediction. | 08.13 |
| Coverage | The share of code lines, branches, or requirements that a test suite executes. | 08.01 |
| Critical batch size | The batch size beyond which doubling the batch saves less than half the steps. | 10.07 |
| Cross-entropy | The usual training loss for classifiers, which rewards a high probability on the correct label. | 09.06 |
| CUDA | NVIDIA's programming language for writing code that runs on its GPUs. | 10.05 |
| Curriculum | A graded sequence of problems, one of the three ingredients Hubert names for systems that beat experts. | 06.04 |
| Cut set | A group of basic events that together trigger the system failure. | 07.04 |
| CVE | A public identifier for one known vulnerability. | 04.03 |
| CWE (Common Weakness Enumeration) | A community-developed list, hosted by MITRE, of the kinds of software and hardware weaknesses that lead to security vulnerabilities. | 08.14 |
D#
| Term | Definition | Defined in |
|---|---|---|
| Dangerous-capability evaluation | Measuring whether a system has crossed from "could not help with serious harm" to "could". | 03.06 |
| Dashboard | A live view of telemetry trends. | 07.10 |
| Data augmentation | Training on transformed copies of the examples to reduce overfitting. | 09.06 |
| Data cache | The store where a researcher agent keeps retrieved material for a writer agent. | 05.03 |
| Data engineer | A specialist in large-scale data systems who pulls data out of many sources and moves it between systems, and who builds the ML pipelines. | 07.10 |
| Data flywheel | The loop in which production failures become evaluation tasks that gate the next release. | 03.07 |
| Data integrity | Strict conformance of data to its schema. | 08.06 |
| Data lake | Raw data in many shapes, kept cheaply until it is needed. | 07.09 |
| Data linting | Heuristic checks for suspicious data encodings, such as placeholder dates and duplicates. | 08.06 |
| Data locality | Keeping data close to the machines that read it. | 02.04 |
| Data mix | The shares of different kinds of text, such as code, books, science or languages, in training data. | 01.02 |
| Data parallelism | Replicating the model on every GPU and giving each a different slice of the batch. | 10.06 |
| Data provenance | Tracking the origin of a value and who modified it, which builds trust in data and helps debugging. | 08.12 |
| Data quality | Fitness of data for use by the model and the operators. | 08.06 |
| Data warehouse | Curated data in a fixed shape, organized for analysis. | 07.09 |
| Data-science trajectory | The particular order in which a project moves through data-science steps, such as goal-first or data-first. | 08.10 |
| DDIM | The denoising diffusion implicit model, a sampler that changes inference only, so that steps can be skipped while the FID stays stable | 09.10 |
| Debate (with a judge) | A run-time pattern in which several agents argue positions and a judge picks an answer. | 05.05 |
| Debt register | A list of known shortcuts, each with its cost and its owner. | 08.11 |
| Debugging | Finding the cause of a failure that testing or monitoring revealed. | 08.01 |
| Decision boundary | Where one label ends and the next begins, which a classifier learns. | 01.05 |
| Decision record | A stored description of one production decision that ties its output to the exact inputs and versions that produced it. | 08.12 |
| Deduplication | Removing repeated documents or passages from a data set. | 10.10 |
| Deep leakage from gradients | Reconstructing a model's input data from its shared gradients. | 09.09 |
| Defense in depth | Several layers of defense whose weaknesses differ, so that an attack has to defeat all of them. | 04.04 |
| Delayed gradient averaging | Applying the averaged gradient from d iterations back while computation continues, with the worker's own stale share removed |
09.10 |
| Delimiter | A marker placed around data in a prompt to tell the model where the data begins and ends; it is a hint, not a wall. | 04.02 |
| Dense and sparse models | A dense model runs every parameter on each call; a sparse model runs only a small part of the network. | 05.07 |
| Deployment latency | The time from a finished model to a served model. | 07.06 |
| Depthwise convolution | A convolution with one filter per input channel and no mixing between channels. | 09.02 |
| Dereference | To follow a node's reference back to the source element it describes. | 05.03 |
| Design pattern | A named, reusable solution to a design problem, with its known benefits and pitfalls. | 07.05 |
| Design space | All combinations of design choices for a component. | 07.06 |
| Design vocabulary | The shared names of standard designs, each standing for a whole solution and its trade-offs, so that a discussion can go straight to the qualities at stake | 07.05 |
| Deskilling | The loss of skilled work when automation leaves most people following a machine's instructions while a few maintain the machines. | 08.12 |
| Detection rate | The share of attack tasks that a detector flags. | 11.03 |
| Detector | The rule or model that decides whether an observation is a problem. | 04.05 |
| Determinism | The property of giving the same output for the same input every time. | 07.06 |
| Development copilot | A model that works synchronously with a developer, one action at a time. | 02.01 |
| DevSecOps | Running automated security checks such as static analysis as part of continuous integration, so that security work belongs to the delivery pipeline instead of coming at the end. | 08.14 |
| Differentiable | Having a derivative, so that one can compute how the output changes when any parameter moves a little. | 01.02 |
| Differentiable augmentation | Applying the same transformation to real and generated images during GAN training, so that the loss flows back through the transformation to the generator. | 09.10 |
| Differential privacy | A guarantee that a training result is nearly the same whether or not one person's record is in the data. | 04.07 |
| Differential testing | Comparing a model's output with a reference implementation or with several other models instead of with a label. | 08.04 |
| Diffusion model | A generative model that produces an image by removing noise over many steps. | 09.10 |
| Direct injection | A prompt injection in which the attacker types the instruction into the application. | 04.02 |
| Discriminator | The half of a GAN that learns to tell real images from generated ones. | 09.10 |
| Distillation loss | A penalty on the difference between the teacher's and the student's output distributions. | 09.06 |
| Distributed data parallel (DDP) | Data parallelism in which every GPU holds a full copy of the model, each one takes its own slice of the batch, and the gradients are averaged after the backward pass. | 10.06 |
| Distribution (of inputs) | The full range of real inputs and how often each occurs. | 01.01 |
| Doer-checker pattern | A design in which a second component watches the effects of the component that acts and intervenes when they are wrong. | 07.04 |
| DOM tree | The page's source code represented as text, exact but often long and without layout. | 06.01 |
| Domain knowledge | Expertise about the field the data comes from, such as how a shipment is really recorded, which the people who collect the data hold and the data scientists who use it often lack. Used in my addition to step 5, not defined as a term. | 08.06 |
| Domain randomization | Varying physical parameters such as gravity and friction across simulated worlds so a policy still works in reality. | 06.02 |
| Dominated design | A design that is worse than another on every quality attribute. | 07.06 |
| DPO | Direct preference optimization, which trains a model directly on preferred and rejected answer pairs without a separate reward model. | 01.03 |
| Draft model | A small model that proposes the next few tokens for a large model to check in one pass. | 09.08 |
| Draft-Sketch-Prove | A method that drafts an informal proof, turns it into a formal sketch with gaps, and lets automated provers fill the gaps. | 06.04 |
| Drift | A change over time in the data or in the assumptions made about it. | 08.06 |
| Dropout | A training method that randomly switches off parts of the model. | 04.07 |
| DSPy | A framework for writing language-model programs as declarative modules and optimizing them. | 02.05 |
| Dual control | A setting in which both the agent and the simulated user can act through tools in a shared world. | 03.04 |
| Dual use | The property of a technology that serves a peaceful and a hostile purpose, so that one and the same model can rescue and attack. | 08.12 |
| DualFormer | A successor to Searchformer, trained on partially removed traces, that switches between a fast and a slow mode. | 02.03 |
| DuoAttention | A method that classifies attention heads into retrieval heads with full cache and streaming heads with a window. | 09.08 |
| Durable idea | An idea that keeps its value across model generations because it has a mechanism, appears in several sources and has a metric. | 11.08 |
E#
| Term | Definition | Defined in |
|---|---|---|
| Early stopping | Training for fewer steps than planned, to limit overfitting. | 04.07 |
| Ecological validity | How well an evaluation captures real use. | 10.09 |
| Economy of mechanism | The principle that security controls stay small and simple. | 04.04 |
| Effector | A part that acts, such as a motor in a robot. | 06.02 |
| einops | A library for tensor operations in which dimensions are written by name. | 10.02 |
| Elicitation | The choice of prompts, techniques and environments that draws a capability out of a model. | 03.06 |
| Elo (also called: Elo score) | A rating built from pairwise wins, with the win probability given by a logistic formula. | 10.09 |
| Embarrassingly parallel | Said of work that scales by copying it, with no coordination between the copies. | 07.07 |
| Embedding | A list of numbers that stands for a piece of text, placed so that similar meanings get similar numbers. | 02.04 |
| Embodied agent | An agent that acts through a body, physical or simulated. | 06.02 |
| Encoder | A model part that turns an input into vectors that another model can read; a vision encoder turns an image into vectors for a language model. | 10.12 |
| End-state check (also called: Execution-based evaluation) | A comparison of the final state of an environment with the goal state. | 03.04 |
| End-user audit | Letting users from minority groups try a system before it is released widely, to find discriminatory behavior that the developers did not test for | 08.04 |
| Ensemble | Several models answering the same question in parallel, combined by average or vote. | 07.07 |
| Entanglement | A joint state of two qubits whose measurements agree, 00 or 11, however far apart the qubits are | 09.11 |
| Entangling capacity | How strongly a circuit entangles its qubits, on the Meyer-Wallach scale from 0 to 1 | 09.11 |
| Entropy | The uncertainty in a model's choice of the next token; it is low when one token gets almost all the probability. | 01.03 |
| Entropy collapse | A late stage of RL in which a model becomes certain of one answer per prompt and stops exploring. | 01.03 |
| Enum | A closed list of allowed values for an argument. | 02.02 |
| Environment | What an agent acts on and observes, such as a file system, a browser, an API or a database. | 01.08 |
| Environment injection | Planting text in an agent's environment so that it acts on it; indirect injection with an agent as the target. | 04.03 |
| Epsilon (privacy budget) | The knob of a differential privacy guarantee; smaller is stricter. | 04.07 |
| Equalized odds | A fairness criterion requiring similar error rates across groups. | 08.13 |
| Escalation rate | The share of attempts handed off to a person. | 03.07 |
| Ethics washing | The criticism that principles and funded research announced by companies serve chiefly to hold off regulation. | 08.12 |
| ETL | Extract, transform, load: the batch process that cleans data into one shape and fills a data warehouse. | 07.09 |
| Eureka | A method in which a coding language model writes candidate reward functions and training results pick the best. | 06.02 |
| Eval-driven development loop | A cycle in which each change is kept only if the evaluation improves beyond the noise and nothing regresses. | 03.01 |
| Evaluation | Measuring a model or prompt on held-out data with a metric. | 01.01 |
| Evaluation set (also called: Test set) | A frozen collection of inputs with wanted outputs, used to measure a prompt or a model. | 01.05 |
| Event stream (also called: Tape) | A single ordered log in which every action and observation of an agent is recorded. | 02.07 |
| Evidence check | Verifying that the words a judge quotes as justification occur in the output it graded. | 08.05 |
| Evidence gate | A level of rollout that opens when a measurement passes, not when a launch date arrives. | 04.09 |
| Evidence-based AI policy | The position that rules about AI should rest on measured risk, and that measuring it is a research job. | 04.09 |
| Exact match | A score of 1 when the answer equals an accepted answer after normalization, else 0. | 03.02 |
| Excessive agency | An agent holding more permission, autonomy, or trust than its task needs, which turns a small attack into a large effect. | 04.03 |
| Exemplar | One worked example in a prompt. | 01.05 |
| Experience buffer | A store of recent samples that a PPO implementation takes its updates from. | 10.11 |
| Experience replay | Storing each step of an agent's experience and reusing it many times in training. | 06.02 |
| Expert parallelism | Placing different experts on different GPUs and routing tokens to them. | 10.06 |
| Explainability | Whether a model can give a person useful reasons for one output, such as a reason code for one prediction. Understanding the model's internals is a separate property, interpretability. | 08.13 |
| Exploitability | The expected loss per game of a strategy against a best response; zero at the minimax equilibrium. | 05.04 |
| Exploiter | An agent trained to beat one frozen opponent or a whole population. | 05.05 |
| Exploration | Trying varied actions, tools or environments during training so that better behavior can be found. | 02.08 |
| Exploratory audit | A red team or an end-user audit: an unstructured search for problems that gives no score, and whose findings become requirements and tests | 08.04 |
| Exploratory data analysis | Summarizing and plotting data to learn its shape before writing checks. | 08.06 |
| Exponent | The bits of a floating-point number that set its power of two, and so its range. | 09.04 |
| Exposure | The Secret Sharer metric: how much more probable a model makes an inserted canary than a random string it never saw. | 04.07 |
| Expressivity | How much of the state space a circuit can cover | 09.11 |
| External validity | Whether a measure still holds outside the data it was designed on. | 07.03 |
| Extra mistakes | A slice's mistakes minus the mistakes the overall error rate predicts for a group of that size. | 08.03 |
F#
| Term | Definition | Defined in |
|---|---|---|
| Fail-safe by default | The principle that a failure leaves the system in its safest state. | 04.04 |
| Fairness (allocation) | Who gets the decision that matters: the loan, the interview, or the acceptance. | 04.07 |
| Fairness (as a quality attribute) | Comparable accuracy and outcomes across groups of people. | 07.06 |
| Fake quantization | Rounding values only to simulate low precision while storing them in high precision. | 09.09 |
| False fail | An output a person accepts that the judge fails. | 03.03 |
| False negative | A real positive case that the model did not flag: a miss. | 08.02 |
| False negative rate | The share of attacks a detector lets through. | 04.04 |
| False pass | An output a person rejects that the judge passes. | 03.03 |
| False positive | A case the model flagged that did not deserve it: a false alarm. | 08.02 |
| False positive budget | The largest share of benign inputs a detector may block or flag at a given action level, written down before the detector can block anything. | 11.03 |
| False positive rate | The share of legitimate inputs a detector blocks or flags. | 04.04 |
| Fashion item | A name, a leaderboard record or a demo that has not been measured and is not expected to last. | 11.08 |
| Fault tree | A diagram that starts from one system failure and shows which combinations of events cause it. | 07.04 |
| Feature | One input variable of a model. | 01.01 |
| Feature encoding | The step that turns a raw input into the feature vector a model expects. | 07.07 |
| Feature engineering | The step that turns raw data into the inputs a model receives. | 08.07 |
| Feature flag | A switch that turns new code on for selected users. | 07.08 |
| Feature importance | How much a model's accuracy drops when it loses access to one feature. | 08.13 |
| Feature interaction | A failure that appears only when components that each work as specified are combined. | 08.08 |
| Feature store | A central catalog of reusable feature-encoding code that can also precompute and cache feature vectors. | 07.07 |
| Feature vector | The sequence of numbers that represents an input for a model. | 07.07 |
| Feature-level measure | An online success measure designed for one feature, such as how many users switch it on, because a system-level number cannot say whether that feature helped. | 08.09 |
| Federated learning | Training on user devices and sharing model updates with a server that averages them. | 09.09 |
| Feedback loop | A cycle in which a system's predictions change the environment and so change the data the next model learns from. | 07.01 |
| Few-shot prompting (also called: Few-shot) | Including a handful of worked examples in the prompt before the real input. | 01.05 |
| Fictitious play | Self-play in which each player best-responds to the opponent's average play so far; the average converges. | 05.04 |
| File localization | Finding the files that a request is about. | 02.07 |
| Filter bubble | A situation in which personalization shows a person only content that agrees with views they already hold. | 08.12 |
| Fine-tuning | Training a copy of an existing model on new examples to change its behavior. | 01.01 |
| Fire drill | A problem deliberately injected into a running system to confirm that monitoring alerts the right people. | 08.08 |
| Fitness | A candidate's score, typically accuracy under the cost constraint. | 09.05 |
| Fixed pipeline | A workflow with a few hard-coded steps, each a model call. | 02.06 |
| Flakiness | Variation in test results between runs caused by sampled outputs or judges rather than by the code. | 08.05 |
| Flaky oracle | A pass-or-fail check that can disagree with itself and with a person on the same output. | 03.03 |
| Flaky test (also called: Flaky row) | A test that passes and fails on the same code. | 03.03 |
| Flash | Non-volatile storage on a microcontroller that holds the program and the weights. | 09.07 |
| FlashAttention | A tiled, fused attention algorithm that never writes the full score table to main memory. | 10.05 |
| FLOP (also called: FLOPs) | One floating-point addition or multiplication, the unit of work. | 10.02 |
| FLOP/s (also called: FLOPS) | Floating-point operations per second, a unit of speed. | 09.02 |
| FMEA | Failure Modes and Effects Analysis: a table that lists, for each component, the ways it can fail, the effects, the detection and the mitigation. | 07.04 |
| Formal mathematics | Mathematics written as source code in a proof assistant, where a compiling proof is correct. | 06.04 |
| Formal verification | A mathematical proof that a design keeps a stated property. | 04.04 |
| Formaliser model | The model that turns a problem into a Lean statement. | 06.04 |
| Forward process | The step-by-step addition of Gaussian noise to a clean image that a diffusion model learns to reverse. | 09.10 |
| Foundation model | A large general-purpose model trained by someone else and customized with a prompt. | 01.01 |
| Four-fifths rule | A rule of thumb from US employment-law discourse that a disadvantaged group's selection rate be at least 80 percent of the other group's. | 08.13 |
| FP16, BF16, FP8, FP4 (also called: bf16) | Floating-point formats with 16, 16, 8 and 4 bits; BF16 trades precision for the range of FP32. | 09.04 |
| Fraction | The bits of a floating-point number after the leading one, also called the mantissa, which set its precision. | 09.04 |
| Frontier lab | A company that builds the most capable models. | 03.06 |
| Full fine-tuning | Updating all the weights of a pre-trained model on new data. | 05.07 |
| Fully connected layer | A layer in which every output has its own weight for every input; also a linear layer. | 09.02 |
| Fully sharded data parallel (FSDP) | ZeRO stage 3: parameters are gathered before each layer runs and freed afterwards. | 10.06 |
| Function calling | Passing tool contracts to the model and receiving a tool call in return. | 02.02 |
| Fusion | Doing several operations in one kernel so intermediate results never reach main memory. | 10.05 |
| Fuzzer | A program that feeds a target many generated or mutated inputs and waits for a crash. | 04.08 |
| Fuzzing | Feeding a program many generated inputs and waiting for a crash. | 04.06 |
G#
| Term | Definition | Defined in |
|---|---|---|
| GAN | Generative adversarial network: a generator and a discriminator trained against each other. | 09.10 |
| Gate | An automatic check that fails a change when a metric regresses. | 03.07 |
| Gated MLP | An MLP variant that multiplies one projection by another element by element before the output projection. | 10.03 |
| GeLU | A smooth activation function similar to ReLU, common in Transformers. | 10.02 |
| Generalization | Performing well on inputs the model never saw during training. | 01.01 |
| Generation (also called: Decode) | The phase that generates one token per step, limited by memory traffic. | 09.08 |
| Generative model | A model that produces text or images rather than choosing a label. | 08.02 |
| Generator and critic | A run-time pattern in which one agent produces and another checks it with new information. | 05.05 |
| Genetic algorithm | A search that keeps the candidates that work, mutates them, and repeats. | 04.02 |
| Global surrogate model | A small interpretable model trained to imitate a model's predictions. | 08.13 |
| Goal | The end state an agent pursues, which something outside the model can check. | 01.08 |
| Goal layers | The four levels of goals: organization, product, users and model. | 07.03 |
| Goal test | The check that says a task is done. | 02.03 |
| Goal-Question-Metric | A method that starts from a goal, lists the questions that show whether it is reached, and picks one measure per question. | 07.03 |
| Gold answer | The known correct answer against which a verifiable reward checks the model's final answer. | 01.03 |
| Good enough | The judgment that a model works well enough for one use on one data, which replaces "correct" for ML components. | 07.01 |
| Goodhart's law | The observation that a measure stops being a good measure once it becomes a target. | 07.03 |
| GPU | A processor built to run many simple arithmetic operations in parallel, which is what neural networks need. | 01.02 |
| GPU kernel | A function that runs on the GPU. A fast kernel moves as little data as possible to the GPU's main memory and back. | 10.05 |
| Graceful degradation | Reducing a system's function, after a failure, to keep operating safely. | 07.04 |
| Grader | Code, or a judge, that turns one response into a score and a list of violations. | 03.02 |
| Gradient (also called: Gradients) | The direction that raises the loss fastest; training steps the parameters the opposite way. | 01.01 |
| Gradient accumulation | Adding up gradients over several small batches before updating the parameters. | 10.02 |
| Gradient compression | Sending only the largest or a low-rank approximation of the gradients to cut communication. | 09.10 |
| Greedy decoding | Always taking the single most probable next token. | 01.06 |
| Green agent | In Berkeley's course project, the hosting agent that defines the assessment and reports the metrics. | 03.08 |
| Ground truth | The known correct facts for a task, given to a judge so that it can tell an invention from a fact. | 03.03 |
| Grounding | Tying each statement of an answer to a source fetched at run time. | 05.07 |
| Grounding (instruction proposal) | Giving the instruction-writing model extra context: worked examples, a summary of the data and the program's code. | 02.05 |
| Grounding (multimodal) | Linking a phrase in an instruction to the thing on screen or in the world that it refers to. | 06.01 |
| Group chat | A chat pattern in which several agents share one history and a manager picks the next speaker. | 05.02 |
| Group fairness | A fairness criterion requiring similar rates of positive outcomes across groups; also called demographic parity. | 08.13 |
| Group quantization | Giving each small block of weights its own scale, needed at 4 bits and below. | 09.04 |
| Grouped convolution | A convolution split into independent groups of channels, with weights divided by the group count. | 09.02 |
| Grouped-query attention (GQA) | Attention in which several query heads share one key-value head, which shrinks the KV cache. | 10.08 |
| GRPO | An RL algorithm that samples several answers per question and reinforces those that score above the group's average. | 01.03 |
| GT Sophy | A racing agent trained with reinforcement learning in the Gran Turismo driving game. | 06.02 |
| Guardrail (also called: input guard, output guard) | A check that runs on untrusted input before the model (an input guard) or on the model's output, including its tool calls (an output guard), and stops a mistaken or dangerous action before it reaches a user or a system. Guardrails are usually plain code. | 04.04 |
| Guardrail trigger | A recorded event in which an attempt broke a rule. | 03.07 |
| Guideword | A fixed word such as none, more, late or perturbed, used to prompt failure ideas in HAZOP. | 07.04 |
H#
| Term | Definition | Defined in |
|---|---|---|
| Hallucinated reference | A citation to a paper that does not exist. | 06.03 |
| Hallucination | A false statement produced by a model, with no attacker involved. | 04.01 |
| Halo | The border of pixels around a patch that neighboring patches must both read, causing repeated work. | 09.07 |
| Hammer | A tool that calls external automated theorem provers from inside an interactive proof assistant; Sledgehammer and LeanHammer are examples. | 06.04 |
| Handoff | A run-time pattern in which one active agent at a time passes the task, with context, to another. | 05.05 |
| Hard constraint | A limit on a quality attribute that cannot be negotiated. | 07.06 |
| Hard negative | A benign input that looks like an attack, kept in the evaluation set so that a detector's false positive rate is measured where the detector is most likely to be wrong. | 11.03 |
| Harms of allocation | Harm in which a group receives fewer resources or a worse service because of a discriminatory decision. | 08.13 |
| Harms of representation | Harm in which output skews how a group is portrayed, reinforces a stereotype, or demeans people, without allocating anything. | 08.13 |
| Harness (agent) (also called: Scaffold) | The code around a model in an agent: its tools, context rules and stop conditions. | 02.06 |
| Harness (evaluation) | The program that runs every task of a dataset on a system, scores each attempt and reports metrics. | 03.02 |
| Hazard | A system condition in which an accident can happen. | 08.13 |
| Hazard analysis | Working out with safety-engineering methods how component mistakes can add up to a system failure. | 07.04 |
| HAZOP | Hazard and Operability Study: a guided brainstorm that applies fixed guidewords to each component and output. | 07.04 |
| HBM | High bandwidth memory, the GPU's main memory: large, and slower to reach than the caches on the chip. | 10.05 |
| Head dimension | The width of one attention head; by convention the heads' widths add up to the model width. | 10.03 |
| Hedge | A self-play algorithm that picks regularized best responses and converges faster than fictitious play. | 05.04 |
| Held-out set (also called: Held-out data) | Tasks that are never used while developing, so that a score on them still means something. | 03.07 |
| Hessian | The matrix of second derivatives of the loss, used to estimate a weight's importance. | 09.03 |
| Heuristic | A rule of thumb that points out what looks like a problem, so it can miss real problems and flag harmless code. | 08.01 |
| Heuristic attack | An attack payload written by a person, such as context ignoring or a fake completion. | 04.02 |
| Hidden stratification | A label that looks uniform while hiding subgroups on which a model performs very differently. | 08.03 |
| Hippocampal indexing theory | The theory that raw memories live in the cortex and an index in the hippocampus links them. | 02.04 |
| HippoRAG | A retrieval method with a structured index, inspired by the indexing of human memory. | 02.04 |
| Host (MCP) | The AI application that connects to servers through clients. | 05.06 |
| Hostile stub | A stub model that returns the failures you choose, such as an unknown label or a low confidence, so that guardrails and fallbacks can be tested. | 11.04 |
| Hot standby | A spare copy of a component that takes over when the main copy fails. | 07.04 |
| Human approval gate | A pause before a critical action until a person approves it, showing the real arguments, with no answer meaning no action. | 04.04 |
| Human in the loop (also called: Control point, Human oversight) | A design in which a person checks, confirms or can reverse a model-driven decision. | 04.05 |
| Hybrid deployment | Splitting a model's work between the user's device and a server. | 07.07 |
| Hybrid layers | A model that alternates full attention layers with cheaper layers such as sliding-window or state-space layers. | 10.04 |
| Hyperparameter | A setting that controls the learning process and is chosen by the developer, such as the learning rate or the architecture. | 01.01 |
I#
| Term | Definition | Defined in |
|---|---|---|
| i.i.d. assumption | The assumption that training and test examples are independent draws from the same distribution seen in production. | 08.02 |
| Idempotent | Said of an operation that has the same effect when repeated as when called once. | 02.02 |
| Im2col | Rearranging convolution inputs into columns so the operation becomes matrix multiplication. | 09.07 |
| Imperfect information | A game in which a player cannot see everything, as in poker. | 05.04 |
| Improper output handling | Trusting model output enough to pass it to a shell, a database, or a URL without validation. | 04.01 |
| In silico | Done on a computer, without physical experiments. | 06.03 |
| In-context learning | A model picking up a task from the instructions and examples in its input, with no training step. | 01.05 |
| In-place operation | Writing a layer's output over its input buffer so both never exist at once. | 09.07 |
| Incident response plan | A written plan for the kinds of trouble a team can anticipate, with people, procedures and recovery steps. | 07.10 |
| Incremental training | Training that adds new data to an existing model without starting over. | 07.06 |
| Indirect injection | A prompt injection in which the attacker plants the instruction where the application will read it. | 04.02 |
| Inference | Calling a trained model on a new input. | 01.01 |
| Inference engine | The program that loads a model and runs it; whether it has a fast kernel for a format decides if a smaller file is also faster. | 11.05 |
| Inference latency | The time one prediction takes, usually reported as a percentile. | 07.06 |
| Inference throughput | The number of predictions a component can make per unit of time. | 07.06 |
| Inference-time scaling | Spending more computation per problem at inference time to raise accuracy. | 01.06 |
| Influential instances | Training examples that shape a model's decision boundaries far more than the others; often mislabeled outliers where training data is sparse. | 08.13 |
| Informal mathematics | Mathematics written as prose, LaTeX or papers, which carries no guarantee. | 06.04 |
| Information flow control (also called: Taint tracking) | Tracking labeled data as it moves through a system, also called taint tracking. | 04.04 |
| Infrastructure as code | Describing servers, containers and pipeline steps in files under version control. | 07.08 |
| Injected dependency | An external call or data source passed into a function as an argument so tests can replace it. | 08.07 |
| Injection monitor | A separate program that reads another agent's event stream and flags instructions planted in untrusted data, without touching that agent's tools or workspace. | 11.03 |
| Inline check | A check on the path between the model and its effect, which can block and adds latency to every step. | 04.05 |
| Inner monologue | A short piece of reasoning text an agent writes before each action. | 06.01 |
| Input schema | A JSON description of the arguments a tool accepts. | 05.06 |
| Instruction hierarchy | A model-level defense in which the model is trained to privilege some instructions over others. | 04.04 |
| Instrumentation | The code added to a system so that it produces telemetry. | 07.10 |
| Integration test | A test that several components work together, between a unit test of one component and a system test of the whole product. | 08.08 |
| Integrity | The goal that the system and its data are not altered, on purpose or by accident, and stay accurate. | 04.01 |
| Interface | The contract for using a component: what goes in, what comes out, and what happens when it fails. | 07.05 |
| Interface contract | Fixed inputs, outputs, latency, and cost limits that let model work and system work proceed independently. | 08.10 |
| Interleaving experiment | Showing each user one list that mixes results from two ranking models and counting which model's results get used. | 08.09 |
| Interpretability | The degree to which a person can understand a model's internals. | 07.06 |
| Intrinsically hard problem | A problem with no known hand-written solution, typically one that mirrors human perception. | 07.02 |
| Intrusion detection | Monitoring a running system for unusual behavior that signals an attack. | 08.14 |
| Invariant | A rule that must hold for a model's outputs without saying what those outputs are. | 08.04 |
| IsoFLOP run | A training run held to a fixed compute budget, used to compare model sizes at equal cost. | 10.07 |
| Iterative pruning | Repeating prune-and-fine-tune in small steps instead of pruning once. | 09.03 |
| Iterative refinement | Improving one candidate answer over several rounds using feedback. | 01.06 |
J#
| Term | Definition | Defined in |
|---|---|---|
| Jaccard similarity | The size of two sets' intersection divided by the size of their union. | 10.10 |
| Jailbreak (also called: Jailbreaking) | An attempt by the person talking to a model to get past its safety training and obtain content its provider forbids. | 04.02 |
| JSON | JavaScript Object Notation, the bracket-and-quote text format that APIs use to exchange data. | 02.02 |
| JSON Schema | A formal description of what valid arguments look like. | 02.02 |
| JSON-RPC | A convention in which a request and its reply are JSON objects with a method name, parameters and an ID. | 05.06 |
| Judge | Whatever answers a rubric question: a program, an LLM, or a person. | 08.05 |
| Judge calibration | Measuring, criterion by criterion, how often a judge agrees with human labels before it can block a merge. | 08.05 |
K#
| Term | Definition | Defined in |
|---|---|---|
| K-means quantization | Storing a small table of representative values and an index per weight. | 09.04 |
| Kernel | In a convolution, the small weight table that slides over the input. On a GPU, a kernel is instead a small program; see GPU kernel. | 09.02 |
| Kill switch | A flag that turns a model's action off while the rest of the system keeps running. | 07.10 |
| KL divergence | A measure of how one probability distribution differs from another, zero when they are identical. | 09.06 |
| KL penalty | A training term that keeps a policy close to a reference model. | 10.11 |
| Knowledge assistant | A system that answers over private data and produces reports, with retrieval, agent reasoning and deployment. | 05.03 |
| Knowledge cutoff | The date after which a model saw no training data. | 03.04 |
| Knowledge distillation (also called: Distillation) | Training a small student model to reproduce the outputs of a large teacher model. | 09.06 |
| Knowledge graph | A structure that stores facts as nodes, one per concept, joined by links that name the relations. | 02.04 |
| KV cache | Stored keys and values of all previous tokens, kept so generation does not recompute them. | 10.08 |
L#
| Term | Definition | Defined in |
|---|---|---|
| Label | The wanted output attached to a training input. | 01.01 |
| Label leakage | A model learning a shortcut that predicts the label in the data but will not hold in production. | 08.02 |
| Lambda architecture | A design in which batch jobs recompute everything on a schedule and stream processing keeps results fresh in between. | 07.09 |
| Large language model (LLM) | A neural network that gives a probability for every possible next token of a text sequence. | 01.02 |
| LaSR (symbolic regression with a learned concept library) | A search for an equation that fits a data set which also names the abstract concepts behind each equation in natural language. | 06.04 |
| Latency | The delay to complete one request. | 09.02 |
| Latency budget | A written limit on how much time a check may add to each step of a system, fixed before the check goes on the path between a model and its effect. | 11.03 |
| Latency table | Per-operator timings measured once on the target device and summed to estimate a model's latency. | 09.05 |
| Latent diffusion | Running a diffusion model in a compressed latent space instead of on pixels. | 09.10 |
| LayerNorm | Normalization that subtracts the mean and divides by the standard deviation, then scales and shifts. | 10.03 |
| Leading indicator | A measure that is easy to observe now and is expected to move with later success. | 07.03 |
| League | A training population of main agents and exploiters that play each other. | 05.05 |
| Lean | The proof assistant used by AlphaProof and by most of the systems in this part. | 06.04 |
| Lean-STaR | A method that trains a model to think in natural language before each formal tactic. | 06.04 |
| Learned detector | A classifier trained to label inputs or outputs as attacks. | 04.04 |
| Learning rate | The size of the step a training loop takes at each update; a hyperparameter. | 01.01 |
| Least privilege (also called: Principle of least privilege) | The principle that a component gets only the permissions its current task needs. | 04.04 |
| Least-to-most prompting | Splitting a problem into subquestions and answering them easiest first. | 01.05 |
| Lemma | A smaller theorem, already proved, that a later proof can apply as one step. | 06.04 |
| Levels of evaluation | The four places a "does it work" question can sit: component, trajectory, outcome and online. | 03.01 |
| Lineage | How data flows between files and processes inside a system, as opposed to edits made to individual rows. | 08.12 |
| Linear attention | Attention without the softmax, computed through a fixed-size state so cost is linear in sequence length. | 10.04 |
| Linear quantization | An affine mapping between integers and real numbers, r = S (q - Z). |
09.04 |
| Linter | A tool that flags suspicious or invalid code. | 02.07 |
| LIPS | An inequality-proving system in which a language model proposes steps of two restricted types and symbolic reasoning verifies and prunes them. | 06.04 |
| LLM agent | An agent in which an LLM makes the step-by-step decisions. | 01.08 |
| LLM-as-a-judge (also called: LLM as judge) | A model that reads an output and scores it against criteria. | 03.03 |
| Load balancer | A component that spreads requests across several copies of a service. | 07.07 |
| Load-balancing loss | A training term that penalizes uneven use of experts. | 10.04 |
| Locality-sensitive hashing | Banding MinHash signatures so that similar documents become candidate pairs with high probability. | 10.10 |
| Lock-in | The cost of leaving a framework because your application has grown into its shape. | 05.01 |
| Logits | The raw scores a model outputs for each choice, before normalization. | 09.06 |
| Long-term memory | Anything stored outside the context and loaded back later, such as files, a database or a search index. | 02.01 |
| Loop tiling (also called: Tiling) | Restructuring loops to work on small blocks that fit in cache. | 09.07 |
| Loop unrolling | Repeating a loop body in code to remove loop overhead, at the cost of binary size. | 09.07 |
| LoRA (low-rank adaptation) | Low-rank adaptation: learning a weight update as the product of two small matrices, merged at deployment. | 09.09 |
| Loss (also called: Loss function) | A cost function that returns one number for how wrong a model is on a set of examples. | 01.01 |
| Lost in the middle | The finding that models use information from the middle of a long input worst. | 09.08 |
| Lottery ticket hypothesis | The claim that a dense network contains a small subnetwork that trains as well from its original initial values. | 09.03 |
| LSTM | A recurrent network with a fixed-size memory that processes a sequence step by step; it came before Transformers. | 10.07 |
M#
| Term | Definition | Defined in |
|---|---|---|
| MAC | One multiply-accumulate: a multiplication and an addition, counted as two floating-point operations. | 09.02 |
| Machine learning (ML) | A way of producing a function by fitting its parameters to examples, instead of writing its logic by hand. | 01.01 |
| Machine-learning algorithm | The procedure that creates a model from training data, used only during training, as a compiler is not needed at run time. | 01.01 |
| Magnitude-based pruning | Removing the weights with the smallest absolute value. | 09.03 |
| Marginal risk | The risk a model adds on top of the risk that already exists without it. | 04.09 |
| Matchmaking | The rule for which opponent a training agent plays next. | 05.05 |
| Mathlib | The open-source Lean library of formalized mathematics. | 06.04 |
| Max tokens | A request parameter that stops generation after a set number of output tokens. | 01.04 |
| MCUNet | Song Han's TinyML framework that pairs the TinyNAS architecture search with the TinyEngine inference library so that a model fits and runs on a microcontroller. | 09.07 |
| Measurement | Reading a qubit; it returns one random classical bit and collapses the state | 09.11 |
| Membership inference (also called: Membership inference attack) | Learning whether a given record was part of a model's training data. | 08.14 |
| Memorization | A model assigning much higher probability to text it saw in training than to text it did not. | 04.07 |
| Memory | What an agent stores and re-reads between tasks and sessions. | 04.03 |
| Memory bandwidth | The rate at which a chip can move data from its main memory to its compute units, in bytes per second; it caps the speed of a memory-bound model. | 09.01 |
| Memory hierarchy | The chain of storage levels from registers to cache to main memory, each larger and slower. | 09.02 |
| Memory layer | Stored questions and answers that let an assistant keep context between conversations. | 05.03 |
| Memory poisoning | Planting content in an agent's memory so that later tasks follow it. | 04.03 |
| Memory-bound | Limited by data movement rather than arithmetic, because arithmetic intensity is below the chip's. | 10.02 |
| Metamodel (stacking) | A model that learns which of several other models to trust in which situation. | 07.07 |
| Metamorphic relation | A rule stating how two outputs must relate when the inputs differ in a prescribed way. | 08.04 |
| Metric (also called: Measure) | A number that summarizes model quality on a data set, such as accuracy. | 01.01 |
| Micro-batch | One small piece of a batch, used to keep the stages of a pipeline busy. | 10.06 |
| Microcontroller | A single chip with one processor core, a few hundred kilobytes of memory and no operating system. | 09.07 |
| Microservice | A small, independently deployable process that other parts of the system call over a network. | 07.07 |
| MicroVM | A minimal virtual machine with its own kernel, used for strong isolation. | 05.06 |
| Mid-training | Continued pre-training on a smaller amount of higher-quality data, to shift a model's strengths and extend its context. | 01.02 |
| Migration strength | The exponent that sets how much quantization difficulty SmoothQuant moves from activations to weights. | 09.08 |
| MILP | Mixed integer linear programming, an optimization method for decisions with hard constraints. | 02.03 |
| MimicGen | A method that turns one human demonstration into many successful trajectories across varied scenes. | 06.02 |
| Mind2Web | A 2023 offline web benchmark that compares an agent's steps with one recorded human demonstration per task. | 06.01 |
| MinHash | A signature of hashed shingles whose collision chance equals the Jaccard similarity. | 10.10 |
| miniCTX | A benchmark of theorems from real Lean projects that depend on long, cross-file context. | 06.04 |
| Minimal cut set | A cut set that stops triggering the failure if any one of its events is removed. | 07.04 |
| Minimax equilibrium | A set of strategies in which no player gains by changing only their own; in two-player zero-sum games it cannot lose in expectation. | 05.04 |
| Minimum detectable effect | The smallest true difference an evaluation of a given size would count as evidence. | 03.05 |
| MIPRO | An optimizer that tunes instructions and demonstrations together with a Bayesian optimizer. | 02.05 |
| Mistake analysis | A structured pass over a feature that lists how it fails and what keeps each failure from reaching a person. | 07.04 |
| Misuse | Using a model or a system to cause harm, with no attack on the system itself. | 04.01 |
| Mitigation | A change outside the model, such as routing inputs to a human, that limits the harm of a known weakness. | 08.03 |
| Mixed precision (inference) | Giving different layers, or weights and activations, different bit widths. | 09.04 |
| Mixed-precision training | Using bf16 for parameters, activations and gradients and fp32 for optimizer state. | 10.02 |
| Mixture of experts (MoE) | A layer with many expert MLPs and a router that sends each token to a few of them. | 10.04 |
| ML component | The model plus the code that wraps it for inference: the request, the parsing, the retries. | 07.01 |
| ML flywheel (also called: Closed-loop intelligence) | The cycle in which more users produce more data, which produces better models, which attract more users. | 07.02 |
| ML-enabled product | A software product with machine-learning components. | 07.01 |
| MLOps | The practice of automating the ML pipeline so that deploying, updating and operating models is routine. | 07.01 |
| MLP (also called: feed-forward network) | The part of a block that processes each token on its own through two or three linear layers. | 10.03 |
| Model (machine-learned model) | The learned function, with its fitted parameter values, that a running system calls. | 01.01 |
| Model card | A one- or two-page description of a model's intended use, supported inputs, accuracy and limits. | 07.07 |
| Model compression | The set of techniques that shrink a trained model's storage, memory or compute needs. | 09.01 |
| Model Context Protocol (MCP) | An open standard for connecting AI applications to external systems such as data sources and tools. | 05.06 |
| Model extraction | Learning a copy of a model by querying it repeatedly. | 08.14 |
| Model FLOPs utilization (MFU) (also called: Model FLOP utilization) | The FLOP/s a run achieves divided by the peak of the chip. | 10.02 |
| Model independence testing | Checking whether two released models were derived from the same weights. | 06.03 |
| Model inspection | Reading a model without test data, as a code review reads code, to judge whether the rules it learned are plausible or rest on a shortcut; a small model is read directly and a large one through an explainability tool | 08.02 |
| Model interface | The small boundary, such as step(messages, tools), that hides the language model from the loop. |
02.01 |
| Model inversion | Reconstructing training data from a model's outputs. | 08.14 |
| Model retry | The model choosing a different call after reading an error observation. | 02.02 |
| Model security level | Dawn Song's L0 to L4 scale, from an accurate and secure model (L0) to a malicious one (L4); design for L2. | 04.01 |
| Model size | The storage needed for a model's weights: parameters times bits per parameter. | 09.02 |
| Model-based planning (simulate-then-act) | Imagining each candidate action with a world model and executing only the best. | 02.03 |
| Model-centric | A view of ML work that stops at the model or at the pipeline that produces it and leaves out the rest of the system and its environment. | 07.01 |
| Module (DSPy) | The strategy for carrying out a signature, such as a plain prediction or step-by-step reasoning. | 02.05 |
| Momentum | An optimizer's running average of past gradients. | 09.10 |
| Momentum correction | Accumulating the optimizer's velocity rather than the raw gradient when gradients are sent late | 09.10 |
| Monitor (in Privtrans) | The small privileged part of a program that holds permissions and exports a narrow interface; not the runtime monitor of chapter 05. | 04.04 |
| Monitor (runtime) | A component that observes the events of a running system and raises findings. | 04.05 |
| Monte Carlo tree search (MCTS) | A search algorithm that grows a tree of moves by repeatedly picking a promising node, simulating a completion and pushing the score back up the path. | 01.06 |
| Multi-agent system | A system in which several agents with different roles interact. | 01.08 |
| Multi-head attention | Attention split into several heads, each working on its own smaller slice of the query, key and value vectors. | 10.03 |
| Multi-head latent attention (MLA) | Attention that caches one compressed vector per token and expands it to keys and values when needed. | 10.08 |
| Multi-hop question | A question whose answer needs more than one fact, often from different documents. | 02.04 |
| Multi-query attention (MQA) | Attention in which all query heads share a single key-value head. | 10.08 |
| Multimodal agent | An agent that reads more than text, here screenshots as well as page source, and acts on what it perceives. | 06.01 |
| Multimodal model | A model that reads or writes more than one kind of data, such as text and images. | 05.03 |
| Multiple comparisons | The rise in false alarms that comes from testing many slices or hypotheses at once. | 08.03 |
| muP | A set of rules for scaling initialization and learning rates with width so the best learning rate stays the same. | 10.07 |
| Must criterion | A hard requirement asserted strictly for every test case. | 08.05 |
| Mutation (attack generator) | Rewriting or generating candidate attacks, by hand or by search, to raise the success rate. | 04.06 |
| Mutation and crossover | Evolutionary steps that change one parent or combine two parents into a child architecture. | 09.05 |
| Mutation testing | A measure of test-suite quality that injects small artificial bugs and counts how many the suite detects. | 08.01 |
N#
| Term | Definition | Defined in |
|---|---|---|
| N-gram model | A language model that predicts the next token from counts of how often tokens followed a context. | 01.02 |
| N-step return | Scoring an action by the sum of several later rewards instead of one. | 06.02 |
| Nanobody | A small protein that can bind a target, used in the Virtual Lab's COVID-19 case study. | 06.03 |
| Naptime | The first name of Google Project Zero's project for finding vulnerabilities with language models. | 04.08 |
| Needle in a haystack | A test that hides one fact at varying depths in a long document and asks the model to find it. | 09.08 |
| Nested chat | A chat pattern in which a matching message starts a private sub-conversation whose summary returns as the reply. | 05.02 |
| Network augmentation | Treating a tiny model as a subnetwork of wider models during training, to give it extra supervision. | 09.06 |
| Neural and symbolic decision making | Splitting decisions between a learned model, which handles language and vague goals, and an algorithm, which handles constraints and guarantees. | 02.03 |
| Neural architecture search | Automatically choosing a model's architecture from a defined search space under a cost constraint. | 09.05 |
| Neural component | The model in a hybrid system, which turns text into text by probability. | 04.01 |
| Neural network | A function built by stacking many simple arithmetic steps whose numbers are the parameters. | 01.02 |
| NISQ era | Noisy intermediate-scale quantum, the current period of noisy devices with few qubits | 09.11 |
| No-cloning theorem | The rule that a quantum state cannot be copied, which blocks skip connections in quantum circuits | 09.11 |
| No-press Diplomacy | The board game Diplomacy without the negotiation messages. | 05.04 |
| Node | One machine of a cluster; GPUs in the same node are linked more tightly than GPUs in different nodes. | 10.06 |
| Non-determinism (also called: Non-deterministic) | The property that the same input can give a different output, because the model picks text partly at random. | 03.01 |
| Non-ML component | Any part of the product that contains no model, such as the interface, API, queue or database. | 07.01 |
| Non-parametric memory | Knowledge stored outside a model's parameters and retrieved when needed. | 02.04 |
| Non-transitivity | The property that agents of equal strength beat each other in cycles. | 05.05 |
| Normalization layer | A layer that rescales activations so training converges faster. | 09.02 |
| Notebook | A file of code cells that are run one at a time, suited to exploration. | 07.08 |
| Novelty effect | A change in user behavior caused only by a feature being new. | 08.09 |
| NVLink | The high-speed link between GPUs inside one node. | 10.06 |
O#
| Term | Definition | Defined in |
|---|---|---|
| Observability | How well you can tell what a system is doing from what it reports about itself. | 07.10 |
| Observation | What an agent receives back from its environment after an action. | 01.08 |
| Occupancy | The share of a SM's thread slots that are in use. | 10.05 |
| Omni model | A model that takes any combination of modalities in and produces any combination out. | 10.12 |
| On-call | The rotation of people who answer alerts outside working hours. | 07.10 |
| On-device training | Adapting a model on the device where its data was created. | 09.09 |
| Once-for-all network | One trained network that contains many sub-networks, each fit for a different device. | 09.05 |
| One-shot | Putting exactly one example of the task into the prompt. | 05.07 |
| Online distillation | Training several networks together so that they teach each other from the start. | 09.06 |
| Online metrics | Numbers computed from production records, such as escalation rate or repeat contact. | 03.07 |
| OP | Any operation, including integer and bitwise ones, counted as one unit of work. | 09.02 |
| Open design | The principle that security does not depend on keeping the design secret. | 04.04 |
| Open-ended task | A task with many acceptable answers, which needs human or model judgments. | 01.01 |
| Open-source access | Having the data, architecture and training procedure, which allows questioning every design choice. | 06.03 |
| Open-weight access | Having the trained model itself, which allows fine-tuning, distillation and inspection. | 06.03 |
| Open-weight model | A model whose parameters are published. | 01.03 |
| Operationalization | The rule that computes a measure's number from raw observations. | 07.03 |
| Operations | All tasks, infrastructure and processes for deploying, running and updating a system in production. | 07.10 |
| Optimization loop (red teaming) | Dawn Song's frame for automatic red teaming: generate candidates, inject, score, feed back, update. | 04.06 |
| Optimizer (DSPy) | A procedure that searches for better instructions and examples for every module of a program. | 02.05 |
| Optimizer state | Running statistics an optimizer keeps to decide each step. | 10.02 |
| Oracle (also called: External check, Test oracle) | A cheap, trusted procedure that says whether a result is correct, such as running a program. | 03.01 |
| Oracle (red teaming) | A rule that decides whether an attack succeeded, such as a canary in an answer or a change of state. | 04.06 |
| Oracle problem | The difficulty of naming the expected output for an input, especially one that was generated automatically. | 08.01 |
| OSWorld | A 2024 benchmark of 369 tasks on a real desktop operating system, run in a virtual machine and scored by scripts. | 06.01 |
| Out-of-band check | A check that runs beside the request path and reads the record of a run: it costs almost no latency but cannot block an action in time. | 04.05 |
| Out-of-distribution input (also called: Out-of-distribution data) | An input that differs strongly from the data a model was trained on. | 07.04 |
| Outcome evaluation | Grading whether an attempt reached the goal state. | 03.04 |
| Outcome validity | The property that an evaluator's verdict faithfully reflects whether the task succeeded. | 03.01 |
| Outlier | A value far outside the usual range of the data. | 08.06 |
| Over-optimization | A model learning to please a learned reward model in ways people did not intend. | 01.03 |
| Over-tainting | Labeling so much data as untrusted that the labels stop being useful. | 04.04 |
| Overfitting | Fitting the training examples so closely, by memorizing them, that performance on new inputs suffers. | 01.01 |
| OWASP Top 10 | A public list from the Open Worldwide Application Security Project of the ten most critical security risks to web applications; OWASP also publishes lists for LLM and agent applications. | 08.14 |
P#
| Term | Definition | Defined in |
|---|---|---|
| p95 latency | The time within which 95 of 100 requests finish. | 07.06 |
| Padding | Zeros added around an input border so a convolution keeps the output size. | 09.02 |
| PagedAttention | Storing a KV cache in non-contiguous blocks that can be shared between requests with the same prefix. | 10.08 |
| Paired comparison | A comparison of two versions on the same tasks, using each task's own difference. | 03.05 |
| Pairwise judging (also called: Side-by-side evaluation) | Comparing two outputs, which is better at ranking and subject to position bias. | 03.03 |
| Paper2Agent | A system that turns a research paper into an interactive agent exposing the paper's methods. | 06.03 |
| Parameter (also called: Parameters) | A value inside a model that training sets, such as a weight. | 01.01 |
| Parameter policy | A policy that outputs the settings of an existing controller, such as a navigation stack, instead of raw actions. | 06.02 |
| Parameter-efficient fine-tuning (PEFT) | Freezing the pretrained weights and training a small set of parameters instead. | 09.09 |
| Parameter-shift rule | The analytic gradient of a circuit: run it twice with an angle moved up and down by π/2 and take half the difference | 09.11 |
| Parameterized quantum circuit | A circuit in which some gates carry learned angles and others are fixed; the model of quantum machine learning | 09.11 |
| Parametric memory | Knowledge stored in a model's weights. | 02.04 |
| Pareto front | The designs left after dominated ones are dropped: each is better than the others on at least one quality. | 07.06 |
| Parse | To turn a document into typed elements: text blocks, tables, figures. | 05.03 |
| Partial credit | The fraction of a task's key phrases that appear in the answer. | 03.02 |
| Partial dependence plot | A plot of how the output changes as one feature varies while the others are held still. | 08.13 |
| Partitioning | Splitting data so that different parts sit on different machines. | 07.09 |
| pass@k | The chance that at least 1 of k independent attempts succeeds. | 03.02 |
| pass^k | The chance that all k independent attempts succeed; the reliability metric. | 03.02 |
| Patch-based inference | Running a network's early layers one patch of the image at a time to cut peak memory. | 09.07 |
| Pattern completion | Recovering a whole memory from partial cues. | 02.04 |
| Payload family | A group of injection payloads that share one technique, such as context ignoring, a fake system message or a buried instruction. | 11.03 |
| Peak activation size | The largest set of intermediate values alive at the same moment, which sets the RAM a model needs. | 09.07 |
| Peak performance | A chip's advertised maximum operations per second, which almost no model reaches. | 09.01 |
| Penetration testing | Attacking a system on purpose, the way a real attacker would, to find its weaknesses; a practice of software security next to red teaming | 08.04 |
| Perfect information | A game in which all players see the full state, as in chess. | 05.04 |
| Perplexity | A model's average uncertainty about the next token on held-out text, computed from the probability it assigns; lower is better. | 10.09 |
| PI agent | The agent that plays the principal investigator: it chooses the expertise a project needs and creates the specialists. | 06.03 |
| Pipeline (also called: ML pipeline) | Everything that produces, deploys and updates an ML component. | 07.01 |
| Pipeline jungle | A pipeline of ad hoc scripts whose order and dependencies are not written down. | 07.08 |
| Pipeline parallelism | Placing consecutive layers on different GPUs and streaming micro-batches through them. | 10.06 |
| Placement | The place where an injection payload is planted, such as an inbox message, an event's notes or a contact's note. | 11.03 |
| Plan | A sequence of actions chosen before taking them. | 02.03 |
| Plan-then-execute | Writing every step first and then carrying them out. | 02.03 |
| Plausibility check | A soft check that flags data that looks wrong without being able to prove it wrong. | 08.06 |
| Point cloud | A set of 3D points measured by a sensor such as LiDAR, mostly empty space. | 09.03 |
| Pointwise judging | Scoring one output at a time. | 03.03 |
| Poisoning attack | Manipulation of training data to degrade a model or plant a back door. | 08.14 |
| Policy | The model being trained with reinforcement learning, viewed as the rule that chooses actions. | 10.11 |
| Policy enforcement | Checking every action an agent proposes against a written policy before the action runs. | 04.04 |
| Policy gate | Code that routes every tool call through a policy check with a default of deny. | 04.04 |
| Policy gradient | A reinforcement learning update that pushes up the probability of actions in proportion to their reward. | 10.11 |
| Pooling | A parameter-free layer that shrinks an activation map by taking the maximum or average of small blocks. | 09.02 |
| Population best response | The best strategy against the mix of players actually present. | 05.04 |
| Position bias | The tendency of a judge to favor the output listed first. | 03.03 |
| Position interpolation | Rescaling rotary positions so a model trained on short contexts accepts longer ones. | 09.08 |
| Post-training | Every training stage that comes after pre-training, which reuses the training loop with a new objective. | 01.03 |
| Post-training quantization | Converting a trained model to low precision without retraining it. | 09.04 |
| Power analysis | A calculation, made before running, of whether an evaluation is large enough to detect an effect of a given size. | 01.07 |
| PowerSGD | Sending each gradient matrix as two low-rank factors whose shape is the same on every node | 09.10 |
| PPO | Proximal policy optimization, an RL algorithm that improves a model in small clipped steps. | 01.03 |
| Pre-norm | Placing normalization on the branch that feeds a block, so the residual stream itself is untouched. | 10.03 |
| Pre-tokenization | Splitting text with a regular expression before merging, so merges do not cross word boundaries. | 10.01 |
| Pre-training | The first and largest training stage, which sets a model's parameters by next-token prediction on huge amounts of text. | 01.02 |
| Precision | Of the cases a model flagged, the share that were real. | 08.02 |
| Precision (of a measure) | How reliably a measurement gives the same value when repeated. | 07.03 |
| Prediction | The output a model computes for a new input. | 01.01 |
| Prediction accuracy | How well a model does on test data under a chosen measure; used instead of the ambiguous word "performance". | 08.02 |
| Predictive validity | Whether a measure tells you something about the outcome you care about. | 07.03 |
| Preference pair | A prompt with two answers and a mark saying which one is better. | 01.03 |
| Prefill | The phase that processes a whole prompt at once, limited by arithmetic. | 09.08 |
| Prefix (of a prompt) | The unchanged beginning of a prompt, which prompt caching can reuse. | 01.04 |
| Premise order | The order in which the facts of a problem are presented, which changes a model's answers. | 01.06 |
| Premise selection | Choosing, among the hundreds of thousands of facts in a library, the few that an automated prover is given for a goal | 06.04 |
| Pretrained model | A model that someone else has already trained, which you can use as it is or adapt by fine-tuning. | 07.02 |
| Privacy | The ability of a person to control what information about them is shared and how it is used. | 08.14 |
| Privacy policy | The public document describing what a system collects and how it may use and share it. | 08.14 |
| Privilege separation | Splitting a system into parts with different permissions, so that a compromised part cannot borrow the permissions of another. | 04.04 |
| Probabilistic gradient pruning | Updating only the parameters with the largest accumulated gradients, so that small noisy gradients are never computed | 09.11 |
| Process violation | A required tool call that is missing or out of order, or a forbidden tool call. | 03.02 |
| Profiling | Recording which kernels ran and for how long, to see where time goes. | 10.05 |
| Progent | Dawn Song's group's programmable privilege control for agents, with human-written baseline policies and task-specific contextual policies enforced on each action. | 04.04 |
| Program retry | An automatic repeat of a failed call after a transient error. | 02.02 |
| Progressive distillation | Training a student to replace two neighbouring teacher steps with one, halving the step count each round | 09.10 |
| Project GR00T | NVIDIA's effort, announced in March 2024, to build a generalist model as the brain of humanoid robots. | 06.02 |
| Projector | The small layer that maps a vision encoder's output into the language model's embedding space. | 10.12 |
| Prompt | The text sent to a model, which acts as the argument of a function. | 01.01 |
| Prompt (MCP primitive) | A reusable prompt template that a server offers and a user picks. | 05.06 |
| Prompt caching | Storing the processed form of a prompt prefix so that later requests with the same prefix are cheaper and faster to start. | 01.04 |
| Prompt design | Writing the instructions and one to ten examples that go into a prompt. | 05.07 |
| Prompt engineering | Writing, testing and versioning prompts as an engineering activity. | 01.05 |
| Prompt injection | An attempt to make an application follow someone else's instruction instead of the owner's or the user's. | 04.02 |
| Prompt leakage | A model revealing its system prompt or other text it was meant to keep. | 04.07 |
| Prompt management | Storing prompts with revision history and porting them across models. | 05.07 |
| Prompt sensitivity | The tendency of outputs to change when the wording, order or formatting of a prompt changes slightly. | 01.05 |
| Prompt tuning (also called: Prompt and prefix tuning) | Learning a vector to place in front of the prompt instead of writing examples. | 05.07 |
| Proof assistant | A program, also called an interactive theorem prover, that checks each step of a formal proof; Lean, Coq and Isabelle are examples. | 06.04 |
| Proof state | At one step of a formal proof, the list of what is known and what remains to be shown. | 06.04 |
| Propagation | The spread of injected or false content from one compromised agent to others. | 04.03 |
| Protected attribute | A feature that divides the demographic groups for which wrongful discrimination is a concern. | 08.13 |
| Provenance (lineage) | The record of where a value came from and who modified it. | 08.12 |
| Prover model | The model that proposes tactics for the current proof state. | 06.04 |
| Proxy (also called: Proxy measure) | A measure that stands in for something that cannot be observed directly. | 07.03 |
| Prudent technical debt | A shortcut chosen knowingly, recorded, and given a repayment plan. | 08.11 |
| Pruning | Setting weights to zero and leaving them out of storage or computation. | 09.03 |
| Pruning granularity | The unit a pruning method removes: a weight, a vector, a kernel, a channel or a layer. | 09.03 |
| Pruning ratio | The share of weights removed, chosen per layer. | 09.03 |
Q#
| Term | Definition | Defined in |
|---|---|---|
| QLoRA | LoRA applied on a base model stored in 4 bits. | 09.09 |
| Quality assurance | All activities that evaluate whether a system meets its requirements and its users' needs. | 08.01 |
| Quality attribute | A measurable quality of a component, such as latency, cost, accuracy or robustness. | 07.06 |
| Quality requirement | A requirement that says how well the software must do it, with a value and the conditions of measurement. | 07.03 |
| Quantization | Constraining values to a small discrete set so that each needs fewer bits. | 09.04 |
| Quantization error | The difference between a value and its quantized replacement. | 09.04 |
| Quantization granularity | How many weights share one scale: a whole tensor, a channel, or a small group. | 09.04 |
| Quantization-aware training | Fine-tuning a model with quantization simulated in the forward pass. | 09.04 |
| Quantum circuit | The three stages of a quantum program: initialize the qubits, apply gates, measure, with optional classical post-processing | 09.11 |
| Quantum supremacy | A computation that a quantum device performs better than the best classical computer, shown by Google a few years before Lecture 22 | 09.11 |
| Quantum utility | A computation that is hard to run classically but not yet useful, demonstrated by IBM | 09.11 |
| Qubit | A quantum bit, the unit of information in a quantum computer. | 09.11 |
| Qubit mapping | Choosing the physical qubits that carry a circuit and inserting SWAP gates where the device's topology requires them | 09.11 |
| Query decomposition | Splitting one question into sub-questions that can be answered separately. | 05.03 |
| Query, key and value | The three vectors a token produces in attention: its query is compared with every key, and the scores weight a sum of the values. | 10.03 |
R#
| Term | Definition | Defined in |
|---|---|---|
| RAG (retrieval-augmented generation) (also called: RAG stack) | Finding relevant passages and adding them to the prompt before the model answers. | 02.04 |
| Rank | In LoRA, the width of the two small matrices, which sets how many parameters are trained. | 09.09 |
| Rate limit | A service refusing calls beyond a quota. | 02.02 |
| RDMA | Direct memory access between machines that bypasses the CPU. | 10.06 |
| ReAct (also called: Interleaved reasoning, ReAct loop, ReAct-style loop) | A method in which an LLM interleaves thoughts, actions and observations in a loop. | 01.08 |
| Reactive policy | A policy that acts on its first choice without looking ahead. | 02.03 |
| Reasoning (in an agent) | Thinking in written steps, as in chain-of-thought, which adds no outside knowledge. | 01.08 |
| Reasoning agent | An agent that uses an LLM to reason in order to act. | 01.08 |
| Reasoning model | A model trained with RL on checkable problems so that it writes a long chain of thought before its final answer. | 01.03 |
| Recall | Of all the real positive cases, the share a model flagged. | 08.02 |
| Receptive field | The set of inputs that one output value depends on. | 09.02 |
| Red teaming | Playing the attacker against your own system, on purpose, before somebody else does. | 04.06 |
| Reduce-scatter | Summing tensors across ranks and dealing the result out in slices. | 10.06 |
| Reduction in error | The share of a baseline's mistake rate that a model removes. | 08.02 |
| Redundancy | Running several independent copies or kinds of a component so that one failure does not stop the system. | 07.04 |
| Reference window | An earlier period whose data is trusted and that a new batch is compared with. | 08.06 |
| Reference-based criterion | A rubric criterion that checks the output against known facts. | 03.03 |
| Reference-free criterion | A rubric criterion that can only judge the form of the output. | 03.03 |
| Reflection (also called: Reflexion) | Having the model critique a finished run and write a lesson for the next attempt. | 02.03 |
| Reflection step | A second prompt that checks an earlier draft and validates it. | 05.01 |
| Regression | A metric that got worse in a new version compared with the previous one. | 03.02 |
| Regression gate | A CI check that fails when the attack success rate rises above a baseline by more than a fixed allowance. | 04.06 |
| Regression test | A test that fails if a previously fixed problem returns. | 08.03 |
| Regression-based mixing | Trying data mixtures on small models, fitting mixture to loss, and choosing the best. | 10.10 |
| Regret matching | A self-play algorithm that gives more probability to actions that would have scored better, and converges faster than fictitious play. | 05.04 |
| Regularized best response | A best response that gives each action a probability in proportion to how well it scores, instead of always picking the single best action. | 05.04 |
| Reinforcement learning (RL) | Training by trial and error in which outputs that earn a higher reward are made more likely. | 01.03 |
| Rejection sampling | Generating many answers and keeping only those that pass a checker or ranker. | 01.03 |
| Reliability | The absence of defects: how often a system or component performs as specified. | 08.13 |
| ReLU | An activation function that sets negative values to zero. | 10.02 |
| Repeat contact | A customer returning about the same issue within a fixed time, a sign of a wrong answer that looked fine. | 03.07 |
| Replication | Storing the same data on several machines so that one can fail. | 07.09 |
| Repository map | A tree-shaped summary of a code base, built up front and placed in the context. | 02.07 |
| Representation control | Changing the model's behavior by pushing its internal vectors along a direction tied to a property. | 04.07 |
| Representation engineering | Reading and steering a model's behavior through its internal vectors, in a top-down way. | 04.07 |
| Representation reading | Detecting a property of the upcoming answer from the model's internal vectors. | 04.07 |
| Reproducibility | The ability to run the same version again and get the same result, or a result within a known margin. | 08.12 |
| ReProver | A theorem prover that retrieves useful known lemmas before proposing a tactic. | 06.04 |
| REQ (requirement) | A statement of a state you want in the world. | 07.03 |
| Requirements engineering | The work of finding, negotiating and writing down what a system must do and how well. | 07.03 |
| Residual stream | The vector a token carries from the first layer to the last, which blocks add to and never overwrite. | 10.03 |
| Resource (MCP primitive) | Data that a server exposes for the application to read. | 05.06 |
| Responsible Scaling Policy | A developer's public commitment that names capability thresholds and the measures it will meet before training or deploying a model above each one. | 04.09 |
| Retrieval | A search that puts matching documents into the prompt. | 01.04 |
| Retrieval hit rate | How often the retrieval step fetches a chunk that contains the answer. | 02.04 |
| Retrieval poisoning | Planting documents in a knowledge base so that they are retrieved and followed. | 04.03 |
| Reversible action | An action that can be undone, so that a wrong prediction behind it usually does minor or temporary harm. | 07.04 |
| Revision | A version of an artifact that replaces an earlier one in time. | 08.12 |
| Reward | A score given to a model's output during training, which the model is trained to maximize. | 01.03 |
| Reward hacking | Passing the grader without doing the task. | 02.08 |
| Reward model | A model trained on preference comparisons to score answers. | 01.03 |
| Risk register | A team's written list of risks, here kept in the six-question marginal-risk form. | 04.09 |
| RLHF | Reinforcement learning from human feedback: training a model to maximize a reward model trained on human preferences. | 01.03 |
| RLVR (reinforcement learning with verifiable rewards) | Reinforcement learning in which a program such as a test suite or answer check gives the reward. | 10.11 |
| RMSNorm | Normalization that only rescales by the root mean square, without subtracting a mean or adding a bias. | 10.03 |
| RoboCasa | A framework that generates many simulated kitchen scenes from which robot data can be produced. | 06.02 |
| Robustness | The stability of a model's output when its input changes a little. | 07.06 |
| Robustness check at inference time | Testing one prediction against the small input changes it should survive, so that a prediction that flips can be routed to a fallback or a person. | 08.13 |
| Rollback | Returning a system to its previous version. | 07.10 |
| Rollout | One run of a policy in an environment from start to finish. | 02.08 |
| Rollout level | One step of a staged release, such as shadow, staff only, a small share of traffic, or all users, which opens on evidence and closes on a named stop condition. | 11.01 |
| Roofline plot (also called: Roofline chart) | A graph of achieved FLOP/s against arithmetic intensity, rising until the chip saturates. | 10.02 |
| RoPE (also called: rotary position embedding, rotary position encoding) | A position method that rotates query and key vectors by an angle that depends on position, so attention scores depend on distance. | 10.03 |
| Round trip | The requirement that decoding the encoding of a text returns the original text. | 10.01 |
| Router | The small layer that scores each expert for each token in a mixture of experts. | 10.04 |
| Router prompt | A prompt that picks one option out of several and so sends a task down one path. | 05.01 |
| Router with specialists | A run-time pattern in which a router sends each task to one specialist with its own tools. | 05.05 |
| Routing | Sending each query to the model or agent best suited to it. | 05.05 |
| Rubric | A list of short, concrete criteria, each checkable by reading the output. | 03.03 |
| Rule of three | With zero successes in n independent runs, the true rate is below about 3/n with 95% confidence. | 04.06 |
| Rule of Two | A rule of thumb that an agent should have at most two of: processing untrusted input, access to sensitive systems or data, and the ability to change data or communicate externally. | 04.04 |
| Run-time collaboration | Several role-specialized agents exchanging messages while doing one task. | 05.05 |
| Runbook | A short page that says what to do when a specific alert fires. | 07.10 |
| Runtime protection | Any check that happens while an agent runs: input guards, output guards, information flow tracking, monitoring, and a human in the loop. | 04.05 |
S#
| Term | Definition | Defined in |
|---|---|---|
| Safety | The prevention of harm from system failure, treated as a property of the whole system rather than of the model. | 08.13 |
| Safety engineering | The field that developed FMEA, fault trees and HAZOP, long standard in aviation, medical devices and nuclear plants, and now applied to ordinary products that contain a model. | 07.04 |
| Salient weights | The few weight channels that matter most, identified by the activation distribution. | 09.08 |
| Sampler | The part of an RL system that generates rollouts. | 02.08 |
| Sampling | Choosing the next token according to the model's probability distribution. | 01.04 |
| Sampling noise | Variation in results that comes from the random choice of each sampled token. | 01.07 |
| Sandbox (also called: Sandboxing) | An isolated environment with its own file system, processes, network rules and resource limits. | 05.06 |
| Sandwich prevention | Repeating the instruction after the data, so that the nearest text before the answer is yours. | 04.04 |
| Sanitizer | A tool that instruments a running program and crashes it when it does something forbidden. | 04.08 |
| Saturation | The state in which every system scores near the top of a benchmark, so it no longer separates them. | 03.04 |
| Scalability | The ability of a system to handle more work when given more resources. | 07.09 |
| Scale | In linear quantization, the real size of one integer step. | 09.04 |
| Scaling law (also called: Scaling laws) | A simple formula that predicts loss from a resource such as data, parameters or compute, fitted on small runs and extrapolated. | 10.07 |
| Schema (data) | The expected structure of data: fields, types, allowed values, and constraints. | 08.06 |
| Schema drift | A change in the structure of incoming data, such as a renamed column. | 08.06 |
| Search space | The set of candidate architectures a search may choose from. | 09.05 |
| Search strategy | The rule for picking the next candidate, such as grid, random, reinforcement learning or evolution. | 09.05 |
| Searchformer | A small transformer trained to output an A* search trace before the plan. | 02.03 |
| Security mindset | The habit of designing as if any component could be compromised, any user could misbehave and any input could be malicious, with reduced risk rather than perfect security as the goal. | 08.14 |
| Seed (also called: Random seed) | A number that fixes the random choices of a run, so that a training run or an evaluation attempt can be repeated exactly. | 03.02 |
| Self-consistency (also called: Consensus) | Sampling several complete answers and returning the most frequent final answer. | 01.06 |
| Self-correction | Asking a model to review and revise its own answer, which brings no net gain without an external check. | 01.06 |
| Self-debugging | Improving generated code with feedback from running it and from unit tests. | 01.06 |
| Self-distillation | Distillation in which the student has the same architecture and size as its teacher. | 09.06 |
| Self-play | Training in which an agent improves by playing against copies of itself. | 05.04 |
| Self-preference | The tendency of a model to rate its own output higher. | 03.03 |
| Self-regulation | An organization's own principles and policies, which no one outside that organization enforces. | 08.12 |
| Self-rewarding language model | A model that scores its own answers and trains on those scores in a loop. | 01.03 |
| Semantic noise | Variation in results that comes from which questions were in an evaluation set and how they were worded. | 01.07 |
| Sensemaking | Reading large, complex or uncertain contexts. | 02.04 |
| Sensitivity analysis | Measuring how much accuracy each layer loses at several pruning ratios. | 09.03 |
| Sequence parallelism | Splitting the tokens of a sequence across machines. | 10.06 |
| Sequential chat | A chat pattern in which the result of one conversation becomes the input of the next. | 05.02 |
| Sequential decomposition | A chain of models that each perform one step of a task, often with plain code between them. | 07.07 |
| Serialized model | A model stored as a file. | 07.07 |
| Server (MCP) | A small program that exposes tools, resources and prompts to a host. | 05.06 |
| Server-side deployment | Running a model on servers that the provider controls. | 07.07 |
| Server-side request forgery | An attack that tricks a system into fetching a URL the attacker chose. | 04.03 |
| Serverless computing | A cloud service that runs code only when a request arrives and bills per request. | 07.07 |
| Service-level agreement (SLA) | A service-level objective written into a contract, with consequences for missing it. | 07.10 |
| Service-level objective (SLO) | A target for an operational quality of the system or of one component. | 07.10 |
| Serving form | The way a model is delivered: library, service, batch job or precomputed table. | 07.07 |
| Set and forget | The antipattern of training a model once and never updating it. | 07.08 |
| Set-of-Mark | A screenshot with numbered labels drawn on elements taken from the accessibility tree. | 06.01 |
| Shadow release (also called: Shadow execution) | Running a new version on live traffic while users keep seeing the old one. | 08.09 |
| Sharding | Splitting a tensor into slices that live on different GPUs. | 10.06 |
| Shared expert | An expert that every token uses, in addition to the routed experts. | 10.04 |
| Shared history | The list of messages of a conversation; it can be printed, replayed and tested. | 05.02 |
| Shared memory | Fast memory inside one streaming multiprocessor that the threads of a thread block share, used to reuse a value loaded from global memory. | 10.05 |
| Should criterion | A quality preference asserted as a pass rate over many cases. | 08.05 |
| Side effect | A change a tool makes outside its own run, such as sending an email, which a retry may repeat. | 02.02 |
| SigLIP | A contrastive image-text model that scores each pair on its own instead of across the batch. | 10.12 |
| Sign test | A test that asks how often one model wins on the questions where two models disagree. | 01.07 |
| Signal-to-noise ratio (also called: Signal to noise) | A benchmark's real improvement signal divided by its noise, with the gain from doubling model size as the signal in Wang's lecture. | 01.07 |
| Signature (DSPy) | A declaration of the input fields and the output field of one step. | 02.05 |
| Sim to real | Moving a policy trained in simulation onto a physical robot. | 06.02 |
| SIMD | Single instruction, multiple data: one instruction applied to several values at once. | 09.07 |
| Similarity-based explanation | An explanation of a prediction that shows the nearest labeled training examples. | 08.13 |
| Simulated workspace | A fake environment, such as a calendar and a to-do list loaded from a file, that an agent can change only through its tools and that resets to the same state. | 11.02 |
| Simulator (also called: Environment simulator) | A program that imitates an environment so that trials are cheap. | 06.02 |
| Single control | A setting in which the agent operates every tool and the user only talks. | 03.04 |
| Skill library | Voyager's store of learned behaviors as executable code, each retrieved by its description. | 06.02 |
| Slave | In Privtrans, the unprivileged part of a program that does the risky work with no permissions. | 04.04 |
| Slice | A subset of evaluation or production data selected by a slicing function and reported with its size. | 08.03 |
| Slice intersection | A slice made from examples that belong to two or more other slices at once. | 08.03 |
| Slicing function | A rule that decides whether an example belongs to a slice. | 08.03 |
| SmoothQuant | A per-channel rescaling that moves quantization difficulty from activations into weights. | 09.04 |
| SMT solver | A program that decides whether a logical formula follows from given facts. | 06.04 |
| Softmax | The function that turns scores into probabilities that add up to 1. | 01.02 |
| Software architecture | The early design decisions that matter most for a system's quality requirements and are expensive to reverse. | 07.05 |
| Software vulnerability | A bug with security consequences, such as an out-of-bounds write or SQL injection. | 04.08 |
| Solution length (also called: rollout length) | The number of tokens a model produces to finish a task. | 02.08 |
| Solver | A program that returns a provably valid or optimal answer to a problem written in formal notation. | 02.03 |
| Sound self-play | A self-play method that provably converges to a minimax equilibrium. | 05.04 |
| Sources file | A personal list of primary sources, lecturers and benchmarks, with the date each was last checked. | 11.08 |
| Sparse attention | Attention in which each query reads only a selected subset of earlier tokens. | 10.04 |
| Sparse back-propagation | Backpropagating only into selected layers and channels, so fewer activations must be stored. | 09.09 |
| Sparsity | The fraction of a model's weights that are zero. | 09.03 |
| SPEC (specification of the software) | A statement of what the software must do. | 07.03 |
| Special token | A reserved string such as an end-of-text marker that the tokenizer must keep intact. | 10.01 |
| Specification | A description of what a component must do, which other developers rely on; ML components lack one. | 07.01 |
| Speculative decoding (also called: Speculative sampling) | A small model drafts several tokens and the large model checks them in one pass, with output distributed exactly as the large model alone. | 10.08 |
| Spotlighting | Marking where untrusted data begins and ends in a prompt so that the model can tell it from instructions. | 04.04 |
| SPSA | Simultaneous perturbation stochastic approximation, which perturbs all parameters at once and estimates every gradient from two evaluations | 09.11 |
| SQL injection | An attack in which attacker-chosen text becomes part of a database query; in an agent the text can arrive through model output. | 04.01 |
| SRAM | The small, fast working memory that holds activations at run time and loses its content without power. | 09.07 |
| Stack trace | The report a program prints when it crashes, written for developers rather than for the model. | 02.02 |
| Stakeholder | Any person or organization with an interest in the system or affected by it. | 07.03 |
| Standard error | The typical distance between an estimate and the true value; for pass-or-fail scores the square root of p(1 − p)/n. | 03.05 |
| State | The situation an agent is in at one moment. | 02.03 |
| State vector | The list of complex amplitudes that describes a quantum system; it doubles in length with every qubit | 09.11 |
| State-space model | A layer that keeps a fixed-size state updated at every step, such as Mamba-2. | 10.04 |
| StateFlow | A group chat that encodes a finite state machine: one agent per state, transitions fixed in advance. | 05.02 |
| Stateless | Holding no memory between requests, as a plain RAG pipeline does. | 05.03 |
| Static analysis | Inspecting code for problems without running it. | 02.07 |
| Statistical test | A calculation of how unlikely a result is if only chance were at work. | 08.03 |
| Statistically significant | Unlikely to be caused by sampling noise alone; in practice larger than about two standard errors of the difference. | 03.05 |
| Stdio transport | Carrying protocol messages through a local program's standard input and output. | 05.06 |
| Stereotype bias | A model tying a group to an attribute, such as one group getting "leadership" and another "abrasive". | 04.07 |
| Stop condition | An event that ends the agent loop: a final answer, a step limit, or a budget or timeout. | 02.01 |
| Stop condition (rollout) | A named event that sends a system back one rollout level. | 04.09 |
| Stop reason | A field in an API response that says why generation stopped. | 01.04 |
| Stop sequence | A string that makes a model stop generating as soon as it writes it. | 01.04 |
| Straight-through estimator | Passing the gradient through a rounding step as if it were the identity function. | 09.04 |
| Strategy | A rule, possibly random, that picks actions in a game. | 05.04 |
| Stream processing | Processing events from a queue as they arrive. | 07.09 |
| Streaming | Sending a model's output tokens to the caller as they are produced. | 01.04 |
| Streaming multiprocessor (SM) | One of the many processing units inside a GPU, each with its own small fast memory. | 10.05 |
| Streetlight effect | Measuring what is easy to observe instead of what matters. | 07.03 |
| Stride | How far a convolution's window moves per step. | 09.02 |
| Stringly-typed | Said of a system whose essential design is entangled with incidental prompt wording. | 02.05 |
| Structural pruning | Removing whole neurons, channels or layers so that the matrices shrink. | 09.03 |
| Structured index | A network of concepts and their links, stored beside the embeddings, that lets retrieval follow associations. | 02.04 |
| Structured output | Model output constrained to a format such as JSON that code can parse. | 01.04 |
| Stub (also called: Scripted model, stub model) | A deterministic fake that stands in for a real system behind the same interface. | 03.02 |
| Super-population | The infinite set of questions that an evaluation's questions were drawn from. | 03.05 |
| Superposition | A weighted sum of the 0 state and the 1 state, with two complex numbers as weights | 09.11 |
| Supervised fine-tuning (SFT) | Continuing a model's training with the next-token loss on good answers to prompts. | 01.03 |
| Supervised learning | Learning from pairs of input and label. | 01.01 |
| Supply chain attack | An attack in which something imported, such as a model file, a package, or a data set, was already malicious. | 04.01 |
| SurCo | A method that learns a simple stand-in for a hard optimization objective and solves it with an existing solver. | 02.03 |
| SWE-bench | A benchmark of real GitHub issues, scored by the tests added with each fix. | 02.07 |
| SwiGLU | A gated MLP that uses the Swish function. | 10.03 |
| Symbolic component | Ordinary code in a hybrid system, written and parsed by rules. | 04.01 |
| Symmetric quantization | Linear quantization with a zero point of zero, used for weights centered on zero. | 09.04 |
| Synthetic data | Training text written or rephrased by a model. | 10.10 |
| System | All components working together toward one goal, inside an environment. | 07.01 |
| System 1 thinking | Fast, associative processing; in an LLM, the transformer itself producing an answer directly. | 01.06 |
| System 2 thinking | Slow, deliberate processing; in an LLM, procedures such as chain-of-thought or search built on top. | 01.06 |
| System failure | A violation of a system requirement in the real world. | 07.04 |
| System of record | The database that holds the real state of a business, such as whether an order was refunded. | 03.07 |
| System prompt | A separate input field for instructions that apply to a whole conversation. | 01.04 |
| System test | A test that the whole product meets its requirements end to end, which verifies that the system was built right. | 08.08 |
| System-level measure | An online measure of the success of the whole product, such as revenue or retention, which is easy to collect and slow to move. | 08.09 |
T#
| Term | Definition | Defined in |
|---|---|---|
| T-shaped (also called: T-shaped person) | Deep expertise in one specialty with working knowledge of the neighboring ones. | 07.01 |
| Tacit knowledge | What a designer knows from personal experience and has not written down | 07.05 |
| Tactic | One small formal proof step, such as applying a known lemma. | 06.04 |
| Task | One item of a dataset: an input plus what an acceptable result looks like. | 03.02 |
| Task agent | An agent that carries out small office tasks such as scheduling a meeting or adding a to-do, in a simulated workspace. | 11.02 |
| Task decomposition | Splitting a goal into sub-goals inside a plan. | 02.03 |
| Task validity | The property that success at a task demonstrates the capability you meant to measure. | 03.01 |
| Teacher and student (also called: Student, Teacher) | The large fixed model that provides targets, and the small model that learns from them. | 09.06 |
| Technical debt | The future cost of a shortcut taken today. | 08.11 |
| Telemetry | The log lines, counts and measurements a system emits about itself. | 07.10 |
| Temperature | A sampling parameter that rescales token probabilities: lower values make output more predictable, higher values more varied. | 01.04 |
| Temporal Shift Module | Moving part of a video network's channels between frames to add temporal modeling with no multiplies. | 09.10 |
| Tensor | A block of numbers with a shape; the form of all data, parameters and intermediate results in training. | 10.02 |
| Tensor core | One of the matrix-multiply units on recent NVIDIA GPUs. | 09.03 |
| Tensor parallelism | Splitting each weight matrix across GPUs, with every GPU handling every token. | 10.06 |
| Test-time RL | Training the prover on one target problem by solving easier generated variants and learning from each. | 06.04 |
| Test-time sampling | Running one agent several times in parallel and keeping one result. | 05.05 |
| Testing | Executing software with selected inputs in a controlled setting to check that it behaves as expected. | 08.01 |
| Testing in production | Evaluating a running system in real conditions on real users and data. | 08.09 |
| Text agent | An agent whose actions and observations are both in language. | 01.08 |
| The World and the Machine | The distinction between statements about the real world and statements about the software. | 07.03 |
| Theory of mind | Reasoning about what other agents believe and intend. | 05.04 |
| Thread block | A group of GPU threads that share memory and run on one SM. | 10.05 |
| Threat model | A written answer to three questions about a system before defenses are built: what must be protected, who would attack it, and where their input can enter. | 04.01 |
| Threat modeling | A structured review of a system's design for security threats, in five stages. | 08.14 |
| Threshold | The score above which a model's output is treated as the positive class. | 08.02 |
| Throughput | The number of tasks a system finishes per unit of time, such as requests, tokens or video frames per second. | 09.02 |
| Time per output token | The delay between consecutive generated tokens. | 09.08 |
| Time to first token | The delay before the first output token appears, spent mostly on processing the prompt. | 01.04 |
| Time-boxed spike | A fixed-length experiment that answers whether a problem is tractable. | 08.10 |
| TinyEngine | The inference library that executes a searched model efficiently on a microcontroller. | 09.07 |
| TinyML | Machine learning on devices with kilobytes of memory and milliwatt power budgets, typically microcontrollers. | 09.07 |
| TinyNAS | A two-stage architecture search that first scales the search space to a tiny memory budget, then searches inside it. | 09.07 |
| Token | A short chunk of text from a fixed vocabulary that a model reads or writes as one unit. | 01.02 |
| Tokenizer | The program that cuts text into token IDs and converts tokens back to text. | 01.02 |
| Tokenizer-free model | A model that reads raw bytes without a separate tokenizer; not yet proven at frontier scale as of the lecture. | 10.01 |
| Tool | An ordinary function with a name and a description that the program runs on the model's behalf. | 02.01 |
| Tool (MCP primitive) | A function that a server exposes and a model may call. | 05.06 |
| Tool call | The model's structured request to run one tool with given arguments. | 02.01 |
| Tool contract | The name, description and argument schema that the model sees for one tool. | 02.02 |
| Tool generalization | Using tools the model has never seen by following their descriptions. | 02.08 |
| Tool poisoning | Hiding an instruction in a tool's description, which the model reads when it decides which tool to call. | 04.03 |
| Top-p (nucleus sampling) | A sampling parameter that keeps only the smallest set of tokens whose probabilities add up to p. | 01.04 |
| TPU | Google's machine-learning accelerator, structured like a GPU with a larger matrix-multiply unit. | 10.05 |
| Trace | The recorded trajectory of one production attempt, with versions, cost and outcome. | 03.07 |
| Trainer | The part of an RL system that updates the weights. | 02.08 |
| Training | The optimization loop that changes parameters to lower the loss on the training data. | 01.01 |
| Training data | The examples a model learns from. | 01.01 |
| Training data extraction attack | An attack that makes a model print a piece of its training data. | 04.07 |
| Training latency | The time needed to train or retrain a model. | 07.06 |
| Training loss and test loss | The model's error on the data it learned from, and on data it never saw. | 04.07 |
| Training set | The part of the data that the training loop learns from. | 01.01 |
| Training-serving skew (also called: Training–serving skew) | A mismatch between training and serving: the code that prepares inputs differs, or the production data differs from the training data. | 07.07 |
| Training-time multi-agent | Using a population of agents to train or select one agent. | 05.05 |
| Trajectory (also called: Transcript) | The ordered record of one attempt: every message, tool call and result. | 03.01 |
| Trajectory evaluation | Grading whether the steps an agent took were allowed. | 03.04 |
| Transformer | The network architecture behind LLMs, built from stacked layers that use attention. | 01.02 |
| Transparency | That the people who depend on a system can find out what it does, where it fails, and what was tested. | 04.07 |
| Transport | The channel that carries protocol messages between client and server. | 05.06 |
| Treatment group | The users who see the new version in an experiment. | 08.09 |
| Tree search | Exploring several next steps at each point of a solution, judging partial solutions and backtracking. | 01.06 |
| Tree search (inference-time) | Branching in the middle of a run and using a judge to rate intermediate states before continuing. | 06.01 |
| Tree-of-thought | Tree search applied to reasoning steps written by an LLM. | 01.06 |
| Triton | A language in which a kernel is written at the level of what each thread block does. | 10.05 |
| Trust boundary | A line where data crosses from one party to another; in an agent every tool result and fetched page crosses one. | 04.01 |
| Turn limit | A cap on how many messages a conversation may contain before the runtime stops it. | 05.02 |
| Two-agent chat | A chat pattern in which two agents alternate until a stop condition holds. | 05.02 |
| Type checker | A static analysis, as in Java, that can guarantee its one kind of mistake is absent when it reports nothing, at the cost of false warnings. | 08.01 |
U#
| Term | Definition | Defined in |
|---|---|---|
| Ultimatum game | A game in which one player splits a sum and the other accepts the split or leaves both with nothing. | 05.04 |
| Unconstrained flow | A design in which the model chooses the next step among the tools it was given. | 05.01 |
| Undeclared consumer | A script that depends on data whose origin nobody declared. | 07.08 |
| Unicorn | A developer said to combine expertise in modeling, software engineering, product and the domain, whom Kästner considers rare or nonexistent. | 08.11 |
| Unintended memorization | Memorization of training data that is irrelevant to what the model was meant to learn. | 04.07 |
| Unit test | A test of one function or component in isolation. | 08.01 |
| Universal self-consistency | Letting a model choose which of several free-form answers is most consistent with the others. | 01.06 |
| Unpaired comparison | A comparison of two runs that were made on different questions. | 01.07 |
| Upcycling | Initializing a mixture of experts from a trained dense model. | 10.04 |
| User proxy agent | An agent that speaks for the user: it carries the request in and may run code or ask the user. | 05.02 |
| User simulator | A model that plays the customer from a short instruction. | 03.04 |
| Utility | The task success rate on benign tasks, reported beside the attack success rate. | 04.06 |
V#
| Term | Definition | Defined in |
|---|---|---|
| V-model | A planning practice that pairs each design activity with the test activity that will check it. | 08.01 |
| Validation | Checking that a system meets the users' needs: did we build the right system? | 08.01 |
| Validation set (dev set) (also called: Validation data) | The part of the data used to make choices while developing. | 01.01 |
| Value function | A model that estimates how close a run is to success; tree search uses it to score intermediate states. | 06.01 |
| Value model | A second network, as large as the policy, that estimates the reward to come at each token; PPO needs it and GRPO drops it. | 10.11 |
| Variant | A bug similar to one already found, in another place in the same project. | 04.08 |
| Variant (A/B test) | A version of an artifact that exists side by side with another, such as the two models of an A/B test. | 08.12 |
| Variant analysis | Searching a project for bugs similar to one that was just fixed. | 04.08 |
| Vector | An ordered list of numbers. | 01.02 |
| Vector database | A store that finds the vectors nearest to a query's embedding. | 05.03 |
| Vector search | Finding the stored chunks whose embeddings are closest to the embedding of a question. | 02.04 |
| Velocity, validation, versioning | Three goals of MLOps practice named in an interview study: fast iteration, automated checking with quick feedback, and keeping versions for recovery. | 07.10 |
| Verbosity bias | The tendency of a judge to score longer outputs higher when they add nothing. | 03.03 |
| Verifiable reward | A reward that a program computes by checking an answer, such as a string match or a passing unit test. | 01.03 |
| Verification | Checking that an implementation meets its specification: did we build the software right? | 08.01 |
| Verifier | A program or rubric that judges whether a model's output or trajectory succeeded. | 01.03 |
| Versioning | Giving every input to a result an identifier: code, prompts, data, models, and settings. | 08.12 |
| Virtual Lab | An open-source platform in which a PI agent assembles specialist agents that meet to do research. | 06.03 |
| Virtual machine (VM) | A simulated computer, used so that a ruined state costs one reset. | 06.01 |
| Vision transformer (also called: ViT) | A transformer applied to an image cut into patches. | 09.10 |
| Vision-language model (VLM) | A language model that also accepts images. | 06.01 |
| VisualWebArena | A 2024 extension of WebArena with tasks that need images. | 06.01 |
| Vocabulary | The fixed list of all tokens a model can use. | 01.02 |
| Vocabulary size | The number of distinct tokens a model can read or produce. | 10.01 |
| Voyager | An open-ended agent that plays Minecraft with no fixed goal, saving each learned behavior as code in a skill library. | 06.02 |
| VQ-VAE | A network that compresses an image into a list of discrete codes and reconstructs it. | 10.12 |
W#
| Term | Definition | Defined in |
|---|---|---|
| W4A16 | Shorthand for 4-bit weights with 16-bit activations. | 09.08 |
| Warp | A group of 32 threads that execute the same instruction at the same time. | 10.05 |
| Wave quantization | Idle SMs in the last round of thread-block scheduling when blocks do not divide evenly among SMs. | 10.05 |
| Weak supervision | Producing training labels with rules instead of hand labeling. | 08.03 |
| Web agent | An agent that uses software through its interface, as a person does. | 05.06 |
| WebArena | A 2023 benchmark of self-hosted clones of a shopping site, Reddit and GitLab, scored by execution. | 06.01 |
| WebShop | A shopping environment built on 1.16 million Amazon products, used to evaluate web agents. | 01.08 |
| Weight decay | A penalty that pulls weights toward zero during training. | 10.03 |
| Weight-only quantization | Quantizing the weights while activations stay in higher precision, suited to one-user serving. | 09.08 |
| Wet lab | Experimental work with real reagents and materials. | 06.03 |
| White agent | In Berkeley's course project, a participant agent: the one being tested. | 03.08 |
| White-box attack | An attack that uses access to the model's internals, for example to follow gradients. | 04.02 |
| Window attention | Attention restricted to a local window of patches, with linear instead of quadratic cost. | 09.10 |
| Winograd convolution | A transformation that computes a 3 × 3 convolution with fewer multiplications. | 09.07 |
| Workflow | A set of LLM calls connected by code that decides their order. | 01.08 |
| Workflow (LlamaIndex) | Event-driven steps that pass messages, where a step can be plain Python or a model call. | 05.03 |
| Workflow-to-agent spectrum | The scale from a single prompt through a fixed workflow and a bounded loop to an agent and a multi-agent system, measured by who decides the next step. | 01.08 |
| Working memory | The part of memory that lives in the context window and is paid for at every step. | 02.01 |
| World model | A model that predicts the next state from a state and an action. | 02.03 |
| Wrapper | An application that is only a prompt and one model call behind an API. | 02.06 |
| Wrongful discrimination | Use of a protected attribute in a decision that is not justified in that domain, such as a customer's sex in a mortgage decision. | 08.13 |
| WSD schedule | A learning-rate schedule with warmup, stable and decay phases, which lets checkpoints be reused. | 10.07 |
Z#
| Term | Definition | Defined in |
|---|---|---|
| z-score | A gap divided by its standard error. | 03.05 |
| ZeRO | Data parallelism with the optimizer state, gradients and, in stage 3, parameters sharded across GPUs. | 10.06 |
| Zero point | In linear quantization, the integer that stands for the real number zero. | 09.04 |
| Zero-day | A vulnerability that was previously unknown to the software's authors. | 04.08 |
| Zero-shot CoT | Triggering reasoning steps with an instruction only, such as asking the model to think step by step. | 01.05 |
| Zero-shot prompting (also called: Zero-shot) | Giving the instruction only, with no examples. | 01.05 |
| Zero-sum | Describes a game in which one player's gain is exactly the other's loss. | 05.04 |
Numbers#
| Term | Definition | Defined in |
|---|---|---|
| 2:4 sparsity | A fixed pattern with at most two non-zero weights in every block of four, which supporting hardware can skip. | 09.03 |
| 90th percentile | The value that 9 of 10 attempts stay below; a tail measure that reports slow cases a mean hides. | 03.07 |
| 95% confidence interval (also called: 95% interval) | A range built so that it would contain the true value in 95% of repeated evaluations. | 03.05 |