Key terms in two registers: a plain-language definition for language professionals and a technical one for IT/ML readers.
Loading glossary…
13 terms shown
B
Bias
An extra adjustable number added to a neuron's calculation that lets the model shift its output, independent of the inputs.
ⓘ Technical definition
A trainable scalar b in the affine transformation w·x + b; allows the decision boundary to be offset from the origin.
L
Learning rate
How big a step the model takes when updating its weights during training. Too large and training overshoots; too small and it takes forever.
ⓘ Technical definition
Scalar hyperparameter η in the gradient descent update w ← w − η ∇L. Typical values: 1e-4 to 1e-2. Adaptive optimisers like Adam adjust η per parameter using estimates of first and second moments of the gradient.
Loss function
A single number that measures how wrong the model's output is. Training tries to make this number as small as possible, improving predictions step by step.
ⓘ Technical definition
A scalar L(ŷ, y) measuring the gap between prediction ŷ and target y. Common choices: mean squared error (MSE) for regression, cross-entropy for classification. The gradient of L drives weight updates.
M
Mass
How much matter a body holds, and how strongly it resists a change of motion: the same push speeds up a light body more than a heavy one. Measured in kilograms, and the same everywhere, on Earth or on the Moon.
Example: An empty trolley has less mass than a full one, so the same push accelerates it more.
ⓘ Technical definition
The m of F = ma (inertial mass), which experiment finds equal to the m in Newton's law of gravitation (gravitational mass); a scalar in kilograms. Not to be confused with weight, the force m g.
The third way machines learn: not from labelled examples, but by acting, seeing a reward, and figuring out which actions pay off over time. How you learn to ride a bike - by trying, wobbling, and adjusting.
ⓘ Technical definition
Learning a policy that maximizes expected cumulative (discounted) reward through interaction with an environment. Distinct from supervised learning: the signal is a scalar reward, not a target label, and the agent's own actions shape the data it sees.
The score the environment hands back after each action - the only teaching signal in reinforcement learning. Not a label saying what was right, just a number saying how good that was.
ⓘ Technical definition
The scalar feedback r received on a transition; the agent's objective is to maximize expected discounted cumulative reward (the return). Sparse or delayed reward is what makes RL harder than a bandit.
A model that scores how good an answer is, learned from humans comparing pairs of answers. It turns 'people preferred A over B' into a number a system can optimize - the heart of how LLMs are aligned.
ⓘ Technical definition
A learned function assigning scalar reward to outputs, fit from pairwise human preferences (typically a Bradley-Terry likelihood). In RLHF it supplies the reward signal that a policy-gradient step (e.g. PPO) optimizes the language-model policy against.
A single plain number with a size but no direction, like a temperature, a mass or −7, as opposed to a vector, which also has a direction. Multiplying a vector by a scalar stretches or shrinks it. In machine learning the temperature and the learning rate are scalars, beside the lists (vectors) and tables (matrices) of numbers.
ⓘ Technical definition
An element of ℝ, a rank-0 tensor. Scalar multiplication, written kv with the scalar beside the vector, scales every component of v by k, and its magnitude by |k|. Scalars arise as outputs of dot products, norms and loss functions.
A dial that controls how adventurous a model's writing is: low temperature gives safe, predictable text; high temperature gives more varied, creative — and riskier — output.
ⓘ Technical definition
A scalar T that rescales logits before the softmax: p ∝ exp(zᵢ / T). T < 1 sharpens the distribution (more deterministic), T > 1 flattens it (more diverse), T → 0 approaches greedy/argmax decoding. Controls sampling randomness, not correctness.
A quantity with a size and a direction, drawn as an arrow and written as its components, an ordered list of numbers: a walk of 3 km east and 4 km north is the vector (3, 4), an arrow 5 km long. In machine learning the same lists stand for words or sentences as points in a space, and words with similar meanings end up as nearby points.
ⓘ Technical definition
An element of ℝⁿ, written by its components (v₁, …, vₙ); geometrically an arrow with a magnitude and a direction, added tip to tail. Operations: addition (component-wise), scalar multiplication, dot product, L2-norm. In this app, token embeddings are d_model-dimensional vectors, rank-1 tensors.
A number the model learns during training that says how much importance to give each input. Weights are the 'knowledge' a trained model has accumulated.
ⓘ Technical definition
A trainable scalar parameter wᵢ in the affine transformation w · x + b. Updated via gradient descent: wᵢ ← wᵢ − η (∂L/∂wᵢ).