/ Модель

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

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

semsimula-ladder-live-owt-d384-l2-none

Генерация текстаТекст → текст3 профессии
976скачиваний за 30 дней0лайковвеса обновлены30 ноя 2026

Описание модели

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

Экспериментальная без attention языковая модель на 76,8 млн параметров для генерации текста и исследования механики Fock-PARFLM.

Экспериментальная языковая модель Fock-PARFLM от автора репозитория dimitarpg13, построенная без Transformer и механизма attention. Это вариант Generation 3 с обратным каналом и живыми градиентами, глубиной L=2 и 76,8 млн параметров; в карточке указаны PyTorch и обучение на OpenWebText. Модель предназначена для генерации текста и исследовательского изучения альтернативной архитектуры, использующей механизмы, описанные автором как скалярный потенциал, лагранжева механика и виртуальные регистры.

В README сообщается о perplexity 53,12 и сравнении с другими экспериментальными вариантами, а также о проблемах при изменении шага интегрирования: уточнение шага существенно ухудшает результаты. Описанный механизм инференса пока не включает вторую часть Semantic Simulation — построение и размещение новых семантических структур. Модель распространяется по лицензии CC BY 4.0.

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

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

Ограничения

Результаты основаны на единичных запусках, а качество заметно ухудшается при уточнении шага интегрирования; отключение регистрационного пути во время инференса также резко ухудшает perplexity. Часть заявленных сравнений является атрибуцией компонентов, а не результатами обучения моделей с соответствующими компонентами, отключёнными заранее.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

Fock-PARFLM with the reverse channel on and no exchange field, L=2, 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=2, with exactly the forward pass of its Gen 2 twin, the arm no-exchange. 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=2)53.121.066×76.8M
no-exchange, live gradients, L=4 (Gen 3)50.10+6.0%1.006×76.8M
attention_potential, everything live (Gen 3, L=2)54.21-2.0%1.088×77.4M
attention_potential with hardened routing, everything live (Gen 3, L=2)52.90+0.4%1.062×77.4M
conservative-only, live gradients (Gen 3, L=2)57.76-8.0%1.160×76.6M
attention_potential, live exchange field (Gen 2 probe, L=2)61.11-13.1%1.227×77.4M
the arm attention (Gen 2, L=2)63.51-16.4%1.275×77.4M
the arm no-exchange: the same model with detached sources (Gen 2, L=2)66.98-20.7%1.345×76.8M
the arm gpt2-matched (L=8)49.81+6.6%1.000×33.7M
  • Settled is the mean of the last three evals (53.01, 53.29, 53.07); best 51.27 at step 31,000, final 53.07.
  • 20.7% lower than its Gen 2 twin from the gradient convention alone.
  • What the register mechanism adds when trained: 8.0% against the conservative-only model at the same depth and convention.
  • What depth adds, at matched mechanism and convention: the L=4 model is 5.7% better. That margin is larger than either model's last-three spread. It costs 1.9× per step (3.12 against 1.64 s/step). This is the first clean depth comparison in the programme.
  • At step 3,000: 123.59 against the Gen 2 twin's 140.61 at the same step (−12.1%); a move, against the pre-registered criterion of ≤ 137.1.
  • Pre-registration: point 53, band 50–57, frozen before the run; actual 53.12, a hit on the point. Below the L=2 conservative-only live model's 57.76 (called at 80%) and above the L=4 live model's 50.10 (called at 75%): both yes. Vφ inert, |share| < 0.05 (called): −0.0002, a hit. ω·dt median in [3.3, 4.2]: 3.40, a hit.
  • Run health: 0 watchdog, 0 spikes, 0.2% clip-hit (1 of 650 logged steps, max norm 1.01); one Colab session, fresh run, 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.

The parameter count is identical to the Gen 2 twin's. The switches were verified on this configuration before training: forward pass bit-identical (max |Δlogit| = 0), and the gradient from a layer step into earlier tokens goes from exactly 0 to non-zero.

Causality

