/ Модель

Характеристики

Лицензия
CC BY 4.0
Библиотека
pytorch
Опубликована
3 окт 2026

semsimula-ladder-live-owt-d384-l4-none

Генерация текстаТекст → текст

Fock-PARFLM — экспериментальная причинная языковая модель без Transformer для генерации текста и исследований альтернативных архитектур.

629скачиваний за 30 дней0лайковвеса обновлены6 окт 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Fock-PARFLM — исследовательская языковая модель семейства SemSimula, разработанная автором репозитория dimitarpg13. Это причинная модель генерации текста на PyTorch без Transformer и механизма внимания; в карточке она описана как вариант без exchange field с четырьмя слоями и обучаемыми сквозными градиентами. Веса содержат 76,8 млн параметров.

Модель обучалась на OpenWebText с бюджетом 532,48 млн токенов. Автор сообщает о perplexity 50,10 и результатах проверок причинности, включая отсутствие утечки информации из будущих токенов. Она предназначена для экспериментов с альтернативными архитектурами языковых моделей и сравнений на генерации текста; приведённые результаты относятся к одному запуску и не подтверждают превосходство над GPT-2 с сопоставимым числом параметров. Лицензия — CC BY 4.0.

Сценарии применения

  • генерация продолжения англоязычного текста
  • сравнение языковых моделей на корпусе OpenWebText
  • эксперименты с безвнимательными архитектурами генерации
  • исследование влияния сквозных градиентов на обучение языковых моделей

Ограничения

Оценка основана на одном запуске; автор отмечает, что сопоставимый по числу параметров базовый тест не проводился. Карточка описывает исследовательские сравнения, а не гарантирует качество для прикладных сценариев.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Fock-PARFLM, no exchange field, L=4, live gradients (Gen 3)

Generation 3: current. Every gradient path that applies is live. This model is the Fock-PARFLM no-exchange arm at L=4, with exactly the forward pass of its Gen 2 twin (run 4, the same model with detached sources, not published). The only difference is that the loss gradient now reaches earlier tokens through Vφ (as pair sources) and through ξ (the context channels). In Gen 2 both detached their sources, so earlier tokens were never trained as context. The Gen 3 collection holds the live-gradient ladder as its arms land.

Result

