summaryrefslogtreecommitdiff
path: root/notes/42_master_technical_reference.md
blob: 65a2ae55442bbca987b7c23bab749f5d77907e42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
# Master Technical Reference

Self-contained record of every result, with full statements, proofs,
derivations, exact numbers, configs, and negative results. Built for writing
the paper by hand: you should not need any other file open. Cross-checked
against the raw CSVs on 2026-06-13.

> **2026-07-21 experiment addendum:** note 43 adds the FA/DFA depth-1-to-6
> calibration, FA finite-time depth/width grid, learning-rate controls, and
> cross-entropy CNN validation.  Its results supersede this file's earlier
> statement that DFA and non-MLP validation were absent; the theorem/proof
> material below remains the technical source.

Conventions in this file:
- "no fit" = no post-hoc scalar tuned to the reported data; predictions come
  from initialization or two early kernel snapshots.
- Every empirical number cites its output directory; commands are in note 40.
- Numbers flagged **[verify]** could not be reproduced from current outputs
  and must be relocated or dropped before they enter the paper.

Contents:
1. Notation and setup
2. Result A — static alignment law (Thm 1) + capacity cost
3. Result B — multilayer scaling (Prop 1) + observed surprisal
4. Result C — prior-free minimax (Thm 2)
5. Result D — random-subspace null model (Prop 2) + its failure
6. Result E — initial erosion theorem (Thm 3) + Gaussian e0 (Prop 3)
7. Result F — closed-form soft ramp (Thm 4, Cor 1, Cor 2)
8. Result G — finite-time estimator + the lazy-validity chain
9. Negative results (consolidated)
10. Generalization: teacher test gap
11. Related work, exact positioning
12. Open problems
13. Honesty boundaries

---

## 1. Notation and setup

**Network.** MLP with widths `n_0, n_1, ..., n_L`, forward weights
`W_l in R^{n_l x n_{l-1}}`, ReLU `phi`. Forward pass on input `x`:
`h_0 = x`, `pre_l = W_l h_{l-1}`, `h_l = phi(pre_l)` for hidden layers,
`h_L = pre_L` (linear output). Train on `N` examples `X` with squared loss

```
L = (1/2N) ||r||^2,   r = f_theta(X) - Y  (all residuals stacked, length N n_L).
```

**The single FA/BP difference (backward pass).** Write `g_l` for the gradient
of layer `l`. Both rules share the output residual. Propagating error
backward through layer `l+1`:

```
BP:  delta_l = (delta_{l+1} W_{l+1})  ⊙ 1[pre_l > 0]
FA:  delta_l = (delta_{l+1} B_l^T)    ⊙ 1[pre_l > 0]
```

with `B_l in R^{n_l x n_{l+1}}` a fixed random matrix replacing `W_{l+1}^T`.
The layer gradient is `g_l = delta_l^T h_{l-1}` in both cases. **Key fact used
throughout:** the output layer has no backward matrix above it, so

```
g_L^FA = g_L^BP   (the output-layer gradient is identical under both rules).
```

`D_l = n_l n_{l+1}` is the flattened backward-matrix dimension.
`P = sum_l n_l n_{l-1}` is the parameter count.

**Learning speed (first-order loss decrease).** A step `-eta g` decreases the
loss to first order by `eta <g^BP, g>`. Define

```
speed_BP = sum_l ||g_l^BP||^2,
speed_FA = sum_l <g_l^BP, g_l^FA>,
e_0 = 1 - speed_FA / speed_BP    (fraction of BP's speed FA discards in one step).
```

`e_0 = 0`: FA as good as BP this step. `e_0 = 1`: FA makes no progress.

**Tangent operators.** Let `J = d f_theta(X) / d theta` be the output
Jacobian (size `N n_L x P`). Then

```
K_BP = J J^T            (the NTK; symmetric PSD)
K_FA = J J_tilde^T      (J_tilde = FA update Jacobian; NON-symmetric)
S_FA = (K_FA + K_FA^T)/2  (only the symmetric part affects loss to first order)
```

Equivalently `speed_BP = r^T K_BP r / (...)` and `speed_FA = r^T S_FA r`,
i.e. `speed`s are residual-direction quadratic forms in these operators.
Residual recursion (gradient descent in output space):
`r_{t+1} = (I - (eta/N) K_t) r_t`.

**Output / hidden share.** With `g_out = g_L^BP`,

```
rho = output_share = ||g_out^BP||^2 / speed_BP = r^T K_out r / r^T K_BP r  in (0,1),
hidden_share = 1 - rho.
```

`rho` is the single scalar that drives the gap results. It is read off one BP
backward pass.