SCAF leak monitor CLEAN at all seven audits (5k to 30k, 32.5k; future perturbation exactly 0, leak tax ≤ 1.2e-4 nats; Tier A cosine deviation 0 and Tier B basin-crossing rate 0 at every audit). 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.5e-4 nats. The prefix-only logits differ by up to 0.04 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.

Geometry

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 46 (phase-sampled dissipation: the θ/sin θ amplification, θ = ω·Δt) and Proposition 47 (the exact damped-mode flow is refinement-invariant); Remark 67 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.

readingGen 3, L=2, conservative-onlythis modelGen 3, L=4
Vφ's share of the step (6b-9 attribution, geo → cons)−0.291−0.0002−0.0035
reverse channel's share (6b-9, cons+LN → full)— (absent)−0.694−0.449
distance of the step from the Vθ-only geodesic, R(geo) (6b-9)0.6650.9111.369
PPL rise when the velocity is reset (6b-7, gate 1)+34%+33% (+16.99)+55%
1.5× the trained steps at the trained dt (6b-7, gate 2)+92%+51%+41%
1.5× the steps at fixed T (6b-7, gate 3)+143%+1,274%+216%
tokens strongly forced, last layer (6b-12)—100%—
ω·dt median at the endpoint, share past 2 (6b-13)4.32, 99.8%3.40, 99.6%2.35, 68.7%
  • Vφ is inert here, as at L=4. With the register path available, the pair potential carries essentially none of the step (−0.0002, the pre-registered |share| < 0.05), where in the conservative-only model it carries most of the departure from the Vθ geodesic. The register path and Vφ behave as substitutes, now at two depths. These are attributions, not a trained-without result; the factorial runs that test it (the same model without Vφ) are planned.
  • Refinement fails nine times worse than in the conservative-only model, at the same reliance on velocity. Gate 1 is +33% here against +34% there; Gate 3 is +1,274% against +143%. In the four L=2 models measured before, the two were perfectly rank-ordered. This one breaks the order: the non-conservative register path drives refinement failure independently of momentum.
  • The L=4 model is far more refinement-ready (+216% at 1.5× the steps, against +1,274% here), and the stiff-mode readings suggest why. The phase-sampled dissipation of a split step is amplified by θ/sin θ (θ = ω·dt), most sharply near θ = π. This model trains its stiff modes 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. The L=4 model trains them at θ ≈ 2.35 (amplification 3.3) and stays below π when refined (θ ≈ 1.57). Not the whole story: the 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.
  • Switching the register path off costs +300% at inference (51.17 → 204.84, 6b-8), yet the model trained without it is only 8.7% worse (57.76 against 53.12). An inference-time ablation overstates a component a model was trained to use, here by a factor of about 35. Freezing the register bank at initialisation costs +24%, so the accumulation itself does real work.
  • Uniform forcing. Every token at the last layer is substantially redirected from the geodesic step (100% above 0.75); there is no near-geodesic population.
  • Stiff, and integrated exactly. ω·dt ≈ 3.40, past the explicit-integrator wall for 99.6% of readings; the closed-form propagator integrates those modes exactly.

Forecastability (6b-10) cannot be read at L=2: the first step only projects the embedding onto the LayerNorm sphere, which leaves one dynamical step. The L=4 model gives the first clean test.

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

One Colab session, a fresh run of 32,500 steps (PROBE_MAX_STEPS = None). 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_L2probe_ob_untied_wsd_e5c_plgate_rep0.05_fockreg0.005_g0.1_baoab_cfc_lowrank_idt4_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

Synchronization and binding (SY programme)

Do the couplings of these models synchronize tokens, and does that group related words? The question was put to every Gen 3 model and to the matched GPT-2 with criteria fixed before any measurement. Full results and figures: Spontaneous_Synchronization_and_Semantic_Binding_Test_Programme.md, Part II; pre-registrations and scoring: Synchronization_Tests_SY.md (protocol §5.22).

