Part 4 · Evaluate, secure, look ahead Chapter 12
Frontier
The fastest-moving directions in LLMs and the lasting questions behind each. For now: test-time compute (how inference compute buys accuracy), synthetic data (when model-made data helps or collapses) and mechanistic interpretability (finding features and circuits inside the network).
After this chapter you will be able to
- Tell the four ways of spending test-time compute apart, and say whether each needs a verifier, outside feedback or special training.
- Use coverage, the closed form of pass@N and the limit of majority voting to explain why the gain from more samples grows slowly when problems are a mix of easy and hard and verifiers differ in quality.
- Estimate with the roofline model the wall-clock time of parallel sampling versus a long chain, and count the cost of test-time compute.
- Name the three places where new information can enter synthetic data, explain model collapse with finite-sample resampling, and use experiments to tell a real verifier, a weak verifier, majority voting and unfiltered self-training apart by what each adds.
- Explain superposition and sparse autoencoders: why a neuron is not the natural unit of a feature, and why low reconstruction error does not mean the true features were found.
- Locate a circuit in GPT-2 small with the logit lens, activation patching and head ablation, and explain why different ablation methods can lead to different conclusions.
The earlier chapters cover relatively stable knowledge: architecture, training, inference, evaluation. This chapter collects directions that are still evolving fast, so each page tries to cover the parts that will not go out of date: how the question was posed, how to measure it, what the known limits are, with conclusions placed next to experiments you can check rather than a list of the latest model names.
This chapter has three pages for now. The first is Test-time compute: how much accuracy extra inference compute buys, what sets the ceiling, and how to count the wall-clock cost. The second is Synthetic data and self-improvement: when model-made data adds ability and when it only copies the model and loses the tail of the distribution. These two ask the same question: where does the new information come from. In test-time compute the answer is the quality of the verifier; in synthetic data it is the filter and fresh real data.
The third page, Mechanistic interpretability, turns to a different question: what is the model computing inside. In three CPU experiments it covers superposition (why neurons are polysemantic), sparse autoencoders (when features can be pulled apart) and a circuit in GPT-2 small (the logit lens, activation patching and head ablation), and it keeps the limits of each method in view: reading is not causation, and a different ablation method can reorder the heads. Questions from the first two pages, such as why a verifier gets exploited, ultimately need a look inside the network as well.
Before this chapter, read the part on reinforcement learning for reasoning in Post-training and Alignment: the “internalized long chain of thought” kind of test-time compute is what that training produces. The synthetic-data page also uses ideas from reward models and data engineering; the interpretability page needs the Transformer block and neural network basics.
Chapter roadmap
- 12.1
Test-Time Compute: Spending Compute on Inference
Test-time compute is extra computation spent while answering each question: voting over samples, verifier selection, revision, search and RL-trained long chains of thought. A reproducible simulation shows what caps the gain, what a fooled verifier does and why wall-clock time differs.
Prerequisites6.6Reinforcement Learning for Reasoning7.2Decoding and Sampling
- 12.2
Synthetic Data and Self-Improvement: When Models Make Data, and When It Collapses
Synthetic data is generated by a model or a program and then used for training. It keeps helping only with an outside signal: a verifier, a stronger teacher or fresh real data. Two experiments show recursive training losing the tail and only a verifier letting self-training bootstrap.
Prerequisites6.1SFT Data6.6Reinforcement Learning for Reasoning
- 12.3
Mechanistic Interpretability: Superposition, Sparse Autoencoders and Circuits
Mechanistic interpretability reverse-engineers a trained network into a readable algorithm. Three CPU experiments cover superposition and sparse autoencoders for finding features, the logit lens and activation patching for locating causes, and why the choice of ablation changes the answer.
Prerequisites3.4Transformer Block Explained2.3Neural Network Basics