Evaluating generalizability of artificial intelligence models for molecular datasets
Yasha EktefaieiD, Andrew Nathanael SheniD, Daria BykovaiD, Maximillian G. MariniD, Marinka ŽitnikiD, Maha Reda FarhatiD
Abstract
Deep learning has made rapid advances in modeling molecular sequencing data. Despite achieving high performance on benchmarks, it remains unclear to what extent deep learning models learn general principles and generalize to previously unseen sequences. Benchmarks traditionally interrogate model generalizability by generating metadata based (MB) or sequence-similarity based (SB) train and test splits of input data before assessing model performance. Here, we show that this approach mischaracterizes model generalizability by failing to consider the full spectrum of cross-split overlap, i.e., similarity between train and test splits. We introduce SPECTRA, a spectral framework for comprehensive model evaluation. For a given model and input data, SPECTRA plots model performance as a function of decreasing cross-split overlap and reports the area under this curve as a measure of generalizability. We apply SPECTRA to 18 sequencing datasets with associated phenotypes ranging from antibiotic resistance in tuberculosis to protein-ligand binding to evaluate the generalizability of 19 state-of-the-art deep learning models, including large language models, graph neural networks, diffusion models, and convolutional neural networks. We show that SB and MB splits provide an incomplete assessment of model generalizability. With SPECTRA, we find as cross-split overlap decreases, deep learning models consistently exhibit a reduction in performance in a task- and model-dependent manner. Although no model consistently achieved the highest performance across all tasks, we show that deep learning models can generalize to previously unseen sequences on specific tasks. SPECTRA paves the way toward a better understanding of how foundation models generalize in biology.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 58
- FWCI
- 7.90
- Field percentile
- top 1%
- 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
- Autonomous generalizability auditing of scientific foundation models
Yasha Ektefaie, Shrey Jain, Pardis Sabeti·bioRxiv·Nov 4, 2026
- Decisive Roles of Sequence Distributions in the Generalizability of de novo Deep Learning Models for RNA Secondary Structure Prediction
Xiangyun Qiu·bioRxiv·Jun 29, 2022
- A new framework for evaluating model out-of-distribution for the biochemical domain
Raúl Fernández-Díaz, Denis C. Shields, … Vanessa López·bioRxiv·Mar 14, 2024
- DataSAIL: Data Splitting Against Information Leakage
Roman Joeres, David B. Blumenthal, Olga V. Kalinina·bioRxiv·Nov 15, 2023
- Generalizing predictions to unseen sequencing profiles via deep generative models
Min Oh, Liqing Zhang·Scientific ReportsPeer-reviewed·May 3, 2022
- Interpretable Distillation Reveals that Deep-learning-based Splicing Models Suffer from Pervasive Confounders and Blind Spots
Simon Liu, Wenjing Zhang, Oded Regev·bioRxiv·Nov 28, 2025