Terms.

  • Coupling: any term through which another token's state moves this token: the pair potential \(V_{\phi}\), the Poisson-mode wells, the Fock register read, the exchange field, and the context field \(\xi\), which couples tokens because it is built from the earlier ones.
  • Synchronization, contraction \(S\): how much closer the token states end up because of one coupling, measured against a replay in which that coupling pushes every token alike. \(S \gt 0\): drawn together; \(S \lt 0\): spread apart.
  • Binding contrast: how much more alike the states of related words are than those of unrelated words at the same distance in the text, in cosine units. An effect counts only if it is at least 0.02 and its 95% interval excludes zero.
  • Noun chunk: the words of one simple noun phrase, such as the old wooden table.
  • Head–dependent pair: a word and the word it grammatically depends on, such as keys and are in the keys to the cabinet are.
  • Reference, coreference, antecedent: what an expression stands for. Two expressions are coreferent when they pick out the same thing, as Mary and she do in Mary said she would come; the earlier one, Mary, is the antecedent. Binding reference means linking a pronoun to the expression it stands for.
  • Prediction control: what remains of a grouping after removing everything that the similarity of the words' predicted next words explains. A grouping that survives it is not just a side effect of predicting the next word.
  • Coreference probe: a small attention-shaped reader trained to pick each pronoun's antecedent from the states. It is compared with always picking the nearest earlier mention, which is right 54.1% of the time (chance: 13.6%).
  • Extra depth, over-synchronization: the trained model run for more steps than it was trained for, at the trained step size. Over-synchronization is the tokens drawing together (\(S \geq 0.05\)) or losing dimensions (effective rank down by 20% or more) as it fails.

Findings across the models (each call was pre-registered):

  • The couplings do draw tokens together (SY-L0: hit), the pair potential modestly and the Poisson wells strongly, though toward their fixed centres rather than toward each other. None groups related words on the routes the test was designed around (SY-L1: miss).
  • The context field \(\xi\) groups the words of noun chunks in every model, and the grouping survives the prediction control. It spreads the tokens apart overall while drawing each chunk's words together: clustered synchronization, as in oscillator networks that split into synchronized groups.
  • The matched GPT-2 forms the same grouping, built by attention in its middle layers. The grouping is generic to language models at this budget; how it is made is not.
  • No model binds reference. No probe beats the nearest-mention rule by a margin the test can resolve, in these models or in GPT-2.
  • Extra depth collapses the tokens at the catastrophic stage of its failure (SY-G2: hit), not at its onset.

Measured on this model (G2, Fock registers):

