Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

A Physicist/Mathematician’s Glossary for AI Terminology

Why this document exists

Modern AI vocabulary borrows heavily from physics, mathematics, signal processing, and chemistry — but uses many of those terms in narrower, different, or simply incorrect senses. This causes three problems:

  1. Clarity. Readers from those fields are misled into expecting the original meaning, and waste effort translating back.

  2. Discoverability. Well-understood, established neutral terms (e.g. array, reduced precision, cross-correlation) get displaced, making it harder for AI to interoperate intellectually with adjacent fields.

  3. Intellectual hygiene. Coining a fancier name for an existing concept obscures rather than clarifies.

This document is a side-by-side glossary aimed at two audiences:

Each entry carries a verdict:

How this happened (briefly)

The terminology drift has at least four sources, and most terms below involve a mix of them rather than a single cause:

  1. Established terms already existed and were not adopted. For array and reduced precision in particular, neutral terms had been in use in numerical computing and DSP for decades. The AI community simply chose other names.

  2. Path dependence. Once one influential paper uses a term, the rest of the field follows.

  3. Inheritance from an adjacent technical field. Some AI terms come from a related field where they had a legitimate meaning, then collide with established usage elsewhere. Quantization is the clearest example: in signal processing it correctly refers to mapping a continuous (or higher-precision) signal to a coarser discrete set, and the AI usage is a straightforward extension to weights. The collision is with physics, where quantization means something entirely different.

  4. Branding / aspiration. Some terms (e.g. neural network, intelligence, hallucination) were chosen for their evocative or aspirational tone, not their technical precision. Anthropomorphic borrowings are not automatically bad — attention is a defensible one, because the metaphor carries genuine explanatory content (see below). The problem is anthropomorphism used purely for flavor, without a corresponding operational meaning.

The cost is borne by readers from adjacent fields who must continuously translate.

Guiding principle

The verdicts in this glossary follow one rule:

  1. If an existing neutral term in mathematics, physics, statistics, or signal processing exactly fits the AI concept, use that term. This covers array (vs. tensor), reduced precision (vs. quantization), cross-correlation (vs. convolution in CNNs), student–teacher training (vs. distillation), and others. The AI vocabulary in these cases is needless reinvention; the established term is clearer and respects prior work in adjacent fields.

  2. If no existing term cleanly covers the scope, bending a term — including an anthropomorphic one — is acceptable, provided the bend is small and the term carries genuine operational content. This covers attention, training, learning, and inference. None of these has a clean neutral synonym that captures the full operational scope; each carries enough operational meaning to be a useful descriptor; the anthropomorphism, where present, is in service of communication rather than flavor.

The exception is anthropomorphic borrowings that carry no operational content and are used purely for evocative effect — hallucination, intelligence. These remain on the replace list because the borrowing buys nothing.

Summary table

AI termWhat it means in AIEstablished / physics-math meaningSuggested neutral termVerdict
tensor (the object, e.g. tf.Tensor, torch.Tensor)multi-dimensional array of numbersmultilinear map / section of a tensor bundle with transformation lawsn-d array, ndarrayreplace
tensor product, tensor contraction (the operations)operations on tensors that preserve the tensor property; also applicable to plain arrayssame— (correctly named)keep
quantizationreducing weight/activation precision (e.g. FP32 → INT8)(physics) replacing classical observables with operators on Hilbert spaceprecision reduction, low-precision conversion, weight discretizationreplace
distillationtraining a small “student” model to mimic a large “teacher”(chemistry) purification by selective evaporationstudent–teacher training, mimicry trainingreplace
convolution (CNN)sliding dot product, no kernel flip(fg)(t)=f(τ)g(tτ)dτ(f * g)(t) = \int f(\tau)\, g(t-\tau)\, d\tauwith flipcross-correlationreplace
inferenceusing the trained model in forward mode to produce an output from an input (a conclusion drawn from evidence, in Webster’s broad sense)(statistics) drawing conclusions from data with calibrated uncertainty (posteriors, intervals, hypothesis tests)prediction, generation, forward pass — each narrower than the umbrellakeep (with caveat)
learning(loosely) the process by which a model’s parameters improve with data; in practice synonymous with training(cognitive) acquiring knowledge or skilltraining (preferred when both work)keep (with caveat)
trainingiterative fitting of model parameters from data, typically by stochastic gradient descent(statistics / ML) same — long-established usagekeep
neural networklayered parameterized nonlinear function(biology) network of actual neuronsparameterized function, differentiable circuitreplace
attentionsoftmax-weighted average of value vectors, with weights interpretable as where the model is “looking”(cognitive science) selective focuskeep
hallucinationmodel emits fluent but false content(medicine) false perceptual experiencefalse generation, fabricationreplace
embeddingdense vector representation of a discrete object(algebra) injective homomorphism; (topology) injective map that is a homeomorphism onto its imagekeep
regularizationadding penalty terms to discourage overfitting(inverse problems) adding terms to stabilize ill-posed problemskeep
gradient descentiterative update along L-\nabla Lsamekeep
backpropagationreverse-mode automatic differentiation through the modelreverse-mode ADkeep

