Long-sequence DNA foundation model with groove-aware convolutions and reverse-complement gating over 100kb contexts. Averages 0.708 MCC on GUE.
No providers recorded yet. Browse all providers
TrinityDNA is a 1-billion-parameter DNA foundation model built around three architectural ideas drawn from the physical structure of the double helix: convolutional tokenization sized to DNA's major and minor grooves, gating over the reverse-complement strand, and attention heads with different window widths so local motifs and kilobase-scale dependencies are modeled together. It was developed by BioMap Research with the AI Lab at Westlake University, released as a preprint in July 2025 and accepted to AAAI 2026.
The model targets a specific failure mode in genomic sequence modeling. State space models such as HyenaDNA and Caduceus scale to very long contexts but carry a locality bias: the influence of an input base on a distant output decays sharply as the sequence lengthens. Full-attention encoders such as DNABERT-2 avoid that bias but are quadratic in sequence length — DNABERT-2 runs out of memory at 16kb in the same analysis — and their attention flattens toward uniformity as context grows, an oversmoothing effect that is especially damaging for DNA, where informative bases are sparse and far apart.
TrinityDNA's answer is a transformer encoder with structurally informed inductive biases plus a two-stage "evolutionary" curriculum that begins on prokaryotic genomes and then extends to eukaryotes while growing the context window. The paper describes two 1B checkpoints: TrinityMicroDNA, trained on prokaryotes only, and TrinityDNA, which continues pretraining on multi-species data.
TrinityDNA is a transformer encoder trained with masked language modeling at single-nucleotide resolution: a five-token vocabulary (A, T, C, G, N), 15% masking, GEGLU activations, DeepNorm, RoPE positional encoding with dynamic NTK scaling, and FlashAttention-2. The 1B configuration uses 24 layers, hidden size 2048, FFN size 5461, and 32 heads; smaller configurations from 6M to 470M parameters were trained for the scaling analysis on 31 nodes of 8 A100 GPUs. Stage-one data is the OpenGenome corpus — bacterial and archaeal genomes from GTDB v214.1, prokaryotic viruses from IMG/VR v4, and plasmids from IMG/PR — and stage two uses the multi-species corpus from the Nucleotide Transformer work.
On the GUE benchmark with LoRA fine-tuning, TrinityDNA-1B reaches an average MCC of 0.708 across 15 tasks, ahead of the 2.5B Nucleotide Transformer (0.636), DNABERT-2 (0.621), HyenaDNA (0.610), and DNABERT (0.552), with the largest gains on mouse transcription factor binding (0.786) and splice site reconstruction (0.927). Across 19 zero-shot tasks, TrinityMicroDNA-1B leads the prokaryotic set (average 0.475), while TrinityDNA-1B leads the eukaryotic set (0.699), above the 40B Evo 2 (0.667), and reaches 0.933 AUC on ClinVar pathogenicity. On the new CDS benchmark, TrinityMicroDNA-1B achieves an exact-match F1 of 0.754 against 0.725 for Prodigal and 0.702 for GENSCAN, though Prodigal retains higher recall.
The two checkpoints target different regimes. TrinityMicroDNA suits microbial genomics — gene-structure annotation of newly sequenced bacterial and archaeal genomes, where its token-level CDS predictions compete with the classical Prodigal and Glimmer pipelines without organism-specific parameterization. TrinityDNA targets eukaryotic and human genomics: promoter and enhancer detection, transcription factor binding site prediction, splice site identification, histone mark prediction, and zero-shot scoring of clinical variants. The 100kb context suits regulatory questions spanning multiple co-expressed genes rather than single elements.
TrinityDNA is a case for architectural priors over raw scale in genomic modeling: a 1B model matching or exceeding a 40B Evo 2 on eukaryotic zero-shot fitness prediction and a 2.5B Nucleotide Transformer on supervised benchmarks. Its CDS annotation benchmark also fills a gap, since most DNA model evaluations use short classification tasks that never test long-range inference. The main practical limitation is availability: no code or weights have been released, and the preprint carries a CC BY-NC-SA 4.0 license, so the results cannot yet be independently reproduced or the checkpoints applied to new genomes.
Much of this page is generated or calculated automatically. Flag anything that looks off and we will re-run it.