Definitions, objectives, and updates

Separate lines that name a quantity, select a desired result, and construct the next algorithm state.

Notes

Classify the line before solving

Classify a line before manipulating it: a definition says what is measured, an objective says which input is best, and an update says how to produce the next state.

Three lines, three jobs

$$\mathcal{L}(\theta)\coloneqq(\theta-3)^2,\quad \theta^*=\arg\min_\theta\mathcal{L}(\theta),\quad \theta_{t+1}=\theta_t-\eta\nabla_\theta\mathcal{L}(\theta_t)$$

The first rule defines the loss landscape, the second selects theta equals three as its best input, and the third constructs one gradient step toward it.

Argmin returns the input

$$\theta^*=\arg\min_\theta\mathcal{L}(\theta)$$

Tempting reading: Reading argmin as the minimum loss value, or treating the objective itself as an algorithm.

Ask value or choice

The argmin returns the input theta that minimizes the loss; min returns the score. A separate next-iteration equation describes the repeated computation.

Find the repeatable line

$$\theta_{t+1}=\theta_t-\eta g_t$$

An optimizer section presents a target objective beside an iterative training rule.

Look for the next state

Find the line with a t plus one output and current-state inputs; that is the repeatable update. Keep the argmin line as the destination, not the procedure.