Skip to main content

Epilogue: The Question Is Yours

We began with a line. Its features were fixed, its prediction rule was transparent, and its limitations were easy to draw. Then we asked the question that has followed us through every part of this book:

What if we made this learnable?

At first, that question sounded like permission to add flexibility. By now it should sound more demanding. Every successful step in the book paired something learnable with something deliberately fixed: an objective, a structure, a dataset, an evaluation, or a compute budget. Flexibility without those constraints can fit almost anything. A result without an audit can appear to prove almost anything.

The point was therefore not to collect architectures, but to learn a way of seeing a problem: find the rigid part, understand why it fails, decide what the data should be allowed to change, and design evidence that can tell whether the change helped.

The ladder we climbed

A five-rung ladder maps hand-designed features to learned representations, hand-designed filters to learned local detectors, one-shot codes to streaming state updates, fixed similarity to learned attention routing, and fixed adaptation or sampling rules to learned reuse and generation. Each row ends with a new failure to audit.

Figure E.1: Each rung begins with a useful fixed choice, makes one part learnable, then tests what improves and where the revised model still fails.

The chapters followed a connected set of design questions. Later constructions reused earlier operations while changing selected assumptions. The experiments examined what those changes contributed and where their benefits stopped.

The first rung was representation. Linear regression could only combine the features supplied to it. A multilayer perceptron made intermediate features learnable, while backpropagation computed the gradient for millions of parameters and stochastic gradient descent turned those gradients into updates. This increased representational capacity. The shift cliff of Chapter 6 then taught the necessary counterlesson: the ability to represent a good solution does not make the learner likely to find the right one. Inductive bias tells the search which solutions to prefer.

The second rung was spatial structure. A classical image filter already looked locally and reused one detector across positions, but a person chose its numbers. Convolution kept locality and sharing fixed while making the detector weights learnable. Deeper CNNs then made feature hierarchies learnable, and residual paths protected the flow of information as depth increased. Global pooling changed the readout, while transfer learning changed what had to be relearned for each task. The lesson was not merely that CNNs are good for images. It was that a useful constraint can reduce the search space and improve the learner at the same time.

The third rung was compression and memory. PCA supplied a closed-form linear recipe for learning a low-dimensional subspace. The autoencoder interlude rewrote that reconstruction as a trainable encoder and decoder, then let the maps bend around nonlinear structure. The same detour exposed a limit: one fixed-width code is a difficult place to store an arbitrarily long sequence. Recurrence made the code an evolving state, updated step by step. The LSTM added learned gates to an additive cell-state update so information and gradients could travel farther. Encoder–decoder models made the handoff between two sequences explicit, and their fixed-state bottleneck motivated attention.

The fourth rung was comparison. Kernel regression predicted by comparing a query with stored examples, but its notion of similarity was fixed. Attention made the query, key, and value maps learnable. Self-attention let every token build context from other tokens, while positional representations restored order that content comparison alone did not encode. The Transformer did not erase inductive bias, but redistributed it into tokenization, position, masking, normalization, architecture, data, and scale. Chapter 23 carried the same comparison rule across modalities: paired observations made the encoders’ image and text representations comparable in one normalized space. The boundary remained sharp: a shared embedding is a comparison rule, not a generator.

The fifth rung was reuse. Pretraining changed the default from “learn every task from a random start” to “begin from a representation shaped by a broader objective and adapt it.” BERT made a bidirectional language representation learnable from masked context. Vision Transformers carried the same attention machinery into patches. PEFT and quantization asked which parts of a large trained system must change, and at what precision, to make adaptation affordable. Instruction tuning and preference learning asked what behavior the adaptation objective actually rewards. Generative models did more than score an observed object: they specified how a new one is sampled.

These are not five unrelated inventions. They are five passes through the same loop:

expose a limitation \(\rightarrow\) preserve the useful structure \(\rightarrow\) make the rigid part learnable \(\rightarrow\) test the new failure boundary.

The choices no architecture makes for you

A model does not learn what we meant. It learns what the training signal rewards on the data it sees, as far as the optimization procedure can reach. Three choices therefore sit outside every architecture.

The objective chooses what counts as progress. Squared error, cross-entropy, reconstruction error, an ELBO, a preference loss, and a denoising objective reward different behavior. Each is a useful proxy under stated assumptions, not a direct measurement of every property we care about. Making the reward model or judge learnable moves the question one level outward: who trained the judge, on which comparisons, and what shortcuts can satisfy it?