---

## 2. Result A — static alignment law (Thm 1)

### Statement

Let `A_l = W_{l+1}^T`, and let `A_l/||A_l||_F`, `B_l/||B_l||_F` be independent
isotropic unit directions in `R^{D_l}`. Define the squared Frobenius cosine

```
Q_l = <A_l, B_l>_F^2 / (||A_l||_F^2 ||B_l||_F^2).
```

Then

```
Q_l ~ Beta(1/2, (D_l - 1)/2),   E[Q_l] = 1/D_l,   D_l Q_l => chi^2_1 as D_l -> inf.
```

Tail / survival: `Pr(Q_l >= q) = 1 - I_q(1/2, (D_l-1)/2)` (regularized
incomplete Beta). High-dimensional bound `Pr(Q_l >= q) <~ 2 exp[-(D_l-1)q/2]`.

### Proof

Rotational invariance lets us fix `a = e_1`, so `Q = b_1^2` with `b` uniform on
the sphere `S^{D-1}`. The squared first coordinate of a uniform unit vector is
exactly `Beta(1/2, (D-1)/2)`. (Equivalently `Q = X/(X+Y)`, `X ~ chi^2_1`,
`Y ~ chi^2_{D-1}` independent.) ∎

### Reading

Typical cosine `~ 1/sqrt(D)`. For any realistic layer (`D = n^2` in the
thousands) a random feedback matrix is essentially orthogonal to the one BP
wants. The theorem says exactly how orthogonal, with no slack.

### Capacity cost

For target alignment `q`, the log-volume cost

```
C_l(q) = -log Pr(Q_l >= q).
```

High-D: `C_l(q) ≈ ((D_l-1)/2) log(1/(1-q)) = Theta(D_l)`. Small-q:
`C_l(q) ≈ D_l q / 2`. (Natural logs.)

### Validation (output: `capacity_empirical_validation/`, 100k samples/dim, 700k total)

Rotational-invariance sampling `Q = z_1^2/||z||^2`, `z ~ N(0,I_D)`:

| D | emp mean | theory mean | KS stat | KS p | emp q99 | theory q99 |
|---|---|---|---|---|---|---|
| 64 | 0.015679 | 0.015625 | 0.00349 | 0.173 | 0.10071 | 0.10071 |
| 128 | 0.0078528 | 0.0078125 | 0.00197 | 0.833 | 0.051165 | 0.051097 |
| 256 | 0.0039289 | 0.0039063 | 0.00296 | 0.345 | 0.025990 | 0.025733 |
| 512 | 0.0019553 | 0.0019531 | 0.00164 | 0.950 | 0.012965 | 0.012913 |
| 1024 | 0.00097059 | 0.00097656 | 0.00312 | 0.283 | 0.0063694 | 0.0064679 |
| 2048 | 0.00048817 | 0.00048828 | 0.00311 | 0.288 | 0.0032339 | 0.0032368 |
| 4096 | 0.00024441 | 0.00024414 | 0.00243 | 0.597 | 0.0016322 | 0.0016191 |

Means/quantiles match to 3-4 digits; KS never rejects (all p > 0.17).
Capacity-tail calibration (same dir): max smoothed cost error 0.20 nats, mean
0.019 nats (note 02).

---

## 3. Result B — multilayer scaling (Prop 1) + observed surprisal

### Statement and proof

Independent layer blocks => alignment events independent, so probabilities
multiply and costs add:

```
p_all = prod_l Pr(Q_l >= q_l),    C_all = sum_l C_l(q_l).
```

Equal width (`D_l ≈ n^2`), fixed `q`: `C_all = Theta(L n^2)`,
`Pr(all q_l) = exp[-Theta(L n^2)]`. Chance threshold `q = c/D_l`:
`C_l ≈ c/2`, `C_all = Theta(L)`. Proof is the product rule for independent
events plus the `C_l = Theta(D_l)` evaluation from Result A. ∎

### Observed surprisal (the distributional companion)

`S_l = -log Pr(Q_l' >= Q_l)` with `Q_l'` an independent draw. By the
probability integral transform `Pr(Q_l' >= Q_l) ~ Uniform(0,1)`, so
`S_l ~ Exp(1)` and for `L` independent layers `sum_l S_l ~ Gamma(L, 1)`. The
transformed surprisal law is dimension-free; dimension enters only through the
raw `Q_l` scale and `C_l(q)`.

### Validation (output: `multilayer_capacity_distribution/`, 100k/(D,L))

