Search PubMedSearch

PubMed · 42536416

Accelerating inference in genomic and proteomic foundation models via speculative decoding.

Abstract

MOTIVATION: Genomic and protein foundation models (GFMs and PFMs) have demonstrated strong performance in learning the language of DNA and proteins, but their use in large-scale sequence generation is limited by the latency of autoregressive decoding. Because every token triggers a forward pass of a large Transformer, whose inference is relatively slow, long-sequence generation quickly becomes costly. RESULTS: In this work we adapt speculative decoding to a representative GFM: the DNA model DNAGPT and two representative PFMs: ProGen2 and ProtGPT2. We implement a probabilistic variant of speculative decoding, in which a lightweight draft model proposes short token spans and a larger target model verifies or corrects them in parallel, while preserving the target model's sampling distribution. Across all three models we systematically study the effect of speculation window length, temperature, draft architecture and prompt length, and we benchmark tokens per second over multiple runs per configuration. Speculative decoding yields consistent speedups over standard key-value cached decoding, with maximum observed speedup reaching 100% increase, while average gains across models ranging between 20% and 40% (e.g. 1.2×-1.4×), without changing the underlying target model predictions. Our results show that speculative decoding is a practical and model-agnostic strategy for accelerating genomic and proteomic sequence generation without sacrificing prediction quality. AVAILABILITY AND IMPLEMENTATION: All code and results are freely available at https://github.com/Georgakopoulos-Soares-lab/BioSpecDec.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Kimonas Provatas, Aris Karatzikos, Charalampos Koilakos, Michail Patsakis, Alexandros Tzanakakis, Akshatha Nayak, Georgios A Pavlopoulos, Ioannis Mouratidis, Evangelos Ioannis Avgoulas, Ilias Georgakopoulos-Soares. 2026-08-03. Accelerating inference in genomic and proteomic foundation models via speculative decoding.. https://doi.org/10.1093/bioinformatics%2Fbtag579

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related citations

By comparing the effects of Lactobacillus paracasei KL1 and BK56 strains on yogurt quality, the optimal consumption time for 2 compound fermented yogurts was determined.

This study investigated the effects of 2 Lactobacillus paracasei strains, KL1 and BK56, on the physicochemical properties, microstructure, texture characteristics, and sensory quality of a compound fermented yogurt system (GK107: L. paracasei KL1, Leuconostoc mesenteroides G12S, Chr. Hansen Commercial Starter Culture; G56107: L. paracasei BK56, L. mesenteroides G12S, Chr. Hansen Commercial Starter Culture), and further integrated genomic and metabolomic analyses to infer their shelf-life and optimal consumption period. The results showed that GK107 yogurt maintained stable quality throughout the 28-d storage period (at d 28: pH 4.07; titratable acidity 93.25 °T; exopolysaccharide content 0.31 g/L; water-holding capacity 53.05%; sensory score 83), and rapidly formed a stable gel structure that persisted for an extended duration. In contrast, the quality of G56107 yogurt deteriorated during the later stage of storage (at d 28: pH 4.0; titratable acidity 98.4 °T; exopolysaccharide content 0.31 g/L; water-holding capacity 51.3%; sensory score 67). Genomic analysis revealed that, compared with the L. paracasei KL1 strain, the L. paracasei BK56 strain carried loss-of-function mutations in multiple key genes associated with flavor synthesis, polysaccharide metabolism, and proteolysis, including alsS, prtP, glpO, AWC33_RS01450, AWC33_RS00855, AWC33_RS01070, and AWC33_RS01805. These mutations may have played a role in the gradual flavor deterioration, and weak post-acidification control observed in G56107 yogurt during prolonged storage. Based on the above results, it is reasonable to suggest that GK107 yogurt is suitable for long-term storage with an optimal consumption period of 14 to 28 d, whereas G56107 yogurt is more suitable for short-term storage and recommended for consumption within the first 14 d.

Genomics

Jingjing Zhai and Edward S. Buckler.

Dr. Laura Zahn asked the authors, Dr. Jingjing Zhai and Dr. Edward (Ed) S. Buckler, to tell us about their research relating to their Cell Genomics paper, "PlantCAD2: A DNA foundation model for interpreting genomes across flowering plants."

Genomics