Notable entries

Tensor → array (verdict: replace)

In NumPy, the data type is called ndarray (n-dimensional array). This is the honest name. The use of “tensor” for multi-way arrays did not originate with TensorFlow or PyTorch — it goes back at least to the psychometrics / chemometrics literature (Tucker, 1966; Harshman, 1970, CANDECOMP/PARAFAC), and earlier ML frameworks already used it: Torch (originally a C++ library from ≈2002; a Lua scripting interface was added in Torch5 around 2008, and the rewrite around LuaJIT, Torch7, came in 2011), and Theano (from 2007). TensorFlow and PyTorch inherited and entrenched the convention rather than introducing it.

What a tensor actually is

A tensor is a single, basis-independent object. In general it is an element of a tensor product space

W1WnW_1 \otimes \cdots \otimes W_n

where each WiW_i is a vector space or its dual. Equivalently (in finite dimensions), it is a multilinear map on the duals of the WiW_i. In the common physics setting where all factors are taken from a single vector space VV, with pp copies of VV and qq copies of VV^*, this is called a (p,q)(p, q)-tensor on VV:

VVVV(p copies of V, q copies of V).V \otimes \cdots \otimes V \otimes V^* \otimes \cdots \otimes V^* \qquad (p \text{ copies of } V,\ q \text{ copies of } V^*).

The “components with transformation law” view used in physics is the same object presented in a chosen basis — not a separate definition.

Concretely: once a basis is chosen for VV (and the corresponding dual basis for VV^*), a (p,q)(p, q)-tensor

T=Ti1ipj1jqei1eipej1ejqT = \sum T^{i_1 \cdots i_p}{}_{j_1 \cdots j_q}\, e_{i_1} \otimes \cdots \otimes e_{i_p} \otimes e^{j_1} \otimes \cdots \otimes e^{j_q}

is represented by the array of components Ti1ipj1jqT^{i_1 \cdots i_p}{}_{j_1 \cdots j_q}. Change the basis, and the same tensor is represented by a different array, related to the first by the transformation law. The tensor is the basis-independent object; the array is its coordinate representation.

Tensor fields and manifolds

In physics, the word “tensor” almost always refers to a tensor field: a tensor attached to each point of a manifold (e.g. the metric gμν(x)g_{\mu\nu}(x) on spacetime, the stress tensor σij(x)\sigma_{ij}(x) in continuum mechanics). Change of basis in this setting is induced by change of coordinates on the manifold.

A tensor field requires a manifold; a tensor by itself does not. A single vector space supports tensors and change of basis without any manifold structure. For example, the inertia tensor of a rigid body is most naturally a single (0,2)(0, 2)-tensor on R3\mathbb{R}^3 — a symmetric bilinear form on the angular-velocity space, with rotational kinetic energy 12I(ω,ω)\tfrac{1}{2}\, I(\omega, \omega) — and transforms under SO(3)\mathrm{SO}(3) without need for any manifold beyond the underlying vector space. In Euclidean R3\mathbb{R}^3 with the standard metric one routinely identifies VV with VV^* and so views II equivalently as a (1,1)(1, 1)-tensor (a linear map VVV \to V), under which it sends the angular-velocity vector ω\omega to the angular-momentum vector L=IωL = I \omega. In physics practice the manifold is almost always present anyway, so for a physicist “tensor” and “tensor field” are nearly synonymous.