measurementresult
contraction by each coupling, last layerVφ 0.000; the Fock register read spreads the set (−0.065 and −0.099 at the two layers)
noun-chunk binding made by ξ, last layer+0.064; head–dependent +0.003
noun-chunk grouping after the prediction control+0.044
coreference probe, last layer / best layer0.475 / 0.575, not resolvably above the nearest-mention baseline (0.541)
first extra stepperplexity 48.5 → 2,534, S +0.47: collapses at once

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)
Fock_Mechanism_v2.1_Principle_of_Operation.mdhow the Fock mechanism of these models works, as implemented: the exchange field, the registers and their write port, and the reverse channel that is the registers' only read port; their equations, the virtual-particle reading, the relation to attention, and measurements on the trained G3′. An exploratory tool for studying attention-like routing in a conservative model
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 31,000), optimizer state stripped
checkpoints/*_step500_best.ptweights at step 500, an initialisation reference
results/L2_arm_none_live_grads_output.txtthe full run log, 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 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-8_register-token_path_carry_output.txtwhat the register-to-token path carries: gradients, perturbation, and the inference-time ablations
results/Cell-6b-9_layer_step_damped_V_theta_geodesic_output.txtCG1: deflection from the damped Vθ step and its attribution
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
Abstract_Gating_Runs.mdthe abstract-gating section: this run's pre-registration and scoring, and its 6b readings
Geodesic_Experiments_with_CfC_BAOAB.mdthe replay instrument behind the geometry section

Caveats

  • One seed. The depth and register-mechanism margins have no seed variance behind them.
  • Parameters are not matched to the GPT-2 baseline (76.8M against 33.7M), the baseline is untuned, and its depth is four times this model's. The ratio is for orientation only.
  • 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.
  • OpenWebText only.

Semantic templates

A semantic template has two halves: a Pattern Matching Structure that recognises a signature, and an Inference Structure that builds a new structure when the first fires. The work is in three parts; this section grows as each lands. The semantic-templates collection holds the models and the data.

Part 1: reading the pattern-matching half (preliminary results, 2026-11-27)

This model is one of the models read by the semantic-template tests: can a logical form be read from its trained states, including where the words of the premise cannot decide it?

The tests at a glance

What a test item is. A premise: two clauses joined by a connective, a second sentence, and then the word "Therefore", where the premise stops. The model never sees a conclusion. Every premise is read after 48 tokens of ordinary text. One pair of clauses, "the road is closed" and "the mayor lies to voters":

If the road is closed, then the mayor lies to voters. The road is closed. Therefore          MP, valid
If the road is closed, then the mayor lies to voters. The mayor lies to voters. Therefore    AC, its fallacy twin
If the road is closed, then the mayor lies to voters. The road is long. Therefore            near miss
Either the road is closed or the mayor lies to voters. The road is not closed. Therefore     DS1, valid

A template is one valid form (modus ponens MP, modus tollens MT, the disjunctive syllogisms DS1 and DS2), learned from the trained model's vectors on development premises as one Gaussian cloud per kind of premise. It ranks a premise by how much of the clouds' probability falls on its kind, and it fires when that share passes a threshold set so that 1% of the rival premises fire. Each valid form has a twin: the fallacy with the same connective and the same polarity of the second sentence (AC for MP, DA for MT, the affirmed disjunct for DS1 and DS2).

Verbatim premises: the geometry matcher. The second sentence repeats a clause word for word. The matcher reads the premise's pieces (the connective, the two clauses, the second sentence and "Therefore") and compares them with one another through the angles and lengths of their vectors. Fed the embedding (the input vectors, before any layer), it is the reference that the layer states must beat. Here the words decide a lot: token identity, which only checks which tokens repeat, already scores 0.906 on wordings left out of fitting.

Task A: the state at "Therefore". One vector is read: the state of the final word. "Therefore" is the same word in every premise, and the models are causal (a state is computed from its token and the tokens before it), so whatever its state says about the form, the layers carried there from the earlier words. Its embedding knows only its position, that is the premise's length, which is read as a control. Ranking the right template first needs the frame (conditional or disjunctive) and whether the second sentence says "not". Telling MP from AC needs more: the two differ only in which clause the second sentence repeats, so the layers must have compared the second sentence with the clauses.

B-logic and its control: the form set by context. The premise is the same string in every version. Only a context sentence before it differs, and it says what the second sentence, an arbitrary signal, means:

Here, "the blue flag is up" means that the bank is closed.          MP, valid
Here, "the blue flag is up" means that the high street is quiet.    AC, its twin
Here, "the blue flag is up" means that the cleaners are inside.     foil

followed in every version by the same premise:
If the bank is closed, then the high street is quiet. The blue flag is up. Therefore

Token identity and the embedding see the same premise in every version, so they tie at exactly 0.5 by construction; only the layer states can tell the versions apart. In the control every context names both clauses ("... means that the bank is closed, and nothing about whether the high street is quiet."), so a state that only notes which clauses were mentioned cannot separate the versions; only one that carries which clause the signal is bound to can. The readings are pairs: does the version the context makes valid score higher on its template than its twin, or than the foil? Chance is 0.5.

Task B: meaning set only by context. As in B-logic the premise is one string and only a context sentence differs, but here the second sentence already has meanings, and the context must choose one: a word sense or a pronoun's referent. The clauses say each meaning in other words:

We were talking about money and loans.    MP ("the bank" is the lender)
We were walking by the water.             AC, its twin ("the bank" is the embankment)
followed by: If the lender is closed, then the embankment is closed. The bank is closed. Therefore

Here, "he" means John.    MP
Here, "he" means Bill.    AC, its twin
Here, "he" means Tom.     foil (a third person)
followed by: If John is tired, then Bill is tired. He is tired. Therefore

Each sublevel has four kinds of context: an explicit definition, a natural sentence (for word sense a topic that names no word of the clauses), and two controls that name both meanings, the chosen one first or last. The readings are pairs, as in B-logic, by the reader at "Therefore"; chance is 0.5.

This model's readings

modelverbatim premises, unseen wordings: the embedding (token identity 0.906)task A: right form ranked first (chance 0.25; the embedding 0.20 to 0.30)task A: valid against twin, AUROC (chance 0.5)B-logic control: against the foil, bound clause first and lastB-logic control: against the twin
G20.9550.573 (states after layers 0 and 1)0.745 (early state)0.57 and 0.580.69 and 0.75 (best of the states after layers 0 and 1)
modeltask B, pronoun, explicit: against the foiltask B, pronoun controls: against the twin, bound person first and lasttask B, word sense, natural topic: against the twintask B, word-sense controls: against the twin, first and last
G20.450 (after layer 0)0.492 and 0.533 (after layer 1)0.492 (after layer 1)0.467 and 0.550 (after layer 1)

Task B: each value is the best state of the reader at "Therefore" for that call, so it leans above 0.5 by selection. Only three have their whole interval above 0.5: GPT-2 (0.896) and L4 (0.625) against the foil with an explicit pronoun definition, and L4's pronoun control with the bound person first (0.750), whose other order is at chance. The states at "Therefore" carry who the context named, not the referent or sense it gives a phrase inside the second sentence.

  • Preliminary. The templates rank premises; outside verbatim premises they do not fire (the threshold set on verbatim premises is almost never reached). Nothing is built into the model: these are readings of a frozen checkpoint.

How the scores are defined. Template_Battery_Scores.md defines every score of the battery and the terms it rests on: the items, the eleven wordings and the nine kinds of premise, the matchers fitted on known and on unseen wordings, R1, R2 and the paraphrase rate at 1% near misses, each with a worked example.

The other models, the premises and every score: the dataset semsimula-template-battery. Reports: Summary_State_Test.md (task A), BLogic_Test.md (B-logic and its control), Task_B_Results.md (task B), Template_Programme_Status_and_Plan.md (where the programme stands).

Part 2: firing (design in progress)

A template fires when its log odds against the rival templates pass a threshold. The threshold set on verbatim premises is almost never reached on premises whose form the words do not show, so Part 1's templates rank and do not fire. Two steps are being designed: a firing rule that works on such premises (a threshold set on context-defined development premises, for the reader at the summary position), and a firing mechanism built into the model rather than read from it. The candidate mechanisms (calibrated thresholds, abstention, a factorised rule, evidence accumulated along the trajectory, firing at a rate, capture by a template well, a learned gate) and the operating-point bound that limits them are analysed in Template_Firing_Mechanisms.md. Their tests will be fixed before they are run; results will be added here.

Part 3: the inference half (not started)

In the Semantic Simulation framework a template has two halves: a Pattern Matching Structure that watches for a signature (Part 1 reads it from trained states) and an Inference Structure that, when the template fires, builds a new semantic structure and places it, possibly far from where the pattern was seen. Nothing of this half has been built or tested. The options for building it, in the conservative models and in attention-based transformers, with their costs and open problems, are set out in Deploying_Semantic_Templates.md.

Citation

@misc{Gueorguiev2026SemSim,
  author    = {Gueorguiev, Dimitar P.},
  title     = {Semantic Simulation: A Prescriptive Lagrangian Framework
               for Semantic Inference --- Conservative Potentials,
               Conservative and Non-Conservative Memory, and Competing Mechanisms},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.19712427},
  url       = {https://doi.org/10.5281/zenodo.19712427},
  note      = {Version v25 (Nov 9, 2026).
               Companion code repository (DOI 10.5281/zenodo.24066016):
               \url{https://github.com/dimitarpg13/semsimula-paper}}
}

Card generated from _ladder/ladder.json on 2026-11-30.

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

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

GPU в ailist

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

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

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

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

0 моделей