WorksComputer Science
In-Context Batch Black-box Optimization via Flow Matching
Abstract
Batch black-box optimization is important for expensive systems where many candidates can be evaluated in parallel, yet only a few rounds of evaluation are affordable. In this regime, effective batch construction must identify multiple promising regions while avoiding redundant evaluations, and conventional Bayesian optimization can require increasingly difficult batch-selection procedures as the batch size grows. We introduce Flow Matching for Thompson-Sampling Refinement (FMTR), an amortized approach that learns offline a continuous, history-conditioned proposal distribution from which variable-size batches can be sampled. FMTR is trained offline by conditional flow matching on Thompson-sampling argmaxes refined toward high-value regions via a horizon-dependent Langevin pushforward map, adapting the exploration-exploitation tradeoff over the optimization horizon. At test time, the model parameters remain fixed and batch generation requires neither task-specific surrogate refitting nor numerical acquisition optimization. FMTR achieves strong performance against batch BO and in-context baselines on synthetic and real-world benchmarks, while substantially reducing the computational cost of batch selection.
Introduction
Many scientific and engineering design problems require optimizing an objective that can only be queried through costly experiments or simulations. Modern experimental and computational platforms increasingly support parallel evaluation, from high-throughput laboratories to compute clusters, motivating batch black-box optimization in applications such as enzyme engineering, regulatory RNA design, and materials design ([5, 29, 18, 13]). This changes the nature of the optimization decision: in the batch setting, the utility of each candidate depends on the rest of the batch, which should cover several plausible high-value regions and underexplored parts of the search space while avoiding redundant evaluations. Moreover, the evaluation of each batch can incur substantial experimental or computational costs, making the number of optimization rounds an important practical constraint. Consequently, it is desirable to develop batch selection methods that make effective use of each round and achieve high-quality solutions with as few evaluation rounds as possible.
Bayesian optimization (BO; Garnett [11]) is a standard approach for constructing such batches under limited evaluation budgets. It models the objective with a probabilistic surrogate, commonly a Gaussian process (GP, Rasmussen & Williams [26]), and selects evaluations through an acquisition function that balances promising predicted values against posterior uncertainty. However, when selecting candidates at once, the acquisition must account for interactions among the proposed points, making its maximization a joint problem over variables. Joint acquisitions become difficult to optimize as grows, while common alternatives construct the batch through sequential or independent optimization problems ([31, 17, 3, 28]). Each round thus requires updating a task-specific surrogate and solving a difficult, time-consuming batch-selection problem before the evaluations can be run in parallel. In-context learning offers a complementary route by moving recurring computation to offline pretraining over a distribution of optimization tasks. At deployment, a pretrained model adapts to a new objective through the observations supplied in context, without updating its parameters. Existing methods introduce in-context learning at different stages of the BO loop. Surrogate-based approaches perform posterior inference in context but retain a conventional acquisition function and an online search over the design space [21, 6, 34]. Acquisition-level approaches instead learn to predict acquisition values, replacing their potentially expensive computation while still searching for the maximizing candidate [16] (Rakotoarison et al. 2026). End-to-end in-context optimizers go further by learning the query policy itself, commonly from trajectory-level rewards, and map the observed history and a supplied candidate set directly to the next query [20, 37, 15] (Zhang et al. 2026). These policies remove task-specific surrogate fitting and numerical acquisition optimization, but are typically formulated as single-query policies over a finite candidate set. They therefore do not directly provide an in-context sampler over continuous query locations from which a batch can be drawn.
Generative models offer a natural way forward. By learning a proposal distribution over continuous designs, they turn batch construction into sampling: the proposal places mass on several promising regions, generating a batch of the desired size without optimizing a joint acquisition. Recent generative BO methods either adapt a diffusion sampler using a task-specific surrogate or fit the proposal directly from observed utilities [35, 22]. In both cases, the proposal is fitted or updated on the current objective as optimization proceeds, rather than produced in context by a model pretrained across tasks. This leaves open how to combine in-context adaptation with a reusable continuous proposal and how to specify its target distribution for each observed history.
Contributions. We address this gap with Flow Matching for Thompson-Sampling Refinement (FMTR), which combines in-context adaptation with sample-based generation for large-batch-few-round black-box optimization tasks. Figure 1 provides an overview of our method and positions it against concurrent baselines. Our contributions can be summarized as follows:
Figure 1. Overview of FMTR and its positioning relative to related methods. FMTR directly models a query distribution for end-to-end batch selection. (Top) Pretraining and deployment with closed-loop rollouts for data generation.
We introduce a conditional flow-matching model that represents a proposal distribution over continuous query locations, conditioned on the observed history and remaining evaluation budget. FMTR generates a batch of the requested size by sampling from this proposal with fixed model parameters, without task-specific surrogate fitting or acquisition-function optimization.
We construct supervised training targets by refining Thompson-sampling argmaxes toward high-value regions according to the remaining optimization horizon. This provides a simple alternative to trajectory-level reinforcement learning while retaining more exploration early and increasing exploitation toward the end of optimization.
Across synthetic and real-world benchmarks, FMTR achieves strong optimization performance at substantially lower batch-selection cost. Ablations further show that target refinement and value weighting both improve over directly amortizing parallel Thompson sampling.
Background
We consider an expensive black-box objective over a search space , with
Starting from an initial history , at round , the optimizer selects a batch conditioned on . The points are evaluated in parallel, yielding observations , with . The history is then updated:
We focus on the large-batch, few-round regime, where is large and the batch horizon is small.
Thompson sampling with Gaussian processes. A simple way to construct diverse batches is to sample plausible objective functions given the current observations and optimize each of them independently. A Gaussian process (GP) prior over induces a posterior after conditioning on the observed history [26]. Thompson sampling (TS) draws a function from this posterior and evaluates its maximizer:
The posterior draw therefore induces a distribution over optimizer locations,
where denotes the law of a random variable. Different posterior paths may place their maximizers in different regions that remain plausible under the posterior. Parallel TS forms a batch of size by drawing and maximizing posterior paths independently, allowing these optimizations to be performed concurrently [17].
Flow Matching. Flow Matching (FM) is a class of generative models that transform a prior distribution to a target distribution by learning a time-dependent velocity vector field . This vector field constructs a flow via the ordinary differential equation (ODE):
If , acts as a push-forward map, creating distribution at each time , e.g . For training, we construct a conditional flow and optimize the Conditional Flow Matching (CFM) objective. One of the most natural choices for conditional flow is a straight line from source point to target point , where for . Then, the CFM loss takes the form:
Usually, and follows a standard Normal distribution. At inference time, one can randomly sample from source distribution and generate a sample from target distribution by solving ODE from to using learned vector field .
Methodology
We propose FMTR, which learns a conditional proposal over continuous query locations, and samples batches in parallel. § 3.1 defines the synthetic episodes and histories used for pretraining; § 3.2 constructs the query target distribution; § 3.3 introduces the conditional flow-matching model and training objective; and § 3.4 describes the closed-loop rollouts used to collect deployment-like histories. Model architecture is given in Figure S8.

