/ Модель

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

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

semsimula-ladder-live-owt-d384-l2-none-norc-pm2-pmx16-sr2

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

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

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

Экспериментальная без attention языковая модель на PyTorch для генерации текста и исследования консервативной динамики второго порядка.

PM2-PMX16 — экспериментальная языковая модель для генерации текста, разработанная автором репозитория dimitarpg13 в рамках серии Semantic Simulation Gen 3. Это модель с архитектурой без трансформера и механизма attention: в ней используются два Poisson-mode well на слой, консервативная динамика второго порядка и сила взаимодействия токенов. Модель реализована на PyTorch и обучена с нуля на 532,48 млн токенов OpenWebText; валидация проводилась на блоках длиной 512 токенов.

Модель предназначена для исследования влияния второго порядка динамики и числа потенциальных «скважин» на языковое моделирование. В описанном сравнении её итоговая perplexity составила 54,71; одноимённая модель первого порядка показала результат 53,81. Результаты относятся к конкретному бюджету обучения и экспериментальной серии, поэтому не подтверждают пригодность для широкого применения. Карточка указывает лицензию CC BY 4.0.

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

  • эксперименты с генерацией текста на OpenWebText
  • сравнение языковых моделей первого и второго порядка динамики
  • изучение влияния Poisson-mode wells на языковое моделирование

Ограничения

Эксперимент обучен на ограниченном бюджете в 532,48 млн токенов, а заявленные метрики относятся к валидации на OpenWebText и контексте 512 токенов. В парном сравнении модель первого порядка показала меньшую perplexity.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

PMX with 2 Poisson-mode wells (PM2-PMX16): two wells do most of what sixty-four do, and its first-order twin is ahead (Gen 3)

The question of this collection: does the conservative core of Semantic Simulation need second-order dynamics (a velocity and inertia), or does a first-order model trained the same way do as well? Each pair trains one model both ways, with everything else the same.

This model: PMX's design with 2 Poisson-mode wells instead of 64, second order: the wells and V_θ's stiff modes integrated exactly as one damped spring, the velocity handed from layer to layer. Verdict: its first-order twin is ahead (FO-b-PM2-PMX16, 53.81 against 54.71, −1.6%, paired by step −1.63%). Two wells already give most of what wells give second order: 54.71 against 58.32 with none and 54.24 with sixteen. The first-vs-second-order collection holds the pairs; the Gen 3 collection holds the OpenWebText ladder.

Result

paircorpus, tokenssecond orderfirst orderfirst order against second
OpenWebText532.5MSR2 58.32FO-b-OWT 61.16+4.9%
TinyStories, first order between layers (FO-a)315MSO-TS 5.16FO-TS 5.13−0.6%
OpenWebText, with 64 Poisson-mode wells532.5MPMX 54.63FO-b-PMX 54.02−1.1%
OpenWebText, with 16 Poisson-mode wells532.5MPMX-K16 54.24FO-b-PMX-K16 53.73−0.9%
OpenWebText, with 2 Poisson-mode wells532.5MPM2-PMX16 54.71FO-b-PM2-PMX16 53.81−1.6%
TinyStories, true first order (FO-b), no wells315MSO-TS 5.16FO-b-TS 5.28+2.3%
TinyStories, with 2 Poisson-mode wells315MPM2-TS 4.99FO-b-PM2-TS 4.96−0.5%
Python code, true first order (FO-b), no wells315MSO-CODE 6.00FO-b-CODE 6.55+9.2%
Python code, with 2 Poisson-mode wells315MPM2-CODE 5.71FO-b-PM2-CODE 5.62−1.6%
  • This model: settled 54.71 (mean of the last three evals, 54.64, 54.87, 54.61); best 52.77 at step 31,000. Validation perplexity at block 512, on OpenWebText's own validation tokens.
  • Trained on exactly 532,480,000 tokens (32,500 steps × 32 × 512), the Gen 3 ladder's budget and schedule, from step 0 at seed 0 like its twin and the K = 16 pair: the runs see the same training and evaluation batches, so their differences are measured paired (their step-to-step evaluation changes correlate at 0.999).
  • Pre-registered: MS2b (second-order half: SR2 58.32 > PM2-PMX16 > PMX-K16 54.24), called 65%: HIT, 54.71. The amended dose rule (a gap within ±2% at K = 2 closes the low end of the dose): met, −1.6%, so no K = 8 or K = 4 run.
  • Run health: 0 watchdog triggers, 0 spike captures; SCAF leak monitor CLEAN at all 7 audits; the training-time ω·Δt monitor recorded the run (the semsimula-diag fix of 2026-10-23).

The dose: how many wells first order needs