`D in {64,256,1024,4096}` x `L in {1,2,4,8,16}`: **max KS 0.0042**, mean abs
mean-error 0.0042, mean abs var-error 0.040. E.g. D=64,L=16: emp mean 16.008
vs 16, KS 0.0025; D=4096,L=1: 1.0004 vs 1, KS 0.0019. Multilayer product
capacity (note 02): max err 0.46 nats, mean 0.039 nats.

---

## 4. Result C — prior-free minimax (Thm 2)

### Statement

Let `b_hat = vec(B)/||B||_F in S^{D-1}` drawn from any distribution `mu`,
`M_mu = E_mu[b_hat b_hat^T]` (so `tr M_mu = 1`), and `a in S^{D-1}` an unknown
target. Then

```
sup_mu inf_{||a||=1} E_mu[(a^T b_hat)^2] = sup_mu lambda_min(M_mu) = 1/D,
```

attained by isotropic feedback (`M_mu = I/D`).

### Proof

`E_mu[(a^T b_hat)^2] = a^T M_mu a`; its worst case over `a` is
`lambda_min(M_mu) <= tr(M_mu)/D = 1/D` (min eigenvalue <= average eigenvalue).
Isotropic `mu` gives `M_mu = I/D`, so every direction equals `1/D`, achieving
the bound. ∎

### Reading and prior-aware corollary

Anisotropic feedback that aligns better with some directions does so by
aligning worse with others; an adversarial task lands on the bad ones.
Sparsity / orthogonality / low rank change conditioning or hardware cost but
cannot beat `1/D` worst-case. With a target prior `Sigma_A = E[a a^T]`,
`E_{a,B}[(a^T b_hat)^2] = tr(Sigma_A M_mu)`, so with prior information
top-eigenspace feedback can win; without it, isotropy is minimax. Note the
average-case over uniform targets is `1/D` for every `mu` — the distinction
between initializations is worst-case coverage, not mean.

### Validation (output: `minimax_initialization/`, D=32, 1/D = 0.03125)

isotropic `lambda_min = 0.029084`; rademacher 0.028947; anisotropic 0.006150;
rank-deficient subspace 0; axis-aligned 0. Coverage-distribution matching for
each scheme in `initialization_distribution_matching/` (D=128, worst KS
0.0047 on non-degenerate schemes).

---

## 5. Result D — random-subspace null model (Prop 2) + its failure

### Statement and proof

Toy model: alignment deletes a uniformly random `k`-dim subspace `E` of the
`P` parameters, leaving projected kernel `J Q_E J^T`, `Q_E = I - P_E`. With
`v = J^T r`, one-step erosion `e(r) = ||P_E v||^2 / ||v||^2`. By rotational
invariance `E[P_E] = (k/P) I`, so `E[e(r) | J, r] = k/P`, and for Haar-random
`E`

```
e(r) ~ Beta(k/2, (P-k)/2),   E[e] = k/P,   Pr(e = 0) = 0  for k > 0.
```

Proof: `||P_E v||^2/||v||^2` for a fixed `v` and Haar `k`-subspace is the sum
of `k` squared coordinates of a uniform direction, i.e. `Beta(k/2,(P-k)/2)`. ∎

### Scaling consequence (the "no free capacity" sell)

`k` fixed, `P -> inf`: `E[e] -> 0` (burden vanishes). `k/P -> alpha > 0`:
`E[e] -> alpha` (relative erosion persists). Overparameterization dilutes the
cost through `k/P`; it never deletes it, and there is no threshold —
`Pr(e=0)=0` for any `k>0`. Role: this is the clean mechanism that motivates
the operator object. **It is a null model, not a gap predictor.**

### Negative result: hard-k overpredicts real FA (output: `soft_erosion_theory_vs_empirical/`)

Using `rho ~ Beta((P-k)/2, k/2)` and propagating the BP spectrum overpredicts
the measured gap badly, worst on the over-capacity side:

| width | margin | hard-k theory mean | empirical mean |
|---|---|---|---|
| 40 | +130 | 0.040374 | 0.000162 |
| 32 | +2 | 0.064534 | 0.003729 |
| 24 | -126 | 0.121998 | 0.046464 |
| 20 | -190 | 0.151140 | 0.146803 |

Up to ~250x at positive margin. Local one-step erosion measured 0.23-0.39 vs
hard-k Beta-mean 0.63-0.73 (~2x). Conclusion: raw constraint count `k` is not
the effective burden `k_eff`; the real object is operator erosion (Result E).

---

## 6. Result E — initial erosion theorem (Thm 3) + Gaussian e0 (Prop 3)

### Thm 3 (initial erosion = hidden speed share)