Why AI “tensors” are not tensors

Calling AI arrays “tensors” fails on every part of the definition:

So AI “tensors” are not tensors with a fixed basis, with the transformation law suppressed. They are arrays — full stop. The honest name is array (or n-d array / ndarray, as NumPy calls it).

A small exception: in equivariant neural networks and geometric deep learning (SO(3)\mathrm{SO}(3)/SE(3)\mathrm{SE}(3)-equivariant models, gauge-equivariant lattice models, etc.), genuine tensor structure is explicit and transformation laws under group actions are central. In those areas the word tensor is used correctly.

A note on tensor operations

Even when the objects in ML are arrays rather than genuine tensors, the operations called tensor product and tensor contraction are correctly named.

So np.tensordot, np.einsum, and the general vocabulary of “tensor product” and “contraction” in ML libraries are correctly named, even though tf.Tensor and torch.Tensor are misleading names for the objects. The misuse is at the level of the noun, not the verbs.

Quantization → precision reduction (verdict: replace)

In physics, quantization is the construction of a quantum theory from a classical one — for example, replacing Poisson brackets with commutators (canonical quantization), or computing the functional integral Dφexp(iS[φ]/)\int \mathcal{D}\varphi\, \exp(i S[\varphi]/\hbar) over field configurations (path-integral quantization; “sum over histories” is Feynman’s heuristic phrasing for what is technically a continuous functional integral, not a sum). This is a deep conceptual change of mathematical framework.

In AI, “quantization” means converting weights and/or activations from FP32 to a lower-precision format (FP16, BF16, INT8, INT4, …).

The established computer-engineering terms are fixed-point arithmetic, low-precision arithmetic, and reduced precision.

Signal processing does have its own meaning of “quantization” — mapping a continuous (or higher-precision discrete) signal to a coarser discrete set — which is much closer to the AI usage than the physics meaning. So the AI usage is not entirely invented; it is the signal-processing meaning extended to weights. Even so, precision reduction or weight discretization are clearer for a general audience and avoid the collision with physics.

Distillation → student–teacher training (verdict: replace)

Training a small “student” model to match the output distribution of a large “teacher” model. The idea predates the distillation name: it was introduced as model compression by Buciluă, Caruana, and Niculescu-Mizil (KDD 2006) — training a small neural network to mimic a large ensemble — and developed further by Ba and Caruana (NeurIPS 2014, “Do Deep Nets Really Need to Be Deep?”). Hinton, Vinyals, and Dean (2015) added the temperature-scaled soft-target formulation and coined the name knowledge distillation. The chemistry metaphor — extracting the “essence” of the teacher into a smaller container — is a metaphor, not a technical correspondence.

Better names: student–teacher training, mimicry training, soft-target imitation, or generically model compression by imitation.

Note: decimation is sometimes proposed as a replacement but is not better. In signal processing, decimation means uniform downsampling (keeping every n-th sample), which is a different operation; and the Latin root literally means “removal of every tenth” (a Roman military punishment), so the DSP usage is itself a stretch and inheriting it would only propagate the misappropriation. Reduced model describes the result, not the procedure.

Convolution → cross-correlation (verdict: replace)

The operation in a convolutional layer is

y[i]=kx[i+k]w[k]y[i] = \sum_k x[i + k]\, w[k]

with no flip of the kernel. The mathematical convolution is

(xw)[i]=kx[ik]w[k](x * w)[i] = \sum_k x[i - k]\, w[k]

with the flip. The two coincide only when the kernel is symmetric.

The CNN operation is a form of cross-correlation: the signal-processing definition is (xw)[i]=kx[k]w[k+i](x \star w)[i] = \sum_k x[k]\, w[k + i] (with a complex conjugate on xx in the complex case), which differs from the CNN formula only by which operand is shifted and by the sign of the lag. The substantive point is the same — no kernel flip — so following the writing convention above, call the operation cross-correlation in prose, with convolution parenthesized on first use if the audience is used to the AI term.

