# Ledger — toy checks for the fixed-point blog (2026-11-29) Time box: about 30 min of compute on 2 CPU cores, no GPU. Code: model.py, structural.py, train.py (this folder). ## Part A — structural checks (structural.py, float64, random weights, seeds 0-2). Done; results in structural.json. ## Part B — toy training (train.py). Written BEFORE the runs below. Task: state tracking in S3, n = 16, two generators as tokens, target at every position = current group element (6 classes, chance 0.167). Model: 2 layers, d = 32, FBT-style fusion. 1000 steps, batch 64, fresh data every step, Adam 2e-3 with warmup + cosine, 3 seeds. Evaluation: exact decoding semantics (fixed point) on 4000 fresh sequences. Noise floor: std over 3 seeds, reported with every number. Hypotheses - H1 (coarsening costs serial depth): with exact training, accuracy at the last position is about 1.0 for B = 1 and falls as B grows; B = 16 (no feedback, standard transformer) is near chance at the last position. Smoke test already showed B = 16 at 0.18 after 1000 steps and B = 1 at 1.0 after 300 steps (seed 0). - H2a (reading is enough when the writer must predict the state anyway): detaching the fed-back state (jac2det, K = 0) is about as good as keeping the gradient (jac2, K = 1) on this task. - H2b (extrapolation past the trained depth): models trained with 2 or 3 parallel passes are evaluated as a 16-step recurrence. Prediction: jac3 >= jac2 at late positions; unsure whether either extrapolates (FBT reports failure with <= 2 passes and success once 3-pass batches are mixed in). Smoke test: jac3 seed 0 gave 0.89 at the last position. - Control: baseline B = 16 also run for 16000 steps (compute-matched to exact B = 1) to see whether it catches up. Runs are appended to runs.jsonl by train.py (one JSON line per run; never overwritten). ## Results (2026-11-29, 30 runs in runs.jsonl; summary.json regenerates with `python3 aggregate.py`) Part A (structural.json, `python3 structural.py`, ~80 s): all structural predictions hold on 3 random-weight models. - exact positions after s Jacobi sweeps from zero init: exactly s (s = 1..12), every seed; the "prefix unchanged" criterion certifies s-1 positions, never more. - J strictly block-lower-triangular (upper incl. diagonal = 0), J^n = 0 exactly, sum_k J^k vs (I-J)^-1: 1e-16; ||J|| = 1.5-2.2. - direct term + sum_k g_k equals the gradient of sequential decoding bit for bit; negative controls fail as they should (drop last term: 5e-5..2e-4; drop direct term: 0.5-0.7). K+1 unrolled passes from the fixed point = g_0..g_K exactly. - verifying 6 drafted positions: B = 1 needs 6 passes (1 more exact per pass); one block: exact after 1 pass. - variable-B draft-and-accept decoding (B_max = 4, 35% corrupted drafts): tokens identical to sequential decoding under the same cut; 9-12 target passes for 24 tokens; single-pass state error <= 1.1e-15; 4-23 of 24 tokens differ from B = 1 decoding. Part B (last-position accuracy under exact decoding, mean ± std over 3 seeds; chance 0.167) | config | steps | decode, last pos | decode, mean over pos | last training pass, last pos | |---|---|---|---|---| | exact B=1 | 1000 | 1.000 ± 0.000 | 1.000 | - | | exact B=2 | 1000 | 1.000 ± 0.000 | 1.000 | - | | exact B=4 | 1000 | 1.000 ± 0.000 | 1.000 | - | | exact B=8 | 1000 | 0.171 ± 0.009 | 0.685 | - | | exact B=16 (no feedback) | 1000 | 0.217 ± 0.027 | 0.684 | - | | exact B=16 (no feedback) | 16000 | 0.877 ± 0.061 | 0.985 | - | | 2 passes, detached | 1000 | 0.893 ± 0.066 | 0.973 | 0.289 ± 0.053 | | 2 passes, open gradient | 1000 | 0.323 ± 0.062 | 0.715 | 0.257 ± 0.021 | | 2 passes + 10% three-pass steps | 1000 | 0.622 ± 0.188 | 0.884 | 0.268 ± 0.012 | | 3 passes, open gradient | 1000 | 0.915 ± 0.020 | 0.965 | 0.671 ± 0.154 | Interpretation - H1 supported, with a sharp edge: B <= 4 solves the task, B = 8 is at chance at the last position, same as no feedback at equal steps. The no-feedback baseline given 16x the steps (compute-matched to exact B = 1) reaches 0.88, still short of 1.0. - H2a was wrong as stated. At the trained depth detach and open are about equal (0.29 vs 0.26), but as a deep recurrence the detached model extrapolates (0.89) and the open-gradient 2-pass model does not (0.32). Difference 0.57 >> seed std 0.07. - H2b: a third pass fixes extrapolation (0.92); a 10% mixture helps partly and noisily (0.62 ± 0.19). Hypothesis for the mechanism (not tested further): with open gradients and 2 passes, the pass-2 loss shapes the pass-1 state into a code that the map's own output never has to match; detaching, or a pass that reads the map's own output, removes that freedom. - Truncated training does bootstrap: decode accuracy at position 16 (0.89-0.92) is far above what the training passes compute there (0.29-0.67). Threats to validity: one synthetic task, tiny models (2 layers, d = 32), 1000 steps, 3 seeds, no hyperparameter tuning for any arm, population std over 3 seeds. Nothing here says the same holds for language models. Not done: a DFlash-style drafter on a feedback model (needs LM-scale checkpoints and drafter training); variable-B *training*. Time log: 21:04 structural checks; 21:10-21:15 smoke tests (parity too easy for the baseline -> switched to S3; data generator had to be jitted); 21:16-21:33 main runs; 21:34 added jac2mix; 21:36 aggregation and negative controls. Compute: about 35 CPU-minutes on 2 cores.