Figure S8. Model Architecture.
Pretraining tasks and histories
We sample synthetic optimization episodes
where is the objective, is the batch size, is the number of optimization rounds, and is an initial history containing random evaluations. At round , the model acts on the optimization state
The history serves as context, while the supervised targets are continuous query locations sampled from the target distribution introduced in § 3.2. Thus, a pretraining example is determined by both the sampled objective and a history encountered while optimizing it.
Synthetic objective prior. We construct each objective as
The first component is a differentiable random Fourier feature approximation to a GP sample path ([24]), with kernel family and hyperparameters randomized across episodes. Importantly, its explicit form allows function values and gradients to be evaluated at arbitrary locations and retains the generating kernel required by the target construction in § 3.2. Next, adds a randomized quadratic trend, providing smooth global structure on top of the local GP variation. This yields optimization landscapes with more clearly defined basins and optima, a technique employed in related amortized optimization methods ([33, 6, 37]). The full RFF parameterization, trend definition, and sampling distributions are given in Appendices § 11.§ 1 and § 11.§ 2. Figure S7 displays synthetic samples.

Figure S7. Example of training samples used during pretraining with input dimension .
Optimization histories. Starting from , we generate a trajectory by repeatedly proposing a batch, evaluating , and appending the resulting observations to the history. Thus, a single episode contributes training states with different context sizes and remaining horizons. Since the proposal model induces the relevant history distribution, we periodically regenerate these trajectories using a mixture of the target distribution and the current model proposal, as described in § 3.4.
Query target distribution
For each synthetic episode and optimization state , we construct a target distribution over query locations. Because the episode is generated during pretraining, both the objective and the kernel used to generate its GP component are known. This information is used only to construct offline training targets: the kernel defines a distribution over plausible optimizer locations given the current history, while the objective is used to refine these locations according to the number of rounds remaining. We omit the dependence of and on below.
Thompson-sampling base distribution. We instantiate TS using the kernel and trend sampled for the episode:
Under the GP posterior induced by the sampled task and current history, represents uncertainty over the optimizer location and can assign probability mass to several regions that remain plausible optima. We construct posterior paths by combining differentiable RFF prior draws ([24]) with the pathwise update given by Matheron’s rule ([32]). Because and its hyperparameters are sampled as part of the episode, these paths can be constructed without estimating kernel parameters from the typically sparse history. Each path is maximized independently using gradient-based optimization. Appendix § 12.§ 1 gives the complete construction.
Refinement based on remaining rounds. TS conditions on the observed history but does not explicitly account for the remaining horizon. To favor exploitation when fewer rounds remain, we refine its samples using the known synthetic objective. We define
where and is the base number of refinement steps. Starting from , we apply the Langevin-inspired updates
for , where is the normalized objective gradient, is the step size, and controls the perturbations. Normalization bounds the deterministic step length, while the Gaussian perturbations keep refinement stochastic. A smaller remaining-round fraction increases the number of updates, rather than their individual magnitude: this allows for objective-guided refinement near the end of optimization.
Flow-matching target. The finite-step refinement above induces the horizon-dependent distribution
Although refinement moves TS locations toward higher objective values, the probability mass of still depends on how frequently the TS initialization and stochastic refinement reach each region. We therefore define target distribution by favoring high-value regions via the Gibbs variational problem
As decreases, the same schedule both increases the refinement budget and lowers the temperature, progressively shifting the target toward high-value regions. In practice, we approximate by value-weighting samples from , yielding the weighted flow-matching objective in § 3.3. The variational derivation and sampling approximation are given in Appendices C.3 and D.2. The synthetic objective and its gradients are used only during pretraining: deployment requires only the observed history and remaining-round fraction.
Model architecture and training objective
We learn a proposal from the target samples constructed in § 3.2, where is the fraction of optimization rounds remaining. The model combines a transformer encoder for the observed history with a conditional flow decoder operating on continuous query locations.
History-conditioned architecture. Each observation is embedded using its location and objective value, then processed by a transformer encoder without positional encodings [30]. The encoded observations form a memory matrix , where and is the hidden dimension. Each flow state , at flow time , is embedded and attends to this memory through a cross-attention decoder. Flow time and the remaining-round fraction modulate the decoder through adaptive layer normalization, following the DiT architecture [23]. We omit self-attention between query states, allowing independent processing given the history. For flow states, this gives a cross-attention cost of per decoder evaluation. The memory is computed once per optimization round and reused throughout generation. Zero-padding and an active-dimension mask accommodate objectives of dimension , where is the maximum supported dimension. Appendix D.1 specifies the embeddings and decoder blocks.
Velocity distribution. Under the straight-line interpolation used for flow matching (Equation (5)), the same intermediate state can arise from different source-target pairs and therefore be associated with different target velocities. We model this conditional variation with a Gaussian mixture velocity head. Following Chen et al. [8]:
where is the number of components. The mixture weights , means , and diagonal standard deviations are predicted from the decoded flow token. Here, denotes a density over velocities, distinct from the proposal over query locations.
Training objective. For each sampled episode and history, the ideal objective is the flow-matching loss under the tilted target ,
where , , and . The outer expectation is over sampled episodes and histories. Rather than sampling directly from , we approximate the inner expectation using samples and self-normalized importance sampling (Aeckerle-Willems et al., 2026). With and , this gives
Appendix § 13.§ 2 derives this approximation, while lastly, § 3.4 describes history collection.
Batch generation. At deployment, we transform independent Gaussian base samples through the learned flow, sharing the encoded history across their trajectories. The model parameters remain fixed, and the requested batch size determines the number of samples generated. See Algorithm 3 for batch generation procedure.
Closed-loop pretraining
The histories encountered at deployment depend on batches generated by FMTR in previous rounds. Training only on randomly sampled histories or trajectories generated solely from would therefore expose the model to a different state distribution. We address this with Dataset Aggregation (DAgger, Ross et al. [27]). At rollout iteration , the entire batch at each visited state is sampled either from the target distribution or from the current FMTR proposal:
where , , decreases over rollout iterations. Regardless of which distribution advances the trajectory, is recomputed at every visited state using the corresponding synthetic episode and stored as supervision. The collected histories therefore become increasingly representative of those induced by FMTR while retaining target samples at each visited state. In practice, for simplicity, we can use instead of for .
Moreover, since episodes with different values of , , and produce context sizes at unequal frequencies, we partition the replay buffer into buckets indexed by context size. Each training minibatch is obtained by first sampling a non-empty bucket uniformly and then sampling examples from that bucket, preventing frequently occurring context lengths from dominating training. Parameter updates use the current replay buffer, which is periodically augmented with rollouts from the updated model. The exact complete training procedure is given in Appendix § 11.§ 3. Algorithm 1 summarizes the collection and training cycle, see Algorithm 2 for the full procedure. Figure S5 shows the targets and the learned proposal over a full optimization trajectory.

