Fock-PARFLM with a hardened conservative exchange field (QK-normalised routing), L=2, everything live (Gen 3)
Generation 3: current. Every gradient path that applies is live. This model is the L=2
attention_potentialmodel with its exchange field's routing hardened: the routing scores are cosine similarities times a clamped, learned per-head logit scale, the scheme the creation gate already uses, and the field's parameters get their own gradient clip at 0.3. Nothing else differs. Its routing projections had grown 5–6× unchecked. The Gen 3 collection holds the live-gradient ladder.
Result
| model | settled PPL | this model against it | vs GPT-2 | parameters |
|---|---|---|---|---|
| this model (L=2) | 52.90 | 1.062× | 77.4M | |
| no-exchange, Fock mechanism on, live gradients, L=4 (Gen 3) | 50.10 | +5.6% | 1.006× | 76.8M |
| no-exchange, Fock mechanism on, live gradients (Gen 3, L=2): this model without the exchange field | 53.12 | -0.4% | 1.066× | 76.8M |
| attention_potential, everything live (Gen 3, L=2): this model without the hardening | 54.21 | -2.4% | 1.088× | 77.4M |
| conservative-only, live gradients (Gen 3, L=2) | 57.76 | -8.4% | 1.160× | 76.6M |
| the arm gpt2-matched (L=8) | 49.81 | +6.2% | 1.000× | 33.7M |
- Settled is the mean of the last three evals (52.83, 53.05, 52.81); best 50.97 at step 31,000, final 52.81. Consecutive evals near the end differ by about ±2 PPL.
- The hardening recovers what the unhardened field lost: 2.4% better than the same model without it.
- The hardened field still adds nothing measurable: 0.4% better than the model without the field, which is within eval noise. The three L=2 models with the register path settle within 2.5% of one another, whatever else is switched on.
- At step 3,000: 113.52, against the unhardened model's 118.14 (−3.9%) and the L=2 no-exchange live model's 123.59 at the same step.
- Pre-registration: two predictions, frozen before the run: settled 52.1 or lower (called 50%), actual 52.90, a miss; the exchange field's gradient flat within ±25% of its step-5,000 value through the stable phase (called 70%), a miss: it rose about 90% (0.43 → 0.82) through the stable phase, driven by the value projection W_v, which QK-normalisation does not touch.
- Run health: 0 watchdog, 0 spikes, 1.4% clip-hit (9 of 650 logged steps, max norm 1.08, all between steps 19,700 and 26,000); the global gradient norm rose from 0.44 to 0.87 through the constant-learning-rate phase and fell to 0.71 in the decay; one Colab session, fresh run, 1.67 s/step.
This model sees exactly 532,480,000 training tokens — 32,500 steps × 32 × 512 = 532,480,000 tokens — the same budget, corpus, tokenizer and validation batches as every other model in the table. No model is trained longer than another.
What changed from the unhardened model
Two switches, both off by default and verified bit-identical to the committed code when off (logits, loss and every gradient):
- QK-normalised routing (
RELAX_ATTN_QK_NORM, tagrfqk). Queries and keys are L2-normalised, so each score is a cosine times a per-head scale σ = min(exp λ, 100), initialised at 1/0.07. Eight new parameters, one per head. - Its own gradient clip (
RELAX_FIELD_CLIP = 0.3, tagrfclip0p3), as the other gates have.
Causality
SCAF leak monitor CLEAN at all seven audits (5k to 30k, 32.5k; future perturbation exactly 0, leak tax ≤ 1.9e-4 nats). The step-32,500 audit printed its honest and standard perplexities as nan; its future-perturbation test read exactly 0. Independent check on the final weights: future perturbation at five cut points exactly 0, batch independence exactly 0, prefix-only leak tax −1.4e-4 nats. The prefix-only logits differ by up to 0.05 from the full-sequence ones: shortening the input changes the reduction order. It carries no information, since any dependence on future content would have broken the bit-exact future-perturbation test. Output: causality_check_output.txt.
The hardened field
| step 500 | step 31,000 | |
|---|---|---|
| per-head logit scale σ (ceiling 100) | 14.3–14.6 | 11.6–21.7: no head near the ceiling |
| max routing score at the output layer, per head | 12–13 | 10–20 (unhardened: 23–37) |
| routing entropy at the output layer (share of uniform) | 0.55–0.59 | 0.55–0.75 |
| field's share of the output layer's conservative force (median) | 1.00 | 0.90 |
| field's gradient norm under the LM loss, on fixed tokens | 0.36 | 2.46, mostly the value projection |
- The routing logits are bounded, as designed. The query and key weights still grew, but under normalisation the scores no longer depend on their size.
- The field's gradient still grows, 6.9× from step 500 to the best checkpoint (unhardened: 12×). Almost all of it is the value projection, which the hardening does not touch, so the pre-registered flat gradient missed.
- Switching the field off costs +51% (51.34 → 77.31) at inference, yet the model trained without it is as good: the field substitutes for other work rather than adding to it.
Geometry: the most refinement-ready model in the programme
Terms. The three gates of the flow-or-maps probe (6b-7, CG2) ask whether the layer stack behaves like one continuous flow, or like a sequence of separate maps that only work at the step size they were trained at.
- Gate 1, inertia. The velocity entering each layer is reset to zero. The rise in perplexity is what the momentum is worth to the trained model.
- Gate 2, extension. More layers at the trained step Δt, so the trajectory is integrated past the trained time T = L·Δt.
- Gate 3, refinement. The same total time T, cut into more and smaller steps (Δt = T/N, N > L). A flow reads about the same (FLOW); separate maps degrade (MAPS). Refinement invariance is the precondition for reading the trajectory as a geodesic of the learned metric, rather than of the step map at one step size.
Defined and analysed in the book, Semantic Simulation (Zenodo, latest version): §8.9 Settling, refinement and depth extension, with Proposition 44 (phase-sampled dissipation: the θ/sin θ amplification, θ = ω·Δt) and Proposition 45 (the exact damped-mode flow is refinement-invariant); Remark 62 Refinement invariance is a testable precondition; and §27.15, the replay instrument and the CG experiments.
| reading | no-exchange, L=2 | unhardened | this model |
|---|---|---|---|
| PPL rise when the velocity is reset (6b-7, gate 1) | +33% | +49% | +34% |
| 1.5× the trained steps at the trained dt (6b-7, gate 2) | +51% | +325% | +441% |
| 1.5× the steps at fixed T (6b-7, gate 3) | +1,274% | +1,342% | +115% |
| switching the register path off at inference (6b-8) | +300% | +394% | +291% |
| freezing the register bank at initialisation (6b-8) | +24% | +17% | +2,280% |
| distance of the step from the Vθ-only geodesic, R(geo) (6b-9) | 0.911 | 1.068 | 1.050 |
| tokens strongly forced, last layer (6b-12) | 100% | 100% | 99.8% |
| ω·dt median at the endpoint (6b-13) | 3.40 | 2.07 | 2.29 |
- Refinement. At 1.5× the steps over the same integration time, this model loses +115%, against +1,274–1,342% for its L=2 siblings, and less than the L=4 model (+216%) or the conservative-only model (+143%). The hardening is the only difference from the unhardened model, so within this pair it is the cause. One seed.
- A different solution. Freezing the register bank costs +2,280%, against +17–24% for its siblings: this model relies on accumulated register content far more.
- What it rules out. Its output-layer stiff modes still cross π under refinement (θ ≈ 3.40 there), and its first-layer register increment is 7.8× the state, as large as its siblings'. Neither the π crossing nor the size of the register push explains why the L=2 Fock models fail refinement.
- Extension is worse, and every token is still strongly forced: the trajectory is forced, not geodesic.
Refinement readiness: what we are studying
A model is refinement-ready if cutting the same integration time into more, smaller steps leaves its output about the same (Gate 3 above). That is the precondition for reading its layer stack as a continuous flow rather than a fixed sequence of maps. This pair is the sharpest contrast in the programme. The unhardened model and this model differ only in the exchange field's routing hardening, yet at 1.5× the steps:
| model | Gate 3 |
|---|---|
| unhardened, everything live | +1,342% |
| no-exchange | +1,274% |
| hardened routing | +115% |
Ruled out so far, each by a pre-registered test:
- the stiff modes crossing π under refinement (the hardened model's still cross);
- the size of the register push (the hardened model's is 7.8× the state, as large as its siblings');
- the exchange field itself (the no-exchange model fails just as badly);
- the repeated register bookkeeping alone (holding it back on the no-exchange model recovers only about 13% of the penalty).
The hypothesis under test. A Fock model is refinement-ready when its register state is accumulated: a memory built up over the layers, so more steps add more of the same and the update behaves like a flow. It fails when its register state is reset and rewritten at each layer: refinement then inserts rewrite events the model never trained with, and the update behaves like a sequence of separate maps. The conservative-only model, which has no registers, refines well (+143%).
Evidence so far (2026-10-06):
| no-exchange | unhardened | hardened | |
|---|---|---|---|
| cost of freezing the register bank at initialisation (6b-8) | +24% | +17% | +2,280% |
| first-layer destruction gate, median | 0.994 | 0.978 | 0.478 |
| share of the initial register salience left after the last layer, median | 0.0007 | 0.0027 | 0.0646 |
| refinement penalty when the register bookkeeping is held back | falls (+1,446% → +994%) | — | rises (+111% → +503%) |
- The no-exchange and unhardened models empty nearly every register at the first layer and refill it from the current input. The hardened model empties about half and keeps the rest, retaining about 90× more of its initial register state.
- Holding the per-step register updates back under refinement helps the no-exchange model slightly but breaks the hardened one. In the hardened model those updates are part of why it refines well: its register state integrates smoothly with more steps.
- Not yet established: every model here is one seed. The decisive test, a second seed of the hardened and of the no-exchange model, is queued. Until it runs, the routing hardening is the cause only within this pair.
Pre-registration and results: Depth_Ladder_and_Matched_Baseline_Protocol.md, §5.18.
Reproduction
Set in Cell 0 of colab_fock_cfc_baoab_lowrank_depth_ladder_openwebtext_d384.ipynb
and run Cell 0 → 1 → 1b → 1c → 1d → 2 → 3 → 4 → 5 → 5b → 6:
LADDER_MECHANISM='attention_potential', REVERSE_CHANNEL=True, LADDER_L=2, LADDER_LR=1.2e-3,
RELAX_GRAD_PATH='live', VPHI_GRAD_PATH='live', XI_GRAD_PATH='live',
RELAX_ATTN_QK_NORM=True, RELAX_FIELD_CLIP=0.3 # tag 'rglive', 'vplive', 'xilive', 'rfqk', 'rfclip0p3'; dt = T/L = 4
One Colab session, a fresh run of 32,500 steps (PROBE_MAX_STEPS = None). Cell 5b
prints a HARDENED EXCHANGE FIELD banner (logit scale init 14.29, ceiling 100, 8
heads; the 0.3 clip group) and the gradient-path banners.
Training artefacts were written to semsimula_fock_cfc_baoab_owt_xi5long_topk16_dt32da16_mh4_aniso_dcvt5x8_vtjoint_cgqk_rglive_vplive_xilive_rfqk_rfclip0p3_L2probe_ob_untied_wsd_e5c_plgate_rep0.05_fockreg0.005_g0.1_baoab_cfc_lowrank_idt4_lr0p0012_attnpot/.
Glossary
| term | meaning |
|---|---|
| settled PPL | validation perplexity at block 512, the mean of the last three evals (steps 31,500–32,500). Best is the lowest single eval |
| Gen 1 / Gen 2 / Gen 3 | the model generations. Gen 1: explicit integrators. Gen 2: the CfC/BAOAB ladder with the sources of Vφ and ξ (and of an exchange field) detached, which keeps every force causal, but no loss gradient ever reaches an earlier token through them. Gen 3: the same forward pass with those gradients live |
| live / detached gradients | whether the loss gradient flows into the earlier tokens that act as sources of a force. Detaching changes no forward value; it only cuts that backward path |
| Vθ | the learned scalar potential on a token's state h, given its context ξ: a bank of anisotropic Gaussian wells. Its negative gradient is the conservative force on the token |
| Vφ | a pair potential between a token and a few selected earlier tokens (sparse top-k) |
| ξ | the causal context channels: exponential moving averages of earlier states at several horizons, which condition Vθ |
| Fock mechanism, registers, reverse channel | a pool of register particles, created and destroyed from the token context. The reverse channel is the register-to-token force; it is not the gradient of any potential on the tokens, so it is the model's non-conservative part |
| exchange field | an attention-like token-to-token interaction added to the conservative core. Each token is pushed by earlier tokens through learned query, key and value projections, as in attention. The ladder tests it in two forms, attention and attention_potential |
attention (non-conservative exchange field) | the exchange term enters as a force directly. It is not the gradient of anything, so the step stops being a geodesic step |
attention_potential (attention as a potential) | the same interaction written as a scalar potential whose gradient is the force. The routing weights are computed from the hidden states and held fixed with respect to the state being moved, so the force stays an exact gradient and the model stays conservative |
no-exchange (LADDER_MECHANISM = 'none') | the arm with no exchange field at all: Vθ, Vφ and ξ, plus the Fock register mechanism unless the arm is conservative-only |
live exchange field (RELAX_GRAD_PATH = 'live') | attention_potential with the identical forward force written out over live tensors, so the loss gradient reaches the field's sources and routing. In Gen 2 these were detached, and the field sent no gradient into any hidden state |
| Gen 2 probe | a Gen 2 arm retrained with one gradient path changed, to test a hypothesis before the full Gen 3 ladder. The live-exchange-field probe (attention_potential with RELAX_GRAD_PATH = 'live', the full 32,500 steps) is the one that found the gradient starvation |
| gpt2-matched | the reference transformer: GPT-2 architecture, d = 384, L = 8, tied embeddings (33.7M parameters), trained on the same tokenizer, corpus, batches and token budget. Shared by Gen 2 and Gen 3 |
tag components (vplive, xilive, rglive, norc, L4probe, idt…) | pieces of the run's variant tag, so that every configuration gets its own Drive folder: live Vφ sources, live ξ, live exchange field, no reverse channel, the depth L, and the integrator step Δt |
| conservative-only | a model in which every force is a gradient: no reverse channel and no non-conservative exchange field |
| CfC/BAOAB low-rank propagator | the integrator. Each layer step is split into position (A), force kick (B) and friction (O) substeps, and the stiff harmonic modes of Vθ are integrated exactly in closed form |
| ω·Δt, θ | a stiff mode's frequency times the step size. Past 2, an explicit integrator would be unstable (the wall); the closed-form propagator is not. θ/sin θ is the factor by which a split step's dissipation depends on the mode's phase, largest near θ = π |
| geodesic step, R(geo), share | the step a damped particle would take under Vθ alone; R(geo) is the distance of the real step from it, relative to the step's length. A component's share is how much it moves that distance (6b-9 attribution) |
| Gates 1–3, FLOW / MAPS | see Terms in the geometry section |
| CG1–CG7, 6b-N | the CfC-geometry experiments, and the ladder-notebook cells that run them |
| SCAF, Tier A, Tier B | the in-flight causal-leak monitor. Its core test changes future tokens and requires the logits at earlier positions to stay bit-identical. Tier A asks the same of the hidden states, as 1 − cos between the clean and perturbed state at each earlier position and layer. Tier B asks whether the perturbation moves any earlier state into a different dominant Vθ well (the basin-crossing rate). All three read 0 for a causal model |
| leak tax, prefix-only | the loss difference between scoring a position with only its prefix and with the full sequence; about 0 for a causal model |
| clip-hit | the share of logged steps whose gradient norm exceeded the clipping threshold (1.0) |
| pre-registered | a prediction recorded, with its threshold, before the run |
Theoretical foundations of the ladder
The design and theory behind every arm of the ladder, in Gen 2 and Gen 3 alike: the integrator they share, the potential they share, and the mechanisms the ladder compares. The same list appears on every ladder card.
| note | what it establishes |
|---|---|
Closed_Form_and_Hybrid_Integration_Strategies_for_Fock-PARFLM.md | why the integrator is closed-form: which parts of the Vθ dynamics admit exact propagation, and three strategies in decreasing order of exactness, following the CfC lesson from liquid neural networks |
Blended_CfC_BAOAB_Deep_Dive.md | the full construction of the CfC-BAOAB step every arm integrates with: the Gaussian Vθ's exact harmonic propagator placed inside the BAOAB Langevin splitting, every matrix written out |
Modified_BAOAB_with_STP_identity_Detailed_Analysis.md | the BAOAB splitting with the STP identity as the simulator's integrator backbone: component-by-component analysis, coupling to the equations of motion, theoretical properties and trade-offs |
Analytic_Multi_Channel_Integration_in_Structured_Vtheta.md | the joint Vθ (vtjoint in the run tags): the five ξ context channels fused into one closed-form well bank instead of summed as separable ones, and why CfC-BAOAB stays valid |
Conservative_Obstruction_and_Virtual_Particle_Necessity.md | the theorem the ladder tests: no scalar potential on the tokens alone reproduces attention's structure, and the Fock registers are the minimal extension. Gen 2 read the +31.3% Fock gap as that obstruction's price; the reading is withdrawn (detached sources, see the banner) |
Improving_the_Fock_Mechanism_to_match_Attention.md | how the Fock mechanism was redesigned toward attention (Q/K/V-structured creation, the reverse channel). Its headline PPL figures predate the second causal-leak fix and are flagged as uncertified in the note itself |
Measuring_the_Price_of_Conservativity.md | the λ-gated relaxation protocol first proposed to price conservativity, and how the ladder's pair the arm attention → the arm attention_potential answers the same question by construction instead |
Geodesic_Preservation_Experiment.md | why measuring the geometry of the model's own dynamics is the capability to demonstrate, and the design and first analyses of the geodesic measurements (d=384 and d=1024) |
Composing_Single_Layer_Inferences_Flow_or_Maps.md | whether the layer stack is a continuous flow or a sequence of maps; Gates 0–3 on the L=2 the arm no-exchange returned MAPS |
Files
| path | what |
|---|---|
README.md | this card |
config.json | architecture, training, gradient convention and result |
checkpoints/*_best.pt | weights at the best eval (step 31,000), optimizer state stripped |
checkpoints/*_step500_best.pt | weights at step 500, an initialisation reference |
results/L2_arm_attnpot_rfqk_32500steps_output.txt | the full run log, with per-step diagnostics, the resonance monitor and the SCAF lines |
results/training_log.jsonl | per-eval record; the settled PPL is the mean of its last three rows |
results/scaf_leak_monitor.jsonl | the seven in-flight causal-leak audits |
results/causality_check_output.txt | the independent causality check on the final weights |
results/Cell-6b-6_routing_collapse_output.txt | the exchange-field ablation (λ sweep) |
results/exchange_field_probe_output.txt | routing entropy, per-head logit scale, weight norms, the field's force share and its gradient, at step 500 and step 31,000 |
results/register_step_size_output.txt | per-layer step sizes: the conservative step and the register increment relative to the state, and how much of each the projection rewrites |
results/Cell-6b-7_flow_or_maps_output.txt | CG2: inertia, extension and refinement gates |
results/Cell-6b-8_register-token_path_carry_output.txt | what the register-to-token path carries: gradients, perturbation, and the inference-time ablations |
results/Cell-6b-9_layer_step_damped_V_theta_geodesic_output.txt | CG1: deflection from the damped Vθ step and its attribution |
results/Cell-6b-12_sparse_forcing_output.txt | CG6: per-token forcing |
results/Cell-6b-13_omega_dt_at_endpoint_cross-arm_comp_output.txt | CG7: ω·dt at the endpoint, on the cross-arm token set |
results/omega_dt_endpoint.jsonl | the 6b-13 record |
results/logfreq_surprisal_openwebtext.npy | the log-frequency table the mass model reads |
code/ | the notebook and the model code: the current revision, whose switches added after this run default to off |
Companion notes
| note | what it covers |
|---|---|
Depth_Ladder_and_Matched_Baseline_Protocol.md | the abstract-gating section: this run's pre-registration, implementation and verification, mid-run reading, scoring and diagnostics |
Gradient_Starvation_Investigation.md | the gradient-starvation programme and the live-gradient ladder |
Geodesic_Experiments_with_CfC_BAOAB.md | the replay instrument behind the geometry section |
Caveats
- One seed. Neither the 0.4% gap to the model without the field nor the refinement result has seed variance behind it.
- No Gen 2 twin. The hardening was introduced under live gradients only.
- Parameters are not matched to the GPT-2 baseline (77.4M against 33.7M), the baseline is untuned, and its depth is four times this model's.
- OpenWebText only.
Citation
@misc{Gueorguiev2026SemSim,
author = {Gueorguiev, Dimitar P.},
title = {Semantic Simulation: A Prescriptive Lagrangian Framework
for Semantic Inference --- Conservative Potentials,
Non-Conservative Memory, and the Shared-Potential Separator},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.19712427},
url = {https://doi.org/10.5281/zenodo.19712427},
note = {Version v22 (Oct 5, 2026).
Companion code repository (DOI 10.5281/zenodo.23152203):
\url{https://github.com/dimitarpg13/semsimula-paper}}
}
Card generated from _ladder/ladder.json on 2026-10-06.