Small, open-source text-embedding models as substitutes to OpenAI models for gene analysis
While foundation transformer-based models developed for gene expression data analysis can be costly to train and operate, a recent approach known as GenePT offers a low-cost and highly efficient alternative. GenePT utilizes OpenAI's text-embedding function to encode background information, which is in textual form, about genes. However, the closed-source, online nature of OpenAI's text-embedding service raises concerns regarding data privacy, among other issues. In this paper, we explore the possibility of replacing OpenAI's models with open-source transformer-based text-embedding models. We identified ten models from Hugging Face that are small in size, easy to install, and light in computation. Across all four gene classification tasks we considered, some of these models have outperformed OpenAI's, demonstrating their potential as viable, or even superior, alternatives. Additionally, we find that fine-tuning these models often does not lead to significant improvements in performance.
Authors
- Dailin Gan (ORCID: https://orcid.org/0000-0003-0535-1259)
- Jun Li (ORCID: https://orcid.org/0000-0003-4353-5761)
Institutions
- University of Notre Dame (US)
Publication Details
- Journal
- Computational and Structural Biotechnology Journal
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1016/j.csbj.2025.07.053
- Primary Topic
- Genomics and Phylogenetic Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- U.S. Department of Defense
- National Institutes of Health