modelsettled PPLthis model against itvs GPT-2parameters
this model (L=4)50.101.006×76.8M
no-exchange, Fock mechanism on, live gradients (Gen 3, L=2)53.12-5.7%1.066×76.8M
attention_potential, everything live (Gen 3, L=2)54.21-7.6%1.088×77.4M
attention_potential with hardened routing, everything live (Gen 3, L=2)52.90-5.3%1.062×77.4M
conservative-only, live gradients (Gen 3, L=2)57.76-13.3%1.160×76.6M
attention_potential, live exchange field (Gen 2 probe, L=2)61.11-18.0%1.227×77.4M
the arm attention (Gen 2, L=2)63.51-21.1%1.275×77.4M
the arm no-exchange (Gen 2, L=2)66.98-25.2%1.345×76.8M
run 4, the same model with detached sources (Gen 2, L=4)71.75-30.2%1.440×76.8M
the arm gpt2-matched (L=8)49.81+0.6%1.000×33.7M
  • Settled is the mean of the last three evals (50.05, 50.77, 49.48); best and final 49.48 at step 32,500. The run was still improving at the end.
  • 30.2% lower than its Gen 2 twin from the gradient convention alone, and 13.3% below the L=2 Gen 3 model.
  • Parity with the matched GPT-2 at equal tokens, within eval noise: the gap is 0.29 PPL, against a step-to-step eval bounce of 1–3 PPL. The parameter count is not matched (2.3×; about 19M of the difference is the untied output head), the baseline is untuned and twice as deep (L=8), and this is one seed. A parameter-matched baseline has not been run.
  • The depth inversion is gone. With detached sources, L=4 (71.75) was worse than L=2 (66.98). With live gradients this L=4 model is below every L=2 model in the programme.
  • At step 3,000: 119.77 against run 4's 138.94 (−13.8%); a move, and a hit on the pre-registered band 112–135.
  • Pre-registration: point 57, band 52–63, frozen at step 3,000 before the extension; actual 50.10, a miss on the good side. Below run 4 (called near-certain) and below the L=2 Gen 3 model's 57.76 (called even odds): both yes.
  • Run health: 0 watchdog, 0 spikes, 0.5% clip-hit (3 of 650 logged steps, max norm 1.96); trained across two Colab sessions, resumed from the step-27,000 checkpoint with optimizer state.
  • Depth at matched mechanism and convention: the L=2 Fock-PARFLM live model settled at 53.12, so this model is 5.7% better at L=4, at 1.9× the per-step cost (3.12 against 1.64 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 Gen 2 arm and the matched GPT-2 in the table above. No model is trained longer than another, so a gap in the table is a gap between models and never a difference in budget.

What changed from Gen 2

Both channels keep their forward force exactly: the force on a token is still the gradient of Vθ(ξ, h) + Vφ in that token's own coordinates, with the context held fixed, plus the reverse channel's register-to-token force. What changes is the backward pass (vphi_grad_path='live', xi_grad_path='live' in model_parf_multixi.py):

  • Vφ. Its sources and its score head's source input are live tensors. The force is taken with respect to an alias of the token's own state, so no reaction force appears and the forward value is bit-identical.
  • ξ. The context channels are built from live states. The force is taken at a point downstream of them, so no path through ξ enters it.

Verified at L=4 before training, from initialisation through the notebook's own cells: forward pass bit-identical (max |Δlogit| = 0), and the gradient from a layer step into earlier tokens goes from exactly 0 at every layer to non-zero.

Causality

SCAF leak monitor CLEAN at all seven audits (5k to 30k, 32.5k; future perturbation exactly 0, leak tax ≤ 2e-4 nats; Tier A cosine deviation 0 at every layer, and from step 30,000 Tier B basin-crossing rate 0). Independent check on the final weights: future perturbation at five cut points exactly 0, batch independence exactly 0, prefix-only leak tax −1.1e-4 nats. The prefix-only logits differ by up to 0.07 from the full-sequence ones: shortening the input changes the reduction order, and the cumulative register readout and four layers let that float difference grow. It carries no information, since any dependence on future content would have broken the bit-exact future-perturbation test, and the leak tax shows no unearned advantage. Output: causality_check_output.txt.

Geometry and forecastability

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.

The register-to-token force is not the gradient of anything in h, so this model's layer step is not a geodesic step of any potential on the tokens; the replay instrument measures how far from one it is, and which term carries the difference. Against the L=2 Gen 3 model:

readingGen 3, L=2, conservative-onlythis model
Vφ's share of the step (6b-9 attribution, geo → cons)−0.291−0.0035
reverse channel's share (6b-9, cons+LN → full)— (absent)−0.449
distance of the step from the Vθ-only geodesic, R(geo) (6b-9)0.6651.369
PPL rise when the velocity is reset (6b-7, gate 1)+19.33 (+34%)+26.30 (+55%)
1.5× the trained steps at the trained dt (6b-7, gate 2)+92%+41%
1.5× the steps at fixed T (6b-7, gate 3)+143%+216%
ω·dt median at the endpoint, share past 2 (6b-13)4.32, 99.8%2.35, 68.7%
  • Vφ is inert in this model. With the register path available, the pair potential carries almost none of the step (−0.0035), where in the conservative-only model it carries most of the departure from the Vθ geodesic. The register path and Vφ behave as substitutes. The L=2 Fock-PARFLM live model reads the same (−0.0002). These are attributions, not a trained-without result; the factorial runs that test it (the same model without Vφ) are planned.
  • Inertia is worth more here than in any other arm: resetting the velocity costs 55% in perplexity.
  • Per step only. Gate 3 still reads MAPS; extra layers at the trained dt degrade more gently than in any L=2 arm, but they do degrade.
  • Far more refinement-ready than the L=2 Fock-PARFLM live model. Cutting the same time into 1.5× the steps costs +216% here, against +1,274% at L=2. A mechanism consistent with the stiff-mode readings: the phase-sampled dissipation of a split step is amplified by θ/sin θ (θ = ω·dt), most sharply near θ = π. This model trains its stiff modes at θ ≈ 2.35 (amplification 3.3), and refinement keeps them below π (θ ≈ 1.57). The L=2 model trains them at θ ≈ 3.40, just past π (amplification −13.3), and refinement carries them back across π (θ ≈ 2.27), flipping the sign of the term the network learned to rely on. Not the whole story: the L=2 conservative-only model also crosses π and fails much less (+143%), so the register path amplifies the effect. One seed each; the prediction that follows (refinement cost falls as the trained θ moves below π) is pre-registered for the settling and refinement experiments.
  • Stiff, and integrated exactly. ω·dt ≈ 2.35, past the explicit-integrator wall for 69% of readings; the closed-form propagator integrates those modes exactly.

Forecastability against the matched GPT-2 (6b-10), the first clean test. At L=2 the test cannot be read, because the first step only projects the embedding onto the LayerNorm sphere. At L=4 the later steps are clean: the radial fraction is 0.86 at layer 1 and 0.00 at layers 2 and 3. Scored on layers 2–3 by a rule fixed before the cell was run:

metric (layers 2–3)this modelmatched GPT-2threshold
tangential direction coherence+0.526+0.21> 0
forecast error from the integrator's velocity0.759—≤ 0.90 (1 = stay put)
forecast error from position differences0.8171.33–1.88below GPT-2
perturbation growth per step0.930–0.9500.979–0.982at or below GPT-2

By that rule the trajectory is forecastable: consecutive steps keep their direction, and the integrator's own velocity predicts the next state, better than the position sequence alone. The effect is concentrated at layer 2; layer 3, the large output step, is close to the stay-put null. The paired control, the same cell on the Gen 2 twin, has not run, so the result is not yet attributable to the live gradients.

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='none', REVERSE_CHANNEL=True, LADDER_L=4, LADDER_LR=1.2e-3,
VPHI_GRAD_PATH='live', XI_GRAD_PATH='live'   # tag components 'vplive', 'xilive'; dt = T/L = 2

The run was a 3,000-step probe (PROBE_MAX_STEPS = 3_000), extended in place to 32,500 steps on the same schedule, across two Colab sessions: the second resumed from the step-27,000 checkpoint with its optimizer state. Cell 5b prints a SOURCE-GRADIENT PROBE banner for this setting.

Training artefacts were written to semsimula_fock_cfc_baoab_owt_xi5long_topk16_dt32da16_mh4_aniso_dcvt5x8_vtjoint_cgqk_vplive_xilive_L4probe_ob_untied_wsd_e5c_plgate_rep0.05_fockreg0.005_g0.1_baoab_cfc_lowrank_idt2_lr0p0012_noattn/.

Glossary

termmeaning
settled PPLvalidation 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 3the 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 gradientswhether 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 channela 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 fieldan 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 probea 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-matchedthe 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-onlya model in which every force is a gradient: no reverse channel and no non-conservative exchange field
CfC/BAOAB low-rank propagatorthe 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), sharethe 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 / MAPSsee Terms in the geometry section
CG1–CG7, 6b-Nthe CfC-geometry experiments, and the ladder-notebook cells that run them
SCAF, Tier A, Tier Bthe 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-onlythe loss difference between scoring a position with only its prefix and with the full sequence; about 0 for a causal model
clip-hitthe share of logged steps whose gradient norm exceeded the clipping threshold (1.0)
pre-registereda 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.