Inference (verdict: keep with caveat)

Webster gives two relevant senses of inference:

  1. “Something inferred — a conclusion or opinion that is formed because of known facts or evidence.”

  2. (Statistics) “The act of passing from statistical sample data to generalizations, usually with calculated degrees of certainty.”

AI usage fits sense 1 broadly. The model takes an input (evidence) and produces an output (a conclusion drawn from that evidence). An image classifier infers a class from a picture; an LLM infers an answer from a prompt; a speech recognizer infers a transcript from audio. For frontier reasoning LLMs the fit is closer still — the model passes from premises through intermediate steps to a conclusion, matching Webster’s sense 2a as well. Whether the model is really reasoning in the cognitive sense is contested, but as a descriptive shorthand for “producing a well-formed output from an input,” the term is apt. This is the same principle that justifies attention and training: anthropomorphic borrowing is fine when the metaphor fits operationally.

The caveat is the collision with sense 2b. Statistical inference specifically means computing posteriors or interval estimates with calibrated uncertainty. AI “inference” does not, in general, do this. A forward pass through a feedforward classifier is deterministic; greedy LLM decoding (τ=0\tau = 0) is deterministic; even temperature-sampled LLM output gives a distribution over outputs (p(yx,θ)p(y \mid x, \theta)), not over unknowns (p(θdata)p(\theta \mid \text{data})). A statistician reading “we ran inference on 10,000 examples” will reach for posteriors and intervals and find a batch of argmaxes. When writing for a statistical audience, or any context where the distinction matters, qualify the term or use a more specific one — prediction for classification/regression output, generation for LLMs and diffusion, forward pass for the computational step, evaluation for the deployment phase.

Why this is keep rather than replace. None of the case-specific alternatives covers the full scope of the AI usage. Forward pass is an implementation detail. Prediction breaks down for generative models (you don’t “predict” a poem or a translation). Generation doesn’t cover discriminative tasks. Evaluation is overloaded with “test-set evaluation.” The AI usage organizes the model lifecycle cleanly into training (parameters change) vs. inference (parameters fixed, model is used), and no neutral umbrella term has caught on. Industry has already standardized on it — “inference cost,” “inference latency,” “inference server” — and there is nothing to gain by replacing it with a phrase. Following the guiding principle: when no existing term exactly fits, bending one a little is acceptable.

There is also a historical wrinkle worth noting. The term has two legitimate AI ancestries. In symbolic AI / expert systems, the inference engine of a rule-based system did Webster’s sense 2a — applying inference rules to derive new propositions from a knowledge base. In probabilistic / Bayesian ML, variational inference, MCMC inference, and posterior inference in graphical models, HMMs, and VAEs correctly compute p(latentsobservations)p(\text{latents} \mid \text{observations}) with full uncertainty quantification. The modern deep-learning usage is a generalization of the Bayesian one, broadened from “computing a posterior” to “running any forward pass.” The generalization is loose, and a statistician should know the modern usage drops the uncertainty quantification — but the broader Webster-sense-1 reading carries the term comfortably.

Hallucination → false generation / fabrication (verdict: replace)

“Hallucination” refers to a sensory experience in the absence of an external stimulus. LLMs do not perceive anything; they generate fluent text that is not grounded in fact. The literally accurate terms are false generation or fabrication.

Confabulation — in clinical neurology and psychiatry, the production of false memories without intent to deceive, typically associated with Korsakoff syndrome, frontal-lobe damage, or dementia — is sometimes proposed as a replacement. It is closer to what LLMs do than hallucination, but it is also a metaphor (LLMs have no episodic memory to confabulate from) and carries clinical baggage, so false generation and fabrication are preferred.

Neural network → parameterized function (verdict: replace)

The term dates to McCulloch and Pitts (1943) and Rosenblatt (1958), when the biological analogy was genuinely the inspiration. Modern deep networks are essentially layered nonlinear function approximators with little structural resemblance to biological neurons.