Fix forward weights `W`, data, residual `r`. Assume feedback matrices `B_l`
are independent of `W, r` with zero first moment in every hidden backward
direction, and the output layer uses the true gradient. Then

```
E_B[speed_FA | W, r] = ||g_L^BP||^2,
E_B[e_0 | W, r] = 1 - ||g_L^BP||^2 / sum_l ||g_l^BP||^2 = 1 - rho =: hidden_share.
```

**Proof.** The output FA gradient equals the BP gradient, contributing
`||g_L^BP||^2`. Each hidden FA gradient is multilinear in zero-mean
independent feedback matrices, so `E_B[g_l^FA | W,r] = 0` for hidden `l`,
hence `E_B[<g_l^BP, g_l^FA>] = 0`. Summing leaves only the output term. ∎

### Reading

On step one, random feedback points hidden updates in random directions, so on
average they accomplish nothing; FA gets only the output layer, which it
computes correctly, for free. The expected initial cost is exactly the share
of work the hidden layers were doing — a number from one BP backward pass.
This is the residual-direction version of Song-Xu-Lafferty's `K_FA = G + H_FA`
at init: `E_B[H_FA] = 0`, so `E_B[K_FA] = K_out`, NOT `(1 - k/P) K_BP`. That
is why hard-k was pessimistic.

### Prop 3 (exact Gaussian e0, one hidden layer)

One-hidden-layer ReLU MLP `x -> W1 -> ReLU -> W2 -> out`, Gaussian feedback
`B_{a,c} ~ N(0, sigma_B^2)`. For fixed `W, r, gates`,
`speed_FA = ||g_out^BP||^2 + <C(W,r), B>`, linear in `B`, with explicit
coefficient matrix

```
S_{a,c,d} = sum_n gate_{n,a} x_{n,d} delta_{n,c},
C_{a,c}   = sum_d g_bp_{a,d} S_{a,c,d},
<g_hidden^BP, g_hidden^FA(B)> = sum_{a,c} C_{a,c} B_{a,c},
```

(`x_n` input, `delta_{n,c}` output residual gradient, `gate_{n,a}` ReLU gate,
`g_bp_{a,d}` BP hidden gradient). Hence `<C,B> ~ N(0, sigma_B^2 ||C||_F^2)` and

```
e_0(B) ~ Normal( 1 - ||g_out^BP||^2/speed_BP,  sigma_B^2 ||C||_F^2 / speed_BP^2 ),
```

exact conditionally on `(W, r)`, independent of horizon `T`. Deeper FA keeps
the exact mean (Thm 3) but the finite-width law is no longer exactly Gaussian
(hidden terms become products of feedback matrices; a Wick/CLT expansion
applies).

### Validation — moments (output: `actual_fa_initial_operator_moments/`)

2-hidden-layer nets, 6 widths x 6 init seeds x 512 real-FA-backward feedback
draws. Predicted erosion = hidden share (no fit). Per-width at init seed 0:

| width | predicted | empirical | error |
|---|---|---|---|
| 16 | 0.45193 | 0.44435 | -0.0076 |
| 24 | 0.31202 | 0.31229 | +0.0003 |
| 32 | 0.23606 | 0.23971 | +0.0037 |
| 48 | 0.26147 | 0.25986 | -0.0016 |
| 64 | 0.20912 | 0.21126 | +0.0021 |
| 96 | 0.25977 | 0.25915 | -0.0006 |

Across all 36 rows the prediction sits within Monte-Carlo error of the
measurement: **max |error| ≈ 0.008** (width 24 init 4: +0.0080; width 16 init
0: -0.0076). The predicted erosion itself spans 0.15-0.45 across configs, so
this is a wide-range calibration, not a single point.

> **[verify]** The headline "E_B[e_0] = 0.4378 ± 0.008 vs 0.4403" cited in
> notes 35/36 and the old draft does NOT appear in the current moments CSV
> (which has no 0.44 row or aggregate). Either relocate its source run or
> replace it with the table above before it enters the paper. The table above
> is the reproducible evidence.

### Validation — distribution (output: `actual_fa_initial_erosion_distribution/`, post-fix real backward)

Sampler runs the real FA backward per draw (note 37 fix); the analytic `<C,B>`
form is only an internal check (`linear_identity_max_err <= 8.9e-16`).
4 widths x 3 inits x 4096 draws, standardized then KS-tested vs Normal:

