GFMBench-API: A Standardized Interface for Benchmarking Genomic Foundation Models
Ariel LareyiD, Elay DahaniD, Amit BleiweissiD, Raizy KellermaniD, Guy LeibiD, Omri NayshooliD, Dan OferiD, Tal ZingeriD, Dan DominissiniiD, Gideon RechaviiD, Nicole BussolaiD, Simon LeeiD, Shane O’ConnelliD, Dung T. HoangiD, Marissa WirthiD, Alexander W. CharneyiD, Yoli ShavitiD, Nati DanieliD
Abstract
The rapid scaling of Genomic Foundation Models (GFMs) has created a critical need for standardized evaluation frameworks. Current benchmarking practices are often fragmented, relying on model-specific preprocessing and inconsistent metric implementations that hinder reproducible comparisons. We present GFMBench-API, a high-level Python interface designed to unify the evaluation lifecycle of GFMs. GFMBench-API provides a modular "middleware" architecture that decouples model-specific tokenization and embedding logic from task-specific data streams and performance metrics. By standardizing the input/output schemas for common genomic tasks, such as regulatory element prediction, variant effect scoring, and long-range interaction mapping, GFMBench-API enables researchers to integrate new models or tasks with minimal "glue code." Our interface ensures mathematical consistency across evaluations, providing a robust foundation for the transparent and systematic benchmarking of GFMs.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 3
- Organism
- Research Focus
- Approach
In-depth summary
Claude Opus 5.5 · xhigh effort · 8 Nov 2026 · from the full text of version 2 (11 Aug 2026) · CC BY 4.0
Wrap a genomic foundation model's inference methods once to score it on supervised and zero-shot GUE, VariantBenchmarks, BEND, TraitGym and ClinVar tasks; code is promised upon acceptance.
Benchmarks such as GUE, BEND and the Nucleotide Transformer tasks each pose tasks, preprocess inputs and implement metrics their own way, so genomic foundation models are hard to compare, and how a task is posed can bias results for masked versus autoregressive models. Where earlier efforts tie evaluation logic to particular models, this layer fixes inputs, reference/alternate allele handling and metric code for all models.
Key results
SuggestedModel code and evaluation are kept apart. A task exposes its attributes, optional fine-tuning data and validation, cross-validation and test entry points. A model implements whichever standard inference methods it supports, and each task then computes only the metrics those outputs allow.
Task API: get_task_attributes, get_finetune_dataset, eval_validation_set, eval_cross_validation_fold, eval_test_set. Optional inference methods: single-sequence or reference/variant pair classification and sequence-to-sequence outputs (token embeddings, per-token probabilities, one sequence embedding), with automatic position mapping where tokenization shifts alignment. · B.1. Task API; Single-Sequence Classification Inference; Variant-Reference Pair Classification Inference; Sequence-to-Sequence Inference
ShownThe bundled tasks, drawn from established benchmarks, cover supervised sequence classification, supervised variant classification and zero-shot variant scoring. Input windows run from 100 bp to 160,000 bp.
3 GUE tasks (promoter 300 bp, three-class splice site 400 bp, transcription factor binding 100 bp); six VariantBenchmarks tasks at 1,024 bp; Long Range Benchmark (LRB) causal expression QTL at 160,000 bp, tissue as conditional input; zero-shot BEND (512 bp), TraitGym (4,096 bp), Song Lab ClinVar (5,994 bp), LRB OMIM (12,000 bp in the main text; the appendix says up to 160,000 bp), BRCA1 (8192 bp). · Supervised single-sequence tasks; Supervised variant effect tasks; Zero-shot variant effect tasks; Long Range Benchmark Pathogenic OMIM Prediction
SuggestedFive pretrained genomic foundation models, from about 7M to 1B parameters, were run across the whole task suite through one interface. Their per-task scores are in appendix Tables 1 to 5, whose values are not included in the text.
DNA-BERT (110M parameters), DNABERT-2 (~117M), NTv3 (~8M) and Caduceus-Ps (~7M), from Hugging Face, were fully fine-tuned for 3 epochs on supervised tasks. Evo 2 (1B, via NVIDIA BioNeMo, FP16 on one H100) was evaluated by linear probing with frozen weights. · Case Study; A. Model Sourcing and Implementation; B. Fine-Tuning and Training Protocols; E. Hardware Configuration
ClaimedEvery task implementation is said to have been checked against its original benchmark code or published results. No agreement figures are given, and several tasks deliberately depart from the original evaluation protocol.
Departures: the VariantBenchmarks coding and non-coding pathogenicity tasks use a fixed held-out fold (chromosomes 21, 22 and X) instead of the original cross-validation; TraitGym drops reverse-complement averaging and repeated bootstrapping. · Zero-shot general indel tasks; VariantBenchmarks Coding Pathogenicity; VariantBenchmarks Non-Coding Pathogenicity; TraitGym
SuggestedA new open ClinVar indel pathogenicity task scores insertions and deletions zero-shot on reference and alternate sequences of unequal length. It uses only sequence-level likelihood and embedding scores, since per-position comparisons are not defined for length-changing variants.
Built on BaseGFMZeroShotGeneralIndelTask. Variant-position cosine similarity and the masked-token log-likelihood ratio (LLR) are excluded (SNV cosine similarity is marked NA for indel tasks in Table 3). The text gives no variant count or construction details for the new set. · B.2. Tasks Design; Zero-shot general indel tasks; ClinVar Indel Pathogenicity; Tables
Methods, data and reproducibility
A Python library in which each benchmark task subclasses a base-class hierarchy (supervised single-sequence, supervised variant effect, zero-shot SNV, zero-shot indel). The task owns its datasets, splits and metrics, while the user wraps a model through a standard set of inference methods. It was demonstrated by running five pretrained models across the bundled tasks.
- Genome Understanding Evaluation (GUE) tasks with predefined splits: promoter (300 bp), splice site (400 bp, three classes), transcription factor binding site (100 bp, pooled from ChIP-seq experiments) · n = 3 tasks
- VariantBenchmarks: coding and non-coding SNV pathogenicity, eQTL, methylation QTL, splicing QTL, common vs rare variants; 1,024 bp contexts, chromosome-based test splits · human (contexts drawn from the GRCh38 reference) · n = 6 tasks
- Long Range Benchmark: causal eQTL with tissue as conditional input (160,000 bp) and zero-shot pathogenic OMIM non-coding variants (12,000 bp per the main text; the appendix says up to 160,000 bp) · human (GRCh38 contexts; OMIM)
- BEND zero-shot variant effect: disease- and expression-associated non-coding variants, 512 bp windows · human (GRCh38 contexts)
- TraitGym Mendelian and complex trait variants, 4,096 bp contexts · human (GRCh38 contexts)
- ClinVar SNV pathogenicity (Song Lab version at 5,994 bp; VEP-Eval-aligned version) and a new ClinVar indel pathogenicity task · human (ClinVar; GRCh38 contexts)
- BRCA1 SNVs labelled loss-of-function, intermediate or functional by measured DNA-repair activity, 8192 bp context · human (BRCA1; GRCh38 contexts) · n = 3,893 variants
- LOL-EVE causal eQTL: expression-modulating insertions and deletions in human promoters · human
- Methods & tools
- GFMBench-API, Python, DNA-BERT, DNABERT-2, NTv3, Caduceus-Ps, Evo 2, NVIDIA BioNeMo, Hugging Face, GRCh38 reference genome
- Reagents & environment
- Python library. Models are loaded from Hugging Face, except Evo 2 (NVIDIA BioNeMo framework); GRCh38 is downloaded automatically. No package versions, requirement files or containers are stated.
- Assay conditions & compute
- DNA-BERT and DNABERT-2 ran on one NVIDIA A10G GPU (24GB VRAM); NTv3 and Caduceus-Ps on one A100 (80GB); Evo 2 at half precision (FP16) on one H100 (80GB). Run times are not reported.
- Reproducibility gaps
- Code is to be publicly released upon acceptance (free for academic use). Data are said to be online or available from the corresponding author, but no URLs or accessions are printed. Tasks auto-download data from Hugging Face, BEND, LRB and other repositories.
Limitations (5)
- Built mainly for haploid sequence input; diploid and other multi-context analyses are left for future versions. · stated by the authors
- Some tasks change the source protocol: a fixed test fold instead of cross-validation for the VariantBenchmarks pathogenicity tasks; no reverse-complement averaging or bootstrapping for TraitGym; samples lacking predictions removed for VEP-Eval ClinVar. · stated by the authors
- Code is not yet public; release is promised upon acceptance, for academic use. · stated by the authors
- The text holds only table captions: no model scores appear, and the stated agreement with original benchmarks comes without numbers, so neither the case study nor the validation can be checked from it. · noted in this summary
- The supervised comparisons mix protocols: four models were fully fine-tuned for 3 epochs while Evo 2 was linear-probed on frozen weights, so Evo 2's supervised scores are not directly comparable with the others. · noted in this summary
Who should read:Read this if you compare genomic foundation models on regulatory or variant effect tasks and want one harness covering GUE, VariantBenchmarks, BEND, TraitGym, Long Range Benchmark and ClinVar tasks, including a new ClinVar indel set.
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
- GAME: Genomic API for Model Evaluation
Ishika Luthra, Satyam Priyadarshi, … Carl G. de Boer·bioRxiv·Jul 4, 2025
- GPBench: A benchmark framework for genomic prediction
Xiaowei Zhang, Hanwen Luo, … Guoxian Yu·bioRxiv·Nov 4, 2026
- Tokenization to Transfer: Do Genomic Foundation Models Learn Good Representations?
Kirill Vishniakov, Karthik Viswanathan, … Shadab Khan·bioRxiv·Dec 18, 2024
- Genomic Touchstone: Benchmarking Genomic Language Models in the Context of the Central Dogma
Yihui Wang, Zhiyuan Cai, … Hao Chen·bioRxiv·Jun 25, 2025
- GUANinE v1.0: Benchmark Datasets for Genomic AISequence-to-Function Models
Eyes S Robson, Nilah M. Ioannidis·bioRxiv·Oct 12, 2023
- BioToken and BioFM - Biologically-Informed Tokenization Enables Accurate and Efficient Genomic Foundation Models
Александр Владимирович Медведев, Karthik Viswanathan, … Shadab Khan·bioRxiv·Mar 27, 2025