The data chooses the world the learner can encounter. Sampling, labels, preprocessing, augmentation, missing groups, duplicated records, and historical choices all shape the learned function. Chapter 6 named augmentation as data-side inductive bias because its transformations declare which changes should preserve the answer. Pretraining at scale does not remove this dependence; it enlarges the dataset and makes its provenance harder to inspect.

The evaluation chooses what can count as evidence. Clean accuracy did not reveal the shift cliff. Reconstruction did not give an autoencoder a sampling distribution. A discriminator near one half did not certify GAN convergence. Preference accuracy did not settle downstream safety or usefulness. Every metric has a scope, so a serious evaluation names the held-out distribution, relevant slices, perturbations, baselines, uncertainty, and failure conditions before a reported result is interpreted.

Objective, data, and evaluation are not merely documentation accompanying the model. They are part of the model’s meaning. When deployment changes any one of them, the original claim may no longer travel.

Learning about learning

There were two levels of work in this book. Within a run, the optimizer fitted parameters using gradients. Across runs, we evaluated which designs, recipes, and explanations held up under evidence. The experimentation interlude made that outer loop explicit.

The habits are simple to state and difficult to practice. Debug before searching. Fix the question before choosing the comparison. Tune each method enough that a broken recipe is not mistaken for a broken idea. Ablate the claim with a controlled change. Use paired seeds when pairing removes irrelevant variation, and show the individual runs when a mean would hide instability. Keep validation decisions away from the final test audit. Record the budget and the failures, not only the best-performing configuration.

Read each curve against the question and conditions that produced it. A negative result is informative when the experiment could have detected the proposed effect. A successful teaching example illustrates a mechanism, but broader performance claims require broader evaluation. “It worked” becomes the beginning of the explanation, not the end.

From fitting the past to evaluating futures

In Chapters 14, 16, and 20, models answered from evidence they had already observed: memory fits the past. Could a layer instead evaluate possible futures and return the first action of a plan? Wang and colleagues call that proposal test-time control. The operational distinction is backward-looking fitting versus forward-looking evaluation. Their “System 1/System 2” language is a metaphor, a useful cartoon in some settings, not a psychological law or a demonstrated partition inside a model.

The following map extends the paper’s adaptation taxonomy to the methods we studied.

A two-by-two grid. The horizontal axis runs from transient state or fast weights to persistent or slow weights. The vertical axis separates predictive or self-supervised signals from reward, preference, or control objectives. Prompting, in-context learning, and test-time training occupy the upper-left; fine-tuning and LoRA the upper-right; test-time control the lower-left; and RLHF and DPO the lower-right.

Figure E.2: Adapted and extended from Table 4 in Wang et al. (2026). The axes broaden the paper’s fast/slow weight and self-supervised/reward taxonomy. Asterisks mark analogies: prompting and ICL need not optimize fast weights; LoRA is an update parameterization; DPO uses preferences without requiring policy-gradient RL. This is an organizing map, not an equivalence claim.

The asterisks matter. Prompting changes transient computation without necessarily running an optimizer; test-time training performs an inner update. LoRA says which persistent weights may move, not which signal moves them. Chapter 21 trained a judge outside the policy and then changed persistent parameters. Test-time control makes a narrower lower-left bet: place a tractable cost inside the layer and plan against it before each token.

The simplest case is scalar finite-horizon linear–quadratic control:

\[ x_{s+1}=a x_s+b u_s, \qquad \mathcal{J}=\sum_{s=0}^{T-1}(q_c x_s^2+r_c u_s^2)+q_c x_T^2, \]

For \(q_c,r_c>0\), minimize the terms \(r_cu_s^2+P(a x_s+b u_s)^2\) with respect to \(u_s\). Differentiation makes the best action linear in \(x_s\); substitution gives the scalar Riccati step

\[ P\leftarrow q_c+a^2P-\frac{(abP)^2}{r_c+b^2P}, \qquad K_1=-\frac{bPa}{r_c+b^2P}, \qquad u_0=K_1x_0. \]

Initialize \(P=q_c\), update it \(T-1\) times, then form \(K_1\). Here \(P\) is the scalar coefficient of the quadratic value-to-go; a longer horizon performs more backward value updates before choosing the first action.

  1. Set the coefficients a, b, q_cost, and r_cost, and start an empty first_gains list.
  2. Verify that planning horizon changes the first action.
  3. Print the first-action coefficient K1 at horizons T=1 and T=10.
