Manuscript Offprint

arXiv:2609.03177

Frontier LLMs are effective batch optimizers: Assessing reasoning models in continuous and discrete settings

Frank Hu, Shriram Chennakesavalu, David Graff

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

Abstract

Frontier large language models (LLMs) have become attractive priors for optimization due to their large-scale pretraining that enables them to navigate a variety of optimization settings. However, the effectiveness of modern reasoning LLMs in batch optimization settings remains underexplored. Here we investigate the performance of the current generation of frontier LLMs as batch optimizers in both continuous and discrete settings. We find that while LLMs are competitive zero-shot batch optimizers for numerical test functions, their performance is brittle compared to classical non-LLM optimization approaches. However, LLM priors are significantly better in semantically rich settings, indicating that their batch optimization behavior is highly effective when navigating and reasoning over the discrete spaces most similar in structure to their pretraining data.

1 Introduction

Frontier large language models (LLMs) have become increasingly powerful with each new generation due to the continued development of pretraining corpora and reinforcement learning protocols, instilling these models with exceptional reasoning capabilities that enable them to tackle lengthier and more complex tasks. This has made them attractive for a variety of applications, most notably in programming [1], mathematics [2], and more recently, scientific discovery [3, 4].

While this continued evolution in LLM capabilities is remarkable, it remains unclear how effective these models have become for black-box optimization (BBO) [5, 6] settings where the evaluation of a target objective function is expensive, rendering brute force optimization intractable. This is a ubiquitous scenario in scientific settings like small-molecule drug discovery where candidate evaluations for a proposed small-molecule design require a high investment of time and resources, meaning that the evaluation budget is highly restricted against a combinatorially complex design space [7, 8]. Much work has been done building specialist methods for BBO problems in both continuous and discrete settings and some work has been done investigating earlier iterations of LLMs on similar classes of problems [9–12], but it remains unclear how well the current generation of reasoning LLMs perform on batch optimization for both continuous and discrete settings. Gauging these capabilities would help better characterize the optimization behavior of policies based on these models while underscoring failure modes and directions for improvement.

In this work we investigate the performance of the Anthropic family of models (Sonnet 4.6 [13], Opus 4.8 [14], and Opus 5 [15]) as batch optimizers for a collection of continuous and discrete BBO tasks. For evaluation over a continuous search space, we use a set of well-known optimization functions of varying dimensionality, taking care to disguise their domains and ranges to minimize memorization exploitation from the model. For the discrete setting, we choose molecular optimization against the

Preprint.

set of oracles detailed in the practical molecular optimization (PMO) [16] benchmark. Molecular optimization lends itself easily to natural-language reasoning via the usage of SMILES [17] strings as the representation, and the deterministic oracles enable straightforward verification.

Overall, we find that frontier reasoning LLMs can be effective but brittle numerical optimizers, with performance that rivals classical Bayesian Optimization with a Gaussian process surrogate and an expected improvement acquisition function, but the general performance depends heavily on task transformations, dimensionality, and batch size. However, we show that in the discrete molecular optimization setting, the frontier reasoning LLMs are both highly performant and sample efficient, frequently beating specialist methods with only a fraction of the oracle sampling budget.

References (38)