Glossary
109 terms from machine learning, AI systems, data science, mathematics and computer science, each explained in plain language first and precisely second.
Every entry has an intuition, a technical definition, an example and the common ways the term is misunderstood. Longer explanations are in the journal.
109 terms, A to Z
A
- AccuracyAccuracy is the fraction of predictions a model gets correct.
- Activation FunctionAlso: nonlinearityAn activation function is a nonlinear operation applied inside a neural network layer.
- Active ParametersActive parameters are the subset of a model's parameters used for a specific input, token, or inference step.
- AgentAlso: AI agentAn AI agent is a system that uses a model to choose actions, call tools, and make progress toward a goal over multiple steps.
- AlgorithmAn algorithm is a precise procedure for solving a problem or computing a result.
- AttentionAlso: attention mechanismAttention is a neural network mechanism that lets a model decide which parts of an input are most relevant when producing a representation or output.
- AUC ROCAlso: ROC AUC, area under the ROC curveAUC ROC summarizes how well a classifier ranks positive examples above negative examples across thresholds.
B
- BackpropagationAlso: backpropBackpropagation is the algorithm used to compute gradients through a neural network efficiently.
- Batch NormalizationAlso: batch normBatch normalization normalizes layer activations using batch statistics to make training more stable.
- Bias-Variance TradeoffAlso: bias variance tradeoffThe bias-variance tradeoff describes the balance between models that are too simple to capture structure and models that are too sensitive to training data noise.
- Binary ClassificationBinary classification is a prediction task where each example belongs to one of two classes.
- Byzantine Fault ToleranceAlso: BFTByzantine fault tolerance is the ability of a distributed system to keep working even when some nodes behave arbitrarily or maliciously.
C
- CacheA cache stores recently or frequently used data in a faster location so future access is quicker.
- Cache CoherenceCache coherence is the property that multiple caches maintain a consistent view of shared data.
- CalibrationAlso: probability calibrationCalibration measures whether predicted probabilities match observed frequencies.
- CAP TheoremAlso: Brewer theoremCAP theorem says a distributed data system cannot simultaneously guarantee consistency, availability, and partition tolerance during a network partition.
- CausationAlso: causal effectCausation means that changing one variable would produce a change in another variable under the right conditions.
- ConcurrencyConcurrency is the ability of a system to make progress on multiple tasks during overlapping time periods.
- Confidence IntervalAlso: CIA confidence interval is a range that estimates an unknown quantity with uncertainty from sampling.
- Confusion MatrixA confusion matrix counts correct and incorrect classification outcomes by predicted and actual class.
- ConsensusConsensus is the process by which distributed nodes agree on a value or sequence of decisions despite failures.
- Context WindowAlso: context lengthA context window is the maximum amount of input and generated tokens a model can consider at one time.
- ConvolutionAlso: convA convolution is an operation that applies a small learned filter across local regions of data.
- CorrelationCorrelation measures how strongly two variables move together.
- Cosine SimilarityCosine similarity measures how similar two vectors are by comparing their direction rather than their magnitude.
- Cross-AttentionCross-attention lets one sequence attend to information from a different sequence or modality.
- Cross-EntropyAlso: cross entropy lossCross-entropy measures how well one probability distribution matches another, often a model prediction against a target label.
D
- DeadlockDeadlock is a state where tasks wait on each other forever and no task can make progress.
- Deep LearningAlso: DLDeep learning is machine learning with neural networks that learn layered representations from data.
- Distributed SystemA distributed system is a collection of independent computers that coordinate to act like one system.
- Distribution ShiftAlso: data driftDistribution shift happens when production data differs meaningfully from the data used to train or evaluate a model.
- Dot ProductAlso: inner productThe dot product combines two vectors into a single number that reflects their alignment and magnitude.
- DropoutDropout is a regularization technique that randomly disables parts of a neural network during training.
E
- EigenvalueAn eigenvalue is the scaling factor applied to an eigenvector by a linear transformation.
- EigenvectorAn eigenvector is a nonzero vector whose direction stays the same under a linear transformation.
- EmbeddingAlso: vector embeddingAn embedding is a learned vector representation of an object such as a word, document, image, user, or product.
- EntropyAlso: information entropyEntropy measures uncertainty or information content in a probability distribution.
- Euclidean DistanceAlso: L2 distanceEuclidean distance is the straight-line distance between two points in a vector space.
F
- F1 ScoreAlso: F-score, F measureF1 score is the harmonic mean of precision and recall.
- FeatureAlso: input variable, predictorA feature is an input signal used by a model to make a prediction or learn a representation.
- Feature EngineeringFeature engineering is the process of transforming raw data into model inputs that make useful patterns easier to learn.
- Fine-TuningAlso: finetuningFine-tuning adapts a pretrained model by continuing training on task-specific or domain-specific data.
G
- GeneralizationGeneralization is a model's ability to perform well on new data, not just the data used during training.
- GradientA gradient is a vector of partial derivatives showing how a function changes as its inputs change.
- Gradient DescentAlso: GDGradient descent is an optimization method that updates model parameters in the direction that most reduces the loss locally.
- GuardrailAlso: AI guardrail, safety controlA guardrail is a system control that constrains or monitors AI behavior to reduce unsafe, invalid, or undesired outputs.
H
- HallucinationAlso: model hallucinationA hallucination is model output that sounds plausible but is false, unsupported, or not grounded in the provided context.
- Hash TableAlso: hash mapA hash table stores key-value pairs using a hash function to map keys to storage locations.
- Hybrid AttentionHybrid attention combines different attention patterns, such as local and global attention, inside one model.
- HyperparameterA hyperparameter is a configuration choice that controls training or model structure but is not directly learned as a normal model parameter.
I
- IdempotencyAlso: idempotent operationIdempotency means repeating an operation has the same effect as performing it once.
- IndexAlso: data indexAn index is a data structure that speeds up lookup by organizing references to data.
- InferenceAlso: model servingInference is the process of running a trained model on new inputs to produce outputs.
- Instruction TuningInstruction tuning trains a model to follow natural-language instructions and produce useful responses.
K
L
- L1 RegularizationAlso: Lasso regularizationL1 regularization adds a penalty based on the absolute values of model weights and often encourages sparse solutions.
- L2 RegularizationAlso: weight decay, ridge regularizationL2 regularization adds a penalty based on squared model weights and discourages overly large parameter values.
- LabelAlso: target, ground truthA label is the target answer a supervised model is trained to predict.
- LatencyAlso: response timeLatency is the time between a request and the system response.
- Latent SpaceAlso: representation spaceLatent space is the internal representation space where a model encodes hidden factors or learned structure.
- Learning RateThe learning rate controls how large each optimization update is during training.
- Loss FunctionAlso: objective function, cost functionA loss function measures how wrong a model is on an example or batch so training can improve it.
M
- Machine LearningAlso: MLMachine learning is a way of building software systems that learn patterns from data instead of relying only on hand-written rules.
- MatrixA matrix is a rectangular array of numbers used to represent linear transformations, datasets, or model weights.
- Mixture of ExpertsAlso: MoEMixture of Experts is a model architecture that routes inputs to a subset of specialized expert networks instead of activating every parameter.
- ModelAlso: machine learning modelA model is the learned function or system that maps inputs to outputs after training.
- Model EvaluationAlso: AI evaluation, evalsModel evaluation measures whether a model performs well enough for a task, workflow, or deployment setting.
- Multimodal ModelAlso: multimodal AIA multimodal model can process or generate more than one kind of data, such as text, images, audio, or video.
- MutexAlso: mutual exclusion lockA mutex is a synchronization primitive that allows only one thread or process to enter a critical section at a time.
N
O
P
- P-ValueAlso: p valueA p-value measures how surprising observed data would be if a specified null hypothesis were true.
- ParameterAlso: weightA parameter is a learned value inside a model that changes during training.
- PCAAlso: Principal Component AnalysisPCA is a dimensionality-reduction method that finds directions of maximum variance in data.
- Positional EncodingAlso: position embeddingPositional encoding gives a transformer information about token order and position.
- PrecisionAlso: positive predictive valuePrecision measures how many predicted positives are actually positive.
- Probability DistributionAlso: distributionA probability distribution assigns probabilities to possible outcomes.
- Prompt EngineeringAlso: prompt designPrompt engineering is the practice of designing model inputs so an AI system behaves more reliably for a task.
R
- Race ConditionAlso: data raceA race condition occurs when program behavior depends on unpredictable timing between concurrent operations.
- Reasoning EffortAlso: effort setting, thinking budgetReasoning effort is a model setting that controls how much compute or generated deliberation the model spends before answering.
- RecallAlso: sensitivity, true positive rateRecall measures how many actual positives a model successfully finds.
- RegularizationRegularization is any technique that constrains learning to reduce overfitting and improve generalization.
- Relative AttentionAlso: relative position attentionRelative attention adds information about the distance or relationship between tokens directly into attention.
- ReLUAlso: Rectified Linear UnitReLU is an activation function that outputs zero for negative inputs and the input itself for positive inputs.
- Retrieval-Augmented GenerationAlso: RAGRetrieval-augmented generation combines search or retrieval with a generative model so answers can use external context.
- RoPEAlso: Rotary Position Embedding, rotary embeddingRoPE is a positional encoding method that rotates query and key vectors so attention depends on relative position.
S
- Self-AttentionSelf-attention is attention applied within one sequence so each token can use information from other tokens in the same input.
- Semantic SearchSemantic search retrieves information by meaning rather than only exact keyword overlap.
- Short ConvolutionAlso: SConv, short 1D convolutionA short convolution is a small local convolution used to mix nearby sequence information efficiently.
- SigmoidAlso: logistic functionSigmoid is an S-shaped function that maps real-valued inputs into values between 0 and 1.
- Sliding-Window AttentionAlso: local attentionSliding-window attention restricts each token to attend only to a nearby window of tokens.
- SoftmaxSoftmax converts a vector of scores into a normalized distribution whose values are positive and sum to one.
- Space ComplexityAlso: memory complexitySpace complexity describes how much memory an algorithm needs as input size grows.
- Sparse RoutingAlso: expert routingSparse routing selects only a small subset of model components or experts for each input.
- Statistical SignificanceStatistical significance means an observed result passes a predefined test threshold under a statistical model.
- Supervised LearningSupervised learning trains a model from examples that include both inputs and known target outputs.
T
- TemperatureAlso: sampling temperatureTemperature is a sampling setting that controls how sharp or random a model's output distribution is.
- Thin Modality TowersAlso: light modality encoders, thin modality adaptersThin modality towers are lightweight modality-specific encoders that project inputs such as images or audio into a shared model space.
- Time ComplexityAlso: runtime complexityTime complexity describes how an algorithm's running time grows as input size grows.
- TokenA token is a unit of text, code, audio, or other input representation that a model processes.
- Tool UseAlso: function callingTool use lets an AI system call external functions, APIs, databases, or software actions instead of only generating text.
- Train-Validation-Test SplitAlso: data splitA train-validation-test split separates data used for fitting, tuning, and final evaluation.
- Training DataAlso: training setTraining data is the collection of examples used to fit a machine learning model.
- TransformerA transformer is a neural network architecture built around attention mechanisms and feed-forward layers.
U
V
Need this inside a product?
The studio builds the systems these terms describe. Tell us what you are working on.