# [1]
a, b, q_cost, r_cost = 0.9, 1.0, 1.0, 0.1
first_gains = []
# [2]
for horizon in range(1, 11):
    P = q_cost
    for _ in range(horizon - 1):
        P = q_cost + a*a*P - (a*b*P)**2 / (r_cost + b*b*P)
    first_gains.append(-(r_cost + b*b*P)**-1 * b*P*a)
# [3]
print(f"K1 at T=1:  {first_gains[0]:.7f}")
print(f"K1 at T=10: {first_gains[-1]:.7f}")
K1 at T=1:  -0.8181818
K1 at T=10: -0.8233456

The horizon changes the first output before another token is generated. Increasing \(T\) therefore spends more internal computation per token. The full proposal predicts local dynamics and costs and differentiates through a control solver; OptNet and differentiable MPC established related optimization-as-layer machinery. The scalar recursion makes “plan before predict” inspectable, but a toy LQR does not demonstrate language reasoning.

Wang et al. (2026) make an architectural bet, not a settled claim. A test of that bet must count the internal computation spent planning over the horizon and give baselines the same compute. Related differentiable-solver foundations include OptNet (2017) and differentiable MPC (2018). The book’s question lands one rung higher: what if the planner were learnable?

Roads not taken

The learnability question continues well beyond our route. Graph and geometric models ask how to learn while respecting relational structure and symmetry. Detection and segmentation ask for structured spatial outputs rather than one image-level verdict. State-space sequence models ask which long-memory dynamics can replace or complement attention. Retrieval and tool-using systems make the choice of external evidence or action part of the computation. Reinforcement learning and control extend credit assignment across decisions whose consequences arrive later. Probabilistic and Bayesian methods keep uncertainty visible; causal methods ask which relationships survive intervention rather than mere observation. Sparse mixture-of-experts routing (reviving a design Jacobs, Jordan, Nowlan, and Hinton proposed in 1991) makes which parameters fire an input-dependent choice. Privacy, formal or certified robustness, mechanistic interpretability, distributed training, and hardware–software co-design each add constraints that accuracy alone cannot express.

These roads require new mathematics and experiments, but not a new intellectual habit. In each case, ask what is fixed, what may adapt, which structure must be protected, and what observation could falsify the claim. A fashionable model name cannot answer those questions for us.

Nor does “learnable” mean “desirable.” A system can become extraordinarily good at an objective that was incomplete, be trained on data collected without adequate consent, or be deployed where its errors fall unevenly. The more of a pipeline we allow data to tune, the more carefully people must choose its boundaries, and remain responsible for its consequences.

Reading beyond this book

A new method may introduce unfamiliar notation or combine components in an unfamiliar order. Begin by identifying its inputs, outputs, learned quantities, and fixed assumptions. Work through one computation with explicit shapes. Then trace the training signal: which observations supply the targets, which parameters receive gradients, and what objective those gradients optimize.

Separate the mathematical result from the experimental claim. An identity describes a computation under its assumptions. An optimization procedure attempts to fit a model. An experiment measures the model’s behavior under a particular dataset, configuration, and evaluation protocol. Evidence for one does not automatically establish the others.

Further study will introduce mathematics and questions not developed here. The aim is not to reduce every new idea to a familiar formula. It is to locate precisely what is new, understand what assumptions it needs, and recognize what evidence would establish its contribution.

Sources and further reading

One question, now with better follow-ups

When you meet the next rigid heuristic, brittle pipeline, or hand-designed component, begin where this book began: what if we made this learnable? Then do not stop there. Ask:

  1. What limitation would learning address?
  2. Which part should adapt, and which constraints carry knowledge we must preserve?
  3. What objective and data would teach the intended behavior rather than a shortcut?
  4. Which baseline, ablation, distribution-shift test, and held-out evaluation would make the claim credible?
  5. Who bears the cost when the assumptions fail?

The next important idea may begin as a filter someone chose by hand, a similarity rule that cannot adapt, a memory that is too small, or an evaluation that rewards the wrong thing. You now know how to recognize that moment. Preserve what is true, expose what is rigid, and make only the right part learnable.

The question is yours now.