Manuscript Offprint

arXiv:2611.00716

Uncertainty Aware Quality-Diversity Optimization For Offline Biological Sequence Design

Alona Rimon, Hannah Janmohamed, Maxime Allard, Antoine Cully

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

Abstract

Designing sequences such as nucleic acids and proteins with desired properties is a fundamental challenge in biology. Due to the vast, discrete nature of sequence spaces and the high cost of experimental evaluation, offline computational sequence design plays a crucial role in proposing novel sequences before costly wet-lab validation. In practice, it is also essential that proposed designs are diverse to increase the likelihood of downstream experimental success. This motivates methods that balance performance, novelty, and diversity, whilst mitigating against uncertainty inherent to offline optimization. Quality-Diversity optimization (QD) can discover diverse, high-performing solutions, making it well suited to this problem, but its elitist nature makes reliable exploration under uncertainty challenging. To address this, we introduce Prior-guided Offline MAP-Elites (POME), an uncertainty-aware QD framework explicitly adapted to the offline regime. Our method leverages foundation models as priors to guide search toward biologically plausible regions and enable robust exploration under uncertainty. Across three sequence design tasks, POME consistently improves both performance and diversity over prior offline QD methods, and achieves the most reliable balance compared to offline MBO baselines, obtaining the best performance on two tasks and the second-best on the third, while maintaining high diversity and novelty.

1 Introduction

Designing biological sequences with targeted functional properties, such as high ribosome load or strong binding affinity to transcription factors, is a fundamental challenge in synthetic biology [40], vaccine development [36] and therapeutic engineering [15]. In practice, practitioners often perform multiple rounds of generating variants, building them, testing their properties, and updating the design strategy [35]. A major obstacle to this process is that evaluating candidate sequences requires slow and costly wet-lab experiments that can take days to weeks, creating a bottleneck. Computational sequence generation therefore becomes a critical first step, allowing researchers to narrow the search space in silico before committing to experimental validation [12, 54, 8]. This computational generation commonly operates in an offline setting. Only a fixed dataset of designs evaluated in prior high-fidelity in vitro or in vivo experiments is available, while the true target property function remains unknown and expensive to query. Optimization is typically guided by surrogate models trained on this offline dataset, which approximate the true unknown function and are used to propose new, high-performing designs without access to additional evaluations. Importantly, biological design methods are typically expected to produce sets of diverse candidates rather than a single solution [26, 23, 28]. This need for diversity is essential because many candidates that seem promising computationally may fail in wet-lab validation. Generating a diverse set of sequences that spans multiple functional modes increases the likelihood that at least one will succeed experimentally. Moreover, a diverse set of solutions provides researchers with a richer understanding of the solution

Figure

(a) Surrogate and foundation models.

Figure

(b) Optimization pipeline.

Figure 1: Overview of POME, our offline QD optimization framework. (a) An ensemble of surrogate models is trained on the offline dataset, while a foundation model is pre-trained on large unlabeled biological corpora. (b) Sequences are sampled from the archive, mutated using the foundation model, evaluated via an uncertainty-aware combination of surrogate predictions and the foundation model prior, and reinserted if they improve the corresponding cell elite.

space. However, explicitly encouraging diversity introduces an additional optimization challenge, as it requires balancing performance against coverage of multiple plausible modes of the design space.

Quality-Diversity algorithms naturally address this need for diversity. Rather than seeking a single optimal solution, QD methods aim to generate a diverse set of high-performing candidates, each corresponding to a distinct behavioral mode defined by a user-specified feature vector [6]. Among QD algorithms, MAP-Elites is widely used for generating diverse, high-performing solution sets by discretising a user-defined feature space and maintaining the best solution per niche [31]. However, QD methods typically assume access to an accurate, or at least queryable, fitness function. In most cases, they operate in online settings, where evaluation feedback can be used to iteratively refine the search. By contrast, the setting of offline QD under epistemic uncertainty, where the objective function must be approximated from limited data, remains largely unexplored. A central challenge in this setting is that optimization should ideally discover novel solutions that improve upon those already present in the offline dataset. Achieving such improvements necessarily requires extrapolating beyond the support of the data using surrogate models. However, extrapolation in high-dimensional sequence spaces is inherently uncertain: surrogate models trained on limited data can be highly unreliable for out-of-distribution sequences. Direct optimization against these models often leads to adversarial or biologically invalid designs that exploit model errors rather than reflecting true biological performance [43, 45, 28].

In this work, we address this gap by proposing Prior-guided Offline MAP-Elites (POME), an uncertainty-aware Quality-Diversity approach for offline design. Our method explicitly accounts for epistemic uncertainty in surrogate models when guiding exploration across the feature space. However, uncertainty alone does not specify where to extrapolate safely beyond the offline data: in biological sequence spaces, many out-of-distribution regions are not only uncertain but biologically invalid, making uninformed exploration ineffective. To support controlled extrapolation, we incorporate foundation models as structured priors over the sequence space. These models, pre-trained on large biological sequence corpora, capture salient biological regularities such as codon usage, regulatory structure, and global plausibility [38, 9].

We show that incorporating foundation models as priors in offline QD optimization helps address the limitations of finite labeled data by injecting prior knowledge over sequence space, guiding search toward more meaningful regions of the search space. We also present POME-MO, a multi objective variant that allows researchers to control the certainty-performance trade-offs of the optimization. We show that explicitly adapting Quality-Diversity optimization to the offline setting is crucial for reliable exploration, and substantially outperforms existing approaches. Compared to prior offline QD methods, our framework consistently improves both performance and diversity across three biological tasks, with gains of 14 – 37% in performance and 22 – 35% in diversity, demonstrating that POME enables robust and dependable exploration under epistemic uncertainty. When compared to offline MBO baselines, our method achieves the most consistent balance across tasks, obtaining the best performance on two tasks and the second-best on the third, while maintaining high diversity and novelty. These results establish our approach as a practical and effective solution for Quality-Diversity optimization in strictly offline regimes. Finally, we show that leveraging foundation models as mutation operators substantially improves search efficiency in high-dimensional discrete design spaces, enabling the discovery of realistic solutions beyond those reachable with uninformed mutations.

References (50)