A DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation

dc.contributor.authorKaya, Alev
dc.contributor.authorTurkoglu, Ibrahim
dc.date.accessioned2026-09-08T07:11:46Z
dc.date.issued2026
dc.departmentFırat Üniveristesi
dc.description.abstractPseudorandom number generators (PRNGs) used in deoxyribonucleic acid (DNA)-oriented computational workflows often generate outputs in the bit domain and then map them to DNA symbols. This indirect strategy may treat DNA-specific constraints, including GC balance, homopolymer limits, and short-range sequence dependencies, as separate from generation. This study proposes a constraint-aware, dual-head decoder-only Transformer framework for DNA-local PRNG generation directly in the adenine/cytosine/guanine/thymine (A/C/G/T) alphabet. The model generates the next DNA base and derives the bitstream through dynamic selection among eight equivalent DNA-to-bit coding rules. The framework was evaluated under R1 based on real genomic data, R1-ext as independent validation, R2 based on synthetic data, and R3 without training or reference data. For each setting, 10 independent runs were performed, each producing a 500,000-base DNA sequence and a 1,000,000-bit stream. Bit-level evaluation used NIST SP 800-22, SP 800-90B-inspired min-entropy/health indicators, and ENT, while DNA-level evaluation used GC balance, homopolymer control, and symbolic structural metrics. The reported NIST tests satisfied the acceptance criterion, t-tuple min-entropy lower bounds ranged from 0.9955 to 0.9964 bit/bit, and core DNA-compatibility constraints were preserved. Multi-stream and exact-match k-mer leakage analyses indicated no systematic bit-level dependence or direct long-fragment copying. Overall, the framework supports reproducible DNA-local PRNG generation and multilayer validation.
dc.description.sponsorshipScientific and Technological Research Council of Trkiye (TBIdot;TAK) [123E386] -- The APC was funded by the Scientific and Technological Research Council of Turkiye (TUB & Idot;TAK) under Project Number 123E386.
dc.identifier.doi10.3390/e28060694
dc.identifier.issn1099-4300
dc.identifier.issue6
dc.identifier.pmid42352205
dc.identifier.scopus2-s2.0-105044211883
dc.identifier.scopusqualityQ1
dc.identifier.urihttps://doi.org/10.3390/e28060694
dc.identifier.urihttps://hdl.handle.net/11508/65149
dc.identifier.volume28
dc.identifier.wosWOS:001802162100001
dc.identifier.wosqualityQ2
dc.indekslendigikaynakWeb of Science
dc.indekslendigikaynakScopus
dc.indekslendigikaynakPubMed
dc.language.isoen
dc.publisherMdpi
dc.relation.ispartofEntropy
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/openAccess
dc.snmzKA_WOS_20250903
dc.subjectDna-Local Prng
dc.subjectConstraint-Aware Generation
dc.subjectDual-Head Transformer
dc.subjectAdaptive Rule Selection
dc.subjectGenomic Sequence Modeling
dc.subjectRandomness Evaluation
dc.titleA DNA-Local, Constraint-Aware Dual-Head Transformer for Pseudorandom Stream Generation
dc.typeArticle

Dosyalar