| width | init | theory mean | emp mean | theory std | emp std | KS | p |
|---|---|---|---|---|---|---|---|
| 16 | 0 | 0.113830 | 0.113413 | 0.027228 | 0.027401 | 0.0150 | 0.314 |
| 16 | 2 | 0.131704 | 0.131796 | 0.028843 | 0.028942 | 0.0056 | 0.999 |
| 32 | 1 | 0.045831 | 0.045870 | 0.007278 | 0.007396 | 0.0094 | 0.858 |
| 32 | 2 | 0.227193 | 0.227691 | 0.031148 | 0.030779 | 0.0166 | 0.206 |
| 64 | 0 | 0.031155 | 0.031119 | 0.003652 | 0.003583 | 0.0118 | 0.609 |
| 128 | 1 | 0.024377 | 0.024353 | 0.001770 | 0.001774 | 0.0182 | 0.130 |

All 12 panels: KS p in [0.13, 0.999], means/stds match to 3-4 digits, no fit.

### Validation — MNIST (output: `real_data_validation_mnist/`, note 38)

Thm 3 is data-agnostic. On MNIST-subset MLPs (784-dim input), 16 configs
(width {64,256} x depth {1,2} x 4 inits), 512 real-backward draws each:
hidden share spans **0.39-0.82**, `|E_B[e_0] - hidden_share| in [0.0001,
0.0089]` (all within ~2 stderr). Examples: depth 1 width 64 init 2: pred
0.8189 / meas 0.8188; depth 2 width 256 init 2: pred 0.3949 / meas 0.3971.
On 784-dim input the hidden (here input-layer-dominated) share is large; the
theorem prices it with no fit.

---

## 7. Result F — closed-form soft ramp (Thm 4, Cor 1, Cor 2)

### Assumptions

- **A1 (lazy).** Tangent operators frozen at init:
  `r_t^BP = (I - (eta/N) K_BP)^t r_0`. Standard NTK approximation; its
  breakdown is the drift the estimator corrects (Result G).
- **A2 (scalar erosion).** `S_FA ≈ rho K_BP`. Exact in the residual direction
  by Thm 3 (`r^T E_B[S_FA] r = rho · r^T K_BP r`); the assumption is that the
  same slowdown `rho` applies in every eigendirection.

### Thm 4 (closed-form gap)

In the BP eigenbasis `K_BP v_i = lam_i v_i`, `c_i = v_i^T r_0`:

```
gap_T = L_FA(T) - L_BP(T)
      = (1/2N) sum_i c_i^2 [ (1 - eta rho lam_i/N)^{2T} - (1 - eta lam_i/N)^{2T} ].
```

**Proof.** `L_rule(T) = ||r_T^rule||^2/2N`. Expand `r_0 = sum_i c_i v_i`.
A1 gives `||r_T^BP||^2 = sum_i c_i^2 (1 - eta lam_i/N)^{2T}`. A2 makes `S_FA`
share eigenvectors with eigenvalues `rho lam_i`, so
`||r_T^FA||^2 = sum_i c_i^2 (1 - eta rho lam_i/N)^{2T}`. Subtract, divide by
`2N`. ∎

### Cor 1 (soft, not a phase transition)

`rho < 1` => each bracket `>= 0` => `gap_T >= 0`. `gap_T` is real-analytic in
`(rho, {lam_i}, T)`, so deforming capacity smoothly moves the gap smoothly: a
soft ramp, no kink. A discontinuity would need `rho -> 0`, which never happens
since `rho >= output_share > 0`. The hard threshold
`Delta d_hard = max(0, k-(P-d))` is recovered only in that degenerate limit.

### Cor 2 (the ramp law)

Underparameterized side (many `tau_i = N/(eta lam_i) >~ T`): each bracket
`≈ 2 eta T (1-rho) lam_i / N`, so `gap_T ≈ (1-rho)(eta T/N^2) sum_slow c_i^2
lam_i` (residual-mass limited). Converged side (`L_BP ≈ 0`): the gap is the
slowest surviving FA mode,

```
gap_T ≈ (c_min^2/2N) exp(-2 eta rho lam_min T / N),
log gap_T ≈ const - (2 eta T/N) rho lam_min.
```

The ramp is driven by `lam_min(w)` growing smoothly with capacity.

### Validation — the dense empirical ramp (output: `phase_transition_dense_T30000_352traj/`)

Random-label task, full-batch SGD lr 0.01, `T = 30000`, 11 widths 20-40, 1
init x 32 feedback = 352 trajectories. Measured train gap (`train_gap_mean`):