Figure S5. Evolution of FMTR over a complete optimization rollout. Example two-dimensional trajectory with and , shown at iterations 1, 3, 5, 7, 9, and 10. From left to right: the accumulated context with the previous batch highlighted, TS argmaxes conditioned on the current history, their horizon-dependent Langevin refinements, and samples from the learned FMTR proposal. The background shows the objective. As observations accumulate and the horizon shrinks, the target and FMTR proposal concentrate on high-value regions.
Related Work
Batch Bayesian optimization. Classical batch BO either optimizes set-valued acquisitions, Monte Carlo batch acquisitions, and energy–entropy criteria, or constructs batches through sequential or independent single-point decisions [31, 3, 28, 12, 17]. Joint acquisitions account for interactions among candidates but require optimization over variables; local penalization and parallel TS replace this with repeated or independent optimizations. These methods retain a task-specific surrogate and online design-space search at each round.
Generative models for BO. Recent work uses generative models directly as proposal distributions for batch BO. DiBO learns a diffusion prior over evaluated designs and an ensemble surrogate for uncertainty-aware utility, then fine-tunes the sampler toward their product distribution before applying local search and filtering (Yun et al., [35]). GenBO removes the intermediate surrogate by fitting a single generative model directly from noisy utilities, targeting a proposal whose density Algorithm 1 FMTR pretraining: overview
Require: Episode prior ; update budget ; rollout settings , , ,
Initialize , bucketed buffer , and counters ,
while do
▷ : initial rollouts use only
for each of episodes do
for do
,
Draw Thompson-sampling locations (Equation (9))
Refine the Thompson-sampling locations for steps (Equation (11))
Store the state, refined targets, and their values in
Sample from the target–model mixture (Equation (17))
Evaluate in parallel and append its observations to
end for
end for
Perform updates using context-length-stratified replay (Equation (16))
,
end while
return
follows an expected-utility acquisition [22]. Both update task-specific generators as observations accumulate, whereas FMTR pretrains a history-conditioned proposal that adapts in context with fixed parameters.
In-context optimization. In-context methods replace different components of the BO loop with pretrained models. PFNs4BO and GIT-BO perform posterior prediction in context, while α-PFN predicts entropy-search values [21, 34, 25]. These methods retain an explicit acquisition or candidate-search step. End-to-end methods instead learn the decision rule from optimization trajectories, including NAP, PABBO, TAMO, and FICBO [20, 37, 4] (Zhang et al. 2026). These policies generally act on supplied candidate sets, but FMTR learns a continuous history-conditioned sampler for variable-size batches.
Experiments
Baselines. We compare FMTR with the trust-region optimizer TuRBO (Eriksson et al., [10]), BEEBO (Teufel et al., [28]), the diffusion-based optimizer DiBO (Yun et al., [35]), and the in-context surrogate method GIT-BO (Yu et al., [34]). We also include three GP-based batch strategies: qLogEI (Ament et al., [2]), parallel TS with Matheron’s rule (qTS-Matheron; Kandasamy et al., [17]; Wilson et al., [32]), and qUCB (Wilson et al., [31]). See Appendix § 14.§ 1 for baseline details.
Implementation details and evaluation protocol. Each run starts from 10 observations and proceeds for batch-evaluation rounds, with batch sizes specified below. We apply the Yeo–Johnson transformation to observed objective values (Cowen-Rivers et al., [9]). FMTR’s parameters remain fixed during evaluation, and each batch is generated using 100 flow-integration steps without access to test-objective gradients. We report means and 95% confidence intervals over 15 independent runs. Pretraining settings and model details are provided in Appendices § 11 and § 13.
Results
Synthetic functions. We evaluate Ackley, Rosenbrock, and Levy with and batch size (Figure 2). FMTR achieves the best final average rank for each function, consistently across tested dimensions. Although geared towards , GIT-BO supports batch selection through multiple effective subspaces, but its performance degrades markedly in the large-batch regime considered here. More explicitly batch-oriented alternatives also remain behind FMTR. BEEBO directly constructs joint batches through an energy–entropy acquisition, explicitly accounting for dependencies among candidates, while DiBO use a diffusion-based generative model to form batch proposals. In DiBO,

Figure 2. Experiments on synthetic functions. Log simple regret over 15 runs, shown as mean with 95% CI. The last column reports the average rank across dimensions for each function.
accurately learning the acquisition from the limited observations available during optimization can be difficult, potentially hindering its ability to identify promising regions. FMTR instead grounds its target distribution in TS and amortizes the subsequent refinement through offline pretraining, combining posterior-driven exploration with knowledge transferred across optimization tasks. Moreover, FMTR consistently outperforms qTS, even though TS provides the base distribution from which its training targets are constructed. We return to this finding in § 5.2, where we examine which components of FMTR account for this improvement. Extended results for and more synthetic functions show broadly similar trends, although FMTR’s advantage is more pronounced for larger batches (Appendix § 10). Finally, FMTR achieves the lowest reported runtime among the methods (Table S1).
| Method | ||||
| FMTR | 2.79 ± 0.01 | 2.80 ± 0.01 | 2.79 ± 0.01 | 2.78 ± 0.01 |
| TuRBO | 8.15 ± 0.67 | 9.68 ± 1.57 | 12.17 ± 1.37 | 10.10 ± 1.47 |
| DiBO | 180.35 ± 3.89 | 156.38 ± 1.97 | 205.71 ± 3.28 | 179.29 ± 1.89 |
| BEEBO | 106.70 ± 12.28 | 198.17 ± 42.50 | 548.54 ± 112.60 | 789.35 ± 149.53 |
| qLogEI | 93.69 ± 16.69 | 199.48 ± 23.69 | 350.10 ± 56.05 | 536.13 ± 66.44 |
| qUCB | 56.85 ± 8.69 | 123.47 ± 14.03 | 436.70 ± 31.04 | 641.55 ± 22.02 |
| qTS-Matheron | 3.77 ± 0.22 | 5.60 ± 0.46 | 12.88 ± 4.95 | 8.18 ± 1.57 |
| GITBO | 24.79 ± 0.10 | 28.69 ± 0.07 | 36.79 ± 2.01 | 47.75 ± 0.13 |
Table S1. Runtime comparison. Wall-clock time is measured over all iterations with . The measurement unit is seconds.
Real-world applications. We evaluate four data-derived benchmarks considered by Hsieh et al. [14]: oil-4D, hpobenchXGB-6D, Asteroid-12D, and pm25-14D (Appendix § 14.§ 3) with batch sizes . Figure 3 reports the best normalized objective value and the Top 10 Normalized Value, i.e., the mean normalized value of the ten best points observed so far. Values are scaled by . The latter metric measures the ability to identify multiple high-value candidates. FMTR remains competitive across these tasks and often attains the highest values in later rounds. Compared with the synthetic benchmarks, however, its advantage is less uniform, with several baselines closely matching its performance, such as TuRBO, which even obtains higher mean values on PM2.5. Nevertheless, FMTR achieves the best final average rank under both metrics. Extended results for in Appendix § 10.§ 4 show a similar trend, with FMTR achieving stronger performance on both metrics in general. These results support the transfer of the pretrained proposal to real-world objectives, albeit with task-dependent differences in performance.

