6.5.10 · D1Research Frontiers & Practice

Foundations — Open problems and future directions

3,537 words16 min readBack to topic

This page is the toolbox. Before you can read the parent note Open Problems and Future Directions you must be able to read its symbols out loud in plain words and see a picture for each one. We build them from zero, in an order where each one leans only on the ones before it.


Layer 0 — The three raw objects

Everything starts with three things: an input, an output, and a rule connecting them.

Figure — Open problems and future directions

Why the topic needs these: every open problem is phrased as " maps to well here but badly there." Without naming the input, the output, and the box between them, you cannot even state a problem.

Before we can write 's "type" we need the words and .

With those words in hand, the parent's notation is now readable: is read " takes an input made of numbers and returns an output made of numbers." So lives in and the guess lives in .


Layer 1 — Where the examples live: distributions

We never get one example; we get a pile of them, and the pile has a shape. That shape is a distribution.

Figure — Open problems and future directions

Now we can read the parent's key symbols:

Why "sparse in high dimensions" is scary (foreshadowing problem #1): in a space of a million directions, any finite pile of examples touches almost none of the paper. Figure s02 shows this shrinking in a way you can actually see.


Layer 2 — Measuring wrongness: the loss

To improve we need a number saying how wrong a guess is. That number is the loss.

Why we need loss at all: you cannot fix what you cannot measure. The loss turns the vague wish "be right" into a number we can push down. Every "" you see next is "push this number down."


Layer 3 — Averaging over the fog: expectation

We don't care about the loss on one example; we care about the typical loss across the whole fog. "Typical, weighted by how likely" is exactly what expectation means.

Why expectation and not a plain average? A plain average treats every example equally. But rare regions (thin fog) should count less than common regions (thick fog). builds that weighting in automatically — which is precisely why rare-but-important events (rare diseases, equipment failure) get under-weighted, the seed of problem #1's importance. See Statistical Learning Theory for the formal treatment of this average-over-a-distribution idea.

Now the parent's central formula becomes readable:

So = average wrongness of the finished model on the training fog, and = average wrongness on the deployment fog. The gap between these two — same dials , different fog — is the star of the whole chapter.


Layer 4 — Comparing two fogs: KL divergence

Problem #3 (robustness) and #4 (causality) both ask "how different are two distributions?" We need a number for that: the KL divergence.

Here is the actual formula it hides — for outcomes with fog-thicknesses and :

Why this exact tool? We could subtract fogs, but answers the specific question "if I expected fog but reality is fog , how surprised will I be on average?" — the natural currency for "train fog vs test fog." When the parent writes it means "make the two fogs look identical after squeezing inputs through a feature map." Deeper: Bayesian Methods.


Layer 5 — The slope tools: gradient, Hessian, eigenvalue

To turn the dials sensibly you need to know which way is downhill on the wrongness surface. That is the gradient. To know how sharply it curves you need the Hessian.

Figure — Open problems and future directions

Why "gradient/difference of a distribution" even makes sense. To take slopes and steps of fogs, we quietly treat each fog as a giant list of numbers — one thickness per outcome bucket. A list of numbers is a vector, and vectors can be subtracted (bucket-by-bucket) and can have slopes. So means "at each bucket, subtract the two fog-thicknesses" — a fog of differences (thicker where test exceeds train, negative where it falls short). This is the one structural assumption we lean on: distributions, written as lists of bucket-weights, live in a vector space where subtraction and slopes are defined.

Why even exists — derived, not asserted. Recall from Layer 3 that with the dials frozen, risk is genuinely a function of the fog: writing for the fog-thickness in bucket and for the (now-fixed) loss in that bucket, This is a plain weighted sum — linear in the fog-weights . Differentiating a weighted sum with respect to one weight just leaves its multiplier: i.e. the gradient of risk with respect to the fog is nothing but the list of per-bucket losses. So is not a mysterious new object — it exists because "risk" is literally a dot-product of fog-weights with losses, and it equals the losses themselves. That is the justification the parent note skips.

Why a Taylor expansion, and what it is. A Taylor expansion is the standard trick for asking "if I nudge the input a little, how does the output change?" It approximates any smooth quantity near a point by: starting value slope step half curvature step-squared. We use it here because the exact test-risk is hopeless to compute, but we only need to know how fast it grows as the fog drifts by a small . The parent's formula is just this recipe with "input" the fog: where = the per-bucket losses we just derived, is "how far the fog moved," and = the Hessian in fog-space. (The multivariable slope machinery this rests on lives in Optimization Landscape.)

Why the topic needs curvature: if the wrongness surface is a sharp ridge (big eigenvalues, whose eigenvectors point along the ridge) in fog-space, then a tiny shove from to sends the loss flying up. Figure s03 shows sharp-vs-flat side by side — that single picture is the entire argument for why small fog-changes can cause huge errors.


Layer 6 — The one truly new idea: intervention,

Problem #4 introduces a symbol you have never seen in ordinary probability: . It is the whole reason Causal Inference is separate from statistics. First, two new names.

Why a brand-new symbol? No amount of ordinary probability notation can express "physically forcing a value." is the minimum extra vocabulary needed to talk about actions, which is exactly the capability today's models lack.


How it all feeds the topic

x input and y output

f model, the box

distribution P, the fog

loss L, wrongness number

expectation E, fog-weighted average

risk R, average wrongness

min over theta, training

KL divergence, fog-vs-fog gap

gradient and Hessian, slope and curvature

do operator, intervention

Open Problems and Future Directions

The named research directions each lean on one branch above: Transfer Learning and Meta-Learning attack the "different fog" gap; Reinforcement Learning lives in the / action world; Cognitive Science motivates the human sample-efficiency comparison; AI Ethics asks which fog we should serve well. Prefer Hindi? See 6.5.10 Open problems and future directions (Hinglish).


Equipment checklist

Say each answer aloud before reading the parent note. If any one stalls, re-read its layer above.

What does mean and what is its picture?
The input; a single dot placed on the sheet of paper.
Read in plain words, and what are and ?
A box that eats an input of numbers and returns an output of numbers; = input dimension, = output dimension.
What is physically?
The millions of adjustable knobs inside the model; turning them reshapes .
Is a fog over inputs or over pairs?
A joint distribution over pairs — inputs and their correct answers together.
Why is the heart of the chapter?
The model is fitted to the training fog but must act in a different deployment fog; that gap causes every failure.
What does compute?
The average loss, weighting each pair by how thick the joint fog is there.
Risk depends on which two things, and which is varied for training vs for shift?
On the dials and the fog ; training varies at fixed fog, shift varies the fog at fixed .
Write the KL divergence formula, name the log base, and say when it is infinite.
with natural log (base ); it is when puts weight where is zero (support mismatch).
What lets us write ?
Treating each fog as a vector of bucket-weights, so distributions can be subtracted bucket-by-bucket.
What does the transpose do in ?
Flips the column into a row so the whole product collapses to a single curvature-along- number.
Why does exist, and what does it equal?
Because risk is linear in the fog-weights; its gradient is just the list of per-bucket losses .
Difference between an eigenvector and an eigenvalue of ?
The eigenvector is a special direction of pure curvature; the eigenvalue is the number saying how sharply curved that direction is.
What does a large eigenvalue of the Hessian mean for robustness?
Along its eigenvector the wrongness surface is a sharp ridge, so a tiny fog-shift causes a huge error jump.
Difference between and ?
Lowercase is one particular value; capital is the whole random-variable slot that value fills.
State the difference between and .
Seeing vs doing; forces and snips the arrows pointing into it, so confounders no longer link to .
Recall Why can't more data alone solve causal reasoning?

Infinite observational data only ever pins down . It never reveals , because you never watched anyone intervene. You need experiments or causal assumptions.