Final revision: audit fixes, cross-scheme comparisons, known-plaintext stage

- exclude the all-ones Walsh-Hadamard row and test every key family
  against the all-ones guess
- pass the model dimension to the noise scaling so the key-length sweep
  runs at a fixed per-dimension SNR
- known-plaintext attack with nested accumulation and common random
  numbers, averaged over 40 collections
- key sensitivity and brute-force search extended to the permutation
  key and the index cipher
- make_tables regenerates all three result tables from the CSVs
This commit is contained in:
KiHoLee
2026-08-13 21:21:46 +09:00
parent 37392bc38f
commit 25b5891b04
15 changed files with 279 additions and 56 deletions
+8
View File
@@ -0,0 +1,8 @@
K,ser_mask,ser_perm,ser_pad,best_kappa,best_frac
1,0.9993678262,0.9999544349,0.9999847412,0.1909643153,0.0160546875
10,0.9948030015,0.9999095052,0.9998474121,0.4626973216,0.041015625
100,0.9825717055,0.9998648567,0.9984741211,0.6342127242,0.0658203125
1000,0.9568330187,0.9998315989,0.9847412109,0.7432459045,0.084296875
10000,0.909109588,0.9997988333,0.8474121094,0.8165387856,0.1025
100000,0.8435049061,0.9997690911,0,0.8680494354,0.1190234375
1000000,0.7503523409,0.9997409661,0,0.905556646,0.1346484375
1 K ser_mask ser_perm ser_pad best_kappa best_frac
2 1 0.9993678262 0.9999544349 0.9999847412 0.1909643153 0.0160546875
3 10 0.9948030015 0.9999095052 0.9998474121 0.4626973216 0.041015625
4 100 0.9825717055 0.9998648567 0.9984741211 0.6342127242 0.0658203125
5 1000 0.9568330187 0.9998315989 0.9847412109 0.7432459045 0.084296875
6 10000 0.909109588 0.9997988333 0.8474121094 0.8165387856 0.1025
7 100000 0.8435049061 0.9997690911 0 0.8680494354 0.1190234375
8 1000000 0.7503523409 0.9997409661 0 0.905556646 0.1346484375
+5 -5
View File
@@ -1,5 +1,5 @@
family,legit_ser,eve_ser,mask_xcorr
random,0.64962,0.998488,0.2709003091
hadamard,0.2568,0.9995605,0
learned,0.2762895,0.9999285,0.007116591092
learned_reg,0.315952,0.9999555,0.01121100038
family,legit_ser,eve_ser,eve_ones_ser,mask_xcorr
random,0.64962,0.998488,0.999988,0.2709003091
hadamard,0.257299,0.9999905,0.9999755,0
learned,0.2762895,0.9999285,0.99999,0.007116591092
learned_reg,0.315952,0.9999555,0.9999175,0.01121100038
1 family legit_ser eve_ser eve_ones_ser mask_xcorr
2 random 0.64962 0.998488 0.999988 0.2709003091
3 hadamard 0.2568 0.257299 0.9995605 0.9999905 0.9999755 0
4 learned 0.2762895 0.9999285 0.99999 0.007116591092
5 learned_reg 0.315952 0.9999555 0.9999175 0.01121100038
+7 -7
View File
@@ -1,8 +1,8 @@
jsr_db,plain,regularized
-10,0.46879,0.4691633333
-5,0.6335366667,0.6307333333
0,0.8056466667,0.8018166667
5,0.9187366667,0.91602
10,0.9708533333,0.9693866667
15,0.9902133333,0.9896433333
20,0.9967333333,0.9965933333
-10,0.46703,0.4719866667
-5,0.6348,0.6301533333
0,0.8073133333,0.80122
5,0.9191366667,0.91577
10,0.9707266667,0.96911
15,0.9901433333,0.99006
20,0.9968333333,0.9964333333
1 jsr_db plain regularized
2 -10 0.46879 0.46703 0.4691633333 0.4719866667
3 -5 0.6335366667 0.6348 0.6307333333 0.6301533333
4 0 0.8056466667 0.8073133333 0.8018166667 0.80122
5 5 0.9187366667 0.9191366667 0.91602 0.91577
6 10 0.9708533333 0.9707266667 0.9693866667 0.96911
7 15 0.9902133333 0.9901433333 0.9896433333 0.99006
8 20 0.9967333333 0.9968333333 0.9965933333 0.9964333333
+11
View File
@@ -0,0 +1,11 @@
frac,ser_mask,ser_perm,ser_pad
0,0.99998375,0.9999833333,0.9999847412
0.2,0.9997954167,0.9996233333,0.999859778
0.4,0.9985329167,0.9949383333,0.9987114181
0.6,0.99153625,0.9540933333,0.9881584643
0.75,0.9644704167,0.880335,0.9375
0.85,0.88742875,0.7279433333,0.8105354292
0.9,0.7780379167,0.5716733333,0.6701230223
0.94,0.6256225,0.4316466667,0.4859430867
0.97,0.43810125,0.3708666667,0.283022376
1,0.2756983333,0.3021566667,0
1 frac ser_mask ser_perm ser_pad
2 0 0.99998375 0.9999833333 0.9999847412
3 0.2 0.9997954167 0.9996233333 0.999859778
4 0.4 0.9985329167 0.9949383333 0.9987114181
5 0.6 0.99153625 0.9540933333 0.9881584643
6 0.75 0.9644704167 0.880335 0.9375
7 0.85 0.88742875 0.7279433333 0.8105354292
8 0.9 0.7780379167 0.5716733333 0.6701230223
9 0.94 0.6256225 0.4316466667 0.4859430867
10 0.97 0.43810125 0.3708666667 0.283022376
11 1 0.2756983333 0.3021566667 0