Figure 3. Experiments on real-world functions. Top row: normalized best value. Bottom row: Top 10 normalized best value. Mean with 95% CI computed across 15 runs with random initializations. Higher is better. Last column is the average rank across all tasks for each batch size.
Ablation Studies
We examine whether different modeling choices and hyperparameter settings significantly affect the performance of FMTR. In all experiments in this section, we evaluate FMTR and all baselines on the Ackley, Levy, and Rosenbrock functions with , , and . To average performance across functions with different regret scales, we report Normalized Log Simple Regret (NLR). Further details are provided in Appendix § 10.§ 2.
Pretraining dataset composition. We compare FMTR pretrained with the full synthetic objective in Equation (8) against a variant using only the RFF component. Figure 4(a) reports mean with 95% CI across the three synthetic functions. Including the trend component substantially improves performance. One explanation is that broadly sampled GP hyperparameters can otherwise produce highly irregular functions, for example Matérn-3/2 samples with short lengthscales, that are less representative of practical optimization landscapes. The random trend adds smoother global structure while preserving the local variability of the RFF component.

Figure 4. Ablation studies. Performance is normalized and averaged on the Ackley, Levy, and Rosenbrock functions with and . (a) Effect of the pretraining dataset composition. (b) Effect of the Langevin refinement and Distributional Tilt. (c) Effect of temperature scheduler. These results represent averages, individual results can be found in Figure S4.
Effect of Langevin refinement and distributional tilt. We disentangle the two transformations of the TS target by comparing FMTR with three variants: no Langevin, which applies the exponential tilt directly to the unrefined TS target; no tilt, which retains Langevin refinement but trains directly on ; and no Langevin + no tilt, which amortizes the unrefined TS target. Figure 4(b) shows that removing either refinement or tilt causes a clear, similar degradation, while removing both yields the weakest FMTR variant. This indicates complementary gains from the two components. Still, the doubly ablated model outperforms qTS, pointing to an additional benefit from amortized pretraining.
Effect of the temperature schedule. We compare three schedules for : scheduler A, from Equation (10); scheduler B, ; and scheduler C, , following Teufel et al. [28]. Figure 4(c) shows that all three schedules outperform the variants without distributional tilt, indicating that the gains are not limited to a single temperature schedule. Still, scheduler A achieves the lowest NLR in later rounds, suggesting that the precise annealing profile still affects the strength and timing of exploitation.
Conclusion
We introduced FMTR, an in-context optimizer for large-batch, few-round black-box optimization that learns a continuous query proposal from horizon-dependent refinements of TS locations. Conditional flow matching amortizes these targets into parallel batch generation, avoiding task-specific model fitting and acquisition optimization. Across benchmarks, FMTR combines strong optimization performance at low online cost, while ablations show that both target refinement and value weighting improve over parallel TS. Notably, a single pretrained model remains competitive from to 15, reusing optimization experience across tasks and search-space dimensions, whereas task-specific batch baselines fit each objective independently.
Limitations and future work. An interesting point is that FMTR samples batch members independently given the history and remaining budget, without explicitly modeling within-batch redundancy. Although it remains competitive with joint-batch methods like BEEBO, joint proposals could further improve complementarity between evaluations. However, this would require jointly structured pretraining targets and an explicit batch-level objective, thus increasing pretraining complexity. Performance also depends on the synthetic-task prior (§ 5.2), motivating better-designed training distributions. Extending FMTR beyond and to discrete domains are further directions.
Reproducibility Statement
We provide all experimental details needed for reproducibility. Hyperparameters are specified in Section B.2 and Table S2; the pretraining dataset generation procedure is described in Section B; the complete training algorithm is provided in Algorithm 2; baseline hyperparameters are reported in Section E.1; and the synthetic and real world benchmark functions are described in Sections E.2 and E.3, respectively. The code will be made publicly available upon acceptance.
| Episode component | Distribution or value |
| Search domain | |
| Dimension | |
| Batch size | |
| Horizon | |
| Initial context size | |
| Observation noise | 0.01 |
| Number of RFF features | |
| 0.4 | |
| 1.0 | |
| Learning rate Langevin dynamics | 0.05 |
| Std of Langevin dynamics’s noise term | 0.05 |
| Base Langevin refinement steps | 7 |
| Number of target location for each episode and history | 200 |
| 1500 | |
| 2000 | |
| 0.7 | |
| Model hyperparameters | |
| Embedding hidden | 128 |
| Number of attention heads | 4 |
| Number of self-attention layers | 6 |
| Number of cross-attention layers | 3 |
| Feed-forward dimension | 128 |
| Number of components for GMM | 5 |
| Number of decoder layer for GMM | 2 (Separate per component) |
| Training | |
| Optimizer | AdamW |
| Learning rate | 5e-4 |
| Weight decay | 1e-2 |
| Number of warm up step | 50000 |
| Number of burn in step | 37500 |
| LR scheduler | Cosine annealing restart with polynomial |
| Restart period for LR | 50000 |
| Polynomial steps | 100000 |
| Number of training steps | 1000000 |
| Batch size | 128 |
| Evaluation | |
| Inference solver step | 100 |
Table S2. Hyperparameter settings.
AI Disclosure
In this work, we used generative AI tools for providing feedback on research methodology and implementing methods. We have not used generative AI tools for generating synthetic data sets, developing conceptual frameworks, assisting with reformat dataset and interpreting results are not applicable to this work. Additionally, we used generative AI tools for brainstorming, searching for information, and editing a research paper to improve readability. We have reviewed all AI-assisted work. LLM-generated code was verified and tested for correctness by the authors. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
Acknowledgements
The authors thank Conor Hassan for helpful comments and feedback on early versions of this work. This work was supported by EU funding ERC ODD-ML 101201120 and the Research Council of Finland Flagship programme: Finnish Center for Artificial Intelligence FCAI and decisions 359207, 365982. S. Kaski was additionally supported by the UKRI Turing AI World-Leading Researcher Fellowship (EP/W002973/1) and J. Martinelli was supported by Research Council of Finland (grant agreement 377145). The authors acknowledge the computational resources provided by the Aalto Science-IT Project from Computer Science IT. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them.
The appendix is organized as follows:
Appendix § 10 provides additional synthetic and real-world results across batch sizes, detailed ablations, a visualization of the optimization process, examples of pretraining tasks, and runtime comparisons.
Appendix § 11 details the synthetic task prior and closed-loop pretraining procedure.
Appendix § 12 gives the pathwise GP posterior construction, stochastic refinement, and Gibbs formulation of the value-weighted query target.
Appendix § 13 specifies the model architecture, derives the self-normalized importance sampling approximation to the tilted-target training objective, and provides batch-generation and computational details.
Appendix § 14 provides baseline details and definitions of the synthetic and real-world benchmark tasks.
Additional Experiments
More experiments on synthetic functions