| width | FA margin | gap mean | gap std (32 seeds) |
|---|---|---|---|
| 20 | -190 | 0.146803 | 0.042009 |
| 22 | -158 | 0.100526 | 0.034803 |
| 24 | -126 | 0.046464 | 0.024474 |
| 26 | -94 | 0.029671 | 0.023591 |
| 28 | -62 | 0.014195 | 0.009368 |
| 30 | -30 | 0.007466 | 0.004624 |
| 32 | +2 | 0.003729 | 0.003787 |
| 34 | +34 | 0.002079 | 0.002232 |
| 36 | +66 | 0.000791 | 0.000605 |
| 38 | +98 | 0.000553 | 0.000545 |
| 40 | +130 | 0.000162 | 0.000134 |

Smooth, no kink at margin 0, nonzero at positive margin. `log gap` linear in
margin: **R^2 = 0.993**, slope -0.0209. (History: near-margin-0 gap was 0.297
at T=3000, 0.051 at T=10^4, 0.0037 at T=3x10^4 — the apparent kink dissolved
as training lengthened, notes 19-22.)

### Validation — closed form vs measured (output: `closed_form_soft_ramp/`, corrected per note 37)

Closed form evaluated on the *same data and init seed* the sweep used, plus 4
extra init seeds (same data) for a no-fit band. All of `rho, lam_i, c_i`
measured at init.

```
corr(log pred, log measured), matched single init     = 0.933
corr(log pred, log measured), 5-init geometric mean   = 0.982
corr(lam_min, -log measured), matched init            = 0.948
corr(lam_min mean over inits, -log measured)          = 0.987
ensemble-mean lam_min(w) over the sweep               = 0.026 -> 0.763 (monotone)
rho across widths (5-init mean)                        = 0.68 - 0.79
```

A single init's frozen `lam_min(w)` is noisy across widths while the T=30000
measured ramp is smooth (drift + feedback averaging smooth it), so matched
single-init corr is 0.933; the init ensemble (still zero fitted parameters)
tracks the ramp at 0.982 and isolates `lam_min` as the driver at 0.987.
Frozen-init compresses the range (under-predicts the large-gap end,
over-predicts the small-gap tail) — exactly the operator drift the estimator
recovers. **The previously reported 0.977 is retired** (it came from a
data/init-mismatched comparison; note 37).

---

## 8. Result G — finite-time estimator + the lazy-validity chain

The closed form gives mechanism and shape; the estimator gives magnitude. The
path to it is a measured three-step chain.

### Step 1 — frozen K(0) is exact at small T (output: fixed-width T=5 runs, note 10)

Fixed width 64, `N in {64..320}`, SGD lr 1e-3, frozen-K(0) residual recursion,
256 trajectories. Horizon diagnostic (empirical gap / predicted gap):

| T | emp gap | pred gap | ratio | MAE |
|---|---|---|---|---|
| 1 | 0.030734 | 0.029853 | 1.028 | 0.00088 |
| 5 | 0.112912 | 0.113947 | 0.987 | 0.00171 |
| 10 | 0.156304 | 0.164964 | 0.942 | 0.00866 |
| 20 | 0.163335 | 0.183836 | 0.884 | 0.02050 |
| 50 | 0.125547 | 0.154075 | 0.814 | 0.02853 |

At **T=5: corr 0.99947, MAE 0.00083, mean ratio 0.993**. The operator object
is correct; freezing is a local-time theorem that drifts out of regime by
T=50.

### Step 2 — the T=50 error is entirely kernel drift (output: `finite_time_kernel_probe_T50_N128_8runs/`, note 13)

Replace frozen K(0) by the oracle product of measured `K(t)` at every step:

| predictor | gap MAE | BP loss MAE |
|---|---|---|
| fixed K(0) | 0.027683 | 0.025404 |
| time-varying K(t) | 0.000273 | 0.000237 |

Drift `K_t - K_0` removes ~99% of the gap error. So the finite-time problem is
to model `K_t`, not to fit a scalar; higher-order output-Taylor terms are
negligible.

### The estimator (output: `compressed_operator_s20_256traj_T50_width64_plots/`, notes 15-17)

Read kernels at init and one early step `s`, extrapolate linearly, roll out:

```
K_hat_t = K_0 + (t/s)(K_s - K_0),   r_hat_{t+1} = (I - (eta/N) K_hat_t) r_hat_t.
```

Only inputs: `(K_0, K_s)` per rule. No fitted scale/offset/calibration.
256 trajectories, T=50, s=20:

| predictor | MAE | bias | corr |
|---|---|---|---|
| fixed K(0) | 0.018487 | +0.018487 | 0.984460 |
| FA compressed | 0.014915 | +0.014915 | 0.990472 |
| **linear velocity** | **0.0018934** | **-0.0014912** | **0.998848** |
| early re-tangent | 0.0048684 | +0.0048684 | 0.999077 |

