Flashzoi: An enhanced Borzoi model for accelerated genomic analysis
Abstract
Accurately predicting how DNA sequence drives gene regulation and how genetic variants alter gene expression is a central challenge in genomics. Borzoi, which models over ten thousand genomic assays including RNA-seq coverage from over half a megabase of sequence context alone promises to become an important foundation model in regulatory genomics, both for massively annotating variants and for further model development. However, its reliance on handcrafted, relative positional encodings within the transformer architecture limits its computational efficiency. Here we present Flashzoi, an enhanced Borzoi model that leverages rotary positional encodings and FlashAttention-2. This achieves over 3-fold faster training and inference and up to 2.4-fold reduced memory usage, while maintaining or improving accuracy in modeling various genomic assays including RNA-seq coverage, predicting variant effects, and enhancer-promoter linking. Flashzois improved efficiency facilitates large-scale genomic analyses and opens avenues for exploring more complex regulatory mechanisms and modeling. Availability and implementationThe Flashzoi model architecture is part of the MIT-licensed borzoi-pytorch package, can be found at https://github.com/johahi/borzoi-pytorch and installed via pip. Model weights for all four Flashzoi and Borzoi replicates are available at https://huggingface.co/johahi under the MIT license.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 18
- FWCI
- 5.38
- Field percentile
- top 3%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- FlashRNA: An Efficient Model for Regulatory Genomics
Andreas Jung, Helen Zhu, … Brendan J. Frey·bioRxiv·Oct 14, 2025
- Enigma: An Efficient Model for Deciphering Regulatory Genomics
Andreas Jung, Helen Zhu, … Brendan J. Frey·bioRxiv·Dec 19, 2025
- Parameter-Efficient Fine-Tuning of a Supervised Regulatory Sequence Model
Han Yuan, Johannes Linder, David R. Kelley·bioRxiv·May 26, 2025
- Predicting RNA-seq coverage from DNA sequence as a unifying model of gene regulation
Johannes Linder, Divyanshi Srivastava, … David R. Kelley·Nature GeneticsPeer-reviewed·Jan 8, 2025
- Enformation Theory: A Blueprint for Evaluating Deep Learning Models in Genomics
Eyes S Robson, Nilah M. Ioannidis·bioRxiv·Sep 3, 2024
- Back to BERT in 2026: ModernGENA as a Strong, Efficient Baseline for DNA Foundation Models
Alena Aspidova, Yuri Kuratov, … Veniamin Fishman·bioRxiv·Apr 23, 2026