REFERENCE NOTEBOOK
AI engineering glossary
Find the exact meaning, a worked number, the common mix-up, and a diagram for 100 terms used across modern AI systems.
100 terms
A
An A/B test randomly assigns traffic between variants to estimate a causal effect.
AccuracyEvaluationAccuracy is the fraction of predictions that are correct.
Activation functionDeep learningAn activation function transforms a neuron’s pre-activation value.
Agent harnessAgentsAn agent harness is the runtime that supplies tools, state, policy, and verification around a model.
Agent loopAgentsAn agent loop repeatedly observes state, chooses an action, and evaluates the result.
Agent memoryAgentsAgent memory preserves useful state beyond the model’s immediate context.
Agent2Agent protocolProtocolsA2A defines communication patterns for agents that delegate and exchange task state.
AI agentAgentsAn AI agent selects and executes actions toward a goal using observed state.
AI red teamingSafety and MLOpsAI red teaming systematically searches for harmful, insecure, or unreliable model behavior.
Artificial neuronDeep learningAn artificial neuron applies a weighted sum followed by an activation function.
AutoencoderDeep learningAn autoencoder learns to reconstruct an input through a constrained latent representation.
B
Backpropagation applies the chain rule to compute gradients through a computation graph.
Batch sizeTrainingBatch size is the number of examples used to estimate one gradient update.
BenchmarkEvaluationA benchmark is a specified dataset, protocol, and metric used for comparison.
Bias-variance tradeoffFundamentalsThe bias-variance tradeoff balances systematic underfitting against sensitivity to training data.
BM25RAGBM25 is a sparse ranking function based on term frequency, document frequency, and length normalization.
C
Calibration measures whether predicted probabilities match observed frequencies.
Canary deploymentSafety and MLOpsA canary deployment sends a small share of production traffic to a new version before wider rollout.
Causal maskLLMsA causal mask prevents a decoder token from attending to future tokens.
ChunkingRAGChunking divides source material into units that can be indexed and retrieved.
ClassificationFundamentalsClassification predicts one or more discrete categories.
Confusion matrixEvaluationA confusion matrix counts predictions by actual and predicted class.
Context windowLLMsA context window is the maximum token span available to one model invocation.
Continuous batchingInferenceContinuous batching admits and removes requests as individual decoding slots become available.
ConvolutionDeep learningA convolution slides a shared filter across local regions of an input.
Cosine similarityRAGCosine similarity measures the angle between two vectors.
D
Data poisoning manipulates training or retrieval data to change system behavior.
Decode phaseInferenceDecode is the autoregressive phase that generates one new token per active sequence per iteration.
Dense retrievalRAGDense retrieval ranks items using learned vector representations.
DropoutDeep learningDropout randomly masks activations during training to reduce co-adaptation.
E
F
F1 is the harmonic mean of precision and recall.
FeatureFundamentalsA feature is a measurable input supplied to a model.
Feature storeSafety and MLOpsA feature store manages reusable feature definitions and values for training and serving.
Fine-tuningTrainingFine-tuning continues training a pretrained model on a narrower objective or dataset.
G
Gradient descent updates parameters in the direction that reduces loss.
GroundingRAGGrounding ties a generated claim to supplied evidence or an authoritative source.
gRPCProtocolsgRPC is a typed remote procedure call system commonly carried over HTTP/2.
GuardrailSafety and MLOpsA guardrail is a control that constrains inputs, outputs, or actions around a model.
H
A hallucination is a fluent model output that is unsupported or false in the relevant context.
HTTPProtocolsHTTP is a request-response application protocol for transferring representations and commands.
Human in the loopAgentsHuman in the loop places explicit human judgment inside an automated process.
Hybrid searchRAGHybrid search combines sparse lexical ranking with dense semantic ranking.
HyperparameterFundamentalsA hyperparameter is a setting that controls model structure or training.
I
J
K
L
A label is the target value a supervised model learns to predict.
Learning rateTrainingThe learning rate scales each optimizer update.
LoRATrainingLoRA learns low-rank update matrices while keeping the original model weights frozen.
Loss functionTrainingA loss function converts prediction error into a scalar training objective.
M
MCP standardizes how model applications discover and invoke external tools and resources.
Model driftEvaluationModel drift is a change over time that degrades or alters model behavior.
Model monitoringSafety and MLOpsModel monitoring measures deployed model inputs, outputs, quality, latency, and failures over time.
Model registrySafety and MLOpsA model registry records versioned model artifacts and their lifecycle metadata.
Model servingInferenceModel serving exposes a trained model through a reliable runtime interface.
Multi-agent systemAgentsA multi-agent system coordinates multiple decision-making agents around a task.
Multi-head attentionLLMsMulti-head attention runs several learned attention projections in parallel.
N
O
P
A parameter is a learned numeric value inside a model.
Planning agentAgentsA planning agent decomposes a goal into coordinated steps before or during execution.
PrecisionEvaluationPrecision is the fraction of predicted positives that are truly positive.
PrefillInferencePrefill processes all prompt tokens to initialize attention state before decoding.
Prompt injectionSafety and MLOpsPrompt injection is untrusted content that attempts to redirect a model’s instructions or tool use.
Q
R
A rate limit bounds how many operations a caller may perform in a time interval.
ReAct patternAgentsReAct alternates model reasoning, actions, and observations in a task loop.
RecallEvaluationRecall is the fraction of actual positives that the system finds.
Recall@kRAGRecall@k is the fraction of relevant items found among the top k results.
Receptive fieldDeep learningA receptive field is the input region that can influence one feature value.
RegressionFundamentalsRegression predicts a continuous numeric quantity.
RegularizationTrainingRegularization changes training to discourage brittle or overly complex solutions.
RerankerRAGA reranker rescoring a small candidate set with a more precise relevance model.
Residual connectionDeep learningA residual connection adds a block’s input to its transformed output.
RESTProtocolsREST is an architectural style that models operations around resources and uniform interfaces.
Retrieval-augmented generationRAGRAG retrieves external evidence and places it in the generation context.
RLHFTrainingReinforcement learning from human feedback optimizes a model using preferences derived from people.
ROC AUCEvaluationROC AUC measures ranking quality across classification thresholds using true-positive and false-positive rates.
S
Self-attention mixes information among positions in the same sequence.
Server-sent eventsProtocolsServer-sent events stream text events from an HTTP server to a client.
Speculative decodingInferenceSpeculative decoding uses a cheaper model to propose tokens that a target model verifies in parallel.
Supervised learningFundamentalsSupervised learning fits a mapping from inputs to known target outputs.
Supervisor agentAgentsA supervisor agent routes work, monitors progress, and decides when to stop or escalate.
T
Temperature rescales logits before sampling to control distribution sharpness.
Tensor parallelismInferenceTensor parallelism splits individual tensor operations across devices.
Time to first tokenInferenceTime to first token measures latency from request arrival until the first generated token is available.
TokenLLMsA token is one unit in the sequence processed by a language model.
TokenizationLLMsTokenization converts text into a sequence of vocabulary identifiers.
Tokens per secondInferenceTokens per second measures generation throughput over time.
Tool callingAgentsTool calling lets a model request a typed external operation.
TransformerLLMsA transformer is a sequence architecture built around attention and position-wise feed-forward blocks.