Loading...

The Mathematical Symbols of AI & ML

The notation is what stalls most people, not the ideas. This is a symbol-by-symbol reference for the math of AI, machine learning, deep learning, and LLMs. Every symbol gets a plain-language explanation, the formula you meet it in, and a micro-diagram of what it actually does. It runs from the everyday operators and Greek letters through classic ML notation to the deep-learning and LLM symbols. Built to be skimmed and bookmarked.

A symbol-by-symbol reference for the math notation of AI, ML, deep learning, and LLMs. Each symbol gets a plain-English meaning, the formula you actually see it in, the confusion it causes, and a micro-diagram of what it does. It starts with the everyday operators (Σ, ∏, ∫, ∂) and Greek letters (α, λ, σ, π), moves through classic ML notation (x, X, y and ŷ), and ends with the deep-learning and LLM symbols like scaled dot-product attention and the top-p knob.

A lot of machine learning feels difficult only because the symbols are never explained first. You see something like [latex]\theta \leftarrow \theta - \eta\,\nabla_\theta J(\theta)[/latex] and you're expected to already know what every symbol means. This glossary breaks them down one by one. For each symbol, you'll learn what it means in plain English, where you'll see it, why people get confused by it, and what it's actually doing.

This isn't a book to read from start to finish. It's something you open whenever you get stuck on a symbol. It starts with basic math symbols, then Greek letters, common ML notation, deep learning symbols, and finally the symbols used in LLMs. Just jump to the section you need.

A fast way to read any unfamiliar symbol is to ask what it turns into what. Softmax turns scores into probabilities. Argmax turns scores into a position. Almost every symbol here is a small, concrete transformation.

Operators and notation

Start here with the basic math symbols you'll see in almost every formula. Learn these first, and the rest of the AI/ML notation becomes much easier to understand. Instead of looking like a different language, the formulas will start to make sense.

Greek letters in ML

The same handful of Greek letters show up again and again in ML, each with a usual job (and a few that moonlight as something completely different). Learn the default meaning and you are most of the way there.

Classic ML notation

Finally, the notation for the data itself and for what a model predicts. This is the everyday vocabulary of nearly every textbook and paper, so a little fluency here pays off constantly.

Vectors and layers (ML and DL)

These operators act on the vectors that stream through a network, inside embeddings and between layers. They turn up in almost every architecture, not just transformers, so they are worth a moment.

Scores and answers (ML and DL)

Two little functions do the job of turning a pile of raw scores into an actual answer. Both are everywhere in classification, and LLM decoding is built right on top of them.

Training and loss (ML and DL)

These symbols are about what the model learns from and how that learning gets scored. They are shared across classical ML and deep learning alike.

Transformers and decoding (LLM)

Now the LLM-specific notation. One symbol is the beating heart of the transformer; the other three are the knobs that decide which word actually comes out.

That is the core set

That covers the symbols you meet in almost every AI, ML, deep-learning, and LLM formula, from the everyday operators and Greek letters through the classic ML notation to attention and the decoding knobs. Read a formula slowly, name each symbol, and it turns from a wall of symbols into a sentence.