Abstract
Biological foundation models (BioFMs), pretrained on large-scale biological sequences, have recently shown strong potential in providing meaningful representations for diverse downstream bioinformatics tasks. However, such models often rely on millions to billions of training sequences and billions of parameters, resulting in prohibitive computational costs and significant barriers to reproducibility and accessibility, particularly for academic labs. To address these challenges, we investigate the feasibility of data pruning for BioFM pretraining and propose a post-hoc influence-guided data pruning framework tailored to biological domains. Our approach introduces a subset-based self-influence formulation that enables efficient estimation of sample importance at low computational cost, and builds upon it two simple yet effective selection strategies, namely Top-k Influence (Top I) and Coverage-Centric Influence (CCI). We empirically validate our method on two representative BioFMs, RNA-FM and ESM-C. For RNA, our framework consistently outperforms random selection baselines under an extreme pruning rate of over 99 percent, demonstrating its effectiveness. Furthermore, we show the generalizability of our framework on protein-related tasks using ESM-C. In particular, our coreset even outperforms random subsets that are ten times larger in both RNA and protein settings, revealing substantial redundancy in biological sequence datasets. These findings underscore the potential of influence-guided data pruning to substantially reduce the computational cost of BioFM pretraining, paving the way for more efficient, accessible, and sustainable biological AI research.
Introduction
Training massive Biological Foundation Models (BioFMs) typically requires billions of sequences and astronomical compute budgets, creating a "compute tax" that limits accessibility for most academic researchers. For instance, models like RNA-FM utilize 23 million sequences, while the latest ESM models scale to nearly 3 billion. This paper introduces a scalable, post-hoc data pruning framework designed to slash pretraining data requirements by over 99% while maintaining—or even exceeding—the performance of models trained on full datasets.
Methodology: Post-Hoc Influence-Guided Pruning
Existing data pruning methods often struggle with biological data due to scalability issues (pairwise similarity calculations) and accessibility (the need for training dynamics logs). To overcome this, the authors propose a post-hoc framework using Influence Functions to estimate how much a specific training sample contributed to a pretrained model's final state.
To make this computationally feasible at scale, the framework incorporates three innovations:
- Subset-Based Estimation: Curvature (Hessian matrix) is estimated using a small, randomly sampled subset as a faithful surrogate for the entire dataset.
- Diagonal Fisher Approximation: Simplifies the mathematics to linear complexity.
- Selection Strategies:
- Top-k Influence (Top I): Selects the most informative or "hardest" samples.
- Coverage-Centric Influence (CCI): Uses stratified sampling to ensure a diverse mix of both easy and hard examples.
Experimental Setup
The framework was validated on two major BioFMs:
- RNA-FM: Pruned from 23 million sequences down to 0.2 million (>99% reduction).
- ESM-C (Protein): Pruned from 4.5 million UniRef50 sequences down to 0.2 million.
Downstream evaluation covered functional tasks (Type Classification, CRISPR On-Target Prediction) and structural tasks (Secondary Structure, Contact Map Prediction, and Protein-Protein Interaction Affinity).
Key Results and Insights
The most striking finding is the high degree of redundancy in biological datasets. A coreset of 0.2 million sequences selected via influence consistently outperformed a random subset of 2 million sequences, suggesting that current databases contain significant "filler" data.
As shown in the results, the CCI (Coverage-Centric) strategy excelled in functional tasks like RNA type classification and CRISPR prediction. In fact, for CRISPR On-Target prediction, the model trained on the 0.2M coreset achieved a Spearman Correlation (SC) of 32.90, surpassing the 31.87 achieved by the full 23M dataset model. This suggests that pruning can act as a form of "denoising."
Conversely, the Top-I (Hardness) strategy proved superior for structural tasks, indicating that complex 3D folding patterns are best learned from the most influential, difficult sequences. The framework also demonstrated strong generalizability to the protein domain (ESM-C), where influence-guided coresets significantly outperformed random sampling across localization and structural tasks.
Conclusion and Future Work
While the framework demonstrates that extreme pruning is viable, challenges remain. A performance gap still exists between small coresets and the massive 2.78B sequence ESM-C model, and calculating influence scores for billions of sequences still requires non-trivial (though reduced) compute. Future research will focus on optimizing coreset sizes and leveraging these methods to enable high-performing model training on consumer-grade hardware, making sustainable biological AI a reality.
Summary updated