Ciphertext-only family enumeration, and checks that reproduce off a GPU

check_family_enum.py measures the attack the manuscript now states in
Section III-A: the winning correlation is an index-free verifier, so
ranking the 63 non-constant Walsh rows by mean winning correlation
recovers the user set from one frame in 0.905 of 200 trials at 10 dB
and from four frames in 0.990, using nothing outside the stated threat
model. Under the invariance refresh it recovers it in none, because the
entry permutation relabels the codebook the adversary must align
against.

V8 and V9 read the trained codebook through main_model(), which
retrains on every call, and a codebook trained on CUDA is not the one
trained on CPU. The shipped verify_math.csv therefore read PASS here
and FAIL for anyone running this package without a GPU. model_main.pt
is 7 KB and fixes the codebook, which is what both checks are about;
delete it to retrain. V1-V11 now pass on both.

New checks: V10, the format-matched OMA reference Section VI-B quotes,
and V11, the closed-form against Monte Carlo comparison the manuscript
claimed and never stored. V3a's bias-linearity result was computed and
printed but never written to the CSV, so the one linearity claim the
paper quotes was the one this package could not show.

check_consistency.py gains 21 assertions, covering five data files that
no assertion read (users, csi, semantic, cov_attack, sec_jam) and the
trend claims it structurally could not see, since it compared values
and not shapes.

README: the figure map named stages that do not write the artifacts
they list, so following it did not reproduce Figs. 4 and 6; the
reproduction block was five scripts short; and the refresh numbers were
from a superseded run (nearly three, 15.0 to 64.8 bits) against the
manuscript's 2.3 and 23.8 to 364.6.
This commit is contained in:
KiHoLee
2026-08-28 17:40:28 +09:00
parent 8dd70a1776
commit 17d23fa76a
9 changed files with 328 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
snr_db,n_frames,keying,recovery
0,1,fixed,0.425
0,2,fixed,0.46
0,4,fixed,0.645
10,1,fixed,0.905
10,2,fixed,0.95
10,4,fixed,0.99
20,1,fixed,0.985
20,2,fixed,1
20,4,fixed,1
10,2,refreshed,0
1 snr_db n_frames keying recovery
2 0 1 fixed 0.425
3 0 2 fixed 0.46
4 0 4 fixed 0.645
5 10 1 fixed 0.905
6 10 2 fixed 0.95
7 10 4 fixed 0.99
8 20 1 fixed 0.985
9 20 2 fixed 1
10 20 4 fixed 1
11 10 2 refreshed 0