feat: modernize PSO and add convergence research

Migrate the package and examples to the tensor-native PyTorch implementation, add benchmark evidence, and add the guarded post-training convergence protocol with TensorBoard progress monitoring and hash-verified recovery.

Constraint: Preserve one-shot official-test sealing and auditable research artifacts

Rejected: Commit local .omc runs and downloaded datasets | multi-gigabyte runtime state is machine-local

Confidence: high

Scope-risk: broad

Not-tested: Production CUDA run on pieroot-server
This commit is contained in:
2026-09-07 22:03:25 +09:00
parent 9745bb7ad4
commit 813433000a
120 changed files with 198148 additions and 4745 deletions
@@ -0,0 +1,26 @@
method,candidate_label,seed,n_particles,epochs,particle_epochs,train_loss,train_acc,test_loss,test_acc,test_mse,fit_time_sec,data_fingerprint,model_fingerprint,device
adaptive_moment,am_b0.06_s0.5,61,30,80,2400,1.0297304391860962,0.6644999980926514,1.2476433515548706,0.5960000157356262,0.054337989538908005,3.3018275420181453,dfe645918ece54c0,2a1760dc9ec95c0a,mps
adaptive_moment,am_b0.06_s0.5,62,30,80,2400,1.0248669385910034,0.6800000071525574,1.2172735929489136,0.6150000095367432,0.05301284044981003,3.082969541894272,dfe645918ece54c0,8722b0d78b78d382,mps
adaptive_moment,am_b0.06_s0.5,63,30,80,2400,1.0421160459518433,0.6690000295639038,1.2344101667404175,0.6190000176429749,0.052518151700496674,2.7472599998582155,dfe645918ece54c0,f9f62f1942f9151e,mps
adaptive_moment,am_b0.06_s0.5,64,30,80,2400,0.9773346185684204,0.7059999704360962,1.1978241205215454,0.6150000095367432,0.052042748779058456,2.670909541891888,dfe645918ece54c0,4cd40d38555ee5ce,mps
adaptive_moment,am_b0.06_s0.5,65,30,80,2400,1.0047204494476318,0.6959999799728394,1.2509828805923462,0.6079999804496765,0.05341806635260582,2.9130489169619977,dfe645918ece54c0,70f99d26e1303b76,mps
inertia,inertia_asymmetric,61,30,80,2400,1.0274338722229004,0.6735000014305115,1.2075469493865967,0.6320000290870667,0.051997773349285126,2.564156916923821,dfe645918ece54c0,2a1760dc9ec95c0a,mps
inertia,inertia_asymmetric,62,30,80,2400,0.9986715912818909,0.6855000257492065,1.2740414142608643,0.578000009059906,0.056466199457645416,2.5913295838981867,dfe645918ece54c0,8722b0d78b78d382,mps
inertia,inertia_asymmetric,63,30,80,2400,0.8828525543212891,0.7315000295639038,1.0797629356384277,0.6620000004768372,0.04682194069027901,2.6188287080731243,dfe645918ece54c0,f9f62f1942f9151e,mps
inertia,inertia_asymmetric,64,30,80,2400,0.9942940473556519,0.6865000128746033,1.2426005601882935,0.621999979019165,0.05173056200146675,2.534188667079434,dfe645918ece54c0,4cd40d38555ee5ce,mps
inertia,inertia_asymmetric,65,30,80,2400,1.0921698808670044,0.6729999780654907,1.2609055042266846,0.6209999918937683,0.052379049360752106,2.542070833966136,dfe645918ece54c0,70f99d26e1303b76,mps
constriction,constriction_c205_canonical,61,30,80,2400,1.0248574018478394,0.6919999718666077,1.2035431861877441,0.6299999952316284,0.05152203515172005,2.5165979999583215,dfe645918ece54c0,2a1760dc9ec95c0a,mps
constriction,constriction_c205_canonical,62,30,80,2400,1.1310851573944092,0.6700000166893005,1.3196481466293335,0.5849999785423279,0.055950723588466644,2.481917541939765,dfe645918ece54c0,8722b0d78b78d382,mps
constriction,constriction_c205_canonical,63,30,80,2400,1.0529502630233765,0.6644999980926514,1.2498247623443604,0.5789999961853027,0.05548400804400444,2.593008500058204,dfe645918ece54c0,f9f62f1942f9151e,mps
constriction,constriction_c205_canonical,64,30,80,2400,0.9444444179534912,0.7145000100135803,1.2384077310562134,0.6179999709129333,0.0526747927069664,2.4862103750929236,dfe645918ece54c0,4cd40d38555ee5ce,mps
constriction,constriction_c205_canonical,65,30,80,2400,0.9420643448829651,0.7105000019073486,1.219950795173645,0.6209999918937683,0.051569391041994095,2.5256920421961695,dfe645918ece54c0,70f99d26e1303b76,mps
local_best,local_best_r4_constant,61,30,80,2400,1.0233083963394165,0.703499972820282,1.1751943826675415,0.6549999713897705,0.050412945449352264,2.535716458922252,dfe645918ece54c0,2a1760dc9ec95c0a,mps
local_best,local_best_r4_constant,62,30,80,2400,1.0379226207733154,0.6970000267028809,1.2656233310699463,0.593999981880188,0.056342579424381256,2.5843862500041723,dfe645918ece54c0,8722b0d78b78d382,mps
local_best,local_best_r4_constant,63,30,80,2400,0.9664440751075745,0.7275000214576721,1.167758584022522,0.6570000052452087,0.049540925770998,2.485073500080034,dfe645918ece54c0,f9f62f1942f9151e,mps
local_best,local_best_r4_constant,64,30,80,2400,1.0115971565246582,0.703000009059906,1.1620168685913086,0.625,0.052118122577667236,2.467889874940738,dfe645918ece54c0,4cd40d38555ee5ce,mps
local_best,local_best_r4_constant,65,30,80,2400,1.0574767589569092,0.6959999799728394,1.286249041557312,0.6010000109672546,0.05573433265089989,2.488020292017609,dfe645918ece54c0,70f99d26e1303b76,mps
quantum,quantum_beta_0.4_0.9,61,30,80,2400,1.4583405256271362,0.5460000038146973,1.464557409286499,0.5320000052452087,0.06282258033752441,2.3820620418991894,dfe645918ece54c0,2a1760dc9ec95c0a,mps
quantum,quantum_beta_0.4_0.9,62,30,80,2400,1.5153175592422485,0.5084999799728394,1.5834708213806152,0.4650000035762787,0.0668596550822258,2.4394417498260736,dfe645918ece54c0,8722b0d78b78d382,mps
quantum,quantum_beta_0.4_0.9,63,30,80,2400,1.4202407598495483,0.5490000247955322,1.5065674781799316,0.4860000014305115,0.06405868381261826,2.3948492500931025,dfe645918ece54c0,f9f62f1942f9151e,mps
quantum,quantum_beta_0.4_0.9,64,30,80,2400,1.3938108682632446,0.5199999809265137,1.4775264263153076,0.46799999475479126,0.06637361645698547,2.3948124169837683,dfe645918ece54c0,4cd40d38555ee5ce,mps
quantum,quantum_beta_0.4_0.9,65,30,80,2400,1.3520328998565674,0.5724999904632568,1.5641074180603027,0.4779999852180481,0.06454122811555862,2.402772541856393,dfe645918ece54c0,70f99d26e1303b76,mps
1 method candidate_label seed n_particles epochs particle_epochs train_loss train_acc test_loss test_acc test_mse fit_time_sec data_fingerprint model_fingerprint device
2 adaptive_moment am_b0.06_s0.5 61 30 80 2400 1.0297304391860962 0.6644999980926514 1.2476433515548706 0.5960000157356262 0.054337989538908005 3.3018275420181453 dfe645918ece54c0 2a1760dc9ec95c0a mps
3 adaptive_moment am_b0.06_s0.5 62 30 80 2400 1.0248669385910034 0.6800000071525574 1.2172735929489136 0.6150000095367432 0.05301284044981003 3.082969541894272 dfe645918ece54c0 8722b0d78b78d382 mps
4 adaptive_moment am_b0.06_s0.5 63 30 80 2400 1.0421160459518433 0.6690000295639038 1.2344101667404175 0.6190000176429749 0.052518151700496674 2.7472599998582155 dfe645918ece54c0 f9f62f1942f9151e mps
5 adaptive_moment am_b0.06_s0.5 64 30 80 2400 0.9773346185684204 0.7059999704360962 1.1978241205215454 0.6150000095367432 0.052042748779058456 2.670909541891888 dfe645918ece54c0 4cd40d38555ee5ce mps
6 adaptive_moment am_b0.06_s0.5 65 30 80 2400 1.0047204494476318 0.6959999799728394 1.2509828805923462 0.6079999804496765 0.05341806635260582 2.9130489169619977 dfe645918ece54c0 70f99d26e1303b76 mps
7 inertia inertia_asymmetric 61 30 80 2400 1.0274338722229004 0.6735000014305115 1.2075469493865967 0.6320000290870667 0.051997773349285126 2.564156916923821 dfe645918ece54c0 2a1760dc9ec95c0a mps
8 inertia inertia_asymmetric 62 30 80 2400 0.9986715912818909 0.6855000257492065 1.2740414142608643 0.578000009059906 0.056466199457645416 2.5913295838981867 dfe645918ece54c0 8722b0d78b78d382 mps
9 inertia inertia_asymmetric 63 30 80 2400 0.8828525543212891 0.7315000295639038 1.0797629356384277 0.6620000004768372 0.04682194069027901 2.6188287080731243 dfe645918ece54c0 f9f62f1942f9151e mps
10 inertia inertia_asymmetric 64 30 80 2400 0.9942940473556519 0.6865000128746033 1.2426005601882935 0.621999979019165 0.05173056200146675 2.534188667079434 dfe645918ece54c0 4cd40d38555ee5ce mps
11 inertia inertia_asymmetric 65 30 80 2400 1.0921698808670044 0.6729999780654907 1.2609055042266846 0.6209999918937683 0.052379049360752106 2.542070833966136 dfe645918ece54c0 70f99d26e1303b76 mps
12 constriction constriction_c205_canonical 61 30 80 2400 1.0248574018478394 0.6919999718666077 1.2035431861877441 0.6299999952316284 0.05152203515172005 2.5165979999583215 dfe645918ece54c0 2a1760dc9ec95c0a mps
13 constriction constriction_c205_canonical 62 30 80 2400 1.1310851573944092 0.6700000166893005 1.3196481466293335 0.5849999785423279 0.055950723588466644 2.481917541939765 dfe645918ece54c0 8722b0d78b78d382 mps
14 constriction constriction_c205_canonical 63 30 80 2400 1.0529502630233765 0.6644999980926514 1.2498247623443604 0.5789999961853027 0.05548400804400444 2.593008500058204 dfe645918ece54c0 f9f62f1942f9151e mps
15 constriction constriction_c205_canonical 64 30 80 2400 0.9444444179534912 0.7145000100135803 1.2384077310562134 0.6179999709129333 0.0526747927069664 2.4862103750929236 dfe645918ece54c0 4cd40d38555ee5ce mps
16 constriction constriction_c205_canonical 65 30 80 2400 0.9420643448829651 0.7105000019073486 1.219950795173645 0.6209999918937683 0.051569391041994095 2.5256920421961695 dfe645918ece54c0 70f99d26e1303b76 mps
17 local_best local_best_r4_constant 61 30 80 2400 1.0233083963394165 0.703499972820282 1.1751943826675415 0.6549999713897705 0.050412945449352264 2.535716458922252 dfe645918ece54c0 2a1760dc9ec95c0a mps
18 local_best local_best_r4_constant 62 30 80 2400 1.0379226207733154 0.6970000267028809 1.2656233310699463 0.593999981880188 0.056342579424381256 2.5843862500041723 dfe645918ece54c0 8722b0d78b78d382 mps
19 local_best local_best_r4_constant 63 30 80 2400 0.9664440751075745 0.7275000214576721 1.167758584022522 0.6570000052452087 0.049540925770998 2.485073500080034 dfe645918ece54c0 f9f62f1942f9151e mps
20 local_best local_best_r4_constant 64 30 80 2400 1.0115971565246582 0.703000009059906 1.1620168685913086 0.625 0.052118122577667236 2.467889874940738 dfe645918ece54c0 4cd40d38555ee5ce mps
21 local_best local_best_r4_constant 65 30 80 2400 1.0574767589569092 0.6959999799728394 1.286249041557312 0.6010000109672546 0.05573433265089989 2.488020292017609 dfe645918ece54c0 70f99d26e1303b76 mps
22 quantum quantum_beta_0.4_0.9 61 30 80 2400 1.4583405256271362 0.5460000038146973 1.464557409286499 0.5320000052452087 0.06282258033752441 2.3820620418991894 dfe645918ece54c0 2a1760dc9ec95c0a mps
23 quantum quantum_beta_0.4_0.9 62 30 80 2400 1.5153175592422485 0.5084999799728394 1.5834708213806152 0.4650000035762787 0.0668596550822258 2.4394417498260736 dfe645918ece54c0 8722b0d78b78d382 mps
24 quantum quantum_beta_0.4_0.9 63 30 80 2400 1.4202407598495483 0.5490000247955322 1.5065674781799316 0.4860000014305115 0.06405868381261826 2.3948492500931025 dfe645918ece54c0 f9f62f1942f9151e mps
25 quantum quantum_beta_0.4_0.9 64 30 80 2400 1.3938108682632446 0.5199999809265137 1.4775264263153076 0.46799999475479126 0.06637361645698547 2.3948124169837683 dfe645918ece54c0 4cd40d38555ee5ce mps
26 quantum quantum_beta_0.4_0.9 65 30 80 2400 1.3520328998565674 0.5724999904632568 1.5641074180603027 0.4779999852180481 0.06454122811555862 2.402772541856393 dfe645918ece54c0 70f99d26e1303b76 mps