The honest descriptions are parameterized nonlinear function, differentiable circuit, or simply deep model. Following the writing convention, use one of these in prose, with neural network parenthesized on first use. The biological framing should not be taken literally.

Attention (verdict: keep)

In a transformer, “attention” is

Attention(Q,K,V)=softmax ⁣(QKdk)V\operatorname{Attention}(Q, K, V) = \operatorname{softmax}\!\left(\frac{Q K^\top}{\sqrt{d_k}}\right) V

where QQ, KK, VV are the query, key, and value arrays and dkd_k is the key (and query) dimension; in multi-head attention dkd_k is generally smaller than the model dimension dmodeld_{\text{model}}, so the distinction matters. Mechanically, the operation is a softmax-weighted average of value vectors, with weights computed from a similarity score QKQ K^\top between each query and each key.

The cognitive metaphor is, for once, operationally meaningful rather than purely decorative. The softmax produces a probability distribution over keys (tokens) that typically concentrates most of its mass on a small number of them and suppresses the rest. For each query, this distribution literally is “how much weight each token gets” in the output — equivalent in this context to which tokens the model is looking at when computing this position’s update. The term was introduced in Bahdanau et al. (2014) for neural machine translation, where the weights showed which source word the decoder was aligning with each target word it produced; the alignment behavior is what motivated the name. In multi-head attention, different heads learn to focus on different structural relations (local syntactic dependencies, long-range coreference, etc.), which is again well captured by the metaphor.

Unlike tensor or quantization, “attention” also does not collide with a precise technical meaning in another field — cognitive “attention” is itself a loose concept, so the borrowing imports intuition without overwriting a sharper definition.

Caveat for the physics/math reader: the model is not consciously focusing on anything. “Attention” here is shorthand for the softmax-weighted averaging operation above, and the “where it is looking” interpretation is a useful way to read the weights, not a claim about cognition. Equivalent neutral descriptions are softmax mixing, content-based gating, and kernel smoothing with a learned kernel; these are sometimes useful when the operational view is what matters.

This entry illustrates the general principle: anthropomorphic borrowings are acceptable when the metaphor carries genuine operational content. They are objectionable when used purely for flavor (cf. hallucination, intelligence).

Training and learning (verdict: keep / keep with caveat)

Training is the iterative procedure that fits a model’s parameters to data, typically by stochastic gradient descent on a loss function. The term predates deep learning by decades in statistics and classical ML: training set, training error, supervised training were all standard usage well before backprop. There is no collision with another field’s precise meaning — a statistician will read “train the model” exactly as intended. Training also carries operational content that pure synonyms like parameter fitting lose: the iteration, the data dependence, the notion of a training loop with a held-out test set. Use it freely.

Learning is more anthropomorphic but, like attention, has an operational core: the parameters change in response to data in a way that reduces loss, which fits Mitchell’s classical definition (improvement in performance on a task with experience). Compound terms — machine learning, supervised/unsupervised learning, learning rate, learning curve, deep learning — are entrenched technical vocabulary and should be used as-is; trying to replace machine learning with machine parameter fitting is a non-starter.

Caveats for learning:

In short: training is fine, learning is fine in established compounds, and nonlinear regression / parameter estimation remain useful framings for a physics/math audience that wants the underlying operation made explicit.

How to use this in writing

The recommendation is the same in every context, including pure-AI ones: use the neutral term, and put the AI term in parentheses on first use so readers familiar only with the AI vocabulary can follow. After the first use, the neutral term stands alone.

Example:

# Reduced Precision (Quantization) Details

The arrays (tensors) in the MoE attention have reduced precision
(quantization) to mxfp4. But all other arrays have the full
precision bf16.

Notice that on first use both reduced precision (quantization) and arrays (tensors) are flagged, and from then on the neutral terms are used directly.

This convention has several benefits:

When writing strictly for an audience that already shares the established (physics / math / statistics / medicine) meanings — for example, a physics paper that happens to touch on ML — the parenthetical AI term can be dropped entirely. Reserve tensor, quantization, convolution, and hallucination for their original meanings in those contexts.

Open questions / things still to refine