liveBook · Manning

Proxy problem

As explained in How Large Language Models Work

A proxy problem is an alternative formulation of a task that correlates with the desired solution while being easier or more stable to optimize.

A proxy problem is an easier, better-behaved version of a task that still correlates with the desired solution. Machine-learning systems optimize the proxy when the real goal is difficult to optimize directly. section 4.1.1

Cancer prediction

Accuracy counts correct predictions, so 48 correct predictions out of 50 is meaningful but 48.2 is not. Because accuracy is not smooth, training can use cross-entropy loss as a proxy instead. The proxy is easier to optimize, but it may not perfectly match the intended goal. section 4.1.1

This creates a practical risk: training focuses on what the system can learn effectively, not always on what people ultimately want. The mismatch can produce unexpected results or low performance. section 4.1.1

Figure 4.2 Examples of a smooth function on the left and two nonsmooth functions on the right. The center example is mostly smooth, but one region is not smooth because the function has no value. On the right, the function is not smooth anywhere due to the hard change in value.
figure

Compare smooth and nonsmooth functions to see why optimization may require a better-behaved proxy. section 4.1.1

How How Large Language Models Work covers it

How deep it goes
Defines proxy problems, gives a cancer-classification example, and links them to incentive mismatch without deriving cross-entropy.
Examples
Uses cancer prediction across 50 patients, contrasting integer accuracy with cross-entropy loss.
What you can do after
Evaluate/understand why an optimization target may differ from desired behavior and create unexpected results.
How it connects
Connects loss functions, cross-entropy loss, gradient descent, and incentive mismatch.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of How Large Language Models Work. The section links point to the parts of the book it draws on.