Linear velocity beats fixed K(0) ~10x. `linear (low) <= empirical <=
retangent (high)` is a no-fit bracket.

### Stress grid (output: `operator_stress_grid_summary/`, note 16)

Random-label, SGD lr 1e-3; 5 N-values x 8 traj per new setting:

| setting | rows | fixed MAE | linear MAE | retangent MAE | linear bias | corr |
|---|---|---|---|---|---|---|
| d1,w64,T50,s20 | 40 | 0.003862 | 0.000233 | 0.001162 | -0.000233 | 0.999891 |
| d2,w32,T50,s20 | 40 | 0.047110 | 0.005652 | 0.013333 | -0.005375 | 0.994077 |
| d2,w64,T25,s10 | 40 | 0.020808 | 0.002722 | 0.005084 | -0.002668 | 0.999074 |
| d2,w64,T50,s20 | 256 | 0.018487 | 0.001893 | 0.004868 | -0.001491 | 0.998848 |
| d2,w64,T100,s40 | 40 | 0.034378 | 0.002647 | 0.008100 | -0.002169 | 0.998653 |
| d2,w96,T50,s20 | 40 | 0.016912 | 0.001794 | 0.004004 | -0.001551 | 0.998634 |
| d3,w64,T50,s20 | 40 | 0.051670 | 0.005049 | 0.012450 | -0.004916 | 0.998546 |

Holds across depth {1,2,3}, width {32,64,96}, horizon {25,50,100}: **linear
corr 0.994-0.99989**. Hard cases (w32, d3) raise drift magnitude but velocity
still cuts fixed-K(0) error ~10x.

### Bias structure (note 17)

Residual gap bias ≈ -0.0021, dominated by BP-loss overprediction (+0.0026);
FA near-unbiased (+0.0005). Cause: drift velocity decays after `s`
(`alpha_t < t/s`; e.g. true `alpha_50` = 1.46 BP / 1.17 FA vs linear 2.5).
This is kernel-path curvature, not a normalization error (the same recursion
was exact at T=5 and the oracle K(t) matched to 1e-4). No fitted correction is
introduced.

### MNIST estimator (output: `real_data_validation_mnist/`, note 38)

Width {128,256} x N {128,256,512} x 2 inits x 8 feedbacks = 96 traj, T=50,
s=20, lazy step `eta lam_max/N = 0.05`:

| predictor | MAE | bias | corr |
|---|---|---|---|
| fixed K(0) | 0.00613 | +0.00529 | 0.606 |
| **linear velocity** | **0.00196** | **-0.00062** | **0.911** |

Velocity MAE = **3.9% of the mean gap**, near-zero bias, beats fixed K(0)
everywhere. The gap only spans 0.040-0.063 across all 96 traj, so MAE/bias are
the operative stats and corr 0.911 is the weaker one (report it with the
range). At `eta lam_max/N = 0.3` the lazy chain breaks (fixed MAE 0.069 corr
0.37, velocity 0.030 corr 0.68) — the A1 scope boundary, recorded as a datum.

### Computational tool (kernel via gram identity, `real_data_validation.py`)

Tangent kernels are computed by the layerwise identity (avoids the `N n_L x P`
Jacobian):

```
K[(n,c),(m,c')] = sum_l <delta_l(n,c), delta'_l(m,c')> · <h_{l-1}(n), h_{l-1}(m)>,
```

`delta'` = BP deltas for `K_BP`, FA deltas for `K_FA`. `--self-test` verifies
this against an explicit autograd Jacobian: max error <= 5.3e-15 for
`K_BP = J J^T`, `K_FA = J J_tilde^T`, and `J^T r` vs the production gradient.

---

## 9. Negative results (consolidated — these justify the final objects)

| approach | result | output / note |
|---|---|---|
| hard-k as gap predictor | overpredicts 2x-250x, worst at positive margin | `soft_erosion_theory_vs_empirical/` (25) |
| infinitesimal derivative `K_0 + t·dK_0` extrapolated to T=50 | MAE **270** vs 0.024 baseline (diverges) | `fa_tangent_hierarchy_derivative_probe_eps005/` (31) |
| scalar directional-gain predictor across N | corr **0.124** (vs operator 0.999) | `early_directional_predictors_*` (14) |
| trajectory bridge on long horizons | shape corr 0.97 but 2-3x scale error | (02, 08) |
| phase-transition (kink) hypothesis | dissolves as T grows; dense T=30000 smooth | (19-22) |

Each is one sentence in the paper. The derivative blow-up (31) and hard-k
overprediction (25) most directly motivate, respectively, the bounded
two-snapshot velocity estimator and the move from constraint-count to operator
erosion.

