The symbols that carry most of a paper
A sum and a product over an index. The subscript says where it starts, the superscript where it ends, and the body is what is being combined.
An expectation is a weighted average, and the subscript names the distribution the sample comes from. It is the most common symbol in machine learning papers and the most often skipped.
Not the largest value of , which is , but the input that produces it. The distinction matters in every decision rule ever written.
Shapes, which are half the meaning
Lower case italic is a scalar, bold lower case a vector, upper case a matrix. The set on the right says the size, and reading it is how you check an equation without understanding it.
The inner dimensions must agree and they vanish. That single rule resolves most confusion about which way round a matrix multiply goes.
Distance, size and probability
The subscript on a norm says which one. Two is the ordinary length, one is the sum of absolute values, and infinity is the largest single element.
The bar means given. Everything to its right is assumed known, and this is the object almost every supervised model estimates.
The tilde means drawn from, and the parameters in the brackets describe the distribution rather than the sample.
Reading a loss function, in order
- Find the argmin or argmax, which says what is being chosen.
- Read the subscript under it, which says which quantities are free to vary.
- Identify the expectation and what it averages over.
- Split the expression at the plus signs, since a loss is almost always a fit term and a penalty.
- Check the shapes, and only then work out why each term is there.
Conventions worth knowing before they confuse you
A hat means an estimate of the thing underneath it. A bar means an average, a star means optimal, and a tilde often means a corrupted or approximate version.
Greek letters are parameters by convention, and Latin letters are data. When a paper writes it is separating what is learned from what is given.
The gradient symbol with a subscript means differentiate with respect to that variable and nothing else, which is how an optimisation objective states what it will move.
Proportional to hides a constant that does not matter. Approximately equal usually hides an assumption stated in the text.
The last means defined as, and it is introducing notation rather than claiming a result.