notewhat it establishes
Closed_Form_and_Hybrid_Integration_Strategies_for_Fock-PARFLM.mdwhy 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.mdthe 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.mdthe 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.mdthe 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.mdthe 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.mdhow 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.mdthe λ-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.mdwhy 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.mdwhether 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

pathwhat
README.mdthis card
config.jsonarchitecture, training, gradient convention and result
checkpoints/*_best.ptweights at the best eval (step 32,500), optimizer state stripped
checkpoints/*_step500_best.ptweights at step 500, an initialisation reference
results/L4_arm_none_rc_live_grads_32500steps_output.txtthe full run log: the 3,000-step probe, its extension and the resumed session, with per-step diagnostics, the resonance monitor and the SCAF lines
results/training_log.jsonlper-eval record; the settled PPL is the mean of its last three rows
results/scaf_leak_monitor.jsonlthe seven in-flight causal-leak audits, with Tier A and (from step 30,000) Tier B fields
results/causality_check_output.txtthe independent causality check on the final weights
results/Cell-6b-7_flow_or_maps_output.txtCG2: inertia, extension and refinement gates
results/Cell-6b-9_layer_step_damped_V_theta_geodesic_output.txtCG1: deflection from the damped Vθ step and its attribution
results/Cell-6b-10_forecastable_trajectory_output.txtCG3: forecastability against the matched GPT-2, the first clean test
results/Cell-6b-12_sparse_forcing_output.txtCG6: per-token forcing
results/Cell-6b-13_omega_dt_at_endpoint_cross-arm_comp_output.txtCG7: ω·dt at the endpoint, on the cross-arm token set
results/omega_dt_endpoint.jsonlthe 6b-13 record
results/logfreq_surprisal_openwebtext.npythe 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

notewhat it covers
Gradient_Starvation_Investigation.mdthe gradient-starvation programme: Tiers 0–3 and the live-gradient ladder
Depth_Ladder_and_Matched_Baseline_Protocol.mdthe L=4 section: this run's pre-registrations, mid-run readings and scoring, including the forecastability rule
Geodesic_Experiments_with_CfC_BAOAB.mdthe replay instrument and the forecastability test behind the geometry section

Caveats

  • One seed.
  • Parameters are not matched to the GPT-2 baseline (76.8M against 33.7M), the baseline is untuned, and its depth is twice this model's. The ratio is for orientation, and parity is stated only at equal tokens.
  • The conservative family is not tuned either: no learning-rate or width search for this architecture, Vφ still in the explicit kick, and constant damping. The number is a point on a developing design, not its ceiling.
  • Depth rests on one seed per depth: the margin over the L=2 Fock-PARFLM live model is larger than either model's last-three spread, but has no seed variance behind it.
  • 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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · pytorch

Нельзя запустить

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
dc4ae0f

0 моделей