Abstract
Foundation models (FMs) for DNA, RNA, proteins, cells, and tissues have begun to close long-standing performance gaps in biological prediction tasks, yet each modality is usually studied in isolation. Bridging them requires software that can ingest heterogeneous data, apply large pre-trained backbones from various sources, and perform multimodal benchmarking studies at scale. We present AIDO.ModelGenerator, an open-source toolkit that turns these needs into declarative experiment recipes through a structured experimental framework. AIDO.ModelGenerator provides (i) 300+ datasets covering DNA, RNA, protein, cell, spatial, and multimodal data types; (ii) 30+ pretrained FMs ranging from 3M to 16B parameters; (iii) 10+ plug-and-play use-cases covering inference, adaptation, prediction, generation, and zero-shot evaluation; and (iv) YAML-driven experiment recipes that enable exact reproducibility. On a sequence-to-expression prediction task, AIDO.ModelGenerator systematically builds and tests unimodal and multimodal models, achieving a new SOTA by combining DNA and RNA FMs that outperforms unimodal baselines by over 10%. In a Crohn’s disease case-study, the framework’s simulated knockout protocol ranks the clinically implicated target SOX4 6,000 positions higher than differential-expression baselines, illustrating its utility for therapeutic target discovery. We release code, tutorials, checkpoints, datasets, and API reference to accelerate multimodal FM research in the life sciences 1.
Introduction
The "Foundation Model" (FM) revolution has reached biology, with massive models now available for DNA, RNA, and protein sequences. However, widespread adoption is hindered by fragile tooling, high engineering burdens for distributed training, and the isolation of modalities. Biological systems are inherently multimodal, yet fusing disparate models currently requires significant manual, low-level coding.
AIDO.ModelGenerator is an open-source toolkit designed to unify this fragmented landscape. By providing a standardized, YAML-driven framework, it allows researchers to rapidly build, benchmark, and reproduce multimodal experiments without needing deep expertise in distributed systems engineering.
Modular Architecture and Methods
AIDO.ModelGenerator is built on top of PyTorch Lightning and Hugging Face, utilizing a modular, declarative architecture to simplify the development pipeline.
The framework consists of several core components:
- Backbones: Standardized wrappers for pretrained FMs that expose critical features like tokenizers and weights while hiding implementation complexity.
- Adapters: Swappable model heads (e.g., MLPs, Transformers, Cross-attention) tailored for specific tasks.
- Tasks: High-level use cases such as inference, zero-shot evaluation, and supervised prediction that define the interaction between data and models.
- YAML Recipes: Users define experiments in declarative YAML files, acting as a "recipe" that ensures byte-for-byte reproducibility across different environments.
Datasets and Benchmarks
The toolkit includes a curated suite of over 300 benchmarks and 30 pretrained backbones. These cover a wide range of biological data types:
- Multimodal Benchmarks: A key example is a sequence-to-expression task involving 190kbp DNA sequences, RNA isoforms, and translated proteins across 30 tissues.
- Single-Cell Data: A dataset of 117,912 scRNA-seq measurements from ileal biopsies was used for a Crohn’s disease case study.
- Diversity: The library supports DNA, RNA, protein, cell-level, and spatial transcriptomics data.
Results and Therapeutic Discovery
AIDO.ModelGenerator demonstrates that biological questions often benefit from multimodal approaches. By fusing DNA (Enformer) and RNA (RiNALMo) models, the framework achieved a new state-of-the-art (SOTA) performance.
As shown in the results, combining DNA, RNA, and protein modalities leads to a significant performance boost, with the multimodal ensemble achieving a Spearman correlation of 0.734, outperforming unimodal baselines by over 10%.
Beyond prediction, the framework enables in silico therapeutics through simulated knockouts. By measuring the "distance" to a healthy cell state in the model's embedding space after a simulated gene knockout, drug targets can be prioritized. In a Crohn’s disease study, this protocol ranked the clinically implicated target SOX4 as the 14th most important gene, whereas traditional differential-expression baselines ranked it 6,068th.
Conclusion and Future Work
AIDO.ModelGenerator democratizes large-scale biological AI by collapsing complex engineering tasks into simple YAML configurations. While currently focused on sequence-adjacent data, future work will expand to include medical imaging, electronic health records (EHR), and more sophisticated multi-omics fusion strategies.
Availability: The toolkit, including code, tutorials, and checkpoints, is available at https://genbio-ai.github.io/ModelGenerator/.
Summary updated