---

## 10. Generalization: teacher test gap (output: `teacher_test_gap_sgd_T8000/`, note 39)

MLP teacher (width 64, 2 hidden, noiseless, normalized targets), N=256 train /
2048 test, SGD lr 0.01, T=8000, widths 8-96, 3 init x 8 feedback = 24 FA
runs/width.

| width | train gap | test gap (mean ± stderr) |
|---|---|---|
| 8 | 0.249 | +0.177 ± 0.020 |
| 12 | 0.158 | +0.038 ± 0.016 |
| 16 | 0.112 | -0.038 ± 0.015 |
| 24 | 0.080 | -0.044 ± 0.018 |
| 32 | 0.085 | -0.120 ± 0.013 |
| 48 | 0.048 | -0.014 ± 0.014 |
| 64 | 0.026 | +0.010 ± 0.008 |
| 96 | 0.0069 | +0.045 ± 0.011 |

Train (optimization) gap: positive, monotone-decreasing — the invariant soft
ramp. Test gap: changes sign — FA generalizes significantly *better* at
intermediate width (-0.120 ± 0.013 at w=32, an implicit-regularization effect)
and settles slightly positive once both fit. The optimization gap is the
object the theory prices; its test-side consequence is task-dependent, which
is exactly why the theory is built on the former. Reported as scoping evidence,
not a contribution. Caveat: single task family, one train size; the sign-flip
location moves with task details.

---

## 11. Related work, exact positioning

- **Lillicrap et al. 2016** (FA works; alignment emerges), **Nokland 2016**
  (DFA, deep), **Refinetti et al. 2021** (align-then-memorize). They answer
  "can FA learn?"; we answer "what does it cost?". Refinetti's alignment phase
  is exactly our drift `K_s - K_0`.
- **Song, Xu, Lafferty 2021** — two-layer FA converges (over-param), alignment
  optional without regularization; decomposition `K_FA = G + H_FA`, `H_FA`
  non-PSD and small at init. Complement, not conflict: at init their `H_FA` is
  our Thm 3 (`E_B[H_FA] = 0`, residual direction). Convergence to zero *final*
  error and a nonzero *operator* gap are different statements. Phrase as
  complement; never as a correction.
- **Jacot et al. 2018** (NTK), **Lee et al. 2019** (wide nets as linear
  models), **Chizat-Oyallon-Bach 2019** (lazy training) license the residual
  recursion and A1; our contribution there is FA's non-symmetric operator.
  **Huang-Yau 2020** (neural tangent hierarchy) is the `K_t`-dynamics program
  our estimator instantiates empirically.
- **Zhang et al. 2017** (fitting random labels) invites the "capacity absorbs
  it" guess; Result D/E is the soft rebuttal. **Montanari-Zhong 2022**
  (interpolation transition) is why a kink was a reasonable prior.

Rule: every citation earns a clause tied to one of our results. Verify each
against the source before it lands (style contract).

---

## 12. Open problems (state, do not solve)

Make the finite-time gap architecture-only: (i) predict `rho` (hence
`hidden_share`) from infinite-width NTK recursions; (ii) predict the drift
`K_s - K_0` (alignment gain) from initialization — naive `dot K_0` fails (note
31), so a bounded short-time alignment-gain path or deep-linear / two-layer
order-parameter solution; (iii) a per-mode spectral erosion `rho_i` refining
the scalar A2.

---

## 13. Honesty boundaries (what NOT to claim)

- Optimization (train) gap only; not test accuracy (Result 10 shows the test
  effect is task-dependent and can favor FA).
- Estimator is snapshot-conditional on `(K_0, K_s)`, no fitted parameters —
  never "architecture-only". State its lazy-regime scope (MNIST eta-sensitivity).
- Hard-k is a null model and a reported failure, never a gap predictor.
  `E[e] = k/P` (null) and `rho = 1 - E_B[e_0]` (measured share) are distinct.
- A1/A2 stated inline with Thm 4; A2 exact only in the residual direction.
- Soft ramp refutes one named hypothesis (redundancy-exhaustion threshold) via
  analyticity of `gap_T`; it is not a universal claim about FA.
- Scope: MLP, full-batch, squared loss, synthetic + MNIST-subset. Conv /
  transformers / stochastic optimization / real large-scale data are open.
- Closed-form correlation is 0.933 (matched) / 0.982 (ensemble); 0.977 retired.
- The "0.4378/0.4403" e0 headline is **[verify]** — use the moments table
  (Result E) instead until its source is relocated.