A DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation
Abstract
1. Introduction
- A dual-head Transformer-based PRNG architecture is proposed for direct output generation in the DNA alphabet.
- GC balance, homopolymer limitation, short-range dependency control, and local motif behavior are treated as components of a constraint-aware sampling mechanism operating during generation, rather than as post-generation corrections.
- Data-supported and data-independent generation conditions are compared under the same architectural core through the R1, R2, and R3 regimes. In particular, the R3 no-reference/no-training regime enables the assessment of data-set dependence and generation behavior without training data.
- The bitstream is derived through dynamic selection among eight equivalent DNA-to-bit coding rules, rather than through a single fixed mapping rule.
- Statistical randomness tests and DNA-specific structural measures are jointly evaluated within an integrated validation protocol.
- Independent genomic validation, summary statistics across independent runs, and additional analyses of component contributions are used to assess reproducibility and consistency across regimes more explicitly.
2. Related Work and Research Gap
3. Materials and Methods
3.1. Overview of the Proposed Method
3.2. Data Regimes and Generation Modes
| Algorithm 1. Proposed DNA-local PRNG generation workflow under R1, R1-ext, R2, and R3 |
| Input: Generation regime ∈ {R1, R1-ext, R2, R3}, context length W, target generation length L, runseed, model configuration, and sampling parameters. Output: Generated DNA sequence X, rule trace R, and corresponding bitstream Y.
|
3.3. Dual-Head Decoder-Only Transformer Architecture
3.4. Learning Objective and Regime-Specific Training Strategy
3.5. Constraint-Aware DNA Sampling
| Algorithm 2. Constraint-aware sampling |
| Input: Base-head logits , current prefix, temperature τ, GC target, homopolymer limit, lag-1 parameters, and n-gram parameters. Output: Selected next DNA base .
|
3.6. DNA-to-Bit Mapping and Construction of Output Streams
4. Results
4.1. Evaluation Setup and Reproducibility Summary
4.2. Bit-Level Randomness Evaluation
4.2.1. NIST SP 800-22 Tests
4.2.2. SP 800-90B-Inspired Min-Entropy, Independent and Identically Distributed (IID)-Related Indicators, and Health-Test Evaluation
4.2.3. ENT Tests
4.3. DNA-Specific Structural and Multi-Stream Evaluation
4.3.1. DNA-Specific Metrics
4.3.2. Multi-Stream Independence and Leakage Controls
4.3.3. Component-Level Sensitivity and Failure-Oriented Stress Control
4.4. Performance and Computational Complexity Analysis
4.4.1. Empirical Performance Analysis
4.4.2. Theoretical Computational Complexity
5. Discussion
6. Conclusions
7. Patents
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| PRNG | Pseudorandom Number Generator |
| DNA | Deoxyribonucleic Acid |
| NIST | National Institute of Standards and Technology |
| ENT | The Pseudorandom Number Sequence Test Program |
| GC | Guanine–Cytosine |
| RC | Reverse Complement |
| KV | Key–Value |
| SDPA | Scaled Dot-Product Attention |
| CSPRNG | Cryptographically Secure Pseudorandom Number Generator |
| KDF | Key-Derivation Function |
Appendix A
| Ref. | Family | Method/Approach | Output Space | Training/ Input | Constraint Handling | Dynamic DNA → Bit Mapping | Validation Scope | Reproducibility/Note |
|---|---|---|---|---|---|---|---|---|
| [3] | DNA coding/ codec | DNA-Aeon (arithmetic coding) | Bit → DNA; dynamic | No training; codec design | Codebook-based | — | DNA constraint compatibility | Not a PRNG; no in-generation constraints |
| [4] | DNA coding/ codec | Explorer (De Bruijn graph) | Bit → DNA; dynamic | No training for Explorer; optional trained Codeformer decoder | Graph-guided / in-generation | — | DNA constraint compatibility | Not a PRNG; no in-generation constraints |
| [5] | DNA coding | Dual-rule rotational coding with chaotic GC control | Bit → DNA; dynamic | No training; chaotic map | Rule-based / chaotic GC control | Partial (2 rules) | Bioinformatics comparison | Not a PRNG; no in-generation constraints |
| [6] | Evaluation/model | DNA storage digital twin | Storage model | — | — | — | DNA error/bias metrics | Does not propose a PRNG/codec |
| [8] | Transformer PRNG | Decoder-only; LCG/MT simulation with CoT | Bit; dynamic | Synthetic PRNG sequences; supervised | — | — | NIST SP 800-22 (most tests); MT prediction | Limited seed/protocol reporting; not DNA-native |
| [11] | Transformer PRNG | Decoder-only; learning LCG regularities | Bit; dynamic | LCG sequences; variety of moduli | — | — | Prediction/generalization experiments | Limited seed/protocol reporting; not DNA-native |
| [12] | DNA coding | Dynamic DNA coding (image) | Bit → DNA; dynamic | Trained/chaotic components | Post | Present | NIST; application metrics | Not a PRNG; no in-generation constraints |
| [13] | DNA coding | Eight-base DNA permutation/diffusion | Bit → DNA; dynamic | Chaotic parameters | Post | Variable | Entropy, etc.; limited | Fixed/narrow rule sets; no unified protocol |
| [34] | DNA key (GA) | DNA key strengthening with GA | DNA; dynamic | External random DNA generator | Post | — | Frequency; gap; fitness | No NIST/90B; dependent on external RNG |
| [22] | DL-PRNG | LSTM + SHA-2 | Bit; static | Digits of π + seed | No additional constraints | — | NIST SP 800-22 | Seed reproducible; no DNA |
| [24] | DL-PRNG | GAN (Dense/Conv1D) | Bit; dynamic | 256-bit seed; framework | — | — | NIST SP 800-22 | Seed reproducible; limited security analysis |
| [25] | RL-PRNG | PPO-trained LSTM (POMDP) | Bit; dynamic | Random seed (N = 2/5/10) | — | — | NIST SP 800-22 | Open source; reproducible |
| [26] | DL-PRNG | GA-optimized GAN (recursive) | Bit; dynamic | 256-bit seed; GA optimization | — | — | NIST; GM/T; Hamming; BCR | Extensive reports; GPU/GA cost |
| [27] | DL-PRNG | Predictive-GAN (seed + counter) | Bit; dynamic | Counter + seed | — | — | NIST SP 800-22 (repeated) | Generation without dataset; no DNA |
| [28] | DL-PRNG | WGAN-GP (end-to-end; ONNX) | Bit; dynamic | Based on MT outputs | — | — | NIST SP 800-22 (multiple repetitions) | Platform-independent; no DNA |
| [31] | DNA + Chaos + CNN | Pre-trained CNN + chaos + DNA coding | Bit → DNA; dynamic | CNN (ImageNet) + images | Post | Variable | NIST; entropy | Data/training-dependent; no in-generation constraints |
| [29] | RL-PRNG | RL agent + LSTM + CNN | Bit; dynamic | Initial vector; no external data | — | — | NIST; correlation | Limited security and hardware reporting |
| [30] | RL-PRNG | UDRL (upside-down RL) | Bit; dynamic | 128-bit seed; no data | — | — | NIST; entropy; PNB; Hamming | No dataset required; hardware/time metrics limited |
| This work | Transformer PRNG | Dual-head decoder-only Transformer | DNA → Bit; dynamic | Real DNA/synthetic DNA/no-ref | In-generation | Present | NIST SP 800-22 + SP 800-90B + DNA-specific metrics | Seeded and traceable; DNA-native unified protocol |
| Component/ Feature | Original Transformer (2017) [7] | Rationale for Use | Proposed PRNG Core | Rationale for Use |
|---|---|---|---|---|
| Purpose | Machine translation (seq2seq translation, enc + dec) | Convert a source sentence into a target language | DNA-native dual-head PRNG with dynamic DNA-to-bit rule mapping | Architecture repurposed for autoregressive DNA generation and rule-guided bitstream derivation |
| Architecture | Encoder + decoder (6 + 6) | Encoder extracts semantics from input; decoder generates output | Decoder-only, 3 blocks | Cross-attention is unnecessary; reduces parameters and latency |
| Positional encoding | Fixed sinusoidal (sin/cos) | Sequence order injected externally | RoPE (Q, K) | Compatible with autoregressive generation, sliding window, and KV-cache |
| Multi-Head Attention (MHA) | 8 heads (base), 16 heads (big) | Multiple attention views | 4 heads | Good compute/performance trade-off for a 4-symbol output space |
| () | 512 (base), 1024 (big) | High capacity for language tasks | 128 | Lightweight configuration for trained and no-ref regimes |
| Feed-Forward Network (FFN)/Activation | Two-layer MLP, (=2048), ReLU | Increases representational power | Two-layer MLP, GELU | Stable lightweight training and generation |
| Number of layers | 6 encoder + 6 decoder | Deep structure for complex sequence patterns | 3 blocks | Sufficient under the reported regimes while keeping the core lightweight |
| Normalization/Residual | LayerNorm + residual connections | Stabilizes learning | Pre-LN + residual | Matches implementation and supports stable forward passes |
| Dropout | 0.1–0.3 | Prevents overfitting | 0.1 in the trained model; 0.0 in the no-ref model; inactive at inference | Consistent with trained/no-ref code paths |
| Decoder masking | Mandatory (future mask) | Enables autoregressive generation | Causal SDPA (is_causal = True) | Prevents access to future positions |
| KV-cache/Window | — | — | KV-cache + sliding window ( = 128) | Reduces latency and memory cost during long generation |
| Input representation | Words (token IDs) | Vectorized via embeddings | DNA token IDs (A/C/G/T → 0–3) | Supports DNA-local autoregressive modeling |
| Training data (regimes) | Large parallel corpus | Parameter optimization for translation | R1: real DNA; R2: synthetic DNA; R3: no-ref | R1/R2 trained; R3 generated without training data |
| Optimization (R1/R2) | Adam/AdamW | Widely adopted optimizers | AdamW, lr = 3 × 10−4, wd = 0.01, batch = 256, epoch = 1 | Lightweight training configuration |
| Output heads | Single vocabulary head | Predicts next token | Dual heads: base-head (4), rule-head (8) | Joint next-base prediction and dynamic rule distribution modeling |
| Channel constraints | — | Not required for language tasks | GC ≈ 0.5, homopolymer ≤ 5, lag-1 damping; trained code additionally uses bigram/trimer smoothing | Supports DNA-compatible generation behavior |
Appendix B
| Regime | Flow ID | Run_Seed | Time (min) | CPU Time (min) | ΔRAM (MB) | Efficiency (Bases/min) | Most-Used Rule |
|---|---|---|---|---|---|---|---|
| R1 | Run1 | 3777576837658288813 | 27.578 | 164.919 | 17.03 | 18,130.1 | R1 |
| Run2 | 2996532206919239426 | 27.013 | 161.594 | 14.23 | 18,509.7 | R2 | |
| Run3 | 9015237046617222238 | 28.513 | 170.422 | 20.13 | 17,535.9 | R4 | |
| Run4 | 6751083079595914137 | 29.050 | 173.598 | 13.00 | 17,211.6 | R7 | |
| Run5 | 6605099016974130776 | 28.595 | 170.797 | 12.56 | 17,485.8 | R3 | |
| Run6 | 2901449802581831812 | 28.605 | 171.092 | 13.26 | 17,479.2 | R4 | |
| Run7 | 8148888929366623013 | 27.330 | 163.516 | 21.99 | 18,295.1 | R8 | |
| Run8 | 4343358777370873001 | 28.786 | 171.955 | 14.64 | 17,369.8 | R3 | |
| Run9 | 2575375486695530171 | 28.069 | 167.900 | 14.38 | 17,813.1 | R8 | |
| Run10 | 8122644735018647104 | 27.181 | 162.608 | 21.66 | 18,395.4 | R7 | |
| R1-ext | Run1 | 7625999889054559659 | 30.733 | 182.599 | 24.96 | 16,268.9 | R5 |
| Run2 | 314573498243332620 | 31.283 | 185.664 | 31.94 | 15,983.1 | R2 | |
| Run3 | 764733146881143348 | 31.283 | 185.944 | 13.99 | 15,983.3 | R1 | |
| Run4 | 251898976151475512 | 31.613 | 187.132 | 13.72 | 15,816.4 | R4 | |
| Run5 | 7498231141980839004 | 29.772 | 177.353 | 14.58 | 16,794.1 | R6 | |
| Run6 | 3738891002146033876 | 31.005 | 184.407 | 27.80 | 16,126.6 | R6 | |
| Run7 | 2941200863645545546 | 30.617 | 182.153 | 32.41 | 16,330.7 | R6 | |
| Run8 | 2607212318199907590 | 32.442 | 192.742 | 19.19 | 15,412.0 | R7 | |
| Run9 | 2875944969232760973 | 32.347 | 191.882 | 26.38 | 15,457.4 | R5 | |
| Run10 | 6067218175503377371 | 32.562 | 193.053 | 29.98 | 15,355.3 | R0 | |
| R2 | Run1 | 2659341318112875182 | 30.615 | 183.130 | 20.84 | 16,332.0 | R6 |
| Run2 | 3246168301735005977 | 30.436 | 182.105 | 13.91 | 16,428.1 | R3 | |
| Run3 | 6391463415693057775 | 30.294 | 181.220 | 13.62 | 16,504.9 | R6 | |
| Run4 | 542021218614881257 | 30.115 | 180.143 | 19.27 | 16,603.2 | R2 | |
| Run5 | 3365475962873395619 | 30.046 | 179.765 | 21.91 | 16,641.1 | R3 | |
| Run6 | 1949493743774670690 | 30.129 | 180.220 | 20.23 | 16,595.3 | R1 | |
| Run7 | 3238582911584386627 | 30.118 | 180.184 | 20.73 | 16,601.2 | R4 | |
| Run8 | 3765494611416181708 | 30.075 | 179.955 | 13.45 | 16,624.9 | R8 | |
| Run9 | 1827248064715351053 | 29.776 | 178.156 | 11.01 | 16,792.2 | R6 | |
| Run10 | 7156019210394983219 | 29.888 | 178.862 | 14.62 | 16,729.1 | R1 | |
| R3 | Run1 | 8687970821042739881 | 25.888 | 154.560 | 31.65 | 19,313.6 | R7 |
| Run2 | 2717860915976751978 | 27.841 | 165.042 | 33.38 | 17,959.2 | R5 | |
| Run3 | 4168663315303670174 | 25.641 | 152.989 | 31.06 | 19,499.7 | R2 | |
| Run4 | 1899467523397611477 | 26.027 | 155.134 | 32.54 | 19,211.1 | R5 | |
| Run5 | 669719007328324969 | 26.290 | 156.853 | 31.68 | 19,018.8 | R7 | |
| Run6 | 6078085842953122236 | 25.601 | 152.979 | 30.16 | 19,530.2 | R5 | |
| Run7 | 8506520864525150646 | 25.401 | 151.838 | 31.42 | 19,684.5 | R7 | |
| Run8 | 7744048495857627520 | 26.937 | 160.909 | 30.75 | 18,561.9 | R2 | |
| Run9 | 28728216386926652 | 27.455 | 164.121 | 31.91 | 18,211.4 | R6 | |
| Run10 | 2343752742164881949 | 26.280 | 157.138 | 32.75 | 19,026.0 | R5 |
Appendix C
| Regime | Test/Flow | Run1 | Run2 | Run3 | Run4 | Run5 | Run6 | Run7 | Run8 | Run9 | Run10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| R1 | T1 Monobit | 0.574116 | 0.947378 | 0.972877 | 0.171939 | 0.941010 | 0.980853 | 0.114107 | 0.491453 | 0.269593 | 0.413357 |
| T2 Block Frequency * | 0.669543 | 0.177556 | 0.976522 | 0.819986 | 0.915793 | 0.089008 | 0.345831 | 0.855791 | 0.220493 | 0.532428 | |
| T3 Runs | 0.982196 | 0.265277 | 0.279252 | 0.801144 | 0.976063 | 0.587818 | 0.830160 | 0.621640 | 0.894020 | 0.224240 | |
| T4 Longest Run | 0.412683 | 0.717564 | 0.991486 | 0.997963 | 0.847873 | 0.216029 | 0.060961 | 0.573909 | 0.133437 | 0.672628 | |
| T5 Rank | 0.272268 | 0.529120 | 0.898560 | 0.152231 | 0.441833 | 0.365876 | 0.656461 | 0.487610 | 0.851033 | 0.347866 | |
| T6 DFT | 0.127679 | 0.502925 | 0.393423 | 0.613759 | 0.832839 | 0.762020 | 0.192547 | 0.626711 | 0.192547 | 0.056296 | |
| T7 Non-overlapping Template * | 0.095713 | 0.691427 | 0.990490 | 0.283391 | 0.449521 | 0.882317 | 0.265165 | 0.246289 | 0.433015 | 0.491737 | |
| T8 Overlapping Template | 0.760016 | 0.391747 | 0.455295 | 0.902004 | 0.839479 | 0.094000 | 0.780932 | 0.301322 | 0.925462 | 0.580660 | |
| T9 Universal | 0.294271 | 0.726637 | 0.503237 | 0.098713 | 0.047189 | 0.773077 | 0.243926 | 0.439691 | 0.308580 | 0.924031 | |
| T10 Linear Complexity | 0.434030 | 0.120095 | 0.518555 | 0.206627 | 0.634534 | 0.149757 | 0.320940 | 0.768136 | 0.473276 | 0.958357 | |
| T11 Serial * | 0.068368 | 0.802227 | 0.032145 | 0.265820 | 0.907015 | 0.546542 | 0.511602 | 0.689968 | 0.490083 | 0.344284 | |
| T12 Approximate Entropy | 0.348051 | 0.478736 | 0.875891 | 0.908812 | 0.752068 | 0.015260 | 0.950942 | 0.690076 | 0.686052 | 0.602374 | |
| T13 Cumulative Sums (Backward) | 0.964088 | 0.534794 | 0.911652 | 0.307699 | 0.876640 | 0.776553 | 0.134201 | 0.561361 | 0.325975 | 0.191824 | |
| T14 Random Excursions * | 0.940605 | 0.087099 | 0.836160 | 0.327066 | 0.564418 | 0.358256 | 0.442430 | 0.814501 | 0.263074 | 0.460295 | |
| T15 Random Excursions Variant * | 0.618112 | 0.648884 | 0.849951 | 0.840036 | 0.502843 | 0.073160 | 0.872932 | 0.553694 | 0.796987 | 0.967530 | |
| R1-EXT | T1 Monobit | 0.876033 | 0.299270 | 0.023451 | 0.918757 | 0.465390 | 0.227817 | 0.176375 | 0.677410 | 0.192916 | 0.893403 |
| T2 Block Frequency * | 0.688866 | 0.518367 | 0.315215 | 0.405310 | 0.273553 | 0.793153 | 0.435942 | 0.350540 | 0.402832 | 0.421235 | |
| T3 Runs | 0.172575 | 0.914727 | 0.730194 | 0.399794 | 0.018546 | 0.185321 | 0.871170 | 0.192293 | 0.085377 | 0.964890 | |
| T4 Longest Run | 0.701222 | 0.904868 | 0.990511 | 0.112640 | 0.840767 | 0.773268 | 0.466527 | 0.535885 | 0.881214 | 0.842003 | |
| T5 Rank | 0.400857 | 0.934882 | 0.122663 | 0.813768 | 0.911907 | 0.248056 | 0.988609 | 0.507021 | 0.976758 | 0.498481 | |
| T6 DFT | 0.022314 | 0.686381 | 0.312769 | 0.769024 | 0.011924 | 0.783087 | 0.468480 | 0.948782 | 0.948782 | 0.479815 | |
| T7 Non-overlapping Template * | 0.483935 | 0.081419 | 0.987610 | 0.472613 | 0.273594 | 0.949683 | 0.419182 | 0.143944 | 0.682696 | 0.584531 | |
| T8 Overlapping Template | 0.904326 | 0.278928 | 0.254728 | 0.474896 | 0.487261 | 0.538331 | 0.684371 | 0.473233 | 0.904803 | 0.593225 | |
| T9 Universal | 0.263026 | 0.064627 | 0.833899 | 0.200944 | 0.737001 | 0.126080 | 0.976729 | 0.205922 | 0.544305 | 0.770810 | |
| T10 Linear Complexity | 0.390649 | 0.932794 | 0.911430 | 0.093254 | 0.435055 | 0.054720 | 0.771536 | 0.640324 | 0.975377 | 0.641268 | |
| T11 Serial * | 0.010475 | 0.244475 | 0.083704 | 0.683724 | 0.235186 | 0.794645 | 0.881126 | 0.951755 | 0.349147 | 0.484959 | |
| T12 Approximate Entropy | 0.902937 | 0.872248 | 0.572556 | 0.696465 | 0.985675 | 0.341278 | 0.776160 | 0.271060 | 0.643875 | 0.908190 | |
| T13 Cumulative Sums (Backward) | 0.648534 | 0.029456 | 0.036550 | 0.728023 | 0.469716 | 0.227752 | 0.214357 | 0.771929 | 0.196254 | 0.913034 | |
| T14 Random Excursions * | 0.525969 | 0.065370 | 0.012732 | 0.892020 | 0.334134 | 0.934651 | 0.051210 | 0.021177 | 0.723167 | 0.302438 | |
| T15 Random Excursions Variant * | 0.272304 | 0.929763 | 0.227610 | 0.461714 | 0.417111 | 0.244214 | 0.514598 | 0.071589 | 0.339418 | 0.822266 | |
| R2 | T1 Monobit | 0.846176 | 0.998404 | 0.022608 | 0.344149 | 0.334044 | 0.047256 | 0.605854 | 0.807231 | 0.370253 | 0.221708 |
| T2 Block Frequency * | 0.961222 | 0.734024 | 0.761550 | 0.328885 | 0.653973 | 0.887630 | 0.694811 | 0.932147 | 0.543368 | 0.894749 | |
| T3 Runs | 0.145936 | 0.253454 | 0.828053 | 0.456335 | 0.542568 | 0.420278 | 0.360857 | 0.984091 | 0.801662 | 0.590926 | |
| T4 Longest Run | 0.454939 | 0.027110 | 0.851361 | 0.621484 | 0.574523 | 0.094218 | 0.966306 | 0.146381 | 0.214736 | 0.580577 | |
| T5 Rank | 0.971163 | 0.473230 | 0.609144 | 0.312749 | 0.300130 | 0.135480 | 0.862600 | 0.435200 | 0.882449 | 0.480366 | |
| T6 DFT | 0.057491 | 0.912315 | 0.373394 | 0.070638 | 0.116601 | 0.948782 | 0.934178 | 0.378341 | 0.388356 | 0.013919 | |
| T7 Non-overlapping Template * | 0.533261 | 0.530300 | 0.648813 | 0.592512 | 0.826356 | 0.647508 | 0.299097 | 0.318556 | 0.944411 | 0.342988 | |
| T8 Overlapping Template | 0.054371 | 0.792526 | 0.061094 | 0.845211 | 0.721246 | 0.985753 | 0.683012 | 0.238079 | 0.017992 | 0.229354 | |
| T9 Universal | 0.305657 | 0.276097 | 0.040213 | 0.923409 | 0.336758 | 0.198378 | 0.532490 | 0.519868 | 0.407002 | 0.176780 | |
| T10 Linear Complexity | 0.618159 | 0.188254 | 0.160839 | 0.604675 | 0.233668 | 0.510675 | 0.896151 | 0.532704 | 0.449326 | 0.183131 | |
| T11 Serial * | 0.059399 | 0.675536 | 0.664156 | 0.626823 | 0.724078 | 0.967183 | 0.144986 | 0.097246 | 0.866850 | 0.087061 | |
| T12 Approximate Entropy | 0.112163 | 0.230017 | 0.420250 | 0.302175 | 0.892372 | 0.424580 | 0.518228 | 0.377351 | 0.131236 | 0.297065 | |
| T13 Cumulative Sums (Backward) | 0.987844 | 0.866193 | 0.023874 | 0.634720 | 0.429552 | 0.080534 | 0.458105 | 0.934381 | 0.545849 | 0.428818 | |
| T14 Random Excursions * | 0.631132 | 0.937194 | 0.868588 | 0.515450 | 0.328942 | 0.784265 | 0.854095 | 0.426371 | 0.077111 | 0.199304 | |
| T15 Random Excursions Variant * | 0.206347 | 0.486963 | 0.146903 | 0.287350 | 0.916010 | 0.144244 | 0.159694 | 0.773638 | 0.106827 | 0.991227 | |
| R3 | T1 Monobit | 0.926698 | 0.437749 | 0.874457 | 0.540538 | 0.191553 | 0.832107 | 0.524776 | 0.231697 | 0.858723 | 0.578211 |
| T2 Block Frequency * | 0.861260 | 0.904103 | 0.627879 | 0.990253 | 0.314213 | 0.391705 | 0.111155 | 0.950025 | 0.474425 | 0.360097 | |
| T3 Runs | 0.860301 | 0.869257 | 0.917189 | 0.990724 | 0.994978 | 0.780978 | 0.068821 | 0.456011 | 0.267013 | 0.689384 | |
| T4 Longest Run | 0.604606 | 0.632427 | 0.034811 | 0.051520 | 0.222293 | 0.787522 | 0.137809 | 0.871183 | 0.563663 | 0.520913 | |
| T5 Rank | 0.233986 | 0.202430 | 0.772287 | 0.262833 | 0.768670 | 0.919391 | 0.772087 | 0.877492 | 0.495204 | 0.919391 | |
| T6 DFT | 0.832839 | 0.978037 | 0.727306 | 0.408863 | 0.790145 | 0.790145 | 0.363621 | 0.588217 | 0.532620 | 0.215403 | |
| T7 Non-overlapping Template * | 0.206548 | 0.990923 | 0.818175 | 0.929475 | 0.811983 | 0.503267 | 0.728726 | 0.649169 | 0.479238 | 0.010210 | |
| T8 Overlapping Template | 0.598509 | 0.999010 | 0.437266 | 0.236232 | 0.507910 | 0.155461 | 0.763075 | 0.842145 | 0.068121 | 0.026088 | |
| T9 Universal | 0.918352 | 0.058300 | 0.651230 | 0.395361 | 0.871172 | 0.589699 | 0.904884 | 0.335321 | 0.194210 | 0.624306 | |
| T10 Linear Complexity | 0.768922 | 0.560721 | 0.017217 | 0.540099 | 0.456682 | 0.846863 | 0.430851 | 0.612810 | 0.966705 | 0.462924 | |
| T11 Serial * | 0.484166 | 0.344815 | 0.432245 | 0.589628 | 0.876529 | 0.721337 | 0.609739 | 0.701161 | 0.337268 | 0.345081 | |
| T12 Approximate Entropy | 0.408452 | 0.795013 | 0.527341 | 0.657171 | 0.908966 | 0.972334 | 0.121313 | 0.670852 | 0.566861 | 0.708757 | |
| T13 Cumulative Sums (Backward) | 0.943118 | 0.270859 | 0.986478 | 0.891349 | 0.213052 | 0.504049 | 0.715808 | 0.350103 | 0.771929 | 0.373520 | |
| T14 Random Excursions * | 0.469141 | 0.835147 | 0.037276 | 0.142782 | 0.610450 | 0.490443 | 0.929087 | 0.271992 | 0.939207 | 0.741596 | |
| T15 Random Excursions Variant * | 0.743347 | 0.383574 | 0.084301 | 0.933395 | 0.257587 | 0.657491 | 0.792408 | 0.853559 | 0.936042 | 0.266002 |
Appendix D
| Regime | Test | Run1 | Run2 | Run3 | Run4 | Run5 | Run6 | Run7 | Run8 | Run9 | Run10 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| R1 | Entropy tests | p(1) | 0.500281 | 0.500033 | 0.499983 | 0.500683 | 0.500037 | 0.499988 | 0.500790 | 0.499656 | 0.499448 | 0.500409 |
| H_MCV (bit/bit) | 0.999189 | 0.999905 | 0.999951 | 0.998031 | 0.999893 | 0.999965 | 0.997722 | 0.999008 | 0.998408 | 0.998820 | ||
| H_min (t-tuple, bit/bit) | 0.997047 | 0.996637 | 0.996121 | 0.996849 | 0.995758 | 0.996364 | 0.996698 | 0.995728 | 0.996557 | 0.996470 | ||
| H_Markov(1) (bit/bit) | 0.999188 | 0.998395 | 0.998441 | 0.998029 | 0.999892 | 0.999220 | 0.997721 | 0.999007 | 0.998407 | 0.998246 | ||
| H_Collision H2 (bit/bit) | 1.000000 | 1.000000 | 1.000000 | 0.999997 | 1.000000 | 1.000000 | 0.999996 | 0.999999 | 0.999998 | 0.999999 | ||
| H_Compression LB (zlib, bit/bit) | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | ||
| IID and health tests | Monobit p | 0.574116 | 0.947378 | 0.972877 | 0.171939 | 0.941010 | 0.980853 | 0.114107 | 0.491453 | 0.269593 | 0.413357 | |
| Runs p | 0.982196 | 0.265277 | 0.279252 | 0.801144 | 0.976063 | 0.587818 | 0.830160 | 0.621640 | 0.894020 | 0.224240 | ||
| [bits] | 0.000000 | 0.000001 | 0.000001 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000001 | ||
| RCT max run (threshold ≤ 40) | 20 (PASS) | 21 (PASS) | 19 (PASS) | 19 (PASS) | 20 (PASS) | 18 (PASS) | 27 (PASS) | 22 (PASS) | 21 (PASS) | 20 (PASS) | ||
| APT worst window (index, k/512, p-value) | #1137; k = 291/512; p = 0.00226; PASS | #1338; k = 293/512; p = 0.00123; PASS | #1598; k = 298/512; p = 0.000237; PASS | #683; k = 217/512; p = 0.000652; PASS | #1115; k = 297/512; p = 0.000335; PASS | #446; k = 301/512; p = 8.06 × 10−5; PASS | #35; k = 208/512; p = 2.55 × 10−5; PASS | #170; k = 292/512; p = 0.00168; PASS | #616; k = 219/512; p = 0.00123; PASS | #1049; k = 215/512; p = 0.000335; PASS | ||
| R1-ext | Entropy tests | p(1) | 0.500078 | 0.500519 | 0.501133 | 0.499949 | 0.500365 | 0.500603 | 0.500676 | 0.500208 | 0.500651 | 0.500067 |
| H_MCV (bit/bit) | 0.999775 | 0.998503 | 0.996735 | 0.999853 | 0.998947 | 0.998261 | 0.998051 | 0.999400 | 0.998123 | 0.999807 | ||
| H_min (t-tuple, bit/bit) | 0.994281 | 0.995290 | 0.995713 | 0.995275 | 0.994131 | 0.996813 | 0.996682 | 0.995230 | 0.995200 | 0.996849 | ||
| H_Markov(1) (bit/bit) | 0.998032 | 0.998502 | 0.996733 | 0.998784 | 0.996610 | 0.998088 | 0.998049 | 0.998119 | 0.997518 | 0.999805 | ||
| H_Collision H2 (bit/bit) | 1.000000 | 0.999998 | 0.999993 | 1.000000 | 0.999999 | 0.999998 | 0.999997 | 1.000000 | 0.999998 | 1.000000 | ||
| H_Compression LB (zlib, bit/bit) | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | ||
| IID and health tests | Monobit p | 0.876033 | 0.299270 | 0.023451 | 0.918757 | 0.465390 | 0.227817 | 0.176375 | 0.677410 | 0.192916 | 0.893403 | |
| Runs p | 0.172575 | 0.914727 | 0.730194 | 0.399794 | 0.018546 | 0.185321 | 0.871170 | 0.192293 | 0.085377 | 0.964890 | ||
| [bits] | 0.000001 | 0.000000 | 0.000000 | 0.000001 | 0.000004 | 0.000001 | 0.000000 | 0.000001 | 0.000002 | 0.000000 | ||
| RCT max run (threshold ≤ 40) | 21 (PASS) | 18 (PASS) | 20 (PASS) | 23 (PASS) | 19 (PASS) | 20 (PASS) | 17 (PASS) | 19 (PASS) | 21 (PASS) | 19 (PASS) | ||
| APT worst window (index, k/512, p-value) | #656; k = 291/512; p = 0.00226; PASS | #1346; k = 296/512; p = 0.000469; PASS | #348; k = 301/512; p = 8.06× 10−5; PASS | #1776; k = 215/512; p = 0.000335; PASS | #1859; k = 215/512; p = 0.000335; PASS | #711; k = 308/512; p = 4.95 × 10−6; PASS | #461; k = 218/512; p = 0.0009; PASS | #1843; k = 209/512; p = 3.78 × 10−5; PASS | #1073; k = 303/512; p = 3.78 × 10−5; PASS | #554; k = 215/512; p = 0.000335; PASS | ||
| R2 | Entropy tests | p(1) | 0.499903 | 0.500001 | 0.501140 | 0.499527 | 0.500483 | 0.500992 | 0.500258 | 0.500122 | 0.500448 | 0.500611 |
| H_MCV (bit/bit) | 0.999720 | 0.999997 | 0.996714 | 0.998636 | 0.998607 | 0.997141 | 0.999256 | 0.999648 | 0.998708 | 0.998238 | ||
| H_min (t-tuple, bit/bit) | 0.994522 | 0.996121 | 0.995683 | 0.996682 | 0.997686 | 0.995970 | 0.994928 | 0.995154 | 0.994958 | 0.996000 | ||
| H_Markov(1) (bit/bit) | 0.997905 | 0.998355 | 0.996713 | 0.998638 | 0.998609 | 0.997142 | 0.998681 | 0.999647 | 0.998707 | 0.998237 | ||
| H_Collision H2 (bit/bit) | 1.000000 | 1.000000 | 0.999993 | 0.999999 | 0.999999 | 0.999994 | 1.000000 | 1.000000 | 0.999999 | 0.999998 | ||
| H_Compression LB (zlib, bit/bit) | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | ||
| IID and health tests | Monobit p | 0.846176 | 0.998404 | 0.022608 | 0.344149 | 0.334044 | 0.047256 | 0.605854 | 0.807231 | 0.370253 | 0.221708 | |
| Runs p | 0.145936 | 0.253454 | 0.828053 | 0.456335 | 0.542568 | 0.420278 | 0.360857 | 0.984091 | 0.801662 | 0.590926 | ||
| [bits] | 0.000002 | 0.000001 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000001 | 0.000000 | 0.000000 | 0.000000 | ||
| RCT max run (threshold ≤ 40) | 22 (PASS) | 21 (PASS) | 19 (PASS) | 19 (PASS) | 20 (PASS) | 20 (PASS) | 19 (PASS) | 20 (PASS) | 21 (PASS) | 23 (PASS) | ||
| APT worst window (index, k/512, p-value) | #497; k = 215/512; p = 0.000335; PASS | #1210; k = 212/512; p = 0.000116; PASS | #625; k = 220/512; p = 0.00168; PASS | #532; k = 295/512; p = 0.000652; PASS | #1421; k = 292/512; p = 0.00168; PASS | #1304; k = 215/512; p = 0.000335; PASS | #517; k = 306/512; p = 1.14 × 10−5; PASS | #970; k = 218/512; p = 0.0009; PASS | #1818; k = 296/512; p = 0.000469; PASS | #1660; k = 302/512; p = 5.54 × 10−5; PASS | ||
| R3 | Entropy tests | p(1) | 0.500046 | 0.500388 | 0.500079 | 0.500306 | 0.499347 | 0.500106 | 0.499682 | 0.499402 | 0.499911 | 0.500278 |
| H_MCV (bit/bit) | 0.999867 | 0.998881 | 0.999772 | 0.999117 | 0.998117 | 0.999694 | 0.999083 | 0.998276 | 0.999743 | 0.999198 | ||
| H_min (t-tuple, bit/bit) | 0.996167 | 0.996819 | 0.996167 | 0.996394 | 0.994732 | 0.997275 | 0.994928 | 0.994853 | 0.994071 | 0.995350 | ||
| H_Markov(1) (bit/bit) | 0.999745 | 0.998879 | 0.999774 | 0.999119 | 0.998116 | 0.999600 | 0.997376 | 0.998275 | 0.998398 | 0.999197 | ||
| H_Collision H2 (bit/bit) | 1.000000 | 0.999999 | 1.000000 | 0.999999 | 0.999998 | 1.000000 | 0.999999 | 0.999998 | 1.000000 | 1.000000 | ||
| H_Compression LB (zlib, bit/bit) | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000 | ||
| IID and health tests | Monobit p | 0.926698 | 0.437749 | 0.874457 | 0.540538 | 0.191553 | 0.832107 | 0.524776 | 0.231697 | 0.858723 | 0.578211 | |
| Runs p | 0.860301 | 0.869257 | 0.917189 | 0.990724 | 0.994978 | 0.780978 | 0.0688205 | 0.456011 | 0.267013 | 0.689384 | ||
| [bits] | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000002 | 0.000000 | 0.000001 | 0.000000 | ||
| RCT max run (threshold ≤ 40) | 27 (PASS) | 20 (PASS) | 21 (PASS) | 20 (PASS) | 18 (PASS) | 20 (PASS) | 18 (PASS) | 18 (PASS) | 20 (PASS) | 23 (PASS) | ||
| APT worst window (index, k/512, p-value) | #955; k = 295/512; p = 0.000652; PASS | #1579; k = 299/512; p = 0.000167; PASS | #218; k = 217/512; p = 0.000652; PASS | #1431; k = 294/512; p = 0.0009; PASS | #1186; k = 299/512; p = 0.000167; PASS | #1145; k = 214/512; p = 0.000237; PASS | #132; k = 199/512; p = 5.34 × 10−7; PASS | #1567; k = 292/512; p = 0.00168; PASS | #944; k = 295/512; p = 0.000652; PASS | #1437; k = 297/512; p = 0.000335; PASS | ||
Appendix E
| Regime | Metric | Run1 | Run2 | Run3 | Run4 | Run5 | Run6 | Run7 | Run8 | Run9 | Run10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| R1 | Entropy (bits per byte) | 7.998503 | 7.998453 | 7.998549 | 7.998579 | 7.998272 | 7.998630 | 7.998564 | 7.998726 | 7.998694 | 7.998462 |
| Chi-square statistic | 259.457 | 268.001 | 250.949 | 245.637 | 298.516 | 238.362 | 248.352 | 221.413 | 227.188 | 265.781 | |
| Arithmetic mean (ideal: 127.5) | 127.7228 | 127.8182 | 127.3822 | 127.8139 | 127.3011 | 127.4006 | 127.6763 | 127.3662 | 127.3714 | 127.7491 | |
| Monte Carlo π estimate | 3.14227 | 3.12320 | 3.14419 | 3.14381 | 3.15610 | 3.14816 | 3.13843 | 3.14970 | 3.14330 | 3.13997 | |
| Serial correlation coefficient | 0.003329 | 0.000891 | 0.002626 | −0.000355 | −0.000289 | 0.003326 | 0.001138 | 0.002030 | −0.003179 | 0.005526 | |
| R1-ext | Entropy (bits per byte) | 7.998590 | 7.998598 | 7.998371 | 7.998577 | 7.998582 | 7.998358 | 7.998401 | 7.998457 | 7.998636 | 7.998595 |
| Chi-square statistic | 244.420 | 243.204 | 280.629 | 246.136 | 244.629 | 284.418 | 277.278 | 267.788 | 235.991 | 243.245 | |
| Arithmetic mean (ideal: 127.5) | 127.2646 | 127.8210 | 127.8679 | 127.2059 | 127.5383 | 127.8565 | 127.8331 | 127.9599 | 127.7023 | 127.3961 | |
| Monte Carlo π estimate | 3.14406 | 3.12563 | 3.13702 | 3.15213 | 3.13011 | 3.12346 | 3.13306 | 3.13050 | 3.14624 | 3.14650 | |
| Serial correlation coefficient | 0.002862 | −0.000997 | −0.001591 | −0.001028 | 0.002211 | 0.004837 | −0.001910 | 0.000066 | 0.004142 | 0.001290 | |
| R2 | Entropy (bits per byte) | 7.998508 | 7.998720 | 7.998471 | 7.998629 | 7.998678 | 7.998570 | 7.998533 | 7.998171 | 7.998434 | 7.998508 |
| Chi-square statistic | 257.548 | 221.982 | 264.466 | 237.760 | 229.502 | 247.664 | 254.283 | 317.313 | 270.696 | 258.367 | |
| Arithmetic mean (ideal: 127.5) | 127.4776 | 127.4215 | 127.7040 | 127.7753 | 127.9032 | 127.5479 | 127.6526 | 127.4350 | 127.3099 | 127.7128 | |
| Monte Carlo π estimate | 3.14176 | 3.14266 | 3.15341 | 3.13459 | 3.13485 | 3.14586 | 3.12960 | 3.14304 | 3.13587 | 3.13600 | |
| Serial correlation coefficient | 0.000318 | −0.003843 | 0.001363 | −0.002466 | 0.004851 | 0.002446 | −0.001540 | −0.000417 | −0.004635 | −0.000639 | |
| R3 | Entropy (bits per byte) | 7.998608 | 7.998592 | 7.998623 | 7.998550 | 7.998590 | 7.998617 | 7.998714 | 7.998375 | 7.998305 | 7.998483 |
| Chi-square statistic | 241.025 | 243.761 | 239.222 | 250.929 | 244.240 | 239.820 | 222.429 | 281.698 | 293.556 | 263.016 | |
| Arithmetic mean (ideal: 127.5) | 127.2902 | 127.4808 | 127.4596 | 127.7191 | 127.6245 | 127.7010 | 127.3118 | 127.3744 | 127.4543 | 127.5737 | |
| Monte Carlo π estimate | 3.14240 | 3.13203 | 3.14445 | 3.12614 | 3.14445 | 3.14189 | 3.14970 | 3.15520 | 3.12435 | 3.13459 | |
| Serial correlation coefficient | −0.002813 | 0.002570 | −0.001346 | 0.003443 | −0.005973 | 0.002933 | −0.000471 | 0.000145 | −0.001226 | −0.002661 |
Appendix F
| Regime | Metric | Run1 | Run2 | Run3 | Run4 | Run5 | Run6 | Run7 | Run8 | Run9 | Run10 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| R1 | GC ratio | 0.5000 | 0.4994 | 0.4999 | 0.4995 | 0.4999 | 0.4999 | 0.4999 | 0.4996 | 0.5000 | 0.4997 |
| Homopolymer max | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| Normalized LZ complexity | 0.9652 | 0.9659 | 0.9632 | 0.9684 | 0.9735 | 0.9676 | 0.9695 | 0.9553 | 0.9747 | 0.9611 | |
| 3-mer p-value () | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | |
| RC-symmetry p ((k = 1)) | 0.9996 | 0.6335 | 0.9964 | 0.6037 | 0.9871 | 0.9887 | 0.9857 | 0.8395 | 0.9966 | 0.8526 | |
| RC-symmetry p ((k = 2)) | 3.91 × 10−82 | 3.83 × 10−74 | 5.19 × 10−16 | 1.40 × 10−122 | 1.07 × 10−118 | 1.26 × 10−35 | 1.20 × 10−3 | 1.28 × 10−141 | 1.31 × 10−85 | 4.54 × 10−35 | |
| RC-symmetry p ((k = 3)) | 2.48 × 10−165 | 9.21 × 10−227 | 3.96 × 10−33 | 1.39 × 10−295 | 7.15 × 10−245 | 4.18 × 10−100 | 1.80 × 10−17 | 0.0 | 1.21 × 10−213 | 6.01 × 10−114 | |
| (H(1)) | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | |
| (H(2)) | 3.9851 | 3.9860 | 3.9855 | 3.9892 | 3.9873 | 3.9845 | 3.9874 | 3.9814 | 3.9876 | 3.9842 | |
| (H(3)) | 5.9643 | 5.9667 | 5.9631 | 5.9738 | 5.9721 | 5.9641 | 5.9701 | 5.9513 | 5.9732 | 5.9599 | |
| (H(4)) | 7.9361 | 7.9416 | 7.9316 | 7.9529 | 7.9543 | 7.9379 | 7.9473 | 7.9088 | 7.9563 | 7.9267 | |
| (H(5)) | 9.8997 | 9.9098 | 9.8909 | 9.9254 | 9.9321 | 9.9049 | 9.9181 | 9.8547 | 9.9358 | 9.8841 | |
| (H(6)) | 11.8492 | 11.8643 | 11.8353 | 11.8839 | 11.9007 | 11.8595 | 11.8775 | 11.7824 | 11.9067 | 11.8265 | |
| Bit p(1) | 0.5003 | 0.5000 | 0.5000 | 0.5007 | 0.5000 | 0.5000 | 0.5008 | 0.4997 | 0.4994 | 0.5004 | |
| zlib ratio | 0.1499 | 0.1499 | 0.1497 | 0.1497 | 0.1498 | 0.1498 | 0.1500 | 0.1499 | 0.1499 | 0.1498 | |
| R1-ext | GC ratio | 0.4995 | 0.4996 | 0.4995 | 0.4989 | 0.4995 | 0.4993 | 0.4989 | 0.4996 | 0.4991 | 0.4994 |
| Homopolymer max | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| Normalized LZ complexity | 0.9744 | 0.9735 | 0.9723 | 0.9681 | 0.9760 | 0.9733 | 0.9700 | 0.9752 | 0.9706 | 0.9751 | |
| 3-mer p-value () | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | |
| RC-symmetry p ((k = 1)) | 0.5445 | 0.6921 | 0.5686 | 0.0778 | 0.6504 | 0.2960 | 0.0676 | 0.5903 | 0.1411 | 0.3629 | |
| RC-symmetry p ((k = 2)) | 1.77 × 10−32 | 1.89 × 10−84 | 5.60 × 10−52 | 2.56 × 10−102 | 2.35 × 10−48 | 2.54 × 10−8 | 4.81 × 10−55 | 1.73 × 10−81 | 1.61 × 10−104 | 1.60 × 10−3 | |
| RC-symmetry p ((k = 3)) | 5.60 × 10−86 | 4.04 × 10−254 | 8.60 × 10−128 | 2.20 × 10−290 | 1.66 × 10−157 | 3.59 × 10−68 | 5.24 × 10−214 | 1.27 × 10−188 | 3.23 × 10−281 | 4.29 × 10−50 | |
| (H(1)) | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | |
| (H(2)) | 3.9869 | 3.9863 | 3.9836 | 3.9838 | 3.9899 | 3.9862 | 3.9866 | 3.9858 | 3.9879 | 3.9876 | |
| (H(3)) | 5.9728 | 5.9710 | 5.9658 | 5.9657 | 5.9787 | 5.9713 | 5.9713 | 5.9710 | 5.9740 | 5.9745 | |
| (H(4)) | 7.9570 | 7.9534 | 7.9460 | 7.9452 | 7.9658 | 7.9547 | 7.9538 | 7.9551 | 7.9579 | 7.9602 | |
| (H(5)) | 9.9387 | 9.9326 | 9.9231 | 9.9203 | 9.9505 | 9.9352 | 9.9326 | 9.9371 | 9.9380 | 9.9435 | |
| (H(6)) | 11.9117 | 11.9028 | 11.8912 | 11.8828 | 11.9268 | 11.9064 | 11.8992 | 11.9114 | 11.9070 | 11.9178 | |
| Bit p(1) | 0.5001 | 0.5005 | 0.5011 | 0.4999 | 0.5004 | 0.5006 | 0.5007 | 0.5002 | 0.5007 | 0.5001 | |
| zlib ratio | 0.1499 | 0.1499 | 0.1498 | 0.1498 | 0.1499 | 0.1498 | 0.1499 | 0.1498 | 0.1497 | 0.1499 | |
| R2 | GC ratio | 0.5001 | 0.5000 | 0.5000 | 0.4999 | 0.5000 | 0.5000 | 0.4999 | 0.5000 | 0.5000 | 0.5000 |
| Homopolymer max | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| Normalized LZ complexity | 0.9855 | 0.9857 | 0.9865 | 0.9858 | 0.9870 | 0.9862 | 0.9863 | 0.9868 | 0.9866 | 0.9865 | |
| 3-mer p-value () | 8.20 × 10−100 | 1.65 × 10−29 | 5.23 × 10−19 | 1.60 × 10−7 | 2.33 × 10−28 | 3.66 × 10−116 | 5.67 × 10−32 | 1.83 × 10−37 | 2.14 × 10−66 | 1.46 × 10−48 | |
| RC-symmetry p ((k = 1)) | 0.9831 | 1.0000 | 0.9980 | 0.9916 | 1.0000 | 0.9947 | 0.9872 | 1.0000 | 0.9999 | 0.9972 | |
| RC-symmetry p ((k = 2)) | 8.19 × 10−12 | 0.0138 | 0.0018 | 2.28 × 10−4 | 1.06 × 10−10 | 3.20 × 10−19 | 0.4087 | 9.90 × 10−5 | 1.19 × 10−25 | 1.30 × 10−6 | |
| RC-symmetry p ((k = 3)) | 5.19 × 10−20 | 0.0085 | 6.90 × 10−4 | 1.73 × 10−6 | 1.24 × 10−16 | 6.93 × 10−33 | 0.1467 | 1.62 × 10−6 | 3.23 × 10−45 | 1.92 × 10−9 | |
| (H(1)) | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | |
| (H(2)) | 3.9995 | 3.9998 | 3.9999 | 3.9999 | 3.9998 | 3.9995 | 3.9998 | 3.9998 | 3.9997 | 3.9997 | |
| (H(3)) | 5.9990 | 5.9996 | 5.9997 | 5.9998 | 5.9996 | 5.9989 | 5.9996 | 5.9995 | 5.9993 | 5.9994 | |
| (H(4)) | 7.9984 | 7.9991 | 7.9993 | 7.9994 | 7.9991 | 7.9981 | 7.9991 | 7.9991 | 7.9987 | 7.9989 | |
| (H(5)) | 9.9968 | 9.9977 | 9.9979 | 9.9981 | 9.9977 | 9.9964 | 9.9977 | 9.9976 | 9.9972 | 9.9974 | |
| (H(6)) | 11.9907 | 11.9918 | 11.9920 | 11.9921 | 11.9917 | 11.9901 | 11.9919 | 11.9919 | 11.9915 | 11.9913 | |
| Bit p(1) | 0.4999 | 0.5000 | 0.5011 | 0.4995 | 0.5005 | 0.5010 | 0.5003 | 0.5001 | 0.5004 | 0.5006 | |
| zlib ratio | 0.1499 | 0.1498 | 0.1499 | 0.1499 | 0.1499 | 0.1498 | 0.1498 | 0.1498 | 0.1498 | 0.1498 | |
| R3 | GC ratio | 0.5000 | 0.5000 | 0.5000 | 0.5000 | 0.5000 | 0.5000 | 0.5000 | 0.5000 | 0.5000 | 0.5000 |
| Homopolymer max | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | 5 | |
| Normalized LZ complexity | 0.9859 | 0.9867 | 0.9871 | 0.9866 | 0.9865 | 0.9861 | 0.9864 | 0.9864 | 0.9857 | 0.9865 | |
| 3-mer p-value () | 1.37 × 10−9 | 3.96 × 10−18 | 2.29 × 10−13 | 2.71 × 10−15 | 5.53 × 10−16 | 1.70 × 10−15 | 8.41 × 10−15 | 6.38 × 10−25 | 5.48 × 10−14 | 1.20 × 10−23 | |
| RC-symmetry p ((k = 1)) | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | 1.0000 | |
| RC-symmetry p ((k = 2)) | 0.9856 | 0.8860 | 0.9994 | 0.9986 | 0.8075 | 0.9998 | 0.9998 | 0.9999 | 0.9994 | 0.9586 | |
| RC-symmetry p ((k = 3)) | 0.9997 | 0.9812 | 0.9256 | 0.9926 | 0.9542 | 0.9857 | 0.4414 | 0.6529 | 0.9616 | 0.5748 | |
| (H(1)) | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | 2.0000 | |
| (H(2)) | 3.9999 | 3.9999 | 3.9999 | 3.9999 | 3.9999 | 3.9999 | 3.9999 | 3.9999 | 3.9999 | 3.9999 | |
| (H(3)) | 5.9998 | 5.9997 | 5.9997 | 5.9997 | 5.9997 | 5.9997 | 5.9997 | 5.9996 | 5.9997 | 5.9996 | |
| (H(4)) | 7.9994 | 7.9992 | 7.9994 | 7.9993 | 7.9993 | 7.9993 | 7.9993 | 7.9992 | 7.9994 | 7.9992 | |
| (H(5)) | 9.9981 | 9.9979 | 9.9980 | 9.9979 | 9.9981 | 9.9979 | 9.9980 | 9.9977 | 9.9980 | 9.9979 | |
| (H(6)) | 11.9925 | 11.9923 | 11.9924 | 11.9922 | 11.9924 | 11.9921 | 11.9924 | 11.9920 | 11.9925 | 11.9925 | |
| Bit p(1) | 0.5000 | 0.5004 | 0.5001 | 0.5003 | 0.4993 | 0.5001 | 0.4997 | 0.4994 | 0.4999 | 0.5003 | |
| zlib ratio | 0.1498 | 0.1499 | 0.1499 | 0.1498 | 0.1498 | 0.1499 | 0.1498 | 0.1498 | 0.1499 | 0.1498 |
Appendix G
| Regime | Normalized Rule Entropy, Mean ± SD | Mean Dominant-Rule Ratio | Interpretation |
|---|---|---|---|
| R1 | 0.9999965 ± 0.0000015 | 0.1257 | Rule selection did not collapse to a single rule |
| R1-ext | 0.9999961 ± 0.0000011 | 0.1258 | Rule usage remained balanced under the independent genomic source |
| R2 | 0.9999960 ± 0.0000016 | 0.1258 | Rule usage remained balanced under the synthetic-data setting |
| R3 | 0.9999977 ± 0.0000011 | 0.1256 | Balanced rule usage was maintained without training |
Appendix H
| Variant | Seed | GC Ratio | DNA Entropy (bits/base) | Max Homopolymer | Bit p(1) | Monobit p-Value | Normalized Rule Entropy | Dominant Rule Ratio |
|---|---|---|---|---|---|---|---|---|
| fixed-rule | 8687970821042739881 | 0.499868 | 1.999219 | 5 | 0.491490 | 5.84 × 10−65 | 0.0000000 | 1.000000 |
| fixed-rule | 2717860915976751978 | 0.498612 | 1.999043 | 5 | 0.489772 | 5.31 × 10−93 | 0.0000000 | 1.000000 |
| fixed-rule | 4168663315303670174 | 0.496648 | 1.999152 | 5 | 0.490102 | 3.22 × 10−87 | 0.0000000 | 1.000000 |
| no-homopolymer-mask | 8687970821042739881 | 0.493784 | 1.998620 | 20 | 0.500057 | 0.9092 | 0.9999964 | 0.125958 |
| no-homopolymer-mask | 2717860915976751978 | 0.492966 | 1.998405 | 16 | 0.499972 | 0.9553 | 0.9999993 | 0.125396 |
| no-homopolymer-mask | 4168663315303670174 | 0.491918 | 1.998283 | 18 | 0.499714 | 0.5673 | 0.9999988 | 0.125538 |
| no-lag1-suppression | 8687970821042739881 | 0.498424 | 1.999216 | 5 | 0.500021 | 0.9660 | 0.9999963 | 0.125972 |
| no-lag1-suppression | 2717860915976751978 | 0.497458 | 1.999053 | 5 | 0.500025 | 0.9601 | 0.9999994 | 0.125350 |
| no-lag1-suppression | 4168663315303670174 | 0.496718 | 1.999047 | 5 | 0.499911 | 0.8587 | 0.9999987 | 0.125520 |
| no-constraint | 8687970821042739881 | 0.490798 | 1.992620 | 19 | 0.500269 | 0.5906 | 0.9999979 | 0.125418 |
| no-constraint | 2717860915976751978 | 0.488500 | 1.992336 | 23 | 0.500611 | 0.2217 | 0.9999972 | 0.125792 |
| no-constraint | 4168663315303670174 | 0.488796 | 1.992115 | 20 | 0.499805 | 0.6968 | 0.9999989 | 0.125310 |
| Variant | GC Ratio, Mean ± SD | DNA Entropy, Mean ± SD | Max Homopolymer, Mean ± SD | Bit p(1), Mean ± SD | Monobit p-Value, Mean ± SD | Normalized Rule Entropy, Mean ± SD | Dominant Rule Ratio, Mean ± SD |
|---|---|---|---|---|---|---|---|
| fixed-rule | 0.498376 ± 0.001623 | 1.999138 ± 0.000089 | 5.00 ± 0.00 | 0.490455 ± 0.000912 | 1.95 × 10−65 ± 3.37 × 10−65 | 0.0000000 ± 0.0000000 | 1.000000 ± 0.000000 |
| no-homopolymer-mask | 0.492889 ± 0.000935 | 1.998436 ± 0.000171 | 18.00 ± 2.00 | 0.499914 ± 0.000179 | 0.8106 ± 0.2120 | 0.9999982 ± 0.0000016 | 0.125631 ± 0.000292 |
| no-lag1-suppression | 0.497533 ± 0.000855 | 1.999105 ± 0.000096 | 5.00 ± 0.00 | 0.499986 ± 0.000065 | 0.9283 ± 0.0605 | 0.9999981 ± 0.0000016 | 0.125614 ± 0.000321 |
| no-constraint | 0.489365 ± 0.001250 | 1.992357 ± 0.000254 | 20.67 ± 2.08 | 0.500228 ± 0.000405 | 0.5030 ± 0.2493 | 0.9999980 ± 0.0000009 | 0.125507 ± 0.000253 |
References
- Wills, A.G.; Schön, T.B. Sequential Monte Carlo: A unified review. Annu. Rev. Control Robot. Auton. Syst. 2023, 6, 159–182. [Google Scholar] [CrossRef]
- Pan, K.; Ong, Y.S.; Gong, M.; Li, H.; Qin, A.K.; Gao, Y. Differential privacy in deep learning: A literature survey. Neurocomputing 2024, 589, 127663. [Google Scholar] [CrossRef]
- Welzel, M.; Schwarz, P.M.; Löchel, H.F.; Kabdullayeva, T.; Clemens, S.; Becker, A.; Freisleben, B.; Heider, D. DNA-Aeon provides flexible arithmetic coding for constraint adherence and error correction in DNA storage. Nat. Commun. 2023, 14, 628. [Google Scholar] [CrossRef] [PubMed]
- Dou, C.; Yang, Y.; Zhu, F.; Li, B.; Duan, Y. Explorer: Efficient DNA coding by De Bruijn graph toward arbitrary local and global biochemical constraints. Brief. Bioinform. 2024, 25, bbae363. [Google Scholar] [CrossRef] [PubMed]
- Zhang, X.; Qi, B.; Niu, Y. A dual-rule encoding DNA storage system using chaotic mapping to control GC content. Bioinformatics 2024, 40, btae113. [Google Scholar] [CrossRef] [PubMed]
- Gimpel, A.L.; Stark, W.J.; Heckel, R.; Grass, R.N. A digital twin for DNA data storage based on comprehensive quantification of errors and biases. Nat. Commun. 2023, 14, 6026. [Google Scholar] [CrossRef] [PubMed]
- Vaswani, A.; Shazeer, N.; Parmar, N.; Uszkoreit, J.; Jones, L.; Gomez, A.N.; Kaiser, L.; Polosukhin, I. Attention is all you need. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2017; Volume 30. [Google Scholar]
- Li, R.; Zeng, L. Transformers in pseudo-random number generation: A dual perspective on theory and practice. arXiv 2025, arXiv:2508.01134. [Google Scholar] [CrossRef]
- Han, K.; Xiao, A.; Wu, E.; Guo, J.; Xu, C.; Wang, Y. Transformer in transformer. In Advances in Neural Information Processing Systems; Curran Associates, Inc.: Red Hook, NY, USA, 2021; Volume 34, pp. 15908–15919. [Google Scholar] [CrossRef]
- Jiang, J.; Ke, L.; Chen, L.; Dou, B.; Zhu, Y.; Liu, J.; Zhang, B.; Zhou, T.; Wei, G.-W. Transformer technology in molecular science. WIREs Comput. Mol. Sci. 2024, 14, e1725. [Google Scholar] [CrossRef] [PubMed]
- Tao, T.; Doshi, D.; Kalra, D.S.; He, T.; Barkeshli, M. (How) can transformers predict pseudo-random numbers? arXiv 2025, arXiv:2502.10390. [Google Scholar] [CrossRef]
- Afify, Y.M.; Sharkawy, N.H.; Gad, W.; Khalil, B. A new dynamic DNA-coding model for gray-scale image encryption. Complex Intell. Syst. 2024, 10, 745–761. [Google Scholar] [CrossRef]
- Fan, W.; Li, T.; Wu, J.; Wu, J. Chaotic color image encryption based on eight-base DNA-level permutation and diffusion. Entropy 2023, 25, 1268. [Google Scholar] [CrossRef] [PubMed]
- National Center for Biotechnology Information. Escherichia Coli Str. K-12 Substr. MG1655, Complete Genome; GenBank Accession No. U00096.3. NCBI Nucleotide. Available online: https://www.ncbi.nlm.nih.gov/nuccore/U00096.3 (accessed on 10 January 2026).
- Cock, P.J.; Antao, T.; Chang, J.T.; Chapman, B.A.; Cox, C.J.; Dalke, A.; Friedberg, I.; Hamelryck, T.; Kauff, F.; Wilczynski, B.; et al. Biopython: Freely available Python tools for computational molecular biology and bioinformatics. Bioinformatics 2009, 25, 1422–1423. [Google Scholar] [CrossRef] [PubMed]
- National Institute of Standards and Technology. Random Bit Generation: Documentation and Software. Available online: https://csrc.nist.gov/projects/random-bit-generation/documentation-and-software (accessed on 8 June 2026).
- Bassham, L.E.; Rukhin, A.L.; Soto, J.; Nechvatal, J.R.; Smid, M.E.; Leigh, S.D.; Levenson, M.; Vangel, M.; Banks, D.L.; Heckert, N.A.; et al. A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications; NIST Special Publication 800-22 Rev. 1a; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2010. [Google Scholar] [CrossRef]
- Sönmez Turan, M.; Barker, E.; Kelsey, J.; McKay, K.; Baish, M.; Boyle, M. Recommendation for the Entropy Sources Used for Random Bit Generation; NIST Special Publication 800-90B; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2018. [Google Scholar] [CrossRef] [PubMed]
- Buller, D.; Kaufer, A.; Roginsky, A.; Sönmez Turan, M. Discussion on the Full Entropy Assumption of the SP 800-90 Series; National Institute of Standards and Technology: Gaithersburg, MD, USA, 2023. [Google Scholar]
- Hernandez-Castro, J.; Barrero, D.F. Evolutionary generation and degeneration of randomness to assess the independence of the ENT test battery. In Proceedings of the 2017 IEEE Congress on Evolutionary Computation (CEC), Donostia-San Sebastián, Spain, 5–8 June 2017; pp. 1420–1427. [Google Scholar] [CrossRef]
- Susanti, B.H.; Jimmy, J.; Ardyani, M.W. ENT randomness test on DM-PRESENT-80 and DM-PRESENT-128-based pseudorandom number generator. In Proceedings of the 2021 4th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), Yogyakarta, Indonesia, 16–17 December 2021; pp. 324–328. [Google Scholar] [CrossRef]
- Jeong, Y.S.; Oh, K.J.; Cho, C.K.; Choi, H.J. Pseudo-random number generation using LSTMs. J. Supercomput. 2020, 76, 8324–8342. [Google Scholar] [CrossRef]
- Wu, X.; Han, Y.; Zhang, M.; Zhu, S.; Cui, S.; Wang, Y.; Peng, Y. Pseudorandom number generators based on neural networks: A review. J. King Saud. Univ. Comput. Inf. Sci. 2025, 37, 18. [Google Scholar] [CrossRef]
- Wu, X.; Han, Y.; Zhu, S.; Li, Y.; Cui, S.; Wang, X. Learned pseudo-random number generator based on generative adversarial networks. In Frontiers in Cyber Security: FCS 2023; Yang, H., Lu, R., Eds.; Springer Nature: Singapore, 2023; pp. 517–530. [Google Scholar] [CrossRef]
- Pasqualini, L.; Parton, M. Pseudo random number generation through reinforcement learning and recurrent neural networks. Algorithms 2020, 13, 307. [Google Scholar] [CrossRef]
- Wu, X.; Han, Y.; Zhang, M.; Li, Y.; Cui, S. GAN-based pseudo random number generation optimized through genetic algorithms. Complex Intell. Syst. 2025, 11, 31. [Google Scholar] [CrossRef]
- De Bernardi, M.; Khouzani, M.H.R.; Malacaria, P. Pseudo-random number generation using generative adversarial networks. In ECML PKDD 2018 Workshops; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2019; Volume 11329. [Google Scholar] [CrossRef]
- Okada, K.; Endo, K.; Yasuoka, K.; Kurabayashi, S. Learned pseudo-random number generator: WGAN-GP for generating statistically robust random numbers. PLoS ONE 2023, 18, e0287025. [Google Scholar] [CrossRef] [PubMed]
- Park, S.; Kim, K.; Kim, K.; Nam, C. Dynamical pseudo-random number generator using reinforcement learning. Appl. Sci. 2022, 12, 3377. [Google Scholar] [CrossRef]
- Almardeny, Y.; Benavoli, A.; Boujnah, N.; Naredo, E. A reinforcement learning system for generating instantaneous quality random sequences. IEEE Trans. Artif. Intell. 2023, 4, 402–415. [Google Scholar] [CrossRef]
- Iqbal, N.; Khan, M.; Khurshid, K.; Hussain, I. An efficient hybrid encryption model based on deep convolutional neural networks, deoxyribonucleic acid computing and chaotic system. Multimed. Tools Appl. 2023, 82, 13881–13903. [Google Scholar] [CrossRef]
- Kapoor, S.; Narayanan, A. Leakage and the reproducibility crisis in machine-learning-based science. Patterns 2023, 4, 100804. [Google Scholar] [CrossRef] [PubMed]
- de Vries, A. The growing energy footprint of artificial intelligence. Joule 2023, 7, 2191–2194. [Google Scholar] [CrossRef]
- Mukherjee, P.; Garg, H.; Pradhan, C.; Ghosh, S.; Chowdhury, S.; Srivastava, G. Best fit DNA-based cryptographic keys: The genetic algorithm approach. Sensors 2022, 22, 7332. [Google Scholar] [CrossRef] [PubMed]
- Kalsi, S.; Kaur, H.; Chang, V. DNA cryptography and deep learning using genetic algorithm with NW algorithm for key generation. J. Med. Syst. 2018, 42, 17. [Google Scholar] [CrossRef]
- Basu, S.; Karuppiah, M.; Nasipuri, M.; Halder, A.K.; Radhakrishnan, N. Bio-inspired cryptosystem with DNA cryptography and neural networks. J. Syst. Archit. 2019, 94, 24–31. [Google Scholar] [CrossRef]
- Reddy, M.I.; Kumar, A.S.; Reddy, K.S. A secured cryptographic system based on DNA and a hybrid key generation approach. Biosystems 2020, 197, 104207. [Google Scholar] [CrossRef] [PubMed]
- Sakr, A.S.; Shams, M.Y.; Mahmoud, A.; Zidan, M. Amino acid encryption method using genetic algorithm for key generation. Comput. Mater. Contin. 2022, 70, 123–134. [Google Scholar] [CrossRef]
- National Center for Biotechnology Information. Bacillus Subtilis Subsp. Subtilis Str. 168, Complete Genome; RefSeq Accession No. NC_000964.3. NCBI Nucleotide. Available online: https://www.ncbi.nlm.nih.gov/nuccore/NC_000964.3 (accessed on 2 June 2026).