Figure S1. Experiments on synthetic functions with . Log simple regret over 15 runs, shown as mean with 95% CI. The last column reports the average rank across dimensions for each function.

Figure S2. Experiments on synthetic functions with . Log simple regret over 15 runs, shown as mean with 95% CI. Last column reports average rank across dimensions for each function.

Figure S3. Experiments on synthetic functions with . Log simple regret over 15 runs, shown as mean with 95% CI. Last column reports average rank across dimensions for each function.
Further detail on Ablation Studies
Because the Ackley, Levy, and Rosenbrock functions have different regret scales, we normalize the log simple regret before averaging performance across functions in § 5.2. We refer to the resulting metric as Normalized Log Simple Regret (NLR). For each function and dimensionality, we compute the minimum and maximum log simple regret across the methods evaluated in § 5.2 and rescale to : NLR . The individual results are shown in Figure S4.

Figure S4. More detail on Ablation Studies. Rows 1–3: Log simple regret with batch size 32. Rows 4–6: Log simple regret with batch size 64. Mean with 95% CI computed across 15 runs with random initializations. Lower is better.
Visualization on process
Figure S5 illustrates the targets and the FMTR proposal along one rollout with and .
More experiments on real-world applications

Figure S6. Experiments on real-world functions with . Top 2 rows: normalized best value. Bottom 2 rows: Top 10 normalized best value. Mean with 95% CI computed across 15 runs with random initializations. Higher is better. Last column is the average rank across all tasks for each batch size.
Examples of training tasks
Figure S7 shows 12 training sample tasks with .
Runtime Comparison
Table S1 presents the runtime performance of all baselines evaluated on the Ackley function (, ) across 15 independent runs. The results demonstrate that our proposed method achieves the fastest execution time.
Additional pretraining details
Synthetic objective prior
This section specifies the two components of the synthetic objective in Equation (8). For each optimization episode , we sample a stationary kernel and its hyperparameters. Let denote the corresponding spectral density. Following Rakotoarison et al. (2026), we approximate a sample from using random Fourier features:
where
The feature coefficients and phase offsets are sampled as
The cosine in Equation (18) is applied element-wise.
Next, we add the randomized trend
where , , , and are sampled independently for each episode. The resulting objective is
The explicit RFF representation makes each posterior path differentiable, so its maximizer can be obtained using gradient-based optimization. The kernel and its hyperparameters are sampled as part of the episode and are therefore available during target construction without task-specific estimation.
Sampling kernel and trend function
For each synthetic task, we sample the kernel and trend parameters as follows:
Kernel family. We sample a Matérn kernel with , with probabilities proportional to . The output scale is sampled from .
Lengthscale structure. We sample isotropic, ARD, or grouped lengthscales with probabilities , , and , respectively. Isotropic kernels use a shared lengthscale from (our search domain being ), while ARD kernels sample each coordinate independently from the same distribution. For grouped kernels, dimensions are assigned to fast and slow groups with centers , which are independently perturbed across dimensions. This generates objectives with heterogeneous, potentially low effective dimensionality. A random rotation is additionally applied with probability to generate non-axis-aligned functions.
Trend inclusion and location. We omit the quadratic trend with probability . Otherwise, its center is sampled from with probability , and from otherwise, allowing some optima to lie near the boundary of the search space.
Trend shape. The weights are sampled as and normalized by their mean, while is sampled uniformly from .
Relative scale. We choose such that the variance ratio between and lies in , preventing either component from dominating the objective.
For the other hyper-parameters, see Table S2.
Closed-loop pretraining
At DAgger rollout iteration , the probability of sampling the rollout batch from is
where controls the decay. The initial replay buffer is constructed from -only rollouts, corresponding to and , so that valid training examples are available before the first parameter update. Later rollouts increasingly use the current FMTR proposal as decreases. For each visited state , we recompute and store target locations together with the information required to evaluate the training objective. The complete rollout batch is then drawn from either or the current FMTR proposal according to Equation (17). Its observations are appended to the history before constructing the next state. In practice, for simplicity, we can use instead of for in Equation (17), and store the samples from and their corresponding weights for computing the training loss in Equation (16).
The replay buffer is partitioned into buckets , where contains states whose histories have size . Let
denote the occupied context-size buckets. A training minibatch is sampled by first drawing
and then drawing examples uniformly from . All examples in the resulting minibatch have the same context length, which also permits rectangular batching without padding contexts of different sizes.
The buffer is augmented every parameter updates. As increases, the decreasing exposes FMTR to histories increasingly induced by its own proposals, while the target distribution is recomputed at every visited state. Algorithm 2 gives the corresponding rollout and replay procedures.
Additional details on query target distribution construction
Pathwise GP posterior sampling
Consider a history , and define
For episode , we treat as the GP mean and as its covariance kernel. Let
and let .
For posterior draw , we sample an independent zero-mean RFF prior path , using the construction described in Appendix § 11.§ 1 and [24]. We also draw
where is the observation-noise variance, and define
Matheron’s rule gives the correction coefficients
Algorithm 2 FMTR pretraining: full procedure
Require: Episode prior ; update budget ; minibatch size ; targets per state ; episodes per collection ; refresh period ; decay
Initialize , bucketed buffer , and counters ,
while do
▷ Equation (21)
for do
Sample ; set
for do
,
Draw independent posterior paths using Equation (23)
Maximize each path to obtain via Equation (24)
Refine each for steps using Equation (11), yielding
Append to
Draw
if then
else
end if
Draw ,
Evaluate in parallel for
end for
end for
for each of the next parameter updates do
Draw
Sample a minibatch of records uniformly from
for each record do
Set and compute using Equation (44)
Draw and
Set and ,
end for
Compute by averaging the weighted losses in Equation (48) over
end for
end while
return
and the corresponding posterior path is
This separates the posterior sample into an RFF prior path and a function-space correction determined by the observations [32]. If the pretraining implementation conditions on noise-free observations, Equation (22) reduces to the case , and the auxiliary noise draw is omitted.
For each of independent posterior paths, we compute
The resulting empirical Thompson-sampling distribution is
Algorithm 3 FMTR batch generation
Require: GMM velocity network ; total horizon , remaining horizon ; batch size ; ODE solver step ; context set
for do
, .
▷ Endpoint sample.
▷ Re-noise source state.
end for
return
where denotes a point mass at . The explicit RFF representation makes each posterior path differentiable, so its maximizer can be obtained using gradient-based optimization. The kernel and its hyperparameters are sampled as part of the episode and are therefore available during target construction without task-specific estimation.
Stochastic refinement of Thompson-sampling targets
Normalized updates. For a fixed episode and optimization state , the temperature and number of refinement steps are given by Equation (10). We define the normalized gradient as
Thus, the deterministic increment in Equation (11) has norm at most , independently of the objective-gradient magnitude. The temperature changes the number of updates through ; it does not rescale the gradient or noise within an individual update.
Stochastic target construction. For each Thompson-sampling location , we initialize and apply Equation (11) using independent perturbations . Let
denote the resulting refinement map. The population target is
Including the perturbations in the source measure makes the stochastic nature of the refinement explicit. To prevent samples from leaving the domain, we apply reflection [19] after each refinement step whenever a point falls outside the domain bounds. In practice, the target is represented by refined samples,
These samples provide the target locations used in § 3.3; their relative contributions to training are subsequently determined by the value weights in Equation (44).
Finite-step interpretation. We use the distribution after exactly updates, rather than running the process to stationarity. The construction therefore retains the Thompson-sampling initialization as part of the target definition. Accordingly, the target is defined by the finite-step refinement dynamics rather than by a stationary Langevin distribution. The values of , , , , and are reported in Table S2.
Scope of the refinement procedure. The target construction only requires samples from a finite refinement procedure, so other procedures could be considered for different synthetic-task families. Related samplers address departures from smooth continuous objectives: P-LMC (Chatterji et al., [7]) treats nonsmooth potentials under assumptions that include subgradient access, whereas DLP (Zhang et al., [36]) uses gradients of a differentiable extension to construct proposals over discrete variables.
Value-weighted target distribution
For a fixed episode and state , write and suppress the conditioning of and . Refinement changes query locations using the objective gradient, but the resulting basin masses also depend on the Thompson-sampling initialization and finite-step dynamics. Value weighting additionally adjusts these masses according to the attained objective values.
Gibbs variational characterization. Consider
where denotes absolute continuity, and we restrict to probability distributions with finite objective expectations and KL divergences. Define
Assume and . For any admissible , substituting the density ratio from Equation (30) gives
Nonnegativity of KL divergence establishes that is the unique maximizer.
Relation to refinement. For a fixed reference distribution , reducing increases the relative weight assigned to larger objective values. In FMTR, also changes the reference distribution through the refinement budget . The Gibbs characterization applies to this finite-step reference law and requires no stationary-distribution assumption for the refinement dynamics. Moreover, : value weighting redistributes existing probability mass but cannot recover regions assigned zero mass by . Appendix D.2 explains its implementation through weighted training.
Model architecture and training details
This section provides additional details for the conditional proposal model introduced in § 3.3. We first specify the input representations and conditional decoder, then expand the weighted training objective in Equation (16), and finally give additional details on batch generation. Model architecture figure is given in Figure S8.
Input representation and conditional decoder
Variable-dimensional inputs. To support objectives with input dimension , where is the maximum dimension supported by FMTR, each location is zero-padded to coordinates and paired with an active-dimension mask . Padded coordinates remain fixed at zero throughout generation. § 3.3 uses the active -dimensional coordinates for readability.
Context encoding. The location and objective value of each observation are embedded as
with . A pre-normalized transformer encoder processes these tokens together with a learned global token (Vaswani et al., [30]). We retain the contextualized observation tokens as the memory
rather than pooling them into a single representation.
No positional encodings are used for the observations. Permuting the history therefore only permutes the corresponding memory tokens, leaving cross-attention to the memory unchanged. Since depends on the observed history but not on the flow state, it is computed once per optimization round and reused throughout flow generation.
Flow-state embedding. The semantics of vary with flow time: near , it is dominated by the Gaussian base sample, while near , it approaches a query location. We therefore use
where both terms lie in . The additional term vanishes at , giving .
Conditional decoder with AdaLN-Zero. The flow token is processed by cross-attention blocks, each attending to without self-attention among flow tokens. Following AdaLN-Zero from DiT ([23]), flow time and the remaining-round fraction are combined as
where uses random Fourier features of and is a multilayer perceptron.
Each decoder block maps this conditioning vector to scale, shift, and gating parameters,
and applies
Here, the second argument of MHA supplies its keys and values. Following AdaLN-Zero, is initialized to zero, so the residual gates vanish at initialization and each decoder block initially acts as the identity on its query token. The context memory is normalized but not modulated by the flow-time conditioning, since it represents fixed observed data.
Gaussian mixture head. The final decoder representation is projected to the parameters of the velocity distribution in Equation (14): mixture logits, mean vectors, and diagonal scale vectors. The mixture weights are obtained by applying a softmax to the logits. The predicted scales are lower-bounded by a small positive constant for numerical stability.
Training objective
We now expand the objective in Equation (16). Let denote the distribution over training records produced by the closed-loop collection and context-length-stratified sampling procedure described in § 3.4. For a sampled record, define and consider the population flow-matching objective under the tilted target,
where , , and .
Direct samples from are not available in our target construction. Instead, we have samples from . From Equation (13),
where
Hence, for any -integrable function , and assuming
For independent samples , define the unnormalized importance weights
Self-normalized importance sampling (Aeckerle-Willems et al., 2026) then approximates Equation (41) as
where
Equivalently, using the density ratio from Equation (39),
so that the unknown normalizing constant cancels after normalizing the importance weights:
We now apply this approximation to the inner expectation in Equation (38). For
where and , Equation (43) gives
with
Combining this approximation with the outer expectation over training records gives the practical training objective
This is the objective summarized in Equation (16). For a fixed target pool, the weighted loss corresponds exactly to the empirical distribution
As an estimator of the population expectation under , self-normalized importance sampling is generally biased for finite , but is consistent under standard integrability conditions.
The target construction and value weighting use the synthetic objective in different ways. The refinement in § 3.2 moves Thompson-sampling locations to define , whereas Equation (44) reweights samples from to approximate training under . The objective values are used only for pretraining supervision and are not additional inputs to .
Computational Resources
We trained FMTR on one NVIDIA H100 80GB HBM3 GPU. Training took approximately 19 hours per run. All models are evaluated on Tesla V100-SXM2-32GB GPUs.
Experimental details
This section supplements § 5 with descriptions of the baseline methods. FMTR’s pretraining procedure and architecture are given in Appendices § 11 and § 13. For evaluation, since FMTR is trained on the normalized domain , the observed query points are first mapped to . FMTR then generates new query points within , which are subsequently mapped back to the original domain for function evaluation.
Baselines
TuRBO (Eriksson et al. [10]). Trust Region Bayesian Optimization fits local GP models within adaptive trust regions. Their sizes expand after consecutive improvements and contract after unsuccessful evaluations, with restarts when a region becomes too small. Its Thompson-sampling batch rule selects candidates within these restricted regions, and can allocate evaluations across multiple local models. TuRBO therefore provides a baseline based on local modeling and adaptive search regions, while retaining task-specific surrogate fitting and online candidate selection. In our experiments, we specify 5 trust regions for TuRBO.
DiBO (Yun et al. [35]). This method fits a diffusion model to evaluated designs and an ensemble of surrogate models to their objective values. It then adapts the diffusion sampler through relative trajectory balance toward a target combining the learned design prior with an ensemble-based UCB score. Generated candidates undergo local search and filtering before a batch is evaluated. Model fitting and sampler adaptation are repeated as observations accumulate, providing a generative baseline trained on the current optimization task. We use the authors’ official implementation.
GIT-BO [34]. GIT-BO uses a pretrained TabPFN surrogate to predict objective values and uncertainty from the observed history. Gradients of the predictive mean identify a low-dimensional subspace in which candidate locations are sampled and scored using a UCB-based acquisition. For the batch setting, we use the native implementation provided in the authors’ official repository, setting . The method constructs candidate pools, evaluates the acquisition independently for each batch slot, and selects the maximizing candidate from each pool. The batch is therefore proposed without intermediate observations, but its members are not coupled through a joint acquisition or within-batch conditioning.
BEEBO [28]. Batched Energy–Entropy Bayesian Optimization uses a GP-based acquisition that combines predicted objective values with the information gained from evaluating a batch. A temperature controls the exploration–exploitation trade-off, while the information term accounts for dependencies through the joint posterior covariance. Candidate locations are optimized jointly, providing a batch-native acquisition baseline that retains online GP fitting and numerical batch selection. We use the BoTorch implementation [3] with the default settings: meanBEEBO variant, keeping the temperature fixed at and switching to (full exploitation) in the final round.
qLogEI, qTS-Matheron, and qUCB. These baselines use a GP surrogate with different batch-selection rules and are implemented with BoTorch [3]. qLogEI uses a numerically stabilized, smoothed log-space formulation of batch expected improvement [2]. qTS-Matheron draws independent posterior paths through Matheron’s rule and maximizes each path to obtain one query [17, 32]. qUCB extends upper confidence bounds to batches through a Monte Carlo acquisition based on the joint posterior [31]. Thus, qLogEI and qUCB optimize batch acquisitions, whereas qTS-Matheron constructs the batch through independent posterior-path optimizations.
For all baselines that optimize acquisition using BoTorch, we set raw_samples = 512 and num_restarts = 128.
Synthetic Benchmark Functions
We evaluate our method on six standard synthetic benchmark functions with different optimization landscapes. The Ackley, Levy, and Rastrigin functions are highly multimodal, while Rosenbrock, Dixon–Price, and Styblinski–Tang provide complementary nonconvex landscapes. We define the functions below, where and denotes the input dimensionality.
Ackley.
with domain
Levy. Let
The Levy function is
with domain
Rosenbrock.
with domain
Rastrigin.
with domain
Dixon–Price.
with domain
Styblinski–Tang.
with domain
Real-world benchmark tasks
We consider four data-derived optimization benchmarks described by Hsieh et al. [14].
Oil-well depth (oil-4D). This task uses the New York State Oil, Gas, and Other Regulated Wells dataset. The four inputs are the latitude and longitude of the surface and bottom of each well, and the objective is to identify wells with the greatest drilled depth.
XGBoost hyperparameter optimization (hpobenchXGB-6D). Precomputed HPOBench evaluations associate six XGBoost hyperparameters with classification performance. These include learning rate, and regularization, and subsampling ratios. The objective favors configurations with higher predictive performance.
Asteroid diameter (Asteroid-12D). Each candidate is represented by twelve numerical asteroid descriptors. The task seeks candidates associated with the largest diameters.
Air quality (pm25-14D). This benchmark uses air-quality observations collected in northern Taiwan in 2015. Its fourteen inputs include sulfur dioxide, carbon monoxide, and ozone measurements. The objective is to identify conditions associated with the highest PM concentration.
Since these tasks are defined on a discrete set of points, we interpolate them onto a continuous domain using a radial basis function (RBF) interpolator with a linear kernel and 32 nearest neighbors. We implement the interpolation using the RBFInterpolator provided by SciPy. Further details are available in the SciPy documentation.
References
- [2]Sebastian Ament, Samuel Daulton, David Eriksson, Maximilian Balandat, and Eytan Bakshy. Unexpected improvements to expected improvement for Bayesian optimization. Advances in neural information processing systems, 2023.arxiv.org/abs/2310.20708
- [3]Maximilian Balandat, Brian Karrer, Daniel Jiang, Samuel Daulton, Ben Letham, Andrew G Wilson, and Eytan Bakshy. BoTorch: A framework for efficient monte-carlo Bayesian optimization. In Advances in Neural Information Processing Systems, 2020.arxiv.org/abs/1910.06403
- [4]Nicolas Samuel Blumer, Julien Martinelli, and Samuel Kaski. In-context black-box optimization with unreliable feedback. arXiv preprint arXiv:2605.06187, 2026.arxiv.org/abs/2605.06187
- [5]Richard B Canty, Jeffrey A Bennett, Keith A Brown, Tonio Buonassisi, Sergei V Kalinin, John R Kitchin, Benji Maruyama, Robert G Moore, Joshua Schrier, Martin Seifrid, et al. Science acceleration and accessibility with self-driving labs. Nature Communications, 2025.DOI
- [6]Paul Edmund Chang, Nasrullah Ratu Bagus Satrio Loka, Daolang Huang, Ulpu Remes, Samuel Kaski, and Luigi Acerbi. Amortized probabilistic conditioning for optimization, simulation and inference. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, 2025.arxiv.org/abs/2410.15320
- [7]Niladri Chatterji, Jelena Diakonikolas, Michael I Jordan, and Peter Bartlett. Langevin monte carlo without smoothness. In International Conference on Artificial Intelligence and Statistics, 2020.arxiv.org/abs/1905.13285
- [8]Hansheng Chen, Kai Zhang, Hao Tan, Zexiang Xu, Fujun Luan, Leonidas Guibas, Gordon Wetzstein, and Sai Bi. Gaussian mixture flow matching models. In Forty-second International Conference on Machine Learning, 2025.arxiv.org/abs/2504.05304
- [9]Alexander I Cowen-Rivers, Wenlong Lyu, Rasul Tutunov, Zhi Wang, Antoine Grosnit, Ryan Rhys Griffiths, Alexandre Max Maraval, Hao Jianye, Jun Wang, Jan Peters, et al. HEBO: Pushing the limits of sample-efficient hyper-parameter optimisation. Journal of Artificial Intelligence Research, 2022.
- [10]David Eriksson, Michael Pearce, Jacob Gardner, Ryan D Turner, and Matthias Poloczek. Scalable global optimization via local Bayesian optimization. Advances in neural information processing systems, 2019.arxiv.org/abs/1910.01739
- [11]Roman Garnett. Bayesian optimization. Cambridge University Press, 2023.DOI
- [12]Javier Gonzalez, Zhenwen Dai, Philipp Hennig, and Neil D. Lawrence. Batch Bayesian optimization via local penalization. In Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, 2016.arxiv.org/abs/1505.08052
- [13]Trevor Hastings, Mrinalini Mukulkutla, Danial Khatamsaz, Daniel Salas, Wenle Xu, Daniel Lewis, Nicole Person, Matthew Skokan, Braden Miller, James Paramore, Brady Butler, Douglas Allaire, Vahid Attari, Ibrahim Karaman, George Pharr, Ankit Srivastava, and Raymundo Arróyave. Accelerated multi-objective alloy discovery through efficient Bayesian methods: Application to the fcc high entropy alloy space. Acta Materialia, 2025.DOI
- [14]Bing-Jing Hsieh, Ping-Chun Hsieh, and Xi Liu. Reinforced few-shot acquisition function learning for Bayesian optimization. Advances in Neural Information Processing Systems, 2021.arxiv.org/abs/2106.04335
- [15]Daolang Huang, Xinyi Wen, Ayush Bharti, Samuel Kaski, and Luigi Acerbi. ALINE: Joint amortization for Bayesian inference and active data acquisition. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.arxiv.org/abs/2506.07259
- [16]Yu Heng Hung, Kai-Jie Lin, Yu-Heng Lin, Chien-Yi Wang, Cheng Sun, and Ping-Chun Hsieh. BOFormer: Learning to solve multi-objective Bayesian optimization via non-markovian rl. In International Conference on Learning Representations, 2025.arxiv.org/abs/2505.21974
- [17]K irthevasan Kandasamy, Akshay Krishnamurthy, Jeff Schneider, and Barnabas Poczos. Parallelised Bayesian optimisation via thompson sampling. In Proceedings of the Twenty-First International Conference on Artificial Intelligence and Statistics, 2018.
- [18]Daniel Kelvin, Erik Kubaczka, Marianna Karava, Heinz Koeppl, and Beatrix Suess. Iterative design of a nan hybrid riboswitch by deep batch Bayesian optimization. Nucleic Acids Research, 2026.DOI
- [19]Aaron Lou and Stefano Ermon. Reflected diffusion models. In International Conference on Machine Learning, pp. 22675–22701. PMLR, 2023.arxiv.org/abs/2304.04740
- [20]Alexandre Max Maraval, Matthieu Zimmer, Antoine Grosnit, and Haitham Bou Ammar. End-to-end meta-Bayesian optimisation with transformer neural processes. In Thirty-seventh Conference on Neural Information Processing Systems, 2023.arxiv.org/abs/2305.15930
- [21]Samuel Müller, Matthias Feurer, Noah Hollmann, and Frank Hutter. PFNs4BO: In-context learning for Bayesian optimization. In International Conference on Machine Learning, 2023.arxiv.org/abs/2305.17535
- [22]Rafael Oliveira, Daniel M. Steinberg, and Edwin V. Bonilla. Generative Bayesian optimization: Generative models as acquisition functions. In The Fourteenth International Conference on Learning Representations, 2026.arxiv.org/abs/2510.25240
- [23]William Peebles and Saining Xie. Scalable diffusion models with transformers. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), 2023.arxiv.org/abs/2212.09748
- [24]Ali Rahimi and Benjamin Recht. Random features for large-scale kernel machines. In Advances in Neural Information Processing Systems, 2007.
- [25]Herilalaina Rakoatoarison, Steven Adriaensen, Tom Julian Viering, Carl Hvarfner, Samuel Müller, Frank Hutter, and Eytan Bakshy. α-PFN: Fast entropy search via in-context learning. In Forty-third International Conference on Machine Learning, 2026.
- [26]Carl Edward Rasmussen and Christopher K. I. Williams. Gaussian processes for machine learning. MIT Press, 2006.DOI
- [27]Stephane Ross, Geoffrey Gordon, and Drew Bagnell. A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the Fourteenth International Conference on Artificial Intelligence and Statistics, 2011.arxiv.org/abs/1011.0686
- [28]Felix Teufel, Carsten Stahlhut, and Jesper Ferkinghoff-Borg. Batched energy-entropy acquisition for Bayesian optimization. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024.arxiv.org/abs/2410.08804
- [29]Marcelo DT Torres, Yimeng Zeng, Fangping Wan, Natalie Maus, Jacob Gardner, and Cesar de la Fuente-Nunez. A generative artificial intelligence approach for peptide antibiotic optimization. Nature Machine Intelligence, 2026.DOI
- [30]Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 2017.arxiv.org/abs/1706.03762
- [31]James Wilson, Frank Hutter, and Marc Deisenroth. Maximizing acquisition functions for Bayesian optimization. Advances in neural information processing systems, 2018.arxiv.org/abs/1805.10196
- [32]James Wilson, Viacheslav Borovitskiy, Alexander Terenin, Peter Mostowsky, and Marc Deisenroth. Efficiently sampling functions from Gaussian process posteriors. In Proceedings of the 37th International Conference on Machine Learning, 2020.arxiv.org/abs/2002.09309
- [33]Adam X. Yang, Laurence Aitchison, and Henry Moss. MONGOOSE: Path-wise smooth bayesian optimisation via meta-learning. In ICML 2024 Workshop on Structured Probabilistic Inference & Generative Modeling, 2024.arxiv.org/abs/2302.11533
- [34]Rosen Yu, Cyril Picard, and Faez Ahmed. Git-bo: High-dimensional Bayesian optimization with tabular foundation models. In International Conference on Learning Representations, 2026.arxiv.org/abs/2505.20685
- [35]Taeyoung Yun, Kiyoung Om, Jaewoo Lee, Sujin Yun, and Jinkyoо Park. Posterior inference with diffusion models for high-dimensional black-box optimization. In Forty-second International Conference on Machine Learning, 2025.arxiv.org/abs/2502.16824
- [36]Ruqi Zhang, Xingchao Liu, and Qiang Liu. A langevin-like sampler for discrete distributions. In International Conference on Machine Learning, 2022.arxiv.org/abs/2206.09914
- [37]Xinyu Zhang, Daolang Huang, Samuel Kaski, and Julien Martinelli. PABBO: Preferential amortized black-box optimization. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2503.00924
