arXiv:2611.02275cs.AINov 2026

Manuscript Offprint

arXiv:2611.02275

Data-Scarce, Multi-Granular, Multimodal: Benchmark Design for Biosynthetic Gene Clusters

Hanlin Xiao, Eriko Takano, Mauricio A. Álvarez, Rainer Breitling

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Biosynthetic gene clusters (BGCs) are co-located genes that encode the biosynthesis of specialized metabolites, an important source of antibiotics, anticancer agents, immunosuppressants, and agricultural bioactives. Recent advances in deep learning, particularly self-supervised foundation models, have spurred growing interest in BGC sequence modeling, but evaluation has lagged behind: existing benchmarks often rely on coarse classification over small curated datasets, providing limited discrimination among models and limited insight into downstream utility. We propose a benchmark-design framework in which an informative benchmark should be discriminative, separating models with statistical confidence, and applicable, spanning scientifically meaningful tasks under different levels of generalization. We instantiate this framework as BGC-Bench1^{1}, which derives five tasks from MIBiG, ranging from A-domain substrate prediction to BGC-molecule retrieval, evaluates them under genotype- and phenotype-shift splits, includes an active-learning setting for label-scarce discovery, and is easily extensible to new tasks and encoders. BGCs further provide a shared testbed across granularities and modalities: BGC-Bench compares twelve encoders on nucleotide, amino-acid, or Pfam-domain sequences, including compositional baselines for each input type, and combines BGC and chemical encoders for cross-modal retrieval. No single representation dominates: the best granularity depends on the biological scale of the task, and pretrained encoders do not consistently outperform other representations across tasks and splits. Active-learning experiments show that most tasks remain data-limited, encoder rankings change with labeling budget, and acquisition strategies yield modest gains. These results show that BGC model evaluation requires task-diverse, shift-aware benchmarks, and the framework can be generalized to benchmark design beyond BGCs.

1 Introduction

Biosynthetic gene clusters (BGCs) are physically co-localized, often co-regulated groups of genes that encode the biosynthesis of specialized metabolites [1]. They occur most commonly in microbial genomes, and also in fungi and plants [2]. The metabolites they produce constitute one of the richest sources of bioactive compounds, ranging from antibiotics and antifungals to anticancer agents and crop-protection compounds [3, 4]. Natural products and their derivatives accounted for 32% of small-molecule drugs first approved worldwide from 1981 to 2019 [5], making BGCs a high-value target for both biological and computational study.

1^{1}Code and benchmark data are available at https://github.com/Nugkta/BGC-Bench and https://huggingface.co/datasets/Nugkta/bgc-bench.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.

The ordered structure of BGCs makes them natural targets for sequence modeling, a field that has advanced rapidly with foundation models for natural language [6], protein [7], and genomic sequences [8–10]. BGCs differ from these settings in several ways. A cluster can be represented at multiple biological scales: as a sequence of nucleotides, amino acids, genes, or Pfam domains [11] (where each domain represents a functional subunit of a protein), with mappings between scales defined by biological processes and computational annotation. They are also intrinsically cross-modal, since each sequence encodes the biosynthetic pathway to a chemical product, and further corresponds to the mass-spectrometric measurement pattern of that product [12–14]. Furthermore, they are data-scarce: experimental characterization of BGC products is complicated and time-consuming; an estimated 80–90% of BGCs in prolific bacterial secondary-metabolite producers are silent or only weakly expressed under standard laboratory conditions [15, 16], while the latest curated dataset contains only about three thousand experimentally characterized BGCs [17].

Recent advances in BGC sequence modeling, ranging from adaptations of general protein-sequence foundation models [18, 19] to dedicated encoders pretrained on BGC corpora [20, 21], have not been matched by comparable progress in model evaluation. Common practice reports coarse class prediction on a curated dataset of experimentally validated BGCs [17, 20, 22], or finer classification schemes derived from structure-based natural-product classifiers [23, 24]. Coarse class prediction provides an established reference, but its taxonomy mixes biosynthetic logic and product chemistry, and domain composition already predicts many classes well. BGCat adds temporal and gene cluster family (GCF) holdouts; broader comparisons across genetic novelty, chemical novelty, and downstream tasks remain fragmented. A shared evaluation suite is needed to distinguish representations beyond coarse classification and assess their utility for natural-product discovery and experimental design.

We introduce BGC-Bench, a benchmark that builds on MIBiG [17], the community-curated reference database of experimentally characterized BGCs and their associated natural products, by adding biologically and chemically grounded evaluation splits and derived annotations. We first formalize a domain-agnostic benchmark-design framework (Figure 1), in which an informative benchmark should be discriminative, separating models with statistical confidence, and applicable, evaluating scientifically meaningful tasks across levels of generalization. BGC-Bench is structured around two evaluation axes: generalization, assessed through genotype- and phenotype-shift splits, and functionality, evaluated through five tasks spanning biological scales from single adenylation (A) domains to whole-cluster BGC–molecule retrieval. Because a BGC can be read at several granularities, BGC-Bench evaluates twelve encoders that read the same clusters as nucleotide, amino-acid, or Pfam-domain sequences [25], including simple compositional baselines based on domain counts or sequence k-mer frequencies, and pairs them with chemical encoders for cross-modal retrieval. We further evaluate models in an active-learning setting, reflecting a central motivation for biological models: prioritizing wet-lab characterization under limited experimental budgets [26–28].

BGC-Bench discriminates among existing models and shows that no single encoder dominates. The best representation granularity depends on the biological scale of the task: Pfam-domain encoders lead on cluster-level tasks, whereas amino-acid encoders lead on A-domain substrate prediction. Pretrained encoders do not consistently outperform other representations across tasks and splits; simple compositional baselines rank first in six of fifteen task-split settings, and larger models are not reliably better. On cross-modal retrieval, a Pfam-composition baseline paired with substructure fingerprints, both free of pretraining, outperforms learned BGC encoders, suggesting that coarse-grained BGC composition already captures a strong signal for BGC–molecule matching and pointing to a gap in how current sequence representations align with chemical space. Active learning shows that most tasks remain data-limited and that encoder rankings depend on the labeling budget, with pretrained encoders leading at small budgets when paired with their selected acquisition strategy, while acquisition strategies yield modest gains over random sampling. These findings support the view that in data-scarce scientific domains, meaningful evaluation depends not only on developing stronger models but also on rigorous, mechanically grounded benchmark design that extracts more value from existing datasets. They also motivate the development of general-purpose models that integrate multiple modalities and biological granularities for BGCs and biology more broadly [25, 29].

Our main contributions are:

  • BGC-Bench, a curated, extensible evaluation suite for BGC representations, spanning five biologically meaningful tasks, genotype- and phenotype-shift splits, and active-learning

settings, with labels and evaluation protocols derived using established bio- and cheminformatics tools. New tasks and encoders can be easily added.

  • A systematic multi-granularity and multimodal evaluation of twelve BGC encoders across nucleotide, amino-acid, and Pfam-domain representations, including compositional baselines, paired with seven chemical encoders for cross-modal retrieval. Our findings reveal how performance varies with task scale, generalization regime, and labeling budget, and show that pretrained models do not consistently outperform simpler compositional baselines.

  • A generalizable benchmark-design framework for data-scarce scientific ML, providing a taxonomic guide for constructing benchmarks that are discriminative and reflect downstream utility, which we also use to map existing benchmarks in other domains and expose evaluation gaps.

References (74)