| Ref. | Method Class | Output Space | DNA-Local Generation | In- Generation Constraints | Dynamic Rule Selection | Referencefree Generation Setting | Integrated Validation |
|---|---|---|---|---|---|---|---|
| [8] | Transformer-based PRNG | Bit | No | No | Not applicable | No | No |
| [11] | Transformer-based PRNG | Bit | No | No | Not applicable | No | No |
| [22] | LSTM-based PRNG | Bit | No | No | Not applicable | No | No |
| [24] | GAN-based PRNG | Bit | No | No | Not applicable | No | No |
| [28] | WGAN-GP-based PRNG | Bit | No | No | Not applicable | No | No |
| [25] | RL-based PRNG | Bit | No | No | Not applicable | No | No |
| [30] | RL-based PRNG | Bit | No | No | Not applicable | No | No |
| [5] | DNA coding-based approach | Bit → DNA | No | Partial | Partial | No | No |
| [12] | Dynamic DNA coding | Bit → DNA | No | Partial | Yes | No | No |
| [31] | Hybrid CNN + chaos + DNA | Bit → DNA | No | Partial | Variable | No | Partial |
| This work | Dual-head Transformer-based PRNG | DNA and corresponding bitstream | Yes | Yes | Yes | Yes | Yes |
| Component | Original Transformer [7] | Proposed DNA-PRNG Core |
|---|---|---|
| Objective | Sequence-to-sequence modeling/machine translation | DNA-local PRNG and dynamic DNA-to-bit rule selection |
| Architecture | Encoder–decoder structure with cross-attention | Decoder-only, 3 blocks, no cross-attention |
| Positional coding | Fixed sinusoidal coding | RoPE on query and key vectors; sliding window and KV cache |
| Capacity | = 512, 6 blocks | = 128, 3 blocks |
| Number of attention heads | 8/16 | 4 |
| Output heads | Single token head | Dual head: base head (4), rule head (8) |
| DNA-specific constraints | Not explicitly defined | Applied during generation: GC balance, homopolymer limit, lag-1 damping |
| Sampling | Task-dependent | Constraint-aware softmax, generation-time masks, and rule-guided selection |
| Context handling | Task-dependent | KV cache and sliding window (W = 128) |
| Reproducibility | Not explicitly targeted | Seed-controlled and traceable execution |
| Base | Rule-1 | Rule-2 | Rule-3 | Rule-4 | Rule-5 | Rule-6 | Rule-7 | Rule-8 |
|---|---|---|---|---|---|---|---|---|
| A | 00 | 11 | 00 | 11 | 01 | 10 | 01 | 10 |
| C | 01 | 01 | 10 | 10 | 00 | 00 | 11 | 11 |
| G | 10 | 10 | 01 | 01 | 11 | 11 | 00 | 00 |
| T | 11 | 00 | 11 | 00 | 10 | 01 | 10 | 01 |
| Regime | Test | Mean ± SD | %95 CI | Min–Max | Pass Count |
|---|---|---|---|---|---|
| R1 | T1 Monobit | 0.587668 ± 0.348857 | [0.338111, 0.837225] | 0.114107–0.980853 | 10/10 |
| T2 Block Frequency * | 0.560295 ± 0.332859 | [0.322182, 0.798408] | 0.089008–0.976522 | 10/10 | |
| T3 Runs | 0.646181 ± 0.298660 | [0.432532, 0.859830] | 0.224240–0.982196 | 10/10 | |
| T4 Longest Run | 0.562453 ± 0.344726 | [0.315851, 0.809055] | 0.060961–0.997963 | 10/10 | |
| T5 Rank | 0.500286 ± 0.241495 | [0.327531, 0.673041] | 0.152231–0.898560 | 10/10 | |
| T6 DFT | 0.430075 ± 0.277980 | [0.231220, 0.628929] | 0.056296–0.832839 | 10/10 | |
| T7 Non-overlapping Template * | 0.482907 ± 0.290107 | [0.275377, 0.690436] | 0.095713–0.990490 | 10/10 | |
| T8 Overlapping Template | 0.603092 ± 0.283364 | [0.400385, 0.805798] | 0.094000–0.925462 | 10/10 | |
| T9 Universal | 0.435935 ± 0.294194 | [0.225481, 0.646389] | 0.047189–0.924031 | 10/10 | |
| T10 Linear Complexity | 0.458431 ± 0.273526 | [0.262762, 0.654099] | 0.120095–0.958357 | 10/10 | |
| T11 Serial * | 0.465805 ± 0.292134 | [0.256826, 0.674785] | 0.032145–0.907015 | 10/10 | |
| T12 Approximate Entropy | 0.630826 ± 0.287497 | [0.425163, 0.836489] | 0.015260–0.950942 | 10/10 | |
| T13 Cumulative Sums (Backward) | 0.558479 ± 0.310912 | [0.336065, 0.780892] | 0.134201–0.964088 | 10/10 | |
| T14 Random Excursions * | 0.509390 ± 0.277053 | [0.311199, 0.707582] | 0.087099–0.940605 | 10/10 | |
| T15 Random Excursions Variant * | 0.672413 ± 0.259892 | [0.486498, 0.858328] | 0.073160–0.967530 | 10/10 | |
| R1-ext | T1 Monobit | 0.475082 ± 0.339689 | [0.232083, 0.718081] | 0.023451–0.918757 | 10/10 |
| T2 Block Frequency * | 0.460501 ± 0.164257 | [0.342999, 0.578003] | 0.273553–0.793153 | 10/10 | |
| T3 Runs | 0.453489 ± 0.375930 | [0.184565, 0.722413] | 0.018546–0.964890 | 10/10 | |
| T4 Longest Run | 0.704891 ± 0.264733 | [0.515512, 0.894269] | 0.112640–0.990511 | 10/10 | |
| T5 Rank | 0.640300 ± 0.323552 | [0.408845, 0.871756] | 0.122663–0.988609 | 10/10 | |
| T6 DFT | 0.543136 ± 0.345497 | [0.295982, 0.790289] | 0.011924–0.948782 | 10/10 | |
| T7 Non-overlapping Template * | 0.507921 ± 0.305625 | [0.289290, 0.726552] | 0.081419–0.987610 | 10/10 | |
| T8 Overlapping Template | 0.559410 ± 0.222796 | [0.400032, 0.718789] | 0.254728–0.904803 | 10/10 | |
| T9 Universal | 0.472334 ± 0.337312 | [0.231036, 0.713633] | 0.064627–0.976729 | 10/10 | |
| T10 Linear Complexity | 0.584641 ± 0.334033 | [0.345688, 0.823593] | 0.054720–0.975377 | 10/10 | |
| T11 Serial * | 0.471920 ± 0.338848 | [0.229522, 0.714317] | 0.010475–0.951755 | 10/10 | |
| T12 Approximate Entropy | 0.697044 ± 0.243492 | [0.522861, 0.871228] | 0.271060–0.985675 | 10/10 | |
| T13 Cumulative Sums (Backward) | 0.423561 ± 0.324081 | [0.191727, 0.655394] | 0.029456–0.913034 | 10/10 | |
| T14 Random Excursions * | 0.386287 ± 0.363216 | [0.126458, 0.646116] | 0.012732–0.934651 | 10/10 | |
| T15 Random Excursions Variant * | 0.430059 ± 0.268530 | [0.237964, 0.622153] | 0.071589–0.929763 | 10/10 | |
| R2 | T1 Monobit | 0.459768 ± 0.339386 | [0.216986, 0.702550] | 0.022608–0.998404 | 10/10 |
| T2 Block Frequency * | 0.739236 ± 0.196982 | [0.598323, 0.880149] | 0.328885–0.961222 | 10/10 | |
| T3 Runs | 0.538416 ± 0.267094 | [0.347348, 0.729484] | 0.145936–0.984091 | 10/10 | |
| T4 Longest Run | 0.453163 ± 0.323608 | [0.221668, 0.684659] | 0.027110–0.966306 | 10/10 | |
| T5 Rank | 0.546251 ± 0.279573 | [0.346257, 0.746245] | 0.135480–0.971163 | 10/10 | |
| T6 DFT | 0.419401 ± 0.380305 | [0.147348, 0.691455] | 0.013919–0.948782 | 10/10 | |
| T7 Non-overlapping Template * | 0.568380 ± 0.213353 | [0.415757, 0.721004] | 0.299097–0.944411 | 10/10 | |
| T8 Overlapping Template | 0.462864 ± 0.376351 | [0.193639, 0.732089] | 0.017992–0.985753 | 10/10 | |
| T9 Universal | 0.371665 ± 0.246323 | [0.195456, 0.547874] | 0.040213–0.923409 | 10/10 | |
| T10 Linear Complexity | 0.437758 ± 0.242766 | [0.264094, 0.611423] | 0.160839–0.896151 | 10/10 | |
| T11 Serial * | 0.491332 ± 0.354187 | [0.237962, 0.744702] | 0.059399–0.967183 | 10/10 | |
| T12 Approximate Entropy | 0.370544 ± 0.224451 | [0.209981, 0.531106] | 0.112163–0.892372 | 10/10 | |
| T13 Cumulative Sums (Backward) | 0.538987 ± 0.330027 | [0.302900, 0.775074] | 0.023874–0.987844 | 10/10 | |
| T14 Random Excursions * | 0.562245 ± 0.301074 | [0.346870, 0.777621] | 0.077111–0.937194 | 10/10 | |
| T15 Random Excursions Variant * | 0.421920 ± 0.346657 | [0.173937, 0.669903] | 0.106827–0.991227 | 10/10 | |
| R3 | T1 Monobit | 0.599651 ± 0.266945 | [0.408690, 0.790612] | 0.191553–0.926698 | 10/10 |
| T2 Block Frequency * | 0.598511 ± 0.311566 | [0.375631, 0.821392] | 0.111155–0.990253 | 10/10 | |
| T3 Runs | 0.689466 ± 0.320417 | [0.460253, 0.918678] | 0.068821–0.994978 | 10/10 | |
| T4 Longest Run | 0.442675 ± 0.306665 | [0.223300, 0.662050] | 0.034811–0.871183 | 10/10 | |
| T5 Rank | 0.622377 ± 0.294478 | [0.411720, 0.833034] | 0.202430–0.919391 | 10/10 | |
| T6 DFT | 0.622720 ± 0.241634 | [0.449865, 0.795574] | 0.215403–0.978037 | 10/10 | |
| T7 Non-overlapping Template * | 0.612771 ± 0.315853 | [0.386824, 0.838719] | 0.010210–0.990923 | 10/10 | |
| T8 Overlapping Template | 0.463382 ± 0.339111 | [0.220796, 0.705967] | 0.026088–0.999010 | 10/10 | |
| T9 Universal | 0.554283 ± 0.301900 | [0.338317, 0.770250] | 0.058300–0.918352 | 10/10 | |
| T10 Linear Complexity | 0.566379 ± 0.263632 | [0.377788, 0.754971] | 0.017217–0.966705 | 10/10 | |
| T11 Serial * | 0.544197 ± 0.185944 | [0.411180, 0.677213] | 0.337268–0.876529 | 10/10 | |
| T12 Approximate Entropy | 0.633706 ± 0.247900 | [0.456369, 0.811043] | 0.121313–0.972334 | 10/10 | |
| T13 Cumulative Sums (Backward) | 0.602027 ± 0.293621 | [0.391983, 0.812070] | 0.213052–0.986478 | 10/10 | |
| T14 Random Excursions * | 0.546712 ± 0.321945 | [0.316406, 0.777018] | 0.037276–0.939207 | 10/10 | |
| T15 Random Excursions Variant * | 0.590771 ± 0.314462 | [0.365818, 0.815723] | 0.084301–0.936042 | 10/10 |
| Regime | Test Group | Metric | Mean ± SD | 95% CI |
|---|---|---|---|---|
| R1 | Entropy tests | 0.5001 ± 0.0004 | [0.4998, 0.5004] | |
| (bit/bit) | 0.9991 ± 0.0008 | [0.9985, 0.9997] | ||
| (t-tuple, bit/bit) | 0.9964 ± 0.0004 | [0.9961, 0.9967] | ||
| (bit/bit) | 0.9987 ± 0.0007 | [0.9982, 0.9991] | ||
| (bit/bit) | 0.9999989 ± 0.0000014 | [0.9999979, 0.9999999] | ||
| (zlib, bit/bit) | 1.0000000 ± 0.0000000 | [1.0000000, 1.0000000] | ||
| IID and health tests | 0.5877 ± 0.3489 | [0.3381, 0.8372] | ||
| 0.6462 ± 0.2987 | [0.4325, 0.8598] | |||
| [bits] | (3.0 ± 4.8) × 10−7 | [−4.6 × 10−8, 6.5 × 10−7] | ||
| RCT max run | 20.7000 ± 2.4967 | [18.9140, 22.4860] | ||
| (8.07 ± 7.57) × 10−4 | [2.65 × 10−4, 1.35 × 10−3] | |||
| R1-ext | Entropy tests | 0.5004 ± 0.0004 | [0.5002, 0.5007] | |
| (bit/bit) | 0.9987 ± 0.0010 | [0.9980, 0.9995] | ||
| (t-tuple, bit/bit) | 0.9955 ± 0.0010 | [0.9948, 0.9962] | ||
| (bit/bit) | 0.9980 ± 0.0009 | [0.9974, 0.9987] | ||
| (bit/bit) | 0.9999983 ± 0.0000022 | [0.9999968, 0.9999998] | ||
| (zlib, bit/bit) | 1.0000000 ± 0.0000000 | [1.0000000, 1.0000000] | ||
| IID and health tests | 0.4751 ± 0.3397 | [0.2321, 0.7181] | ||
| 0.4535 ± 0.3759 | [0.1846, 0.7224] | |||
| [bits] | (1.0 ± 1.2) × 10−6 | [1.1 × 10−7, 1.9 × 10−6] | ||
| RCT max run | 19.7 ± 1.7 | [18.5, 20.9] | ||
| (4.80 ± 6.82) × 10−4 | [−8.25 × 10−6, 9.67 × 10−4] | |||
| R2 | Entropy tests | 0.5003 ± 0.0005 | [0.5000, 0.5007] | |
| (bit/bit) | 0.9987 ± 0.0011 | [0.9979, 0.9994] | ||
| (t-tuple, bit/bit) | 0.9958 ± 0.0009 | [0.9951, 0.9964] | ||
| (bit/bit) | 0.9983 ± 0.0008 | [0.9977, 0.9989] | ||
| (bit/bit) | 0.9999982 ± 0.0000026 | [0.9999964, 1.0000000] | ||
| (zlib, bit/bit) | 1.0000000 ± 0.0000000 | [1.0000000, 1.0000000] | ||
| IID and health tests | 0.4598 ± 0.3394 | [0.2170, 0.7026] | ||
| 0.5384 ± 0.2671 | [0.3473, 0.7295] | |||
| [bits] | (4.0 ± 7.0) × 10−7 | [−1.0 × 10−7, 9.0 × 10−7] | ||
| RCT max run | 20.4000 ± 1.3499 | [19.4343, 21.3657] | ||
| (6.23 ± 6.20) × 10−4 | [1.80 × 10−4, 1.07 × 10−3] | |||
| R3 | Entropy tests | 0.5000 ± 0.0004 | [0.4997, 0.5002] | |
| (bit/bit) | 0.9992 ± 0.0006 | [0.9987, 0.9996] | ||
| (t-tuple, bit/bit) | 0.9957 ± 0.0010 | [0.9949, 0.9964] | ||
| (bit/bit) | 0.9988 ± 0.0008 | [0.9983, 0.9994] | ||
| (bit/bit) | 0.9999993 ± 0.0000008 | [0.9999987, 0.9999999] | ||
| (zlib, bit/bit) | 1.0000000 ± 0.0000000 | [1.0000000, 1.0000000] | ||
| IID and health tests | 0.5997 ± 0.2669 | [0.4087, 0.7906] | ||
| 0.6895 ± 0.3204 | [0.4603, 0.9187] | |||
| [bits] | (3.0 ± 6.7) × 10−7 | [−1.8 × 10−7, 7.8 × 10−7] | ||
| RCT max run | 20.5000 ± 2.7588 | [18.5265, 22.4735] | ||
| (5.44 ± 4.91 × 10−4 | [1.93 × 10−4, 8.95 × 10−4] |
| Regime | Metric | Ideal | Mean ± SD | 95% CI |
|---|---|---|---|---|
| R1 | Entropy (bits per byte) | ≈8.000000 | 7.998543 ± 0.000131 | [7.998449, 7.998637] |
| Chi-square statistic | ≈255.000 | 252.366 ± 22.251 | [236.448, 268.283] | |
| Arithmetic mean | ≈127.5000 | 127.5602 ± 0.2119 | [127.4086, 127.7118] | |
| Monte Carlo π estimate | ≈3.14159 | 3.14291 ± 0.00861 | [3.13675, 3.14908] | |
| Serial correlation coefficient | ≈0.000000 | 0.001504 ± 0.002438 | [−0.000239, 0.003248] | |
| R1-ext | Entropy (bits per byte) | ≈8.000000 | 7.998517 ± 0.000107 | [7.998440, 7.998593] |
| Chi-square statistic | ≈255.000 | 256.774 ± 18.521 | [243.524, 270.023] | |
| Arithmetic mean | ≈127.5000 | 127.6446 ± 0.2737 | [127.4488, 127.8403] | |
| Monte Carlo π estimate | ≈3.14159 | 3.13687 ± 0.00984 | [3.12983, 3.14391] | |
| Serial correlation coefficient | ≈0.000000 | 0.000988 ± 0.002444 | [−0.000760, 0.002737] | |
| R2 | Entropy (bits per byte) | ≈8.000000 | 7.998522 ± 0.000153 | [7.998413, 7.998632] |
| Chi-square statistic | ≈255.000 | 255.958 ± 26.498 | [237.002, 274.914] | |
| Arithmetic mean | ≈127.5000 | 127.5940 ± 0.1855 | [127.4613, 127.7266] | |
| Monte Carlo π estimate | ≈3.14159 | 3.13976 ± 0.00691 | [3.13482, 3.14471] | |
| Serial correlation coefficient | ≈0.000000 | −0.000456 ± 0.002881 | [−0.002517, 0.001604] | |
| R3 | Entropy (bits per byte) | ≈8.000000 | 7.998546 ± 0.000124 | [7.998457, 7.998634] |
| Chi-square statistic | ≈255.000 | 251.970 ± 21.515 | [236.579, 267.360] | |
| Arithmetic mean | ≈127.5000 | 127.4989 ± 0.1523 | [127.3900, 127.6079] | |
| Monte Carlo π estimate | ≈3.14159 | 3.13952 ± 0.01001 | [3.13236, 3.14668] | |
| Serial correlation coefficient | ≈0.000000 | −0.000540 ± 0.002951 | [−0.002651, 0.001571] |
| Regime | Metric | Ideal | Mean ± SD | 95% CI |
|---|---|---|---|---|
| R1 | GC ratio | 0.50 | 0.4998 ± 0.0002 | [0.4996, 0.4999] |
| Homopolymer max | ≤5 | 5.0 ± 0.0 | [5.0, 5.0] | |
| Normalized LZ complexity | ≈1.00 | 0.9664 ± 0.0057 | [0.9623, 0.9706] | |
| ) | U(0,1) | 0.0 ± 0.0 | [0.0, 0.0] | |
| RC-symmetry p (k = 1) | U(0,1) | 0.8883 ± 0.1544 | [0.7779, 0.9988] | |
| RC-symmetry p (k = 2) | U(0,1) | 1.20 × 10−4 ± 3.79 × 10−4 | [−1.51 × 10−4, 3.91 × 10−4] | |
| RC-symmetry p (k = 3) | U(0,1) | 1.80 × 10−18 ± 5.69 × 10−18 | [−2.27 × 10−18, 5.87 × 10−18] | |
| H(1) | 2 | 2.0000 ± (8.43 × 10−7) | [1.9999988, 2.0000000] | |
| H(2) | 4 | 3.9858 ± 0.0022 | [3.9842, 3.9874] | |
| H(3) | 6 | 5.9659 ± 0.0070 | [5.9609, 5.9709] | |
| H(4) | 8 | 7.9394 ± 0.0146 | [7.9289, 7.9498] | |
| H(5) | 10 | 9.9056 ± 0.0247 | [9.8879, 9.9232] | |
| H(6) | 12 | 11.8586 ± 0.0374 | [11.8318, 11.8853] | |
| Bit p(1) | 0.50 | 0.5001 ± 0.0004 | [0.4998, 0.5004] | |
| zlib ratio | ≈0.15 | 0.1498 ± 0.0001 | [0.1498, 0.1499] | |
| R1-ext | GC ratio | 0.50 | 0.4993 ± 0.0003 | [0.4991, 0.4995] |
| Homopolymer max | ≤5 | 5.0 ± 0.0 | [5.0, 5.0] | |
| Normalized LZ complexity | ≈1.00 | 0.9728 ± 0.0026 | [0.9710, 0.9747] | |
| ) | U(0,1) | 0.0 ± 0.0 | [0.0, 0.0] | |
| RC-symmetry p (k = 1) | U(0,1) | 0.3991 ± 0.2420 | [0.2260, 0.5722] | |
| RC-symmetry p (k = 2) | U(0,1) | 1.60 × 10−4 ± 5.05 × 10−4 | [−2.01 × 10−4, 5.21 × 10−4] | |
| RC-symmetry p (k = 3) | U(0,1) | 4.29 × 10−51 ± 1.36 × 10−50 | [−5.42 × 10−51, 1.40 × 10−50] | |
| H(1) | 2 | 2.0000 ± (3.75 × 10−6) | [1.9999924, 1.9999978] | |
| H(2) | 4 | 3.9865 ± 0.0019 | [3.9851, 3.9878] | |
| H(3) | 6 | 5.9716 ± 0.0039 | [5.9688, 5.9744] | |
| H(4) | 8 | 7.9549 ± 0.0061 | [7.9505, 7.9593] | |
| H(5) | 10 | 9.9352 ± 0.0089 | [9.9288, 9.9415] | |
| H(6) | 12 | 11.9057 ± 0.0127 | [11.8966, 11.9148] | |
| Bit p(1) | 0.50 | 0.5004 ± 0.0004 | [0.5002, 0.5007] | |
| zlib ratio | ≈0.15 | 0.1498 ± 0.0001 | [0.1498, 0.1499] | |
| R2 | GC ratio | 0.50 | 0.5000 ± 0.0001 | [0.4999, 0.5000] |
| Homopolymer max | ≤5 | 5.0 ± 0.0 | [5.0, 5.0] | |
| Normalized LZ complexity | ≈1.00 | 0.9863 ± 0.0005 | [0.9860, 0.9866] | |
| ) | U(0,1) | 1.60 × 10−8 ± 5.06 × 10−8 | [−2.02 × 10−8, 5.22 × 10−8] | |
| RC-symmetry p (k = 1) | U(0,1) | 0.9952 ± 0.0060 | [0.9909, 0.9995] | |
| RC-symmetry p (k = 2) | U(0,1) | 0.0425 ± 0.1288 | [−0.0496, 0.1346] | |
| RC-symmetry p (k = 3) | U(0,1) | 0.0156 ± 0.0461 | [−0.0174, 0.0486] | |
| H(1) | 2 | 2.0000 ± 0.0000 | [2.0000, 2.0000] | |
| H(2) | 4 | 3.9997 ± 0.0001 | [3.9996, 3.9998] | |
| H(3) | 6 | 5.9995 ± 0.0003 | [5.9993, 5.9996] | |
| H(4) | 8 | 7.9989 ± 0.0004 | [7.9986, 7.9992] | |
| H(5) | 10 | 9.9974 ± 0.0005 | [9.9971, 9.9978] | |
| H(6) | 12 | 11.9915 ± 0.0006 | [11.9911, 11.9920] | |
| Bit p(1) | 0.50 | 0.5003 ± 0.0005 | [0.5000, 0.5007] | |
| zlib ratio | ≈0.15 | 0.1498 ± 0.0000 | [0.1498, 0.1499] | |
| R3 | GC ratio | 0.50 | 0.5000 ± 0.0000 | [0.5000, 0.5000] |
| Homopolymer max | ≤5 | 5.0 ± 0.0 | [5.0, 5.0] | |
| Normalized LZ complexity | ≈1.00 | 0.9864 ± 0.0004 | [0.9861, 0.9867] | |
| ) | U(0,1) | 1.37 × 10−10 ± 4.32 × 10−10 | [−1.72 × 10−10, 4.46 × 10−10] | |
| RC-symmetry p (k = 1) | U(0,1) | 0.9999976 ± 0.0000028 | [0.9999956, 0.9999996] | |
| RC-symmetry p (k = 2) | U(0,1) | 0.9635 ± 0.0655 | [0.9166, 1.0103] | |
| RC-symmetry p (k = 3) | U(0,1) | 0.8470 ± 0.2079 | [0.6983, 0.9957] | |
| H(1) | 2 | 2.0000 ± 0.0000 | [2.0000, 2.0000] | |
| H(2) | 4 | 3.9999 ± 0.0000 | [3.9999, 3.9999] | |
| H(3) | 6 | 5.9997 ± 0.0000 | [5.9997, 5.9997] | |
| H(4) | 8 | 7.9993 ± 0.0001 | [7.9992, 7.9994] | |
| H(5) | 10 | 9.9980 ± 0.0001 | [9.9979, 9.9981] | |
| H(6) | 12 | 11.9923 ± 0.0002 | [11.9922, 11.9925] | |
| Bit p(1) | 0.50 | 0.5000 ± 0.0004 | [0.4997, 0.5002] | |
| zlib ratio | ≈0.15 | 0.1498 ± 0.0000 | [0.1498, 0.1499] |
| Regime | Reference Corpus | Generated Streams | k = 32 hits | k = 48 hits | k = 64 hits | Result |
|---|---|---|---|---|---|---|
| R1 | 1 M bases | 10 × 500 k bases | 0 | 0 | 0 | No leakage detected |
| R1-ext | 1 M bases | 10 × 500 k bases | 0 | 0 | 0 | No leakage detected |
| R2 | 1 M bases | 10 × 500 k bases | 0 | 0 | 0 | No leakage detected |
| R3 | — | — | — | — | — | Not applicable |
| Metric | R1 | R1-ext | R2 | R3 | |
|---|---|---|---|---|---|
| Bit Domain- pooled Hamming | Stream pairs | 45 | 45 | 45 | 45 |
| Total n | 45,000,000 | 45,000,000 | 45,000,000 | 45,000,000 | |
| Pooled Hamming | 0.500035 | 0.499987 | 0.500078 | 0.500054 | |
| 95% CI | [0.499888, 0.500181] | [0.499841, 0.500133] | [0.499932, 0.500225] | [0.499908, 0.500200] | |
| p vs. 0.5 | 0.643 | 0.864 | 0.292 | 0.471 | |
| DNA Domain- pooled mismatch | Stream pairs | 45 | 45 | 45 | 45 |
| Total n | 22,500,000 | 22,500,000 | 22,500,000 | 22,500,000 | |
| Pooled mismatch | 0.732184 | 0.740847 | 0.749915 | 0.750116 | |
| 95% CI | [0.732001, 0.732367] | [0.740666, 0.741028] | [0.749736, 0.750094] | [0.749937, 0.750295] | |
| p vs. 0.75 | <1 × 10−300 | <1 × 10−300 | 0.350 | 0.204 | |
| Variant | Modified Component | GC Ratio, Mean ± SD | Max. Homopolymer, Mean ± SD | Bit p(1), Mean ± SD | Normalized Rule Entropy, Mean ± SD | Main Observation |
|---|---|---|---|---|---|---|
| fixed-rule | Dynamic DNA-to-bit rule selection was disabled; a single fixed rule was used | 0.4984 ± 0.0016 | 5.0 ± 0.0 | 0.4905 ± 0.0009 | 0.0000 ± 0.0000 | DNA constraints were preserved; however, bit balance was clearly disrupted and Monobit p-values remained very low |
| no- homopolymer-mask | Homopolymer mask was removed | 0.4929 ± 0.0009 | 18.0 ± 2.0 | 0.4999 ± 0.0002 | 0.999998 ± 0.000002 | Bit balance was preserved; however, long homopolymer runs emerged |
| no-lag1-suppression | Lag-1 suppression was disabled | 0.4975 ± 0.0009 | 5.0 ± 0.0 | 0.5000 ± 0.0001 | 0.999998 ± 0.000002 | No clear degradation was observed in the main GC, homopolymer, or bit-balance metrics |
| no-constraint | GC balancing, homopolymer mask, and lag-1 suppression were jointly disabled | 0.4894 ± 0.0013 | 20.7 ± 2.1 | 0.5002 ± 0.0004 | 0.999998 ± 0.000001 | Bit balance was largely preserved, but DNA-level structural compatibility was clearly degraded |
| Regime | Metric | Time (min) | CPU Time (min) | ΔRAM (MB) | Efficiency (Bases/min) |
|---|---|---|---|---|---|
| R1 | Mean ± SD | 28.0719 ± 0.7400 | 167.8401 ± 4.3422 | 16.2880 ± 3.6690 | 17,822.5898 ± 472.5666 |
| 95% CI | [27.5426, 28.6013] | [164.7339, 170.9463] | [13.6634, 18.9126] | [17,484.5360, 18,160.6436] | |
| R1-ext | Mean ± SD | 31.3657 ± 0.8979 | 186.2929 ± 5.0991 | 23.4950 ± 7.4964 | 15,952.7817 ± 458.9759 |
| 95% CI | [30.7234, 32.0081] | [182.6452, 189.9406] | [18.1324, 28.8576] | [15,624.4501, 16,281.1132] | |
| R2 | Mean ± SD | 30.1492 ± 0.2463 | 180.3740 ± 1.4594 | 16.9590 ± 3.9924 | 16,585.1999 ± 135.0661 |
| 95% CI | [29.9730, 30.3254] | [179.3300, 181.4180] | [14.1030, 19.8150] | [16,488.5794, 16,681.8204] | |
| R3 | Mean ± SD | 26.3361 ± 0.8217 | 157.1564 ± 4.7000 | 31.7300 ± 0.9678 | 19001.6482 ± 581.2117 |
| 95% CI | [25.7483, 26.9239] | [153.7943, 160.5186] | [31.0376, 32.4224] | [18,585.8744, 19,417.4220] |
| Feature/Ref. | This Work | [8] | [22] | [25] | [26] | [30] |
|---|---|---|---|---|---|---|
| Model | Dual-head decoder-only Transformer | Decoder-only Transformer | LSTM | DRL + LSTM | GAGAN | UDRL |
| Output domain | DNA + bitstream | n-bit | Bit sequences | Bit sequences | 256-bit output | 128-bit blocks |
| NIST SP 800-22 [16,17] | Yes; 15 tests, 4 settings, 10 × 1 Mbit | Partial; 11/15 tests | Yes | Yes | Yes | Yes |
| SP 800-90B/[18] ENT [20,21] | Yes; both reported | Not reported | Not reported | Not reported | Partial; GM/T-like standard reported, SP 800-90B/ENT not reported | Partial; entropy-based evaluation reported, SP 800-90B/ENT not reported |
| DNA- specific metrics | GC ratio, homopolymer limit, 3-mer behavior, RC symmetry, block entropy, Lempel–Ziv-based complexity | Not reported | Not reported | Not reported | Not reported | Not reported |
| Multi-stream/leakage control | Yes; Hamming, mismatch, k-mer leakage | Partial; prediction attack analysis | Not reported | Not reported | Partial; Hamming/sensitivity analysis | Partial; PNB/leakage analysis reported |
| Performance analysis | Yes; time, CPU, memory, efficiency, theoretical complexity | Partial; training accuracy and loss curves | Partial; computational complexity reported | Partial; training/reward curves | Yes; inference time and throughput reported | Partial; test and analysis reports |
| Main distinction | DNA-local generation, in-generation constraint control, dynamic DNA-to-bit mapping, multilayer validation | No DNA-local validation | No DNA-specific analysis | No SP 800-90B, ENT, DNA-specific metrics, or leakage analysis | No multi-stream independence, DNA-specific validation, or regime-disentangled evaluation | No DNA-local generation, DNA-specific metrics, or in-generation constraint management |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Kaya, A.; Türkoğlu, İ. A DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation. Entropy 2026, 28, 694. https://doi.org/10.3390/e28060694
Kaya A, Türkoğlu İ. A DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation. Entropy. 2026; 28(6):694. https://doi.org/10.3390/e28060694
Chicago/Turabian StyleKaya, Alev, and İbrahim Türkoğlu. 2026. "A DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation" Entropy 28, no. 6: 694. https://doi.org/10.3390/e28060694
APA StyleKaya, A., & Türkoğlu, İ. (2026). A DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation. Entropy, 28(6), 694. https://doi.org/10.3390/e28060694