The number of Poisson-mode wells K, with everything else fixed, in both orders:

wells Ksecond orderfirst orderfirst order against second
058.3261.16+4.9%
254.7153.81−1.6%
1654.2453.73−0.9%
6454.6354.02−1.1%
  • The crossover lies between no wells and two. Two wells are enough for first order to match second order and pass it; under the pre-registered dose rule (a gap within ±2% at K = 2) the low end of the dose is closed, with no K = 8 or K = 4 run.
  • The wells help first order about twice as much as second order at every K measured (at K = 2, 0.128 against 0.064 in log perplexity).
  • The wells, as trained, are a positional, then fixed, landscape (below), and two broad Gaussians per layer supply most of that landscape.

How the pair compares through training

stepphasePM2-PMX16 (second order)FO-b-PM2-PMX16 (first order)first order against second
500warmup458.28450.55−1.7%
5,000constant100.6896.41−4.2%
10,000constant76.0073.47−3.3%
16,000constant66.2563.99−3.4%
21,000constant, end65.2963.44−2.8%
25,000decay60.9259.13−2.9%
28,000decay56.3955.40−1.8%
30,000decay54.4653.49−1.8%
32,500decay, end54.6153.76−1.6%
  • The first-order model leads throughout: by 3.1% through the stable phase, 2.2% through the decay and 1.6% over the last eight evaluations (spread 0.14%).
  • The decay narrows the gap: from step 21,000 to the end the second-order model gained 0.177 nats, the first-order model 0.165 (at K = 16: 0.176 and 0.171). Whether a longer decay closes it is the 2B-token test (Two_Billion_Token_Runs.md, MS4 and TL5).

Reliance is not need

Resetting this pair's second-order model's velocity at inference costs +5,150% (PMX at 64 wells: +91%; PMX-K16: +5,788%). Its stiffest modes rotate faster than at any other K (V_θ's stiffest-mode ω·Δt median 3.89 / 4.75 at layer 0 / 1). Yet the twin with no velocity at all is ahead.

What replaces the velocity

The readings registered for the K = 16 pair (M1–M3), read here the same way; at K = 2 they are descriptive.

readingsecond order (PM2-PMX16)first order (FO-b-PM2-PMX16)first order against second
token–token coupling: cost of removing the pair force V_φ+2.80%+3.28%1.2 times
context: cost of another text's context channels+337%+351%1.04 times
landscape: V_θ's stiffest-mode ω·Δt, layer 0 / 13.89 / 4.754.39 / 7.05+48.4% at layer 1
the wells: cost of removing them+100%+831%8.3 times

Two wells, the same signature as sixteen, stronger. The first-order model leans on its two wells about eight times as hard as its twin (removing them costs +831% against +100%), builds a much stiffer second layer (V_θ's layer-1 ω·Δt 7.05 against 4.75, +48%; at 16 wells +17%), and leans a little more on the pair force (1.2 times; at two wells the second-order model already leans on it more than at sixteen, +2.80% against +1.71%). Reliance on context is the same in both. These are reliance measurements on the trained models, not what models trained without these terms would reach.

The same exchange, the other way. SR2-NP is SR2 trained without the pair force, everything else unchanged. It leans more on its velocity: resetting the velocity at inference costs +5.6% against SR2's +3.9%, and zeroing the velocity into layer 1 costs 0.046 nats more than in SR2 on tokens that recall nothing (paired, se 0.006). Removing the pair force from the trained SR2 costs 1.8%, yet SR2-NP, trained without it, settles only 0.3% behind. Velocity and pair force thus stand in for each other partly in both directions, the one exchange between token-to-token routing and the landscape-and-dynamics capacity found so far (the book, Competing Mechanisms). Whether a first-order model trained without the pair force recovers as SR2 did has not been measured.

What the wells remember

readingthis model (second order)its twin (first order)
wells with attractive depth, layer 0 / layer 1 (Cell 6b-15)0% / 100%0% / 100%
median depth, layer 0 / layer 1-0.212 / +1.226-0.395 / +0.930
half-life of a mode, p05 / median / p95 (tokens)9.7 / 14.2 / 18.85.8 / 8.0 / 10.2
wells' force against the conservative force, layer 0 / layer 10.76 / 2.970.84 / 2.22
wells' force reproduced from position alone99.99% / 99.95%99.98% / 99.89%
cost of another text's occupations / of removing the wells+0.03% / +100%+0.02% / +831%
cost of fixing the occupations at their late value: first 16 tokens / tokens 128–255+26% / +0.1%+214% / +0.8%

The two wells act as a positional, then fixed, landscape, not a memory of content. At layer 0 both are repulsive and at layer 1 both attractive: the two modes specialise by layer, with half-lives of about 6 to 19 tokens.

Off the trained schedule (Cell 6b-7) and the per-layer flow (FLOW-R)

readingthis modelits pair partner
Gate 1: perplexity cost of resetting the velocity at inference+5,150%0 (no velocity carried)
Gate 2: one extra layer at the trained step+607.9%+0.7%
Gate 2: eight layers+1,712%+7,037%
Gate 3: three steps over the trained time (standard refinement), nats1.2580.829
per-layer flow: penalty at N = 16, nats0.4042.076

Per-layer flow of this model (FLOW-R, 12 × 4 × 512 fresh tokens; the context, the stiff modes' and the wells' quadratic held at each layer's entry, one LayerNorm projection per layer), perplexity by the number of steps N over the trained time T = 8; N = 2 is the trained model:

steps N2 (trained)34681216
perplexity51.72214.60124.3068.1682.1277.6477.46
penalty, nats01.4230.8770.2760.4620.4060.404
  • This model's per-layer flow converges (it moves 0.002 nats between N = 12 and 16), 0.40 nats above the trained step; its twin's sits at 2.08. At 16 wells the pair read 0.33 (second order, converged) and 1.41 (first order, still moving); at 64, 0.39 and 0.58.
  • First order wins on perplexity at the trained step and departs further from its continuous law. The flow's convergence order (First_vs_Second_Order_Series.md), measured on this pair and on the K = 16 pair: trained, the first-order flow converges at about order 0.4 to 0.5 (erratically at K = 2) and the second-order flow at about order 1, against the integrators' own 1 and 2 before training.

Reproduction

colab_fock_cfc_baoab_lowrank_depth_ladder_openwebtext_d384.ipynb, Cell 0 changed from the defaults:

REVERSE_CHANNEL=False, VPHI_GRAD_PATH='live', XI_GRAD_PATH='live',
POISSON_MODES=2, LOWRANK_DAMPED_FLOW=True, POISSON_WELLS_EXACT=True,   # PMX with 2 wells
VPHI_ANALYTIC_FORCE=True, LAYER_CHECKPOINT=False   # speed switches, same arithmetic

Run Cells 0, 1, 1b, 1c, 1d, 2, 3, 4, 5, 5b and 6, then 8, 7, 6b-7, 6b-9, 6b-13 and 6b-15. The readings and the wells' measurements are CPU tools in notebooks/conservative_arch/scaleup/debug/ (pm_mode_usage.py, pm_static_landscape.py, mechanism_ablations.py, vtheta_omega_dt.py); the per-layer flow is refinement_flow_confirmation.py.

Training artefacts were written to semsimula_fock_cfc_baoab_owt_xi5long_topk16_dt32da16_mh4_aniso_dcvt5x8_vtjoint_cgqk_norc_vplive_xilive_pm2_pmx16_sr2_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

Files

pathwhat
README.mdthis card
config.jsonarchitecture, training, the first-vs-second-order switch, result and diagnostics
checkpoints/fock_cfc_*noattn_best.ptweights at the best eval (step 31,000), optimizer state stripped
results/the training log, the diagnostic cells' outputs, and the CPU readings of the wells and the mechanisms and the per-layer flow
code/the notebook and the model code the switches belong to (it also carries later, default-off switches)

Companion notes

notewhat it covers
The_Per_Layer_Flow_Test.mdthe per-layer flow test (FLOW-C): what it measures, the switches, the model kinds, the exact checks and options, the pre-registered calls, and every reading on Cell 6b-7's batches
The_Per_Layer_Flow_Test_on_Fresh_Batches.mdthe same test on fresh batches (FLOW-R): the convergence criterion and what it bounds, the batch-set uncertainty of the gap, and every model's reading
First_vs_Second_Order_Series.md§5.13: the series, the memory-substitution calls (MS), the dose rule and the K = 2 pair's result
Competing_Mechanisms_Families_Dominance_and_Substitution.mdthe mechanisms that compete for a token's step, and which can stand in for which
Future_of_Semantic_Simulation_When_Second_Order_Earns_Its_Keep.mdwhat the equations say about when second order earns its keep

Caveats

  • One seed per model. The pairing removes the evaluation noise (to about 0.1%), not the training-seed spread, which has not been measured.
  • The hyperparameters were tuned for the second-order models.
  • L = 2 and 0.53B tokens. One layer boundary is the weakest possible test of a velocity carried between layers, and the decay narrows the gap; the 2B-token runs are the test of both.
  • The mechanism readings are reliance, not need: they measure what each trained model routes through a term.

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-12-02.

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

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

GPU в ailist

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

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

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

Ревизия весов
0ce9620

0 моделей