Characterizing homology-induced data leakage and memorization in genome-trained sequence models
Abdul Muntakim RafiiD, Brett KiyotaiD, Nozomu YachieiD, Carl G. de BoeriD
Abstract
Models that predict function from DNA sequence have become critical tools in deciphering the roles of genomic sequences and genetic variation within them. However, traditional approaches for dividing the genomic sequences into training data, used to create the model, and test data, used to determine the models performance on unseen data, fail to account for the widespread homology within genomes. Using simulations, we illustrate how homology-based data leakage can lead to overestimation of model performance. Across a variety of genomics models, we demonstrate that performance on test sequences varies systematically by their similarity with training sequences. Models generally perform well on distant sequences, reflecting the application of learned generalizable principles. At higher and intermediate similarity, models rely on memorized associations, inflating performance when function is conserved between homologs but failing when homologous sequences have functionally diverged. To dissect and mitigate these effects, we introduce hashFrag, a scalable solution for homology detection and data partitioning. Using hashFrag, we demonstrate how to create homology-aware evaluations of model performance, and improve model generalizability by providing improved splits for model training. Altogether, we establish how homology creates a systematic bias in genome-trained models and must be accounted for to ensure reliable evaluation of sequence-to-function predictors.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 11
- 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
- GraphPart: Homology partitioning for biological sequence analysis
Felix Teufel, Magnús Halldór Gíslason, … Henrik Nielsen·NAR Genomics and BioinformaticsPeer-reviewed·Sep 20, 2023
- Fast-Part: Fast and Accurate Data Partitioning for Biological Sequence Analysis
Shafayat Ahmed, Muhit Islam Emon, … Liqing Zhang·bioRxiv·Nov 13, 2024
- Training deep learning models on personalized genomic sequences improves variant effect prediction
Adam Youlin He, Nathan P Palamuttam, Charles G. Danko·bioRxiv·Oct 15, 2024
- Fast and accurate protein function prediction from sequence through pretrained language model and homology-based label diffusion
Qianmu Yuan, Junjie Xie, … Yuedong Yang·Briefings in BioinformaticsPeer-reviewed·Mar 24, 2023
- Long-range regulatory sequence models reveal a phylogenetic boundary in vertebrate genome evolution
Binh Le, Hoang Nguyen, … Dat Thanh Nguyen·bioRxiv·Nov 10, 2026
- Diverse Genomic Embedding Benchmark for functional evaluation across the tree of life
Jacob A. West-Roberts, Joshua Kravitz, … Yunha Hwang·bioRxiv·Jul 10, 2024