arXiv:2610.16992cs.LGOct 2026

Manuscript Offprint

arXiv:2610.16992

Generative Models as Adaptive Trust Regions for Discrete Bayesian Optimisation

Michael Dodds, Erik Bodin, Sebastian W. Ober, Tom Diethe, Carl Henrik Ek, Henry Moss

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

Abstract

Bayesian optimisation (BO) is a powerful framework for sample-efficient optimisation of expensive black-box functions, but its application to high-dimensional discrete scientific design remains challenging. Local trust-region BO methods such as TuRBO address high dimensionality by restricting search to adaptively sized neighbourhoods. However, a direct discrete analogue based on edit distance can be poorly suited to structured discrete objects: neighbourhoods grow combinatorially, and metric proximity does not capture the dependencies that determine whether a design is plausible or useful. Motivated by the growing availability of pretrained generative models, we introduce GenTuRBO, which replaces the geometric trust region with an adaptively scaled proposal distribution defined by a pretrained generator. The generator provides a learned prior over discrete transformations, encoding coordinated changes without explicitly enumerating edit-distance neighbourhoods. GenTuRBO performs strongly across all three domains and achieves the highest mean final scores on Ehrlich sequence optimisation and Sokoban coordination.

1 Introduction

Many scientific design problems require optimising structured discrete objects using costly feedback. In protein engineering, for example, evaluating the objective function for a sequence may require laboratory measurements or expensive computation, while the number of possible designs is enormous. Such objects also depend on coordinated choices: changing one residue can disrupt interactions elsewhere in a protein, just as moving a wall or box can make a Sokoban board unsolvable. The challenge is therefore to find designs with high objective values using as few evaluations as possible while navigating these structural dependencies.

Bayesian optimisation (BO) addresses limited evaluation budgets by fitting a probabilistic surrogate to observed objective values and using an acquisition function to select promising evaluations. In high-dimensional spaces, however, both surrogate modelling and acquisition optimisation become increasingly difficult. Local BO methods mitigate these challenges by restricting search to a smaller region around promising observed designs. TuRBO (Eriksson et al., 2019) implements this principle in continuous spaces using an adaptive geometric trust region around the best observed design, expanding the region after repeated improvements and contracting it after repeated failures.

In discrete spaces, a natural analogue of a geometric trust region is an edit-distance neighbourhood around the incumbent. However, edit distance measures only how many components differ, not whether those changes respect dependencies within the object. Useful improvements may require coordinated edits that lie beyond a small metric neighbourhood, while even modest edit radii

Figure

39.44% infeasible

9,488 / 24,055 designs

Figure

2.62% infeasible

2,621 / 100,000 proposals

Figure 1: Generator-guided proposals concentrate probability on feasible sequences. Both panels show the same 24,055 sequences within two substitutions of a fixed length-12 Ehrlich reference over a 20-token alphabet. Each dot represents a distinct sequence: the centre is the reference, the inner ring contains one-substitution variants, and the outer annulus contains two-substitution variants. Left: a uniform distribution over the Hamming neighbourhood assigns 39.44% probability mass to infeasible sequences, rising to 59.63% within four substitutions. Right: 100,000 proposals from a generator trained on feasible sequences assign only 2.62% empirical probability mass to infeasible outcomes. For each generator proposal, two positions are selected for corruption and reconstructed. Sequence locations are shared across panels, with infeasible sequences grouped into a red sector for visual comparison. Marker colour and size on the right indicate proposal frequency.

can contain enormous numbers of candidates, many of them structurally implausible or invalid. Explicit feasibility filters can reject candidates that violate known constraints, but many structural dependencies are difficult to specify as direct rules and cannot be fully captured by such filters.

Pretrained generative models offer a way to incorporate structural dependencies directly into proposal generation. We introduce GenTuRBO, a local Bayesian optimisation method that uses a fixed pretrained generator as a prior over transformations of discrete objects. At each iteration, GenTuRBO adaptively corrupts a promising design and uses the generator to sample new designs consistent with the uncorrupted context. The amount of corruption controls the scale of the resulting proposal distribution, providing a stochastic discrete analogue of a continuous trust region. Rather than treating all candidates within an edit-distance neighbourhood equally, the generator concentrates proposal probability on coordinated changes that are consistent with structure learned from data. The generator therefore supplies a prior over plausible transformations, while the Bayesian optimisation surrogate models the task-specific objective function and selects which proposals to evaluate. Figure 1 illustrates the resulting proposal distribution on constrained Ehrlich sequences, where the generator concentrates probability on a non-uniform subset enriched in feasible designs.

Our contributions are:

  1. We introduce a generator-defined trust region for discrete Bayesian optimisation, using a fixed pretrained generative model to provide a structured prior over local transformations.

  2. We adapt the scale of this trust region from optimisation feedback by controlling the amount of corruption applied before sampling new designs.

  3. We evaluate GenTuRBO under matched evaluation budgets on constrained Ehrlich sequences, protein fitness optimisation, and Sokoban coordination.

References (92)