Worked examples — Open problems and future directions
This page takes the five open problems from the parent note and turns each one into a computable scenario you can solve by hand. The parent told you these problems exist. Here we grind through every case class where they bite — so that when you meet one in the wild, you have already seen its shape.
We will lean on ideas built elsewhere in the vault: Statistical Learning Theory for the "how much data" questions, Causal Inference for the "correlation vs. cause" questions, and Transfer Learning for the "train here, deploy there" questions. Every symbol used below is defined the moment it appears.
The scenario matrix
Before working examples, we lay out every case class these five open problems can throw at you. Think of it as a checklist: by the end, every cell must have a worked example next to it.
| Cell | Case class | The degenerate/limiting twist to watch |
|---|---|---|
| A | Sample efficiency — counting how sparse points are in high dimensions | limit as dimension |
| B | Compositional generalization — combining known parts | zero examples of the combination |
| C | Distribution shift — error jump when | shift (no shift) as the sanity anchor |
| D | Confounded correlation — vs | confounder strength makes them agree |
| E | Catastrophic forgetting — weights overwritten by a new task | learning rate (no forgetting) as the limit |
| F | Real-world word problem — the ice-cream/drowning trap | sign of the intervention effect |
| G | Exam-style twist — combine two cells (shift and few-shot) | which term dominates the error |
Every numeric answer below is re-checked in the machine-verification block. Let us define one recurring symbol now.
Cell A — How empty is high-dimensional space?
Forecast: Guess now — for , do the 1000 points fill most cells, or a tiny sliver?
- Count the cells. Chopping each of axes into bins gives cells. Why this step? This is exactly what "densely cover the input space" from the parent means — one representative point per cell.
- Plug in: cells, , . Why this step? Each extra dimension multiplies the volume by ; the growth is exponential, not additive. This is why we needed the exponent, not a sum.
- Fraction covered . For : . Why this step? At most one point lands per cell, so points touch at most cells.
Look at the figure: the same dots that flood the 1-D line barely stipple the 2-D grid — and would vanish entirely in 6-D.

Verify: cells, . Units: both counts are dimensionless, ratio is a pure fraction — consistent. ✓
Cell B — Composition with zero examples of the combination
Forecast: Guess the number of unseen-but-understood pairs.
- Total pairs . Why this step? Compositionality means treating color and shape as independent factors; the count of combinations is their product.
- Seen (given). Generalized . Why this step? A compositional model handles the leftover pairs "red hat", "blue cup" (say) that it never saw — the zero-example cell of our matrix.
- Contrast a memorizer: it generalizes to unseen pairs, because it stored whole images, not factors. Why this step? This is precisely the gap the parent calls "memorization vs understanding."
Verify: ; generalized (compositional), (memorizer). ✓
Cell C & the no-shift anchor — the distribution-shift penalty
Forecast: Which deployment has the biggest penalty — and does the same-distribution one give ~0?
- Anchor (Cell C degenerate case, shift ). For same-distribution test, penalty . Why this step? If the penalty should vanish; is the small residual from finite sampling. This sanity-checks our formula.
- Corrupted. Penalty .
- Sketches. Penalty . Why these steps? Bigger visual distance from training photos → bigger penalty, matching the parent's "sharp Hessian in distribution space."
The bars in the figure show the penalty stacking on top of the constant training error.

Verify: penalties ; ordering sketches > corrupted > same-dist. Units: all are error fractions in . ✓ See Transfer Learning for how domain adaptation attacks this.
Cell D & F — Ice cream, drowning, and the -operator
Forecast: Guess: will come out near or near ?
We use the two formulas from the parent, with the causal fact (ice cream is irrelevant once we know the weather).
- Observational . First get . Then Bayes with weighting by how often each weather produces high ice cream: Why this step? Seeing high ice cream is evidence it is hot, and hot days drown people. The correlation flows through .
- Interventional . The cuts the arrow , so keeps its original frequencies : Why this step? Forcing everyone to buy ice cream tells you nothing about the weather, so we use the marginal , not the ice-cream-informed one.
- True causal effect . By identical algebra too, so the effect is . Why this step? The sign is exactly zero — banning ice cream changes nothing, matching the parent's punchline.
The figure shows the graph before and after the -scissors cut the edge.

Verify: , , causal effect , confounding gap . ✓
Cell E & its no-forget limit — catastrophic forgetting
Forecast: Guess how much loss Task A picks up after one selfish Task-B step.
- Take the step. . Why this step? This is one plain Optimization Landscape update — the very move that overwrites old knowledge.
- Measure forgetting. . Why this step? Task A was at loss ; it is now at loss — that jump is catastrophic forgetting, quantified.
- No-forget limit. As : and . Why this step? Tiny steps don't move you off Task A's optimum — but they also barely learn Task B. This is the stability–plasticity trade-off in one line.
The figure plots Task A's loss bowl and marks the drift from to .

Verify: , forgetting , limit gives . ✓
Cell G — Exam twist: few-shot and shift together
Forecast: Guess whether few-shot or shift is the bigger villain here.
- Few-shot term. . Why this step? The shape encodes Cell A: fewer samples, bigger error. With only scans it is non-trivial.
- Sum the pieces. . Why this step? The parent's decomposition is additive; we simply stack base error, sparsity, and shift.
- Dominant term. Compare (few-shot) vs (shift): shift dominates, contributing of the total. Why this step? An exam wants the diagnosis: fixing the scanner mismatch (see Transfer Learning) buys more than collecting a few more scans.
Verify: ; total ; shift share ; shift few-shot. ✓
Recall Self-test (reveal after answering)
Ice-cream observational vs interventional probability, and why they differ ::: but ; the cuts the edge so we use the marginal instead of the ice-cream-informed one. Fraction of a 6-D cube touched by 1000 points on a 10-bin grid ::: . The single change that turns forgetting to zero in Cell E ::: send the learning rate (at the cost of learning nothing new).
Where these live in the wider map
Follow the branches: Statistical Learning Theory, Transfer Learning, Causal Inference, and Optimization Landscape each pick up exactly one cell of the matrix and go deeper.