betaFeedback

WorksMathematics

How Low Can You Go: Fine-Tuning LLMs with Bayesian Optimization (LlMBO)

Abstract

Recently, Morris et al. introduced TinyLoRA, a strategy for LLM fine-tuning which introduces arbitrarily few parameters, and demonstrated accuracy improvements using less than 1010 parameters rather than the ≳10,000{\gtrsim 10,000} typically demanded by LoRA-based methods. However, that study continued to use gradient-based local search methods of the kind deployed for training multi-billion parameter LLMs in the first place. This article is predicated on the observation that, in the low dimensional setting, global optimization methods become tractable, unlocking Large language Model Bayesian Optimization (LlMBO). LlMBO is sample-efficient, gradient-free, memory-light, parallelizes across devices without synchronization, and, unlike policy-gradient methods, can optimize greedy-decoding accuracy directly. We describe numerical experiments comparing LlMBO against GRPO on fine-tuning tasks for a variety of models on a math benchmark suite which show that LlMBO can be a suitable alternative in this regime, matching or exceeding GRPO's fine tuning gains, while using a fraction of the compute and memory.

Introduction

Reinforcement learning with verifiable rewards has become the standard recipe for teaching language models to reason. In this setting, we sample solutions to problems with checkable answers, reward the correct ones, and follow the policy gradient [26, 31]. Recent work shows how little of the

Figure 1. LIMBO against GRPO, evaluated both in terms of mean performance at temperature 1 on 4 trials (avg@4, open points) and via greedy decoding (filled). Gain over the base model (mean ±\pm s.e. over seeds) for runs with u≤8u \le8 trainable parameters (marker) and model family (color).

network this recipe has to change: TinyLoRA [22] expresses each weight update in a random subspace of the weight’s own top singular vectors and ties the coefficients across all layers; with only a handful of trainable parameters, even down to a single one, it retains much of the gain of full fine-tuning.

This ultra-low parameter scale opens the fine-tuning objective to optimizers other than gradient-based reinforcement learning. An optimization problem with a handful of variables and an expensive, noisy, black-box objective is the textbook setting for Bayesian optimization (BO, [7]). Seen from that perspective, a policy gradient is a heavy tool for TinyLoRA. To update just a few scalars, Group Relative Policy Optimization (GRPO) rescores every rollout, backpropagates through billions of weights and holds the optimizer state. Further, it also constrains the objective. GRPO requires sampled rollouts, so it optimizes accuracy at the sampling temperature, while the deployed model is often decoded greedily.

We introduce Large language Model Bayesian Optimization (LlMBO), replacing GRPO with trust-region BO (TuRBO, Eriksson et al. [6]) over the adapter parameters. Each candidate adapter is loaded into an inference engine and scored by the fraction of a random batch of training problems it solves. A Gaussian process (GP) on the logit of that pass rate proposes the subsequent batch of candidates. LlMBO is thus 1. sample efficient, since the GP pools every evaluation, 2. gradient-free and memory-light, since scoring is inference only, 3. parallelizable across devices with minimal synchronization, since a candidate is uu independent numbers and its score is a pass count, and 4. free in its decoding rule, so that, unlike a policy gradient, it can optimize greedy-decoding accuracy directly.

We compare LlMBO against GRPO on the same TinyLoRA adapter configurations, with the same SVD bases and random projections seed for seed, the same training data (Hendrycks et al. [9]) and GSM8K (Cobbe et al. [5]) and a matched number of generated completions. We trace how each approach scales as the adapter shrinks to a single parameter with LoRA and LoRA-XS under GRPO as references at larger scales. The comparison covers 10 models of the Qwen2.5, Llama 3, Mistral and DeepSeek families, in base, instruct and math variants from 1.5B to 8B parameters, comprising 2098 training runs in all, evaluated on 6 math reasoning benchmarks under a common harness. Our contributions are:

  • LlMBO, a gradient-free fine-tuning method for ultra-low-parameter adapters, with a moment-matched logit observation model for pass rates, a dimension-scaled lengthscale prior inside the trust region, and a search box set by how far GRPO could move each parameter (§ 4).

  • Evidence that LlMBO matches or exceeds GRPO’s fine-tuning gains at u≤4u \le4 trainable parameters on GRPO’s own objective and metric. This is reported per model group, with one 7-8B base model per family, the math-specialized models and the Qwen2.5 1.5B models (§ 5.2, Appendix § 9; the Instruct models in Appendix § 11). LlMBO leads GRPO on the Qwen2.5 7B base and Math models, is level elsewhere, leads pooled over the 7-8B models, and keeps its lead when the models train on MATH alone.

  • Training directly on greedy-decoding accuracy, which policy gradient cannot achieve (§ 5.3). Trained and evaluated greedily, LlMBO leads GRPO on greedy GSM8K at every u≤4u \le4 in every model group and is level or ahead on MATH-500. This is most clear on the math-specialized models. Seed for seed, training on greedy accuracy rather than on the pass rate at T=1T=1 raises greedy accuracy, a benefit of the free choice of objective afforded LlMBO.

  • Computational efficiency, as LlMBO utilizes a fraction of GRPO’s compute and memory (§ 5.4). LlMBO spends about 30% of GRPO’s training FLOPs; trained on greedy accuracy, it passes GRPO’s final greedy accuracy after 2k completions on average over the 7-8B models, where GRPO spends 101k. Further, it needs no memory beyond inference, so on a 24GB card it keeps 10–71 sequences in memory on all 7-8B architectures, while GRPO cannot fit even its 4-sequence micro-batch on 3 of them.

The anonymized code of LlMBO, the GRPO baseline, and the evaluation are in the Supplementary Material.

Related Literature

LoRA (Low-Rank Adaptation, Hu et al. (2022)) trains a low-rank update BABA per weight matrix. LoRA-XS (Balazy et al. [3]) freezes AA and BB to the weight’s truncated singular vectors and trains only an r×rr \times r matrix between them. TinyLoRA (Morris et al. [22]) expresses that matrix as a combination of uu many fixed random matrices and ties the uu coefficients across layers, thus allowing for a single trainable parameter. Under GRPO it retains most of the reasoning gain of full fine-tuning on Qwen2.5 models (see, e.g., Figure 2). The success of such small updates echoes the low intrinsic dimension of fine-tuning (Aghajanyan et al. [1]). We utilize the TinyLoRA’s update, simplify its weight tying to a single scaling axis (Appendix § 15.§ 2), and replace its optimizer.

Figure 2. TinyLoRA scaling laws under GRPO. Greedy (solid) and avg@4 (dashed) accuracy at the end of training under GRPO (mean ± s.e. over seeds) for TinyLoRA, LoRA-XS and LoRA as a function of trainable parameters. Results shown for Qwen2.5-7B, scaling for other model families can be found in Figure 15.

GRPO (Shao et al. [26]) estimates advantages by normalizing rewards within a group of rollouts for the same prompt, removing PPO’s value network (Schulman et al. [25]). SimpleRL-Zoo (Zeng et al. [31]) applies GRPO to base models of several families. We use training data tiers and prompts of SimpleRL-Zoo.

GP-based BO (Williams and Rasmussen [28]; ); Garnett [7]) is sample efficient in low dimensions but its global surrogate degrades as the dimension grows. TuRBO (Eriksson et al. [6]) restricts the search to a trust region around the incumbent that expands on success and shrinks on failure. Hvarfner et al. [12] show that scaling the lengthscale prior with D\sqrt{D} lets plain GP BO work in high dimensions. Utilizing BoTorch (Balandat et al. [2]), we leverage both. Our observation model, a Gaussian moment-matched to the logit of a Beta posterior, follows the same framework as Dirichlet-based GP classification (Milios et al. [21]). MeZO (memory-efficient zeroth-order optimizer, Malladi et al., [18]) fine-tunes models with zeroth-order SPSA gradient estimates from forward passes only. Evolution strategies have also been scaled to full-parameter reasoning fine-tuning (Qiu et al., [23]). Both still take many small steps in millions to billions of dimensions; LLMBO instead exploits a search space small enough for a global surrogate model.

Background

Gaussian-process Bayesian Optimization

The main goal in Bayesian optimization (BO) is to optimize an unknown function ff via only its evaluations:

max⁡xf(x).(1)\max_x f(x). \tag*{(1)}

To this end, BO provides a way to select locations at which to evaluate ff. It is, thus, useful to envision ff as being expensive to evaluate so that grid searches become infeasible. Given a set of locations X={x1,x2,…,xT}X = \{x_1, x_2, \ldots, x_T\} and evaluations Y={f(x1),f(x2),…,f(xT)}Y = \{f(x_1), f(x_2), \ldots, f(x_T)\}, BO provides a way to select the best next evaluation location. In BO, we typically assume that ff can be modeled by a Gaussian Process (GP) as g∼GP(0,k)g \sim\mathcal{GP}(0, k) where kk is the covariance function and conditioning on noisy observations yn=g(θn)+ϵny_n = g(\theta_n) + \epsilon_n, ϵn∼N(0,σ2)\epsilon_n \sim\mathcal{N}(0, \sigma^2). With K=[k(θn,θm)]nmK = [k(\theta_n, \theta_m)]_{nm}, Λ=diag⁡(σ2)\Lambda= \operatorname{diag}(\sigma^2) and k(θ)=[k(θ,θn)]nk(\theta) = [k(\theta, \theta_n)]_n, the posterior is also a GP with (Williams and Rasmussen, [28])

μ(θ)=k(θ)⊤(K+Λ)−1y,(2)\mu(\theta) = k(\theta)^\top(K + \Lambda)^{-1} y, \tag*{(2)}
k′(θ,θ′)=k(θ,θ′)−k(θ)⊤(K+Λ)−1k(θ′).k'(\theta,\theta') = k(\theta,\theta') - k(\theta)^\top(K + \Lambda)^{-1} k(\theta').

LoRA and low-parameter variants

For a frozen weight W∈Rd×kW \in\mathbb{R}^{d \times k}, LoRA (Hu et al., 2022) trains a low-rank update,

W′=W+αrBA,B∈Rd×r, A∈Rr×k,(3)W' = W + \frac{\alpha}{r}BA,\qquad B \in\mathbb{R}^{d \times r},\ A \in\mathbb{R}^{r \times k}, \tag*{(3)}

with scale α\alpha, AA initialized at random and B=0B = 0, so that training starts from the base model. It trains r(d+k)r(d+k) parameters per weight matrix, which is significantly lower than full fine tuning, achieving comparable performance. However, for a 7B model this means millions of trainable parameters, even at r=1r = 1.

LoRA-XS (Balazy et al., [3]) instead takes the rank-rr SVD W≈UΣV⊤W \approx U\Sigma V^\top, freezes both factors and trains only a small matrix RR between them,

W′=W+UΣRV⊤,R∈Rr×r,(4)W' = W + U\Sigma R V^\top,\qquad R \in\mathbb{R}^{r \times r}, \tag*{(4)}

which contributes r2r^2 trainable parameters per weight matrix, independent of dd and kk. This significantly reduces the trainable parameters (a few thousand at the lowest) while retaining much of LoRA’s performance.

TinyLoRA (Morris et al., [22]) goes further and expresses RR as a combination of fixed random matrices,

W′=W+UΣ(∑i=1uviPi)V⊤,(5)W' = W + U\Sigma\left(\sum_{i=1}^{u} v_i P_i\right)V^\top, \tag*{(5)}

with frozen random matrix Pi∈Rr×rP_i \in\mathbb{R}^{r \times r}, Pi∼N(0,1)P_i \sim\mathcal{N}(0,1) entrywise, drawn independently for every module, and a single coefficient vector θ=v∈Ru\theta= v \in\mathbb{R}^{u} shared by every attention and MLP projection of the network (full weight tying; Appendix H.2). The adapter has uu trainable parameters, and θ=0\theta= 0 is the base model. We use r=2r = 2 throughout.

GRPO

For each training prompt qq, GRPO samples a group of GG completions o1,…,oGo_1,\ldots,o_G from the current policy at temperature T=1T = 1, scores each with a binary correctness reward RjR_j, and uses the group-normalized advantage

Aj=Rj−mean⁡(Rj)std⁡(Rj)(6)A_j = \frac{R_j - \operatorname{mean}(R_j)}{\operatorname{std}(R_j)} \tag*{(6)}

in a clipped importance-weighted objective,

J(θ)=Eq,{oj}1G∑j=1G1∣oj∣∑t=1∣oj∣min⁡(ρj,tAj,ρ^j,tAj),\mathcal{J}(\theta) = \mathbb{E}_{q,\{o_j\}} \frac{1}{G}\sum_{j=1}^{G}\frac{1}{|o_j|}\sum_{t=1}^{|o_j|}\min\left(\rho_{j,t}A_j,\widehat{\rho}_{j,t}A_j\right),

where ρj,t=πθ(oj,t∣q,oj,<t)/πθold(oj,t∣q,oj,<t)\rho_{j,t} = \pi_\theta(o_{j,t}\mid q,o_{j,<t})/\pi_{\theta_{\mathrm{old}}}(o_{j,t}\mid q,o_{j,<t}) and ρ^j,t=clip⁡(ρj,t,1−ϵ,1+ϵ)\widehat{\rho}_{j,t} = \operatorname{clip}(\rho_{j,t},1-\epsilon,1+\epsilon) for ϵ>0\epsilon> 0. Each step needs the rollouts, a forward pass of the policy for the old log-probabilities, and a bidirectional pass for the gradient.

Proposed Method

The Black-box

Our goal is to maximize the adapted model’s pass rate, however defined, on the training distribution:

f(θ)=Pr⁡q∼D, o∼πθ(⋅∣q)[o answers q correctly],(7)f(\theta) = \Pr_{q\sim\mathcal{D},\,o\sim\pi_\theta(\cdot\mid q)}[o\text{ answers }q\text{ correctly}], \tag*{(7)}

where oo is either one completion sampled at T=1T = 1 (the rollout distribution on which GRPO trains) or the greedy completion (the decoding rule of deployment), and D\mathcal{D} represents the training data.

One completion per prompt is the most informative use of a fixed budget: completions of the same prompt are correlated, so GG of them carry the information of fewer than GG independent ones (Appendix E.2). In our numerical study, LlMBO therefore scores each candidate on one completion per prompt, while GRPO needs a group of G≥2G \ge2 completions per prompt to estimate advantages and uses G=4G = 4. Since a policy gradient needs sampled rollouts, GRPO cannot optimize the (piecewise-constant in θ\theta) greedy objective and is always trained on the pass rate at T=1T = 1, whereas LlMBO is trained on the objective that matches the metric it is evaluated on.

The training objective for a candidate θ\theta involves returning the number of solutions ss out of nn attempted prompts, which may be profitably conceived as binomial distribution. However, inference on stochastic processes with a binomial outcome is considerably harder than Gaussian process inference, which motivates a Gaussian approximation. But for some models on some benchmarks, pass rates will lie near 0 or 1, making the standard Gaussian approximation poor for smaller nn. We therefore deploy at the batch-level a Bayesian Uniform-prior Binomial analysis to estimate the mean and variance associated with a batch. Under such an analysis, the batch-level posterior takes form Beta⁡(α,β)\operatorname{Beta}(\alpha,\beta) for α=1+s\alpha= 1+s and β=1+n−s\beta= 1+n-s. We transform this posterior via the logit function to achieve a real-valued quantity suitable for Gaussian process interpolation. The posterior mean and variance in logit space are given by:

μ^=ψ(α)−ψ(β),σ^2=ψ1(α)+ψ1(β),(8)\hat{\mu} = \psi(\alpha)-\psi(\beta), \qquad\hat{\sigma}^{2} = \psi_1(\alpha)+\psi_1(\beta), \tag*{(8)}

with ψ\psi the digamma and ψ1\psi_1 the trigamma function. We add a learned noise floor to the GP for prompt-to-prompt variation not captured by this intra-prompt standard error. Appendix I.5 compares this scheme with a classical Gaussian approximation.

The bb candidates of a batch (one by default) are scored in one call of a vLLM engine [14], each attached as its own LoRA adapter. Subsequently, μ^\hat{\mu} is then treated as the black-box response yy and σ^2\hat{\sigma}^2 as its standard error, both of which are added to the GP training data and the model refit. The GP runs on CPU while the GPU only runs the inference engine. A candidate θ\theta consists merely of uu floating point numbers and its integer paper count, so the prompts of a batch, and for b>1b>1 its candidates, can be spread over devices with only these scalars exchanged.

BO Strategy

We fit a GP using a Matérn 5/25/2 kernel with one length-scale per dimension on inputs rescaled to the unit cube and standardized outputs following BO best practices [27]. Following Harfner et al. (2024), we endow the lengthscales with a Lognormal prior LogNormal⁡(2+log⁡(LD),3)\operatorname{LogNormal}(\sqrt{2}+\log(L\sqrt{D}),\sqrt{3}) with D=uD=u and LL defined in next paragraph. Hyperparameters are fit by maximization a posteriori.

Our acquisition strategy is based on TuRBO-1 [6], which involves searching within a trust region. A trust region is a subset of the search space given by a box centered at the current design point with the highest posterior mean, with each side length given by a common constant LL subsequently scaled by that dimension’s lengthscale in the Matérn kernel. After each observation from the black box, we perform the following iteration. First, we refit the GP, which also updates the size of the trust region. Then, to form each element of the batch, we perform Thompson sampling over a Sobol set of candidate locations inside the trust region and selects the maximizing argument for inclusion in the batch.

Following Eriksson et al. [6], we update the common trust region length LL on the basis of success of the search: if the most recent observation improved on the incumbent value, that is labeled a success, and if not, a failure. Three consecutive successes doubles LL, ⌈max⁡(4,D)/b⌉\lceil\max(4, D)/b \rceil consecutive failures halve it, and when LL falls below 0.50.5 the region restarts from a fresh Sobol design. However, Eriksson et al. [6] was developed for noiseless simulators, and in our noisy setting the value of the most recent observation is insufficient for determining success or failure. We therefore instead define a success to be a batch whose posterior mean improves on the posterior mean of previously evaluated design points. We also use the trust-region side LL in the lognormal prior such that it matches the region that the GP models.

Finally, we must define our search space over θ\theta values. We do this by considering the effective search space of a policy gradient method, which only a neighborhood of θ=0\theta= 0 in its budget. With Adam, each coordinate moves by at most approximately the learning rate η\eta per step, so after SS steps ∣θi∣≲ηS\lvert\theta_i\rvert\lesssim\eta S. We therefore use the box [−ηS,ηS]u[-\eta S, \eta S]^u with GRPO’s η\eta and SS as the bound for BO, making the effective search regions commensurable.

Experimental Results

Experimental setup

We fine-tune 10 models from four families: Qwen2.5 1.5B and 7B (Qwen Team, [24]) in their base, Math (Yang et al., [29]) and Instruct variants, Llama3.1-8B (Llama Team, [17]), Mistral-7B (Jiang et al., [13]), DeepSeek-7B (Bi et al., 2024) and DeepSeek-Math-7B (Shao et al., [26]), all with the SimpleRL-Zoo prompt templates (Zeng et al., [31]). Training problems come from Hendrycks MATH (Hendrycks et al., [9]) and GSM8K (Cobbe et al., [5]), split into the SimpleRL-Zoo difficulty tiers. The 1.5B models train on the easy tier (GSM8K and MATH level 1) and the 7-8B models on the hard tier (MATH levels 3-5). We also propose an ablation (Appendix § 14) where the four Qwen2.5 base and Math models are trained on the full MATH training set, evaluating the effect of distribution shifts introduced by the SimpleRL-Zoo setup. No training set contains any of the MATH-500 or GSM8K test problems.

TinyLoRA (r=2r = 2) runs at u∈{1,2,4,8,16,64,256}u \in\{1, 2, 4, 8, 16, 64, 256\} trainable parameters under GRPO and at u≤8u \le8 trainable parameters under LIMBO. We, further, include LIMBO at u∈{16,64,256}u \in\{16, 64, 256\} in Appendix § 9.§ 3. As references at larger scales, LoRA and LoRA-XS at rank r∈{1,2,8,32}r \in\{1, 2, 8, 32\} are run under GRPO, from hundreds of trainable parameters (LoRA-XS, r=1r = 1) to tens of millions (LoRA, r=32r = 32). Appendix § 15 details the parameterization and the weight tying and how both depart from Morris et al. [22]. Figure 2 places TinyLoRA on this scale.

On Qwen2.5-7B, GRPO with u=4u = 4 parameters already gains +6.9 points on MATH-500 avg@4 and with u=256u = 256 it gains +16.9. Notably this latter gain is over half of LoRA’s +28.5 with 81M parameters at r=32r = 32. Qwen2.5-Math-7B scales similarly (+8.5, +21.7 and +30.4 points), while the Instruct model leaves little to gain at any scale (+2.9 under LoRA). Figure 15 displays every model (Appendices H.3 and D).

Figure 15. Greedy (solid) and avg@4 (dashed) accuracy at the end of training against trainable parameters under GRPO, for every model (rows, in three blocks: the one 7-8B base model per family; the two math-specialized 7B models; Qwen2.5-7B-Instruct and the Qwen2.5 1.5B models, which train on the easy tier), on each benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks right of the dotted line), each panel on its own accuracy axis: LoRA and LoRA-XS at r∈{1,2,8,32}r \in\{1, 2, 8, 32\}, TinyLoRA at u∈{1,…,256}u \in\{1, \ldots, 256\}. Gray: the base model, in the same line style. Mean ±\pm s.e. over seeds.

GRPO takes 64 prompts × 4 rollouts at T=1T = 1 per step, with the binary math-verify correctness reward, no KL penalty, clip parameter ϵ=0.2\epsilon= 0.2 and a dual clip at δ=2\delta= 2 that keeps the loss bounded (Appendix I.7). The optimizer used is AdamW 8-bit with a constant learning rate after 10 warm-up steps (10−3/u10^{-3}/\sqrt{u} for TinyLoRA, 10−3/r10^{-3}/r for LoRA-XS, 5⋅10−65 \cdot10^{-6} for LoRA). Prompts are capped at 512 tokens and completions at 1024. Each LlMBO batch generates the same 256 completions as a GRPO step, one candidate on n=256n = 256 prompts (b=1b = 1), and LlMBO runs as many GP-guided

batches as GRPO takes steps, plus its initial and restart designs. It scores candidates on the pass rate under the decoding rule of the evaluation metric: at T=1T = 1, GRPO’s own objective, for avg@4, and greedily for greedy accuracy (§ 5.3; Appendix § 11.§ 3 compares the two objectives seed for seed). An ablation with b=4b = 4 spreads the same 256 completions over four candidates on n=64n = 64 prompts each, testing whether evaluating more adapters per completion makes the search more completion-efficient (Appendix § 13).

LlMBO seed kk uses the SVD bases and random projections of GRPO seed kk, pinned so that they do not depend on the GPU model (Appendix § 16.§ 6). The two runs of a seed thus differ only in the optimizer, and every comparison is paired by seed. Experiments at u≤4u \le4 use 8 seeds for GRPO and for LlMBO at b=1b = 1 and b=4b = 4. Every other experiment uses 3 seeds.

We evaluate on MATH-500 (Lightman et al., [16]), GSM8K, AIME24 [20], AMC23 [19], Minerva Math [15], and OlympiadBench (He et al., 2024) with one harness, the math-verify grader and the 1024-token completion budget of training for every model. MATH-500 and GSM8K are the in-distribution tasks. MATH-500 is drawn from the distribution of every training set; GSM8K is part of the easy tier and a same-domain, easier task for the 7–8B models. The four competition benchmarks measure out-of-distribution (OOD) generalization. These are small datasets composed of 30–675 problems each and are much harder problems that differ significantly from the ones found in the training set.

We report two metrics 1. avg@4\mathit{avg}@4, the accuracy averaged over four completions at T=1T = 1 and 2. greedy accuracy, that of the single completion at T=0T = 0. Here avg@4\mathit{avg}@4 is the headline metric, it is the expected accuracy at T=1T = 1 that both optimizers train on. So, objective, rollout distribution and metric match, and the comparison isolates the optimizer. Greedy accuracy is the accuracy of the model as usually deployed, which LIMBO can optimize directly (§ 5.3). Every number is reported per benchmark and per uu, as mean ± standard error over seeds or, for paired gaps LIMBO − GRPO, over seed pairs. Greedy evaluations at intermediate checkpoints (steps 1, 2, 4, . . .) trace accuracy against completions generated.

Results

Table 1 gives the paired gap LIMBO − GRPO per model at u=1,2,4u = 1, 2, 4 on all six benchmarks, in avg@4\mathit{avg}@4 and in greedy accuracy, with each model group closed by its average row. This section discusses avg@4\mathit{avg}@4, the objective both optimizers train on; § 5.3 turns to greedy accuracy. Appendix B gives the full per-model analysis: the gains of both optimizers over the base model and their paired gap at every uu (Figure 5 and Figure 6, Table 4).

GSM8KMATH-500AIME24AMC23MinervaOlympiad
(a) avg@4
uGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\Delta
Llama3.1 base14.55.40.03.12.81.5
1+0.3 / +0.7 / +0.4 ± 0.2−0.3 / −0.5 / −0.1 ± 0.2+0.1 / +0.0 / −0.1 ± 0.1−0.2 / +0.5 / +0.6 ± 1.1−0.6 / −0.8 / −0.2 ± 0.2+0.0 / +0.0 / +0.0 ± 0.1
2+0.8 / +0.8 / +0.0 ± 0.4−0.1 / −0.2 / −0.1 ± 0.1+0.0 / +0.2 / +0.2 ± 0.1+0.2 / +0.8 / +0.5 ± 0.6−0.8 / −0.6 / +0.1 ± 0.2+0.0 / +0.0 / +0.0 ± 0.1
4+1.4 / +1.2 / −0.2 ± 0.3−0.3 / +0.1 / +0.4 ± 0.3+0.0 / +0.1 / +0.1 ± 0.1+0.2 / +0.2 / +0.1 ± 0.7−0.6 / −0.4 / +0.3 ± 0.3+0.1 / +0.1 / −0.1 ± 0.1
8+1.4 / +2.5 / +1.1 ± 1.1+0.3 / −0.1 / −0.4 ± 0.5+0.3 / +0.3 / +0.0 ± 0.0−0.4 / +0.2 / +0.6 ± 1.0−0.6 / −0.6 / −0.1 ± 0.1−0.1 / −0.2 / −0.1 ± 0.1
16+2.8 / +1.9 / −0.9 ± 1.3+0.5 / −0.1 / −0.5 ± 0.6+0.6 / +0.6 / +0.0 ± 0.5−0.8 / −0.6 / +0.2 ± 1.1−0.3 / −0.2 / +0.1 ± 0.3−0.1 / +0.1 / +0.2 ± 0.1
Mistral base8.53.40.01.92.51.1
1−0.5 / −0.5 / +0.0 ± 0.2+0.2 / +0.4 / +0.3 ± 0.2+0.1 / +0.0 / −0.1 ± 0.1+0.2 / +0.2 / −0.1 ± 0.4−0.9 / −0.7 / +0.1 ± 0.2−0.1 / +0.0 / +0.1 ± 0.1
2−0.4 / −0.1 / +0.2 ± 0.3+0.2 / +0.4 / +0.2 ± 0.2+0.0 / +0.2 / +0.2 ± 0.1+0.5 / +1.0 / +0.5 ± 0.6−1.1 / −0.6 / +0.4 ± 0.2+0.0 / −0.1 / +0.0 ± 0.1
4−0.6 / +0.0 / +0.6 ± 0.4+0.2 / +0.3 / +0.1 ± 0.2+0.0 / +0.1 / +0.1 ± 0.1−0.2 / +0.0 / +0.2 ± 0.3−0.6 / −0.8 / −0.1 ± 0.2−0.1 / −0.1 / +0.0 ± 0.1
8−0.5 / +0.1 / +0.6 ± 1.2+0.4 / +0.2 / −0.3 ± 0.3+0.0 / +0.3 / +0.3 ± 0.3+0.2 / +0.2 / +0.0 ± 1.1−0.6 / −0.5 / +0.2 ± 0.6−0.2 / −0.1 / +0.1 ± 0.2
16−0.3 / −2.6 / −2.3 ± 1.1+0.1 / +0.0 / −0.1 ± 0.2+0.3 / +0.3 / +0.0 ± 0.5+0.6 / +0.0 / −0.6 ± 0.7−0.5 / −1.3 / −0.8 ± 0.5+0.0 / −0.3 / −0.3 ± 0.1
DeepSeek base1.51.10.00.60.30.6
1−0.6 / −0.2 / +0.4 ± 0.3+0.2 / +0.2 / +0.0 ± 0.3+0.0 / +0.0 / +0.0 ± 0.0+0.0 / +1.6 / +1.5 ± 0.8+0.4 / +0.3 / +0.0 ± 0.2−0.1 / +0.1 / +0.4 ± 0.3
2−0.6 / −0.4 / +0.2 ± 0.1+0.0 / +0.1 / +0.2 ± 0.1+0.0 / +0.1 / +0.1 ± 0.1+0.5 / …
(b) greedy
uGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\DeltaGRPO / LlMBO / Δ\Delta
Llama3.1 base43.916.40.05.07.42.8
1+1.2 / +2.2 / +1.1 ± 0.5−0.3 / +0.1 / +0.1 ± 0.1+0.0 / +0.0 / +0.0 ± 0.0−1.6 / +0.0 / +2.5 ± 0.0−1.2 / −0.7 / +0.5 ± 1.0−0.4 / +0.0 / +0.2 ± 0.3
2+1.5 / +2.2 / +0.5 ± 0.4−0.4 / +0.3 / +0.2 ± 0.3+0.0 / +0.0 / +0.0 ± 0.0−2.2 / +0.0 / +2.5 ± 1.0−1.2 / −0.0 / −0.2 ± 0.6−0.4 / −0.5 / −0.1 ± 0.6
4+1.4 / +2.7 / +1.2 ± 0.8+0.1 / +1.2 / +1.5 ± 1.0+0.0 / +0.0 / +0.0 ± 0.0−1.6 / −1.7 / +0.0 ± 1.4−1.5 / −2.0 / +0.0 ± 1.0−0.4 / −0.4 / +0.0 ± 0.2
8+0.9 / +2.2 / +1.3 ± 0.9+0.3 / +0.7 / +0.3 ± 0.5+0.0 / +0.0 / +0.0 ± 0.0−2.5 / −3.3 / −0.8 ± 0.8−2.7 / −1.2 / +1.5 ± 1.9−0.3 / −0.2 / +0.1 ± 0.8
16+0.7 / +2.9 / +2.4 ± 0.4+0.1 / +0.8 / +0.9 ± 0.5+0.0 / +0.0 / +0.0 ± 0.0−1.7 / −1.7 / +0.5 ± 0.5−1.6 / −1.5 / +0.1 ± 0.9+0.0 / −0.4 / −0.4 ± 0.3

Table 4. Avg@4 (a) and greedy (b) accuracy at the end of training, for the four vanilla base models, then the two math-specialized ones (row blocks), per u≤16u \le16 (rows) and benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks); LlMBO is trained on the metric of each subtable (greedy: § 5.3). base: accuracy of the base model in that metric (%). GRPO, LlMBO: gain over the base model (points), mean over seeds (GRPO and avg@4-trained LlMBO 8 per cell at u≤4u \le4 and 3 at u=8,16u = 8, 16, greedy-trained LlMBO 3 per cell); bold: the larger, unless tied. Δ\Delta: paired gap LlMBO − GRPO, mean ± s.e. over the seed pairs both have, so it can differ from the difference of the two gains; tint: its sign and size (green: LlMBO ahead).

Figure 5. Gain over the base model of LIMBO against GRPO’s, in avg@4 and in greedy accuracy (color; greedy filled, avg@4 open), LIMBO trained on the metric of each point, for the one 7-8B base model per family and the two math-specialized 7B models (rows, in two blocks) on each benchmark (columns), each panel on its own axes. Training uses GSM8K and MATH: the left two columns are in-distribution, the four benchmarks right of the dotted line out-of-distribution. One point per u≤4u \le4 (marker), mean ±\pm s.e. over seeds. Points in the shaded half above the diagonal favor LIMBO; dashed: no gain.

Figure 6. Paired gap LlMBO − GRPO in avg@4 and in greedy accuracy (color), LlMBO trained on each metric, against u∈{1,…,16}u \in\{1, \ldots, 16\}, mean ±\pm s.e. over seed pairs, for the one 7–8B base model per family and the two math-specialized 7B models (rows, in two blocks), one column per benchmark (in-distribution GSM8K and MATH-500 first, then the four out-of-distribution benchmarks), each panel on its own gap axis. Solid, filled: b=1b = 1 candidate per batch (the default); dashed, open: the b=4b = 4 ablation.

Pooled over the four vanilla base models, one per family (Figure 3), LIMBO leads GRPO at every u≤4u \le4: by +0.6 ± 0.3, +1.4 ± 0.5, and +0.9 ± 0.5 points on GSM8K at u=1,2,4u = 1, 2, 4, and by +0.3 ± 0.3, +1.3 ± 0.5, and +1.0 ± 0.4 on MATH-500. Over the two math-specialized models the lead increases to +2.6 ± 1.4 and +3.0 ± 1.2 points on GSM8K at u=2,4u = 2, 4 and +1.4 ± 1.0 and +2.0 ± 0.9 on MATH-500. Over the two Qwen2.5 1.5B models the optimizers are level (Appendix § 10). These performance gains are with the same objective, rollout distribution, and metric as GRPO, so LIMBO is, thus, at least as good an optimizer in the ultra-low-parameter regime, and a better one where the random subspace sampled contains a gain to be had.

Figure 3. Gain over the base model of LIMBO against that of GRPO on the in-distribution benchmarks, for the four vanilla base models; avg@4 (open) and greedy accuracy (filled), one point per u≤4u \le4 (marker), mean ±\pm s.e. over seeds. LIMBO (b=1b = 1) is trained on the metric of each point; points in the shaded half favor LIMBO. Every model and benchmark in Figure 5.

This is the case for the two Qwen2.5 7B models (Figure 2). On Qwen2.5-7B, LIMBO gains +5.8, +7.1,

and +10.3 points on MATH-500 at u=1,2,4u = 1, 2, 4, against GRPO’s +4.8, +2.2, and +6.9, with a paired gap of +4.8 ± 1.4 at u=2u = 2. On Qwen2.5-Math-7B its paired gap at u=4u = 4 is +5.2 ± 2.1 on GSM8K and +3.6 ± 1.7 on MATH-500. On both models the lead carries over to most OOD benchmarks (Appendix § 9.§ 4), and it holds when they train on the full MATH training set instead of the hard tier. Pooled over the two, LIMBO’s paired gap on MATH-500 is then +2.0 ± 0.9 and +1.6 ± 0.9 points at $u = 2, 4 ({xref}Appendix G). On Llama3.1-8B, Mistral-7B and DeepSeek-7B, whose TinyLoRA subspace holds little, and on the Qwen2.5 1.5B models, LIMBO is level with GRPO. That is, where there is little to find, it gives up nothing. On the already RL-tuned instruct models neither optimizer gains enough to differentiate a gain from noise ({xref}Appendix D`).

LIMBO leads where a GP can cover the search space within the budget. For u=8u = 8, Qwen2.5-7B’s MATH-500 lead is gone (−1.0 ± 2.2), while Qwen2.5-Math-7B stays ahead (+7.9 ± 1.7 on GSM8K). At u∈{64,256}u \in\{64, 256\}, with the evaluation budget used at u≤16u \le16, LIMBO is not yet robust: pooled over the Qwen2.5 7B models its paired gap on MATH-500 is −1.6 ± 2.3 and −4.7 ± 2.2 points, with single seed pairs as low as −9.5 (Appendix § 9.§ 3).

Training on greedy decoding directly

GRPO needs sampled rollouts, so it optimizes accuracy at the sampling temperature, while a deployed model is often decoded greedily. LIMBO only needs objective values, so it can score candidates on greedy accuracy itself, a piecewise-constant function of the adapter that no policy gradient can follow. Here LlMBO trains on greedy accuracy, GRPO trains as before, and both are evaluated greedily (greedy columns of Table 1; per model in Appendix B).

uuModelGSM8K avg@4GSM8K greedyMATH-500 avg@4MATH-500 greedyAIME24 avg@4AIME24 greedyAMC23 avg@4AMC23 greedyMinerva avg@4Minerva greedyOlympiad avg@4Olympiad greedy
1Llama3.1-8B+0.4+1.1−0.1+0.1−0.1+0.0+0.6+2.5−0.2+0.5+0.0+0.2
1Mistral-7B+0.0+0.7+0.3−0.1−0.1+0.0−0.1−0.8+0.1−0.1+0.1+0.0
1DeepSeek-7B+0.4+1.2+0.0+0.6+0.0+0.0+1.5+0.0+0.0+0.2+0.4+0.1
1Qwen2.5-7B+1.5+0.8+1.0+0.1+0.5−4.4+1.2+5.8+0.9+0.6−0.1+1.0
1Avg+0.6+0.9+0.3+0.1+0.1−1.2+0.7+2.0+0.2+0.3+0.0+0.3
1DeepSeek-Math-7B+0.2+5.6−0.4−1.1−0.1+1.1−0.5+5.0−0.7+0.2+0.1+0.5
1Qwen2.5-Math-7B+0.4+5.9+1.1+3.4−2.6−1.1−3.0−0.8+0.0+2.3+0.5+5.5
1Avg+0.3+5.8+0.3+1.1−1.4+0.0−1.7+2.1−0.4+1.3+0.3+3.0
2Llama3.1-8B+0.0−0.1−0.1+0.2+0.2+0.0+0.5+2.5+0.1−0.2+0.0−0.1
2Mistral-7B+0.2+0.8+0.2+0.6+0.2+0.0+0.5+1.7+0.4+0.1+0.0−0.2
2DeepSeek-7B+0.2+0.6+0.2+1.1+0.1+0.0−0.1+0.0+0.0+0.1+0.1+0.0
2Qwen2.5-7B+4.9−1.0+4.8+1.1+0.3+5.6+4.6+1.7+2.8−3.3+3.6+2.5
2Avg+1.4+0.1+1.3+0.8+0.2+1.4+1.4+1.5+0.9−0.8+0.9+0.5
2DeepSeek-Math-7B+0.3+1.9+0.1+0.9+0.0−1.1+0.1+4.2+0.3−0.5+0.0+0.5
2Qwen2.5-Math-7B+4.9+3.7+2.7−0.5−0.4−2.2+3.7+3.3+0.6+1.7+1.5+0.6
2Avg+2.6+2.8+1.4+0.2−0.2−1.7+1.9+3.8+0.5+0.6+0.8+0.6
4Llama3.1-8B−0.2+1.2+0.4+1.5+0.1+0.0+0.1+0.0+0.3+0.0−0.1+0.0
4Mistral-7B+0.6+1.6+0.1+0.3+0.1+0.0+0.2+0.0−0.1+0.1+0.0−0.1
4DeepSeek-7B+0.4+0.0+0.2+0.3+0.2+0.0+1.3+0.0+0.0+0.1+0.4−0.1
4Qwen2.5-7B+2.9−0.6+3.5+3.2+0.5−1.1+3.4−2.5+0.2+0.1+1.6+0.5
4Avg+0.9+0.5+1.0+1.3+0.2−0.3+1.2−0.6+0.1+0.1+0.5+0.0
4DeepSeek-Math-7B+0.7+5.5+0.5+2.5−0.1+2.2+0.2+0.0+0.1−0.9−0.1+1.6
4Qwen2.5-Math-7B+5.2+9.7+3.6+2.3−0.7+1.1+2.9+5.0+1.9+2.6+1.8+5.3
4Avg+3.0+7.6+2.0+2.4−0.4+1.7+1.6+2.5+1.0+0.9+0.8+3.5

Table 1. Paired gap LlMBO − GRPO (points) per model (rows) at u=1,2,4u = 1, 2, 4 and benchmark (columns), mean over seed pairs; green: LlMBO ahead. avg@4: accuracy averaged over four completions at T=1T=1; greedy: accuracy of the greedy completion (§ 5.3); LlMBO is trained on the metric of each column. One row block per uu, each listing the four vanilla base models and the two math-specialized ones, each group closed by its Avg row. Standard errors and u≤16u \le16 in Table 4; the Qwen2.5 1.5B and Instruct models in Appendices C and D.

Pooled over the four vanilla base models, LlMBO leads GRPO on greedy MATH-500 at u=2,4u = 2, 4, by +0.8±0.2+0.8\pm0.2 and +1.3±0.4+1.3 \pm0.4 points, and on greedy GSM8K at u=1,4u = 1, 4, by +0.9±0.3+0.9\pm0.3 and +0.5±0.4+0.5\pm0.4, and is level elsewhere. The lead is largest on the math-specialized models: +5.8±2.8+5.8\pm2.8, +2.8±3.1+2.8\pm3.1, and +7.6±5.4+7.6\pm5.4 points on greedy GSM8K pooled over the two 7B models and +7.4±4.1+7.4\pm4.1, +27.3±9.0+27.3 \pm9.0, and +7.2±2.2+7.2 \pm2.2 on Qwen2.5-Math-1.5B at u=1,2,4u = 1, 2, 4 (Appendix C).

Blocking over seeds, LlMBO trained on greedy accuracy beats LlMBO trained on the pass rate at T=1T = 1 in greedy accuracy at u=4u = 4, by +3.2±1.3+3.2 \pm1.3 points on greedy GSM8K over the vanilla models and +4.2±2.7+4.2\pm2.7 over the math models (Appendix D.3). The decoding rule is thus a free choice of objective for LlMBO: a model that will be decoded greedily can be trained for greedy decoding directly.

Compute and memory efficiency

LlMBO reaches these gains with a fraction of GRPO’s compute, completions, and memory (Appendix E).

Each completion costs LlMBO one forward pass per token, and it fits its GP on the CPU. GRPO also rescores every completion and passes it forward and backward through the model, at least 4 forward passes per token in all, so over a median run LlMBO spends about 30% of GRPO’s training FLOPs.

Averaged over the four 7-8B families and u≤4u \le4, LlMBO trained on greedy accuracy passes GRPO’s final greedy accuracy after 2k completions on GSM8K and 2k on MATH-500, where a median GRPO run generates 101k (Figure 4). It ends +2.6 and +1.6 points above the base model, against GRPO’s +1.1 and +1.0. On Qwen2.5-Math-1.5B at u=2u = 2 it passes GRPO’s final accuracy with its first GP-guided batch, 256 completions (Figure 11).

Figure 4. LIMBO against GRPO, gain over the base model in greedy accuracy as a function of training completions generated, on GSM8K (solid) and MATH-500 (dashed, open markers). Mean ± s.e. over seeds, averaged over u≤4u \le4 and the four 7–8B model families; circles mark where LIMBO passes GRPO’s final gain (dotted) for good. Each model and uu separately in Figure 11.

Figure 11. Gain of the current adapter over the base model, in greedy accuracy against training completions generated so far, on the two in-distribution tasks at u∈{1,2,4}u \in\{1, 2, 4\} (columns), for every model (rows) trained on the SimpleRL-Zoo tiers, mean ±\pm s.e. LlMBO (b=1b = 1) is trained on greedy accuracy (§ 5.3); its adapter at each point is its evaluated trial of highest posterior mean; its completions are counted from the end of its initial design. Dotted: GRPO at the end of training; gray dashed: the base model.

LlMBO needs no memory beyond inference, while GRPO’s backward pass holds 1.4 GiB on the 1.5B models and 1.6–10.4 GiB on the 7-8B ones for every 4 sequences it trains on. On a 24 GB card, GRPO cannot fit even its 4-sequence micro-batch on 3 of the 4 7-8B architectures, while LlMBO runs 10–71 sequences concurrently on all of them (Table 2; measurements and estimates in Appendix E.4, Table 11).

ArchitectureL4 24 GBL40S 48 GBA100 40 GBA100 80 GBH100 80 GB
Qwen2.5-7B71 / ✗343 / 12282 / 10768 / 27767 / 27
Llama3.1-8B27 / ✗146 / 12119 / 10332 / 28331 / 28
Mistral-7B34 / ✗154 / 10127 / 8340 / 22339 / 22
DeepSeek-7B10 / 641 / 2634 / 2291 / 5891 / 58

Table 2. Single-GPU memory feasibility per architecture. Weights in bf16. Each cell reports the number of simultaneous full-length sequences that fit on each GPU, in LlMBO/GRPO order. Green: LlMBO fits more. ✗: the method does not fit.

Discussion

Limitations

LlMBO targets the ultra-low-parameter end; from u=8u = 8 its edge fades, and at u∈{64,256}u \in\{64, 256\} it trails GRPO and varies strongly across seeds (Appendix B.3), and combining the two, e.g. BO over a low-dimensional subspace of a larger adapter, is a promising direction. On most models TinyLoRA at u≤4u \le4 moves accuracy little under either optimizer (Appendix B.1), so the strongest results are based on the Qwen2.5 base and Math models; adapters that reach further into other families are also promising. Our compute comparison counts FLOPs; wall-clock savings also depend on how efficiently the inference engine batches generation.

Conclusion

In the ultra-low-parameter regime, LlMBO is a suitable alternative to GRPO: trust-region BO on the pass rate matches or exceeds GRPO’s fine-tuning gains across model families, variants, sizes and training data. This effect is most prominent when TinyLoRA exhibits the greatest gains and when we optimize the greedy-decoding accuracy directly. This accuracy win occurs with a fraction of GRPO’s compute and memory.

A candidate is a handful of scalars and its score is a pass count, so LlMBO scales across devices with almost no synchronization, and its memory footprint makes fine-tuning possible on inference-only hardware. BO also opens objectives that are awkward for policy gradients: non-differentiable metrics, decoding-rule-specific accuracy, or multi-objective trade-offs between accuracy and length, and its posterior mean offers a natural stopping rule.

AI use statement

In this work, we used generative AI tools for implementation (code generation and editing), figure creation, paper drafting and editing, and formatting. We have not used generative AI tools for theoretical model development, mathematical claims, hypothesis refinement or research methodology design. All AI-assisted code and text were reviewed and verified by the authors, who take responsibility for the final content of this work.

Reproducibility statement

The anonymized code, with its dependencies, is in the supplementary material: the adapters, LLMBO, the GRPO baseline, the evaluation harness and the job scripts of every run. Table 13 lists every hyperparameter of both optimizers and Appendix § 16.§ 2 the evaluation harness; all tables, figures and quoted numbers are generated from the run directories by the scripts in paper/scripts, also in the supplementary material. Every exported adapter stores its SVD bases, so its search space can be rebuilt exactly on any hardware (Appendix § 16.§ 6).

Shared
AdapterTinyLoRA, r=2r = 2, one v∈Ruv \in\mathbb{R}^{u} tied across all MM modules (Appendix H.1)
Prompt / completion length512 / 1024 tokens
Completions per step or batch256
Reward1 if math-verify finds the final answer equivalent to the reference, else 0
GRPO
Prompts ×\times rollouts per step64×464 \times4, at T=1T = 1
Steps SS3⌈N/64⌉3\lceil N/64\rceil (three epochs)
Losstoken-level clipped objective, ϵ=0.2\epsilon= 0.2, dual clip δ=2\delta= 2, no KL penalty
Optimizer8-bit AdamW, constant learning rate after 10 warm-up steps, gradient-norm clip
Learning rate η\eta10−3/(ru)10^{-3}/(r\sqrt{u}) TinyLoRA, 10−3/r10^{-3}/r LoRA-XS, 5⋅10−65 \cdot10^{-6} LoRA (α=2r\alpha= 2r)
Micro-batch4 sequences (one prompt’s group), gradients accumulated over the step’s 64 prompts
LlMBO
Candidates per batch bb1 (ablation: 4)
Prompts per candidate nn256/b256/b, fresh random prompts, one completion each
Objectivepass rate at T=1T = 1 (for avg@4) or greedy (for greedy accuracy)
BatchesSS GP-guided, plus the initial and restart designs
Initial / restart design8 replicates of θ=0\theta= 0 and 8 Sobol points / 8 Sobol points
Search box[−ηS,ηS][-\eta S,\eta S], with GRPO’s TinyLoRA η\eta and SS
Observationlogit of the Beta(1+s,1+n−s)(1 + s, 1 + n - s) posterior: digamma mean, trigamma variance
GPMatérn 5/2, one lengthscale per dimension, fixed per-trial noise plus a learned floor, MAP fit
Lengthscale priorLogNormal(2+log⁡(Lu),3)(\sqrt{2} + \log(L\sqrt{u}),\sqrt{3})
Trust regionside LL from 0.8, at most 1.6; doubled after 3 successes, halved after ⌈max⁡(4,u)/b⌉\lceil\max(4,u)/b\rceil failures; restart below 0.5
AcquisitionThompson sampling over min⁡(5000,max⁡(2000,200u))\min(5000,\max(2000,200u)) Sobol candidates in the region
GP dataevery trial since the trust region started, plus the θ=0\theta= 0 replicates
Incumbent and outputthe evaluated trial of highest posterior mean, also the trust-region center
Scoringthe bb candidates of a batch in one vLLM call, each a rank-rr LoRA with B=U∑iviPiB = U\sum_i v_iP_i, A=VTA = V^{\mathsf{T}}

Table 13. Settings of both optimizers. NN: prompts in the training set; SS: GRPO’s optimizer steps; ss of nn: a candidate’s solved prompts.

How Low Can You Go: Fine-Tuning LLMs with Bayesian Optimization (LLMBO): Supplementary Materials

Aditya Kulkarni; Davide Sartor; Carlos Soto; Nathan Wycoff

Greedy accuracy: pooled gaps and training objective

This appendix pools the greedy paired gaps of § 5.3 over models (per model in Appendix § 9) and compares LLMBO’s two training objectives seed for seed.

Pooled over models

Over the six 7-8B models LLMBO leads GRPO in greedy accuracy at every uu (Table 3): on greedy GSM8K by +2.6±1.1+2.6 \pm1.1, +1.0±1.0+1.0 \pm1.0, and +2.9±1.9+2.9 \pm1.9 points at u=1,2,4u=1,2,4 and on greedy MATH-500 by +0.5±0.5+0.5 \pm0.5, +0.6±0.3+0.6 \pm0.3, and +1.7±0.6+1.7 \pm0.6. On its own training problems its paired gap is small on the 7-8B models (+0.3±0.6+0.3 \pm0.6, +1.3±0.3+1.3 \pm0.3, and +1.3±0.9+1.3 \pm0.9 points) and large at 1.5B (+13.8±7.4+13.8 \pm7.4 at u=2u=2; Table 3), where its held-out gains are largest too: held-out gains appear where LLMBO optimizes its objective better. The lead is largest on the math-specialized models and at 1.5B (Appendices § 9.§ 2 and § 10).

ModelsLLMBO − GRPOLLMBO: b=4b=4 − b=1b=1
GSM8KMATH-500train tierGSM8KMATH-500
avg@4greedyavg@4greedygreedyavg@4greedyavg@4greedy
7-8B models, u=1u=1+0.5±0.3+0.5 \pm0.3+2.6±1.1+2.6 \pm1.1+0.3±0.2+0.3 \pm0.2+0.5±0.5+0.5 \pm0.5+0.3±0.6+0.3 \pm0.6−0.1±0.2-0.1 \pm0.2−0.7±0.3-0.7 \pm0.3+0.0±0.2+0.0 \pm0.2−0.1±0.3-0.1 \pm0.3
u=2u=2+1.8±0.6+1.8 \pm0.6+1.0±1.0+1.0 \pm1.0+1.3±0.5+1.3 \pm0.5+0.6±0.3+0.6 \pm0.3+1.3±0.3+1.3 \pm0.3−0.8±0.4-0.8 \pm0.4+0.5±0.7+0.5 \pm0.7−0.3±0.2-0.3 \pm0.2−0.5±0.3-0.5 \pm0.3
u=4u=4+1.6±0.5+1.6 \pm0.5+2.9±1.9+2.9 \pm1.9+1.4±0.4+1.4 \pm0.4+1.7±0.6+1.7 \pm0.6+1.3±0.9+1.3 \pm0.9−0.5±0.3-0.5 \pm0.3+0.1±0.6+0.1 \pm0.6−0.4±0.2-0.4 \pm0.2−0.7±0.4-0.7 \pm0.4
1.5B models, u=1u=1+0.2±0.4+0.2 \pm0.4+4.5±2.3+4.5 \pm2.3−0.1±0.4-0.1 \pm0.4−0.1±0.8-0.1 \pm0.8+2.9±2.2+2.9 \pm2.2−0.2±0.4-0.2 \pm0.4−0.1±0.5-0.1 \pm0.5−0.1±0.5-0.1 \pm0.5−0.2±0.4-0.2 \pm0.4
u=2u=2+0.6±0.4+0.6 \pm0.4+14.1±7.1+14.1 \pm7.1+0.1±0.4+0.1 \pm0.4+7.7±4.7+7.7 \pm4.7+13.8±7.4+13.8 \pm7.4−0.5±0.5-0.5 \pm0.5+0.4±0.2+0.4 \pm0.2+0.1±0.4+0.1 \pm0.4+0.1±0.6+0.1 \pm0.6
u=4u=4+0.3±0.5+0.3 \pm0.5+4.2±1.8+4.2 \pm1.8−0.7±0.4-0.7 \pm0.4+1.5±1.4+1.5 \pm1.4+4.5±2.2+4.5 \pm2.2−0.1±0.5-0.1 \pm0.5−0.1±0.5-0.1 \pm0.5+0.0±0.4+0.0 \pm0.4−0.4±0.8-0.4 \pm0.8

Table 3. Paired gaps (points) per u≤4u \le4, pooled over the six 7-8B base and math models and over the two Qwen2.5 1.5B models (row blocks; each model counted once), mean ±\pm s.e. over seed pairs, in avg@4 and greedy accuracy (sub-columns), LLMBO trained on the metric of each column. Left: LLMBO − GRPO; train tier: greedy accuracy on up to 1024 problems of each model’s training tier, the quantity LLMBO maximizes there (evaluated in greedy only). Right: the b=4b=4 ablation of LLMBO against b=1b=1 (Appendix § 13). Tint: sign and size of the gap (green: the first term ahead).

Per-model results

This appendix details § 5.2 and § 5.3 per model, in avg@4 and in greedy accuracy, for one 7-8B base model per family (Section B.1) and the two math-specialized models (Section B.2). The 1.5B and Instruct models are in Appendices § 10 and § 11. The pooled greedy gaps and the comparison of LLMBO’s two objectives are in Appendix § 8. Figure 5 compares the two optimizers’ gains at u≤4u \le4, Figure 6 traces their paired gap over u≤16u \le16, with the b=4b=4 ablation, and Table 4 lists both on all six benchmarks. In greedy accuracy LLMBO is trained on greedy accuracy, so GRPO is evaluated across a shift in decoding rule that LLMBO does not face.

Base models across families

Which models TinyLoRA can move at all is set by its scaling under GRPO (Appendix § 15.§ 3): Qwen2.5-7B a large amount, Llama3.1-8B, Mistral-7B, and DeepSeek-7B by at most 1.9 points at u≤4u \le4. On these three the comparison checks that LLMBO is as safe as GRPO.

First consider Qwen2.5-7B. On the one base model TinyLoRA moves, LIMBO lies above the diagonal on both in-distribution tasks in avg@4 at every u≤4u \le4 (§ 5.2); on GSM8K avg@4 it gains +6.9 points at u=2u = 2 against GRPO’s +2.1. Greedy GSM8K barely moves under either optimizer, while on greedy MATH-500 LIMBO gains +1.5, +1.5, and +2.4 points at u=1u = 1, 2, 4 against GRPO’s +1.0, +0.9, and +0.8, a paired gap that grows to +3.2 ±\pm 0.4 at u=4u = 4. Starting with u=8u = 8 the MATH-500 lead is gone in both metrics (−1.0 ±\pm 2.2 in avg@4, −1.6 ±\pm 2.3 in greedy accuracy; Figure 6).

Regarding Llama, Mistral, and DeepSeek we have the following. The points of both optimizers sit close to the origin and to the diagonal: in avg@4 LIMBO is level with GRPO at every u≤4u \le4, within a point on both tasks (e.g. +0.4 ±\pm 0.2, +0.6 ±\pm 0.4 and +0.4 ±\pm 0.1 on GSM8K for Llama3.1-8B at u=1u = 1, Mistral-7B and DeepSeek-7B at u=4u = 4). Where TinyLoRA’s subspace holds little, LIMBO gives up nothing to GRPO. In greedy accuracy it stays level with or slightly ahead of GRPO on GSM8K on Llama3.1-8B and Mistral-7B at every u≤4u \le4 (Llama +1.1±0.5+1.1 \pm0.5, −0.1±0.5-0.1 \pm0.5, +1.2±0.8+1.2 \pm0.8; Mistral +0.7±0.5+0.7 \pm0.5, +0.8±1.1+0.8 \pm1.1, +1.6±0.5+1.6 \pm0.5), and up to u=16u = 16 (+2.2±0.4+2.2 \pm0.4, +1.0±1.1+1.0 \pm1.1). Pooled over the four base models it is level with or ahead of GRPO in greedy accuracy at every u≤4u \le4 on both tasks (§ 5.3): optimizing the deployed decoding rule directly finds some gain even here.

Beyond u=4u = 4 the advantage is specific to the low-parameter end, where a GP can cover the search space within the budget: at u=16u = 16 the avg@4 gap turns negative on GSM8K for Mistral (−2.3±1.1-2.3 \pm1.1), and at u∈{64,256}u \in\{64, 256\} LlMBO is not yet robust across seeds (Section B.3).

Math variants

The math-specialized models are continued-pretrained on mathematical text; Qwen2.5-Math-7B and DeepSeekMath-7B are the two at 7B. As between the base models, TinyLoRA moves the Qwen model a lot and the DeepSeek model a little (Appendix § 15).

For Qwen2.5-Math-7B both optimizers gain several points, and LlMBO’s paired gap is positive at every u≤4u \le4 and largest at u=4u = 4 (Figure 5). It gains +16.5+16.5 points on GSM8K avg@4 against GRPO’s +11.2+11.2 and +12.0+12.0 against +8.5 on MATH-500 avg@4 with paired gaps of +5.2 ± 2.1 and +3.6 ± 1.7. The gaps vary widely across seeds, since single searches find or miss a several-point gain. In greedy accuracy LlMBO gains +12.3 and +11.9 points on GSM8K at u=2,4u = 2, 4 against GRPO’s +4.4 and +7.9, and it gains +5.7 against +4.4 on MATH-500 at u=4u = 4. Unlike Qwen2.5-7B, the Math model stays ahead on both primary tasks at u=8u = 8 in both metrics (avg@4: +7.9 ± 1.7 on GSM8K, +1.9 ± 0.2 on MATH-500; greedy: +3.1 ± 3.2 and +1.8 ± 0.8; Figure 6).

Next for DeepSeek-Math-7B we find that in avg@4 LlMBO is level with GRPO at every u≤4u \le4 (+0.2 ± 0.3, +0.3 ± 0.3 and +0.7 ± 0.1 on GSM8K at u=1,2,4u = 1, 2, 4), stays level at u=8u = 8 and falls behind at u=16u = 16 (−3.1 ± 1.6 on GSM8K). Training on greedy accuracy pulls it ahead: it leads on greedy GSM8K at every u≤4u \le4 (+5.6 ± 3.0, +1.9 ± 5.2 and +5.5 ± 3.4 points) and on greedy MATH-500 at u=4u = 4 (+2.5 ± 0.4). When we pool over the two Math models LlMBO’s lead grows with uu up to u=8u = 8, where it is +4.6 ± 1.7 points on GSM8K avg@4 and +1.4 ± 0.4 on MATH-500 (Table 4a).

Larger adapters

We also ran LlMBO at u∈{64,256}u \in\{64, 256\} on the Qwen2.5 7B models with the settings and evaluation budget used at u≤16u \le16 (Table 5). Here the method is not yet robust. Pooled over seed pairs, LlMBO trails GRPO on MATH-500 avg@4 by −1.6 ± 2.3 points at u=64u = 64 and −4.7 ± 2.2 at u=256u = 256. The mean hides the larger problem, the spread across seeds: single pairs fall up to −9.5 points behind GRPO on MATH-500. Where a search succeeds it remains competitive. Greedy accuracy shows the same: LlMBO trails GRPO on greedy MATH-500 by −2.9 ± 1.3 and −0.8 ± 1.6 points at u=64,256u = 64, 256, with single pairs down to −7.8. At 1.5B the picture is the same: from u=64u = 64 LlMBO falls behind on the base and Math models (−5.3 ± 1.7 and −5.2 ± 3.2 on GSM8K avg@4), with pooled MATH-500 avg@4 gaps of −2.4 ± 0.6 and −9.7 ± 0.7 at u=64,256u = 64, 256 and single pairs down to −12.5, and greedy MATH-500 gaps of −0.4 ± 1.4 and −4.6 ± 1.3.

in-distributionout-of-distribution
GSM8KMATH-500AIME24AMC23MinervaOlympiad
GRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔ
Qwen2.5-7B base64.943.52.524.416.416.7
64+15.8+13.0−2.8 ± 3.7+14.4+12.9−1.6 ± 3.7+4.2+1.9−2.2 ± 1.2+8.1+6.9−1.3 ± 1.3+9.2+6.5−2.7 ± 2.4+9.5+7.6−1.8 ± 1.8
256+15.6+16.2+0.5 ± 1.6+16.9+15.8−1.2 ± 3.3+4.7+0.6−4.2 ± 2.7+9.4+9.2−0.2 ± 1.2+8.4+11.0+2.6 ± 0.5+10.2+8.6−1.6 ± 3.0
Qwen2.5-Math-7B base46.444.94.230.617.919.9
64+21.3+25.9+4.6 ± 4.1+18.0+16.4−1.5 ± 3.7+10.0+6.9−3.1 ± 3.2+15.8+12.9−2.9 ± 6.0+11.1+10.6−0.5 ± 3.2+11.9+8.9−3.0 ± 2.7
256+30.5+20.1−10.4 ± 2.9+21.7+13.5−8.2 ± 1.2+11.9+5.3−6.7 ± 2.7+18.1+12.9−5.2 ± 5.8+11.1+9.1−5.2 ± 1.9+14.0+7.6−6.3 ± 7.0
in-distributionout-of-distribution
GSM8KMATH-500AIME24AMC23MinervaOlympiad
GRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔGRPOLlMBOΔ
Qwen2.5-7B base88.064.00.030.032.728.6
64+1.0−3.5−4.4 ± 1.8+4.0+1.5−2.5 ± 2.7+5.6+5.6+0.0 ± 1.9+4.2+6.7+2.5 ± 1.4+3.2−5.3−8.5 ± 0.6+2.1+1.2−0.8 ± 1.8
256+0.2−1.4−1.7 ± 1.3+3.1+3.9+0.9 ± 1.3+3.3+6.7+3.3 ± 1.1+1.7+10.0+8.3 ± 3.0+2.3−2.9−5.3 ± 2.9+3.4+2.8−0.5 ± 1.2
Qwen2.5-Math-7B base68.864.210.037.511.026.4
64+11.7+13.6+2.0 ± 1.1+7.3+3.9−3.3 ± 2.0+2.2+4.4+2.2 ± 1.1+9.2+10.0+0.8 ± 3.6+6.3+11.0+4.8 ± 1.9+6.7+6.9+0.2 ± 1.1
256+11.3+7.2−4.1 ± 1.8+4.5+2.0−2.5 ± 2.8+6.7−2.2−8.9 ± 2.2+11.7+9.2−2.5 ± 3.6+6.7+5.3−1.5 ± 3.6+8.1+4.6−3.5 ± 3.7

Table 5. Avg@4 (a) and greedy (b) accuracy at the end of training, for the 2 Qwen2.5 7B models (row blocks), per u∈{64,256}u \in\{64, 256\} (rows) and benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks); LlMBO is trained on the metric of each subtable (greedy: § 5.3). base: accuracy of the base model in that metric (%). GRPO, LlMBO: gain over the base model (points), mean over seeds (3 per cell); bold: the larger, unless tied. Δ\Delta: paired gap LlMBO − GRPO, mean ± s.e. over the seed pairs both have, so it can differ from the difference of the two gains; tint: its sign and size (green: LlMBO ahead).

We attribute this to the search budget. The budget that lets a GP and its trust region cover 1–16 dimensions is thin in 64–256: the initial design and the max⁡(4,D)/b\max(4, D)/b failures a trust region tolerates before it shrinks grow with uu, so a run spends a larger share of its batches on exploration and restarts less often, and a search can settle on a poor region. Its final pick then rests on few, noisy pass-rate estimates in a large space, where the winner’s curse is strongest (Appendix § 11.§ 2). Budgets that grow with uu, dimension-aware priors and trust regions, or searching a low-dimensional subspace of the adapter, with BO over the leading directions and the rest fixed, are natural remedies.

Out-of-distribution benchmarks

The four competition benchmarks are harder than the training data, further from it and small, from 30 problems (AIME24) to 675 (OlympiadBench), so their paired gaps are noisier than on the two in-distribution tasks, and on AIME24 a single seed can swing a gap by several points. Their gaps follow the in-distribution ones rather than trading off against them (Table 4, Figure 6). On Qwen2.5-7B LlMBO’s paired gap at u=2u = 2 is positive on all four benchmarks, and on AMC23, Minerva Math and OlympiadBench of the size of its in-distribution lead. On Qwen2.5-Math-7B it is positive on AMC23, Minerva Math and OlympiadBench at u=2,4u = 2, 4 and on all four at u=8u = 8, with AIME24, the smallest benchmark, the exception at u≤4u \le4. On Llama3.1-8B, Mistral-7B and DeepSeek-7B, where the in-distribution gaps are within a point, so are the out-of-distribution ones at u≤4u \le4. Where LlMBO’s pick is better on the training distribution, it is thus better beyond it too: its gains are not overfit to the training tier.

Qwen2.5 1.5B models

The Qwen2.5 1.5B base and Math models train on the easy tier (§ 5.1). This appendix repeats the per-model analysis of Appendix B for them, in both metrics: each optimizer’s gain and the paired gap (Table 6; Figure 7 and Figure 8); the pooled gaps are in Table 3.

\multicolumn{6}{c}{in-distribution}\multicolumn{12}{c}{out-of-distribution}
uu\multicolumn{3}{c}{GSM8K}\multicolumn{3}{c}{MATH-500}\multicolumn{3}{c}{AIME24}\multicolumn{3}{c}{AMC23}\multicolumn{3}{c}{Minerva}\multicolumn{3}{c}{Olympiad}
GRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\Delta
\multicolumn{19}{c}{Qwen2.5-1.5B}
base22.68.90.01.92.31.6
1+0.4+0.1−0.2±0.4-0.2 \pm0.4−0.2-0.2−0.3-0.3−0.1±0.2-0.1 \pm0.2+0.2+0.0−0.2±0.1-0.2 \pm0.1+1.6+1.3−0.2±0.9-0.2 \pm0.9−0.3-0.3−0.3-0.3+0.0±0.2+0.0 \pm0.2+0.1+0.1−0.1±0.1-0.1 \pm0.1
2+0.3+0.3+0.0±0.3+0.0 \pm0.3−0.3-0.3−0.2-0.2+0.1±0.3+0.1 \pm0.3+0.3+0.3+0.0±0.4+0.0 \pm0.4+1.5+0.3−1.2±0.6-1.2 \pm0.6−0.2-0.2−0.2-0.2+0.0±0.2+0.0 \pm0.2+0.1+0.1+0.1±0.1+0.1 \pm0.1
4+2.1+2.7+0.7±0.7+0.7 \pm0.7+0.5+0.2+0.3±0.5+0.3 \pm0.5+0.0+0.1+0.1±0.1+0.1 \pm0.1+2.3+1.8−0.5±0.7-0.5 \pm0.7+0.2+0.2+0.0±0.3+0.0 \pm0.3−0.1-0.1+0.1+0.2±0.1+0.2 \pm0.1
8+3.9+4.6+0.7±1.1+0.7 \pm1.1+1.2+1.1+0.1±0.4+0.1 \pm0.4+0.0+0.0+0.1±0.0+0.1 \pm0.0+2.7+2.8+0.0±0.7+0.0 \pm0.7−0.2-0.2−0.2-0.2+0.0±0.6+0.0 \pm0.6+0.1+0.1+0.1±0.1+0.1 \pm0.1
16+6.2+9.9+3.7±2.6+3.7 \pm2.6+1.5+3.4+1.9±1.7+1.9 \pm1.7+0.6+0.3−0.3±0.3-0.3 \pm0.3+1.5+1.2−0.2±0.6-0.2 \pm0.6−0.2-0.2+0.7+0.9±0.3+0.9 \pm0.3+0.2+0.7+0.5±0.3+0.5 \pm0.3
\multicolumn{19}{c}{Qwen2.5-Math-1.5B}
base34.632.52.520.010.216.2
1−0.4-0.4+0.3+0.7±1.1+0.7 \pm1.1+0.5+0.4+0.0±0.7+0.0 \pm0.7+0.8−0.4-0.4−1.2±0.8-1.2 \pm0.8−3.5-3.5−3.2-3.2+0.3±1.3+0.3 \pm1.3+0.7+0.6−0.1±0.6-0.1 \pm0.6+0.1−0.4-0.4−0.5±0.7-0.5 \pm0.7
2+1.6+2.3+1.1±0.7+1.1 \pm0.7+2.1+2.3+0.2±0.8+0.2 \pm0.8+0.6+0.0−0.6±0.6-0.6 \pm0.6−0.7-0.7−1.7-1.7−1.5±1.5-1.5 \pm1.5+0.6+0.7+0.2±0.5+0.2 \pm0.5+0.7+0.1−0.6±0.3-0.6 \pm0.3
4+3.1+3.0−0.1±1.1-0.1 \pm1.1+3.1+2.0−1.1±0.7-1.1 \pm0.7+1.2+0.2−1.0±0.6-1.0 \pm0.6+1.0−2.7-2.7−3.7±1.0-3.7 \pm1.0+1.2+0.2−0.9±0.3-0.9 \pm0.3+1.5+0.1−1.4±0.2-1.4 \pm0.2
8+6.7+4.5−2.3±2.3-2.3 \pm2.3+4.6+4.5+0.1±0.7+0.1 \pm0.7+1.1+0.0−1.1±0.6-1.1 \pm0.6−1.7-1.7−0.2-0.2+1.5±2.6+1.5 \pm2.6+1.8+2.7+0.9±1.6+0.9 \pm1.6+1.5+0.3−1.2±1.2-1.2 \pm1.2
16+14.1+15.2+1.0±1.7+1.0 \pm1.7+10.5+10.2−0.3±4.1-0.3 \pm4.1+1.1+0.0−1.1±1.4-1.1 \pm1.4+3.7+4.2+0.4±2.7+0.4 \pm2.7+2.5+3.3+0.8±1.6+0.8 \pm1.6+3.4+3.5+0.1±2.0+0.1 \pm2.0
\multicolumn{19}{c}{(b) greedy}
uu\multicolumn{3}{c}{GSM8K}\multicolumn{3}{c}{MATH-500}\multicolumn{3}{c}{AIME24}\multicolumn{3}{c}{AMC23}\multicolumn{3}{c}{Minerva}\multicolumn{3}{c}{Olympiad}
GRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\DeltaGRPOLlMBOΔ\Delta
\multicolumn{19}{c}{Qwen2.5-1.5B}
base56.328.40.012.58.56.5
1−0.1-0.1+0.8+1.6±1.4+1.6 \pm1.4−0.1-0.1+0.9+1.0±0.8+1.0 \pm0.8+0.0+0.0+0.0±0.6+0.0 \pm0.6−2.5-2.5−2.5-2.5+1.7±0.8+1.7 \pm0.8+0.4+0.0−0.2±1.2-0.2 \pm1.2−0.1-0.1+1.0+0.5±0.7+0.5 \pm0.7
2−0.1-0.1+0.1+0.9±0.7+0.9 \pm0.7−0.4-0.4+0.1+0.3±1.3+0.3 \pm1.3+0.0+0.0+0.0±0.0+0.0 \pm0.0−5.3-5.3−2.5-2.5+3.3±0.8+3.3 \pm0.8+0.1−1.5-1.5−1.5±0.9-1.5 \pm0.9−0.1-0.1+0.3+0.2±0.4+0.2 \pm0.4
4+0.0+0.7+1.1±0.4+1.1 \pm0.4+0.8+0.2−0.9±1.7-0.9 \pm1.7+0.0+0.0+0.0±0.0+0.0 \pm0.0−5.3-5.3−10.8-10.8−5.5±0.8-5.5 \pm0.8+0.1−0.4-0.4−0.9±1.2-0.9 \pm1.2−0.3-0.3+1.0+0.2±0.4+0.2 \pm0.4
8+1.1+2.8+1.6±0.3+1.6 \pm0.3+2.7+0.4−2.3±0.9-2.3 \pm0.9+0.0+0.0+0.0±0.0+0.0 \pm0.0−1.7-1.7−4.2-4.2−2.5±4.3-2.5 \pm4.3+1.6+0.7−0.9±1.2-0.9 \pm1.2−0.2-0.2−0.2-0.2−0.4±0.8-0.4 \pm0.8
16+1.7+1.8+0.1±0.6+0.1 \pm0.6+1.3+0.7−0.6±1.6-0.6 \pm1.6+2.2+0.0−2.2±1.1-2.2 \pm1.1−5.8-5.8−7.5-7.5−1.7±3.0-1.7 \pm3.0+1.7+0.4+2.1±1.0+2.1 \pm1.0−0.6-0.6−0.7-0.7−0.1±0.3-0.1 \pm0.3
\multicolumn{19}{c}{Qwen2.5-Math-1.5B}
base41.547.23.332.58.523.4
1+6.7+4.1+7.4±4.1+7.4 \pm4.1+2.7−3.1-3.1−1.2±1.2-1.2 \pm1.2+2.1+2.2+1.1±2.2+1.1 \pm2.2−5.0-5.0−6.7-6.7−2.5±2.9-2.5 \pm2.9+3.5+1.8−0.5±2.2-0.5 \pm2.2+1.6+1.5+0.2±1.5+0.2 \pm1.5
2+3.0+27.3+27.9±3.9+27.9 \pm3.9−2.2-2.2+11.4+15.1±1.1+15.1 \pm1.1+2.5+3.3+1.1±2.2+1.1 \pm2.2−5.0-5.0−0.8-0.8+1.7±2.9+1.7 \pm2.9+2.1+11.8+11.5±1.1+11.5 \pm1.1+0.7+8.9+5.0±3.4+5.0 \pm3.4
4+17.5+28.3+17.2±2.2+17.2 \pm2.2+3.3+7.0+9.3±1.1+9.3 \pm1.1+2.5+0.0−1.1±2.9-1.1 \pm2.9+1.9+1.7+3.5±1.1+3.5 \pm1.1+3.5+6.6+4.5±2.1+4.5 \pm2.1+1.0+6.0+1.2±0.7+1.2 \pm0.7
8+16.2+33.5+17.3±1.1+17.3 \pm1.1+6.3+13.2+8.9±6.6+8.9 \pm6.6+0.0+1.1+1.1±2.9+1.1 \pm2.9+7.5+4.2−3.3±4.6-3.3 \pm4.6+5.5+12.1+6.6±3.1+6.6 \pm3.1+2.8+9.0+0.2±1.8+0.2 \pm1.8
16+28.0+34.8+6.8±3.0+6.8 \pm3.0+11.7+12.9+1.2±1.4+1.2 \pm1.4+4.4+0.0−4.4±1.1-4.4 \pm1.1+0.8+1.7+0.8±2.2+0.8 \pm2.2+6.5+14.5+8.0±3.4+8.0 \pm3.4+3.5+2.6−0.9±1.5-0.9 \pm1.5

Table 6. Avg@4 (a) and greedy (b) accuracy at the end of training, for Qwen2.5-1.5B and Qwen2.5-Math-1.5B (row blocks), per u≤16u \le16 (rows) and benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks); LlMBO is trained on the metric of each subtable (greedy: § 5.3). base: accuracy of the base model in that metric (%). GRPO, LlMBO: gain over the base model (points), mean over seeds (GRPO and avg@4-trained LlMBO 8 per cell at u≤4u \le4 and 3 at u=8,16u = 8, 16, greedy-trained LlMBO 3 per cell); bold: the larger, unless tied. Δ\Delta: paired gap LlMBO −- GRPO, mean ±\pm s.e. over the seed pairs both have, so it can differ from the difference of the two gains; tint: its sign and size (green: LlMBO ahead).

Figure 7. Gain over the base model of LlMBO against GRPO’s, in avg@4 and in greedy accuracy (color; greedy filled, avg@4 open), LlMBO trained on the metric of each point, for Qwen2.5-1.5B and Qwen2.5-Math-1.5B (rows) on each benchmark (columns), each panel on its own axes. Training uses GSM8K and MATH: the left two columns are in-distribution, the four benchmarks right of the dotted line out-of-distribution. One point per u≤4u \le4 (marker), mean ±\pm s.e. over seeds. Points in the shaded half above the diagonal favor LlMBO; dashed: no gain.

Figure 8. Paired gap LlMBO − GRPO in avg@4 and in greedy accuracy (color), LlMBO trained on each metric, against u∈{1,…,16}u \in\{1, \ldots, 16\}, mean ±\pm s.e. over seed pairs, for Qwen2.5-1.5B and Qwen2.5-Math-1.5B (rows), one column per benchmark (in-distribution GSM8K and MATH-500 first, then the four out-of-distribution benchmarks), each panel on its own gap axis. Solid, filled: b=1b = 1 candidate per batch (the default); dashed, open: the b=4b = 4 ablation.

For Qwen2.5-1.5B In avg@4 LlMBO is level with GRPO at u≤4u \le4 (GSM8K −0.2±0.4-0.2 \pm0.4, +0.0±0.3+0.0 \pm0.3, +0.7±0.7+0.7 \pm0.7) and pulls ahead at u=16u = 16 (+3.7±2.6+3.7 \pm2.6 on GSM8K, +1.9±1.7+1.9 \pm1.7 on MATH-500; Figure 8). In greedy accuracy it keeps a small lead on GSM8K at u≤4u \le4 (+1.6±1.4+1.6 \pm1.4, +0.9±0.7+0.9 \pm0.7, +1.2±1.4+1.2 \pm1.4).

Whereas for Qwen2.5-Math-1.5B in avg@4 LlMBO is level with GRPO at u≤4u \le4 (GSM8K +0.7±0.7+0.7 \pm0.7, +1.1±0.7+1.1 \pm0.7, −0.1±0.7-0.1 \pm0.7). In greedy accuracy its lead is the largest of any model: its points lie far above the diagonal (Figure 7), it leads GRPO on GSM8K by +7.4±4.1+7.4 \pm4.1, +27.3±9.0+27.3 \pm9.0 and +7.2±2.2+7.2 \pm2.2 points at u=1,2,4u = 1, 2, 4 and on MATH-500 by +15.1±7.4+15.1 \pm7.4 at u=2u = 2, stays ahead up to u=16u = 16 (+17.3±11.4+17.3 \pm11.4 and +6.8±3.0+6.8 \pm3.0 on GSM8K at u=8,16u = 8, 16) for both

batch sizes alike, and is still level at u=64u = 64 (+1.0±1.4+1.0 \pm1.4; Figure 8). At u=2u = 2 it gains +27.3+27.3 points on GSM8K and +11.4+11.4 on MATH-500, against GRPO’s +3.0+3.0 and −2.2-2.2; on the OOD benchmarks it is level or ahead, most on Minerva Math. Part of this gain comes from suppressing a repetition loop that ends a large share of the base model’s greedy GSM8K answers: a failure the greedy objective sees directly and a single TinyLoRA direction can switch off.

When pooled over the two 1.5B models LlMBO is level with GRPO in avg@4 at every uu, within a point on GSM8K (+0.2±0.4+0.2 \pm0.4, +0.6±0.4+0.6 \pm0.4 and +0.3±0.5+0.3 \pm0.5 points) and on MATH-500 (−0.1±0.4-0.1 \pm0.4, +0.1±0.4+0.1 \pm0.4, −0.7±0.4-0.7 \pm0.4), and leads on greedy GSM8K at every uu (+4.5±2.3+4.5 \pm2.3, +14.1±7.1+14.1 \pm7.1 and +4.2±1.8+4.2 \pm1.8; Table 3), driven by Qwen2.5-Math-1.5B. At u∈{64,256}u \in\{64, 256\} both metrics fall behind (Appendix § 9.§ 3).

Instruct models: no gain to find

Qwen2.5-7B-Instruct and Qwen2.5-1.5B-Instruct are already RL-tuned for math reasoning, and TinyLoRA at u≤4u \le4 leaves them almost nothing to gain. This appendix gives their detailed results and argues why, in this regime, LlMBO trails GRPO slightly: the pass rate carries too little signal for a search to establish that the base model is the best it can do, and gradient descent from θ=0\theta= 0 has an inductive bias towards staying there that BO lacks.

Results

Under GRPO, avg@4 on GSM8K and MATH-500 moves by at most 1.2 points at any u≤4u \le4 (Table 7a), and the points of both optimizers cluster around zero gain (Figure 9). LlMBO is level with GRPO on GSM8K avg@4 on Qwen2.5-1.5B-Instruct (+0.2±0.2+0.2 \pm0.2, −0.4±0.1-0.4 \pm0.1, −0.7±0.2-0.7 \pm0.2 at u=1,2,4u = 1, 2, 4) and trails slightly on MATH-500 avg@4: on Qwen2.5-7B-Instruct +0.1+0.1 and −1.0-1.0 points at u=1,4u = 1, 4, against GRPO’s +0.7+0.7 and +0.2+0.2, and on Qwen2.5-1.5B-Instruct −1.0-1.0 against +0.2+0.2 at u=1u = 1. In greedy accuracy (Table 7b, Figure 9 and Figure 10) LlMBO

in-distributionout-of-distribution
GSM8KΔ\DeltaMATH-500Δ\DeltaAIME24Δ\DeltaAMC23Δ\DeltaMinervaΔ\DeltaOlympiadΔ\Delta
uuGRPOLlMBOGRPOLlMBOGRPOLlMBOGRPOLlMBOGRPOLlMBOGRPOLlMBO
Qwen2.5-7B-Inst.base90.972.19.242.540.135.4
1+0.3+0.1−0.2±0.2-0.2 \pm0.2+0.7+0.1−0.5±0.8-0.5 \pm0.8−0.6-0.6−0.8-0.8−0.2±1.2-0.2 \pm1.2+2.8+1.7−1.1±2.1-1.1 \pm2.1−0.1-0.1−1.0-1.0−0.9±0.6-0.9 \pm0.6+1.2+0.3−0.9±0.8-0.9 \pm0.8
2+0.3+0.0−0.3±0.2-0.3 \pm0.2−0.2-0.2+0.0+0.2±0.2+0.2 \pm0.2−2.1-2.1−1.2-1.2+0.8±0.8+0.8 \pm0.8+1.3+3.1+1.8±1.6+1.8 \pm1.6−0.9-0.9−1.3-1.3−0.4±0.4-0.4 \pm0.4+1.0−0.2-0.2−1.2±0.3-1.2 \pm0.3
4+0.4−0.4-0.4−0.8±0.2-0.8 \pm0.2+0.2−1.0-1.0−1.1±0.6-1.1 \pm0.6−2.1-2.1−1.7-1.7+0.4±0.9+0.4 \pm0.9+4.9+0.4−4.5±2.4-4.5 \pm2.4−0.8-0.8−1.6-1.6−0.8±0.7-0.8 \pm0.7+0.4−0.9-0.9−1.3±0.6-1.3 \pm0.6
8+0.2−0.6-0.6−0.8±0.2-0.8 \pm0.2+0.1−0.8-0.8−0.9±0.8-0.9 \pm0.8−2.8-2.8−1.4-1.4+1.4±1.4+1.4 \pm1.4+3.3−0.8-0.8−2.5±0.6-2.5 \pm0.6−0.2-0.2−1.6-1.6−1.5±0.5-1.5 \pm0.5−0.3-0.3−1.1-1.1−0.8±0.7-0.8 \pm0.7
16+0.1−0.6-0.6−0.7±0.2-0.7 \pm0.2+0.1−1.4-1.4−1.5±0.8-1.5 \pm0.8−2.8-2.8−2.8-2.8+0.0±1.4+0.0 \pm1.4+3.3−1.2-1.2−4.6±2.6-4.6 \pm2.6−1.2-1.2−3.2-3.2−1.6±0.5-1.6 \pm0.5−0.3-0.3−2.5-2.5−2.7±0.4-2.7 \pm0.4
Qwen2.5-1.5B-Inst.base63.945.20.814.413.214.6
1+1.1+1.3+0.2±0.2+0.2 \pm0.2+0.2−1.0-1.0−1.2±0.4-1.2 \pm0.4+0.9+0.6−0.3±0.4-0.3 \pm0.4+4.5+3.4−1.2±1.4-1.2 \pm1.4+0.3+0.7+0.4±0.5+0.4 \pm0.5+0.0−0.2-0.2−0.2±0.2-0.2 \pm0.2
2+1.2+0.8−0.4±0.1-0.4 \pm0.1+0.0−0.4-0.4−0.4±0.5-0.4 \pm0.5+0.2+0.4+0.2±0.2+0.2 \pm0.2+4.8+5.9+1.1±1.5+1.1 \pm1.5+1.1+1.6+0.5±0.2+0.5 \pm0.2−0.2-0.2+0.0+0.1±0.2+0.1 \pm0.2
4+1.2+0.6−0.7±0.2-0.7 \pm0.2+0.1−0.5-0.5−0.6±0.5-0.6 \pm0.5+0.8+0.4−0.4±0.5-0.4 \pm0.5+5.5+5.4−0.1±1.5-0.1 \pm1.5+1.2+0.6−0.6±0.5-0.6 \pm0.5+0.1−0.4-0.4−0.5±0.2-0.5 \pm0.2
8+1.6+0.7−0.9±0.0-0.9 \pm0.0+0.4−0.5-0.5−0.9±0.3-0.9 \pm0.3+1.1+0.3−0.8±1.3-0.8 \pm1.3+4.6+4.8+0.2±0.6+0.2 \pm0.6+0.8+0.6−0.2±1.0-0.2 \pm1.0+0.3−0.7-0.7−1.0±0.7-1.0 \pm0.7
16+2.5+0.4−2.1±0.2-2.1 \pm0.2+0.4−1.5-1.5−1.9±0.5-1.9 \pm0.5+0.6+0.0−0.6±0.3-0.6 \pm0.3+5.0+4.8−0.2±0.3-0.2 \pm0.3+1.0+0.4−0.6±1.0-0.6 \pm1.0+0.2−0.7-0.7−0.9±0.7-0.9 \pm0.7
in-distributionout-of-distribution
GSM8KΔ\DeltaMATH-500Δ\DeltaAIME24Δ\DeltaAMC23Δ\DeltaMinervaΔ\DeltaOlympiadΔ\Delta
uuGRPOLlMBOGRPOLlMBOGRPOLlMBOGRPOLlMBOGRPOLlMBOGRPOLlMBO
Qwen2.5-7B-Inst.base91.775.413.350.041.236.8
1+0.1−0.2-0.2−0.4±0.4-0.4 \pm0.4−0.9-0.9−0.9-0.9+0.3±0.2+0.3 \pm0.2−4.2-4.2−5.6-5.6+1.1±1.1+1.1 \pm1.1−1.2-1.2−0.8-0.8−4.2±0.8-4.2 \pm0.8−0.2-0.2−0.9-0.9−0.6±0.7-0.6 \pm0.7+0.0+0.0+0.3±0.6+0.3 \pm0.6
2+0.1−0.1-0.1−0.1±0.2-0.1 \pm0.2−1.1-1.1−1.1-1.1−0.1±0.5-0.1 \pm0.5−4.6-4.6−7.8-7.8−3.3±0.3-3.3 \pm0.3−0.9-0.9−3.3-3.3−0.8±2.2-0.8 \pm2.2−0.6-0.6+0.1−0.2±0.9-0.2 \pm0.9−0.1-0.1+0.2+0.7±0.5+0.7 \pm0.5
4+0.0−0.5-0.5−0.3±0.3-0.3 \pm0.3−0.5-0.5−2.7-2.7−1.6±0.4-1.6 \pm0.4−5.8-5.8−2.2-2.2+4.2±2.2+4.2 \pm2.2−3.8-3.8−0.8-0.8+3.3±2.2+3.3 \pm2.2−0.6-0.6−1.1-1.1−0.7±0.9-0.7 \pm0.9−0.2-0.2−0.7-0.7−0.3±0.6-0.3 \pm0.6
8+0.0−0.2-0.2−0.3±0.3-0.3 \pm0.3−0.5-0.5−1.9-1.9−1.6±0.4-1.6 \pm0.4−5.6-5.6−5.2-5.2+0.4±2.2+0.4 \pm2.2−3.3-3.3−0.8-0.8+3.3±2.2+3.3 \pm2.2−0.6-0.6−0.1-0.1−0.7±0.9-0.7 \pm0.9−0.1-0.1−0.7-0.7−0.3±0.6-0.3 \pm0.6
16−0.1-0.1−1.0-1.0−0.9±0.0-0.9 \pm0.0−1.0-1.0−4.0-4.0−3.0±0.0-3.0 \pm0.0−5.6-5.6−5.6-5.6+0.0±0.3+0.0 \pm0.3+0.8+0.8+0.0+0.0−0.8±3.6-0.8 \pm3.6−1.1-1.1−0.9-0.9+0.2±0.9+0.2 \pm0.9+0.1−2.4-2.4−2.5±0.6-2.5 \pm0.6
Qwen2.5-1.5B-Inst.base73.955.817.522.817.522.8
1−0.3-0.3−0.3-0.3−0.1±0.2-0.1 \pm0.2−1.1-1.1−2.1-2.1−1.7±1.1-1.7 \pm1.1+2.5+2.2+0.0±3.3+0.0 \pm3.3+8.4+7.5−1.7±3.0-1.7 \pm3.0−0.1-0.1+0.7−0.1±1.8-0.1 \pm1.8+0.6−0.4-0.4−1.6±0.7-1.6 \pm0.7
2−0.2-0.2−0.1-0.1+0.6±0.3+0.6 \pm0.3−1.2-1.2−0.5-0.5+0.9±0.4+0.9 \pm0.4+1.7+2.2−1.1±1.1-1.1 \pm1.1+6.9+6.7−2.5±3.8-2.5 \pm3.8−0.6-0.6+0.9+1.8±2.2+1.8 \pm2.2−0.5-0.5−0.6-0.6+0.1±1.3+0.1 \pm1.3
4−0.1-0.1+0.2+0.3±0.6+0.3 \pm0.6−0.8-0.8−1.0-1.0−0.5±0.9-0.5 \pm0.9+2.1+1.1−1.1±1.1-1.1 \pm1.1+8.4+2.5−5.8±3.3-5.8 \pm3.3−0.9-0.9+0.4+1.8±0.4+1.8 \pm0.4−0.4-0.4−1.5-1.5−1.2±1.3-1.2 \pm1.3
8−0.5-0.5+0.9+1.4±0.6+1.4 \pm0.6−0.7-0.7−2.5-2.5−1.9±0.7-1.9 \pm0.7+3.3+2.2−1.1±1.1-1.1 \pm1.1+10.0+4.2−5.8±3.0-5.8 \pm3.0−0.2-0.2+0.2+1.8±0.5+1.8 \pm0.5−0.5-0.5−1.0-1.0−0.5±1.1-0.5 \pm1.1
16−0.4-0.4−0.6-0.6−0.1±0.8-0.1 \pm0.8−2.2-2.2−3.2-3.2−1.0±1.8-1.0 \pm1.8+3.3+2.2−1.1±1.0-1.1 \pm1.0+10.8+5.8−5.0±4.4-5.0 \pm4.4−1.5-1.5−2.2-2.2−0.7±1.3-0.7 \pm1.3−0.8-0.8−0.9-0.9−0.1±1.1-0.1 \pm1.1

Table 7. Avg@4 (a) and greedy (b) accuracy at the end of training, for Qwen2.5-7B-Instruct and Qwen2.5-1.5B-Instruct (row blocks), per u≤16u \le16 (rows) and benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks); LlMBO is trained on the metric of each subtable (greedy: § 5.3). base: accuracy of the base model in that metric (%). GRPO, LlMBO: gain over the base model (points), mean over seeds (GRPO and avg@4-trained LlMBO 8 per cell at u≤4u \le4 and 3 at u=8,16u = 8, 16, greedy-trained LlMBO 3 per cell); bold: the larger, unless tied. Δ\Delta: paired gap LlMBO −- GRPO, mean ±\pm s.e. over the seed pairs both have, so it can differ from the difference of the two gains; tint: its sign and size (green: LlMBO ahead).

Figure 9. Gain over the base model of LIMBO against GRPO’s, in avg@4 and in greedy accuracy (color; greedy filled, avg@4 open), LIMBO trained on the metric of each point, for Qwen2.5-7B-Instruct and Qwen2.5-1.5B-Instruct (rows) on each benchmark (columns), each panel on its own axes. Training uses GSM8K and MATH: the left two columns are in-distribution, the four benchmarks right of the dotted line out-of-distribution. One point per u≤4u \le4 (marker), mean ±\pm s.e. over seeds. Points in the shaded half above the diagonal favor LIMBO; dashed: no gain.

Figure 10. Paired gap LIMBO − GRPO in avg@4 and in greedy accuracy (color), LIMBO trained on each metric, against u∈{1,…,16}u \in\{1, \ldots, 16\}, mean ±\pm s.e. over seed pairs, for Qwen2.5-7B-Instruct and Qwen2.5-1.5B-Instruct (rows), one column per benchmark (in-distribution GSM8K and MATH-500 first, then the four out-of-distribution benchmarks), each panel on its own gap axis. Solid, filled: b=1b = 1 candidate per batch (the default); dashed, open: the b=4b = 4 ablation.

stays within about half a point of GRPO on both models, except on Qwen2.5-7B-Instruct’s MATH-500 at u=4u = 4 (−1.6±0.4-1.6 \pm0.4). GRPO’s small gains are no larger than the noise of an evaluation, so the Instruct models only test whether an optimizer does harm when there is nothing to find. GRPO does essentially none; LlMBO does a little.

Too little signal to certify θ=0\theta= 0

The noise in a single LlMBO evaluation can exceed the performance gain we seek to detect since it scores a candidate by one sampled completion on each of n=256n = 256 training prompts. At the Instruct models’ training pass rates the standard error of that estimate is 2.6–3.0 points (Table 8); even the base model’s rate, measured eight times in the initial design, is known only to ±1.0\pm1.0 points. Telling two adapters apart by δ\delta at two standard errors of their difference takes about 8σ2/δ28\sigma^2/\delta^2 evaluations of each: 61 for δ=1\delta= 1 point and 246 for δ=0.5\delta= 0.5. A search has about 497 evaluations in all, spread over the search box. It therefore cannot establish that no adapter beats θ=0\theta= 0, the correct answer here: with a flat objective it can only return the trial whose posterior mean happens to be highest.

Modeluubase (%)s.e./eval.GP gain∥θ∥∞/R\lVert\theta\rVert_\infty/RGSM8KMATH-500
Qwen2.5-7B-Inst.165.1 ±0.2\pm0.23.0+0.8±0.2+0.8 \pm0.20.11±0.020.11 \pm0.02+0.1±0.1+0.1 \pm0.1+0.1±0.5+0.1 \pm0.5
264.9 ±0.3\pm0.33.0+1.6±0.2+1.6 \pm0.20.20±0.050.20 \pm0.05+0.0±0.2+0.0 \pm0.2+0.0±0.2+0.0 \pm0.2
465.2 ±0.3\pm0.32.9+2.3±0.3+2.3 \pm0.30.45±0.090.45 \pm0.09−0.4±0.2-0.4 \pm0.2−1.0±0.4-1.0 \pm0.4
Qwen2.5-1.5B-Inst.177.4 ±0.2\pm0.22.6+0.5±0.2+0.5 \pm0.20.16±0.030.16 \pm0.03+1.3±0.3+1.3 \pm0.3−1.0±0.3-1.0 \pm0.3
277.2 ±0.2\pm0.22.6+1.2±0.3+1.2 \pm0.30.18±0.030.18 \pm0.03+0.8±0.1+0.8 \pm0.1−0.4±0.3-0.4 \pm0.3
477.2 ±0.1\pm0.12.5+1.7±0.3+1.7 \pm0.30.36±0.040.36 \pm0.04+0.6±0.3+0.6 \pm0.3−0.5±0.5-0.5 \pm0.5
Qwen2.5-7B142.1 ±0.6\pm0.63.1+4.6±0.8+4.6 \pm0.80.22±0.030.22 \pm0.03+5.8±1.0+5.8 \pm1.0+5.8±1.0+5.8 \pm1.0
242.2 ±0.6\pm0.63.1+6.3±1.0+6.3 \pm1.00.32±0.040.32 \pm0.04+6.9±1.1+6.9 \pm1.1+7.1±1.0+7.1 \pm1.0
441.8 ±0.7\pm0.73.1+9.2±0.9+9.2 \pm0.90.64±0.080.64 \pm0.08+9.8±0.8+9.8 \pm0.8+10.3±0.5+10.3 \pm0.5

Table 8. What the search sees and what it delivers, per LlMBO run at u≤4u \le4 (b=1b = 1, trained on the pass rate at T=1T = 1), mean ±\pm s.e. over seeds; Qwen2.5-7B, which TinyLoRA moves, for contrast. Training distribution: the base model’s sampled pass rate on the training tier, estimated from the eight θ=0\theta= 0 replicates of the search design; the standard error of one candidate’s evaluation (one completion on each of n=256n = 256 prompts), in points; GP gain: the final GP’s posterior mean at the returned adapter minus its posterior mean at θ=0\theta= 0, in pass-rate points, the improvement the search believes it found; ∥θ∥∞/R\lVert\theta\rVert_\infty/R: how far out in the search box [−R,R]u[-R,R]^u the returned adapter lies. Held-out gain: avg@4 accuracy on GSM8K and MATH-500 minus the base model’s (points).

The search can fit evaluation noise by picking the best of a few hundred noisy evaluations is optimistic by construction (the winner’s curse), and the GP removes only part of that bias. Its posterior believes the returned adapter improves the training pass rate in every row of Table 8, by +0.8±0.2+0.8 \pm0.2 points on Qwen2.5-7B-Instruct at u=1u = 1, rising to +2.3±0.3+2.3 \pm0.3 at u=4u = 4 (+0.5±0.2+0.5 \pm0.2 to +1.7±0.3+1.7 \pm0.3 on Qwen2.5-1.5B-Instruct). On held-out MATH-500, the in-distribution benchmark of every training set, the same runs lose accuracy instead. The optimism grows with uu: more dimensions hold more noise to fit, and the returned adapter moves further from the origin, from 0.11 of the box half-width at u=1u = 1 to 0.45 at u=4u = 4 on Qwen2.5-7B-Instruct, as held-out accuracy falls. The GP is not miscalibrated in general: on Qwen2.5-7B, whose pass rate TinyLoRA does move, its believed gains (+4.6±0.8+4.6 \pm0.8 to +9.2±0.9+9.2 \pm0.9 points at u=1,4u = 1, 4) track the held-out gains of the same runs. The failure is specific to a regime where the true gain is below what the evaluation budget can resolve.

GRPO starts at θ=0\theta= 0 and moves only as far as its gradient consistently pushes it, favoring solutions near the initialization, whereas BO can explore candidates farther from θ=0\theta= 0. With Adam, a coordinate whose gradient keeps its sign moves about ηS\eta S per step, up to ηS=R\eta S = R after SS steps, which is how we set the search box (Section 4). A gradient that is pure noise instead gives updates of random sign, correlated only over the momentum horizon, and for β1=0.9\beta_1 = 0.9 these add up to a random walk of about ηS\eta\sqrt{S}, a fraction 1/S≈0.051/\sqrt{S} \approx0.05 of the box after S≈400S \approx400 steps. Without signal, GRPO thus stays close to the base model, as if under a prior concentrated at θ=0\theta= 0 with width shrinking as 1/S1/\sqrt{S}, and its held-out accuracy barely moves. LlMBO has no such prior: its Sobol designs and trust-region restarts cover the box uniformly, its GP has a constant prior mean, and θ=0\theta= 0 competes with every other evaluated point on equal terms, so on a flat objective the pick lands wherever the noise peaks. Where there is a gain to find, as on the models of Appendix § 9, this freedom is what lets LlMBO find it within the budget. Where there is none, it costs a fraction of a point.

The bias is cheap to add to LlMBO by returning θ=0\theta= 0 unless the posterior probability that the pick beats it is high, re-evaluate the final candidates against fresh θ=0\theta= 0 replicates before committing, or place a GP prior mean or a trust-region schedule that favors the origin. Each trades a little of the search’s reach for safety on models with no headroom.

Training objective: greedy against T=1T = 1

Everywhere else each metric is reported for LlMBO trained on it. Here we compare the two objectives directly. For each seed, LlMBO trained on greedy accuracy and LlMBO trained on the pass rate at T=1T = 1 search the same TinyLoRA subspace (the SVD bases and random projections of the same GRPO seed), and both are evaluated greedily (Table 9). At u=4u = 4 training on greedy accuracy raises greedy accuracy in every model group: on greedy GSM8K by +3.2±1.3+3.2 \pm1.3 points over the four vanilla base models, +4.2±2.7+4.2 \pm2.7 over the two math models and +6.3±3.1+6.3 \pm3.1 over the two 1.5B models, and on greedy MATH-500 by +1.8±0.8+1.8 \pm0.8, +2.8±1.2+2.8 \pm1.2 and +3.3±1.8+3.3 \pm1.8. The difference is largest on Qwen2.5-Math-1.5B (+29.4+29.4 points on greedy GSM8K at u=2u = 2), whose base model’s repetition loop only the greedy objective sees (Appendix § 10). On Qwen2.5-7B the two objectives are level (−0.4-0.4 on GSM8K, −0.8-0.8 on MATH-500 at u=4u = 4).

in-distributionout-of-distribution
uuGSM8KMATH-500AIME24AMC23MinervaOlympiad
avg@4greedyΔ\Deltaavg@4greedyΔ\Deltaavg@4greedyΔ\Deltaavg@4greedyΔ\Deltaavg@4greedyΔ\Deltaavg@4greedyΔ\Delta
base43.916.40.05.07.42.8
1+1.1+2.2+0.2 ± 0.6−0.3+0.1−0.2 ± 0.4+0.0+0.0+0.0 ± 0.0−1.6+0.0+0.8 ± 1.7−1.3−0.7+0.2 ± 0.3−0.2+0.0+0.0 ± 0.2
2+0.3+1.6+1.8 ± 0.3−1.7+0.3+2.1 ± 0.6+0.0+0.0+0.0 ± 0.0−2.5+0.0+3.3 ± 1.7−2.6−2.0+4.1 ± 0.0−0.3+0.0+0.1 ± 0.2
4−1.6+2.7+4.3 ± 3.9−2.1+1.2+3.5 ± 1.3+0.0+0.0+0.0 ± 0.0−1.6−1.7+0.0 ± 1.4−2.3−2.0+1.1 ± 1.2−0.4−0.4+0.0 ± 0.3
8−5.1+2.2+7.3 ± 2.3−3.6+0.7+4.3 ± 1.2+0.0+0.0+0.0 ± 0.0−3.3−3.3+0.0 ± 0.4−3.1−1.2+1.8 ± 1.9−0.8−0.2+0.6 ± 0.7
16−7.0+2.9+10.0 ± 0.5−4.3−0.8+5.0 ± 2.0+0.0+0.0+0.0 ± 0.0−5.0−1.7+13.3 ± 0.8−2.7−2.0+1.2 ± 0.7−0.9−0.4+0.4 ± 0.8
base22.47.40.01.05.51.5
1−1.0+0.1−0.2 ± 0.2−0.4+1.6+0.5 ± 0.5+0.0+0.0+0.0 ± 0.0−1.2−0.8−1.7 ± 0.8−0.9−1.7+0.5 ± 0.7−0.1+0.1−0.1 ± 0.1
2−1.5+0.8+3.2 ± 1.9+1.3+1.0+1.0 ± 0.3+0.0+0.0+0.0 ± 0.0+0.6+3.3+2.5 ± 2.9−2.0−1.7+0.5 ± 0.3−0.1+0.1+0.2 ± 0.2
4−1.4+1.0+7.1 ± 2.9+0.7+1.0+0.7 ± 1.3+0.4+0.0+0.0 ± 0.0+0.6+1.7+1.7 ± 0.8−0.9−1.2+0.4 ± 0.4+0.1+0.2+0.3 ± 0.5
8−1.9+0.9+11.2 ± 1.9+0.7+1.3+2.7 ± 1.1+0.4+0.0+0.0 ± 0.0+0.6+1.7+1.7 ± 0.8−3.9−1.2+1.7 ± 0.5−0.3+0.2+0.3 ± 0.5
16−11.9+0.1+12.0 ± 3.1−2.2+2.0+4.2 ± 0.9+0.0+0.0+0.0 ± 0.0+1.7+0.8−0.8 ± 1.1−2.6−0.2+2.3 ± 2.2−0.2+0.5+0.7 ± 0.5
base2.73.00.00.01.50.5
1−1.5−0.2+1.0 ± 0.0+0.5+1.5−0.8 ± 0.8+0.0+0.0+0.0 ± 0.0+0.0+0.0+0.0 ± 0.0−0.3+0.9+1.8 ± 0.0−0.2+0.1+0.1 ± 0.0
2−1.3−0.5+0.7 ± 0.3−0.2+2.2+1.7 ± 0.5+0.0+0.0+0.0 ± 0.0+0.0+0.0+0.0 ± 0.0−0.2+1.7+1.2 ± 0.6−0.2+0.2+0.5 ± 0.2
4−0.7−0.3+0.7 ± 0.3+0.7+2.4+1.9 ± 0.5+0.0+0.0+0.0 ± 0.0+0.0+0.0+0.0 ± 0.0−0.1+1.2+1.4 ± 0.4−0.1+0.2+0.3 ± 0.3
8−0.7−0.3+0.4 ± 0.1+0.5+2.4+1.9 ± 0.6+0.0+0.0+0.0 ± 0.0+0.0+0.8+0.8 ± 0.8−0.1+0.2+1.1 ± 0.8−0.1+0.1+0.3 ± 0.2
16−2.4−0.7+1.8 ± 0.5−0.5+2.4+2.9 ± 1.5+0.0+0.0+0.0 ± 0.0+0.0+0.0+0.8 ± 0.8−1.0+0.1+1.1 ± 0.8−0.4+0.2+0.2 ± 0.3
base88.064.04.230.032.728.6
1−0.1+0.0+0.4 ± 0.4+2.0+1.5−0.4 ± 1.5+4.2+4.4−2.2 ± 2.1+5.3+6.7+1.7 ± 1.7−0.3+0.6+0.6 ± 1.5+0.7+2.6+2.2 ± 0.8
2−0.4−0.9−0.6 ± 0.4+2.3+1.5−1.1 ± 1.6+4.2+11.1+7.8 ± 2.9+5.3+3.3−1.7 ± 1.7−0.6−2.6−3.9 ± 2.5+1.7+2.6+1.1 ± 0.1
4−1.1−1.4−0.7 ± 0.4+2.2+2.4−0.8 ± 1.6+4.2+3.3−2.2 ± 2.9+3.4+6.7+5.0 ± 1.6+0.7−1.6−1.6 ± 1.8+1.1+1.6+1.2 ± 0.8
8−1.4−0.8+0.7 ± 0.4+1.9+1.1+0.8 ± 1.6+4.1+4.4+0.0 ± 1.9+5.0+6.7+1.7 ± 2.2+1.0−3.7+2.7 ± 3.2+0.1+2.1+2.0 ± 0.8
16−0.1+0.1+0.4 ± 0.4+2.4+3.4+0.1 ± 1.6+1.1+7.8+0.1 ± 1.9+5.8+7.5+3.8 ± 2.2+0.6+1.2+1.1 ± 0.7+1.2+2.1+0.8 ± 0.8

Table 9. Greedy accuracy at the end of training of LlMBO trained on the pass rate at T=1T=1 (avg@4) and on greedy accuracy (greedy), the same 3 seeds per cell searching the same subspaces, for the four vanilla base models, the two math-specialized 7B models and the two Qwen2.5 1.5B models (row blocks), per u≤16u \le16 (rows) and benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks). base: greedy accuracy of the base model (%). avg@4, greedy: gain over the base model (points), mean over seeds; bold: the larger, unless tied. Δ\Delta: paired gap of the greedy objective over the avg@4 one, mean ±\pm s.e. over seed pairs; tint: its sign and size (green: the greedy objective ahead).

Sample efficiency, compute and memory

This appendix details the efficiency comparison of § 5.4: completions, compute, and memory.

Sample efficiency

We measure effort in generated training completions, independent of hardware: a median GRPO run generates 101k, a median LlMBO run 123k after its initial design (restart designs included). Figure 11 tracks the greedy gain over the base model along the way, against where GRPO ends. On the math-specialized models LlMBO gets there almost immediately: on Qwen2.5-Math-1.5B at u=2u = 2 it passes GRPO’s final accuracy with its first GP-guided batch, 256 completions, on both tasks, and ends +27.3 (GSM8K) and +15.1 (MATH-500) points above it; on Qwen2.5-Math-7B at u=4u = 4 it does the same on GSM8K and ends +9.7 above. GRPO reaches its final accuracy only at the end of its run. Elsewhere the curves mostly stay within a couple of points of GRPO’s final accuracy throughout. Trained on MATH alone (Figure 14), LlMBO on Qwen2.5-Math-1.5B is ahead of GRPO’s final accuracy from its first batch, 256 completions, in all six columns, and ends +13.2 to +23.2 points above it on GSM8K and +4.9 to +14.1 on MATH-500.

Figure 14. Gain of the current adapter over the base model, in greedy accuracy against training completions generated so far, on the two in-distribution tasks at u∈{1,2,4}u \in\{1, 2, 4\} (columns), for the four Qwen2.5 base and Math models (rows) trained on the SimpleRL-Zoo tiers (solid, filled) and on MATH alone (dashed, open), mean ±\pm s.e., for GRPO and for LlMBO (b=1b = 1) trained on greedy accuracy (§ 5.3). LlMBO’s adapter at each point is its evaluated trial of highest posterior mean, its completions counted from the end of its initial design. Gray dashed: the base model.

One completion per prompt

Table 10: Correlation between completions of the same prompt, per model, from GRPO’s first 20 steps at u≤4u \le4, close to the base model, at T=1T = 1 on the training tier. Equal-reward groups: groups of 4 completions of one prompt that all get the same reward, as observed and as expected if the completions were independent at the same pass rate; such groups give GRPO no gradient. ρ\rho: intraclass correlation of the beta-binomial matching pass rate and observed equal-reward groups; 1+3ρ1 + 3\rho: variance inflation of a pass-rate estimate from groups of 4 over one completion per prompt; keff=4/(1+3ρ)k_{\mathrm{eff}} = 4/(1 + 3\rho): independent completions a group is worth.

Modelpass rate (%)equal-reward groups (%) observedequal-reward groups (%) independentρ\rho1+3ρ1 + 3\rhokeffk_{\mathrm{eff}}
Llama3.1-8B390880.091.273.2
Mistral-7B293920.061.193.4
DeepSeek-7B197970.031.093.7
Qwen2.5-7B4243140.352.042.0
Qwen2.5-Math-7B4635130.271.812.2
DeepSeek-Math-7B683790.141.432.8
Qwen2.5-1.5B3136230.171.512.6
Qwen2.5-Math-1.5B4322140.101.313.1
Qwen2.5-7B-Inst.6673200.673.001.3
Qwen2.5-1.5B-Inst.7759350.372.101.9

Table 10.

LlMBO scores a candidate on one completion per prompt; GRPO samples a group of 4 per prompt for its baseline. For a fixed budget of NN completions, one per prompt gives the more precise estimate of the pass rate pp. With kk completions on each of N/kN/k prompts, the estimate has variance

Var⁡(p^)=p(1−p)N(1+(k−1)ρ),ρ=Var⁡(pq)p(1−p)\operatorname{Var}(\hat{p}) = \frac{p(1-p)}{N} \left(1 + (k - 1)\rho\right), \qquad\rho= \frac{\operatorname{Var}(p_q)}{p(1-p)}

where pqp_q is the pass rate on prompt qq and ρ\rho the correlation between two completions of the same prompt: the more prompts differ in difficulty, the less a second completion of the same prompt adds. The variance is smallest at k=1k = 1, the binomial variance p(1−p)/Np(1-p)/N of independent completions; kk completions per prompt are worth k/(1+(k−1)ρ)k/(1 + (k - 1)\rho) independent ones. One completion per prompt costs nothing extra here, since the training tiers hold thousands of prompts and LlMBO draws fresh ones for every candidate; repeating a prompt saves only its prefill, at most 512 of the 1536 tokens of a sequence.

GRPO’s logs measure ρ\rho for its groups of 4 (Table 10). Completions of the same prompt agree much more often than independent ones would, and most strongly on the models TinyLoRA moves: on the Qwen2.5 base and

Math models a group of 4 is worth only 2.0–3.1 independent completions, and on the Instruct models the variance inflation reaches 3.0. On Llama3.1-8B, Mistral-7B and the DeepSeek models the pass rate on the training tier is low and the correlation weak, but there 83–97% of GRPO’s groups get the same reward for all 4 completions, so their advantages vanish and they give no gradient, at the full cost of generating and back-propagating them. LLMBO uses every completion: each one is on a fresh prompt and counts toward the pass rate.

Compute

GRPO’s 4 forward passes per token (§ 5.4) are generation, rescoring for the old log-probabilities, and the forward and backward pass for the gradient, the backward pass counted as one since with frozen weights it only propagates activation gradients. The 30% counts LLMBO’s full run of 123k completions against GRPO’s 101k.

Memory

Table 11: Memory per architecture, pooling its models (DeepSeek-7B: the DeepSeek-Math-7B runs, same architecture); weights in bf16. Layers × KV heads: the attention shape that sets the KV cache (head dimension 128 throughout); KV/seq.: KV cache of one full-length sequence, 512 prompt + 1024 completion tokens. Beyond vLLM: the working set MM a method allocates beyond the vLLM engine’s reserve, median over runs (for GRPO, one micro-batch of 4 sequences). Sequences in flight: estimated full-length sequences a method keeps in flight on each card (22.0, 39.4, 44.4 and 79.2 GiB usable). Bold: the better method; ✗: fewer than 4 sequences fit. Derivation and a worked example in the text.

ArchitectureKV headsLayers ×weights (GiB)KV/seq. (MiB)beyond vLLM GRPObeyond vLLM LLMBOL4 24 GB GRPOL4 24 GB LLMBOA100 40 GB GRPOA100 40 GB LLMBOL40S 48 GB GRPOL40S 48 GB LLMBOH100 80 GB GRPOH100 80 GB LLMBO
Qwen2.5-1.5B228 ×2.9421.40.045418908411039631951812
Qwen2.5-7B428 ×14.2848.90.0✗71102821234327767
Llama3.1-8B832 ×15.01928.00.0✗27101191214628331
Mistral-7B832 ×13.519210.40.0✗3481271015422339
DeepSeek-7B3230 ×12.97201.60.0610223426415891

Table 11. Memory per architecture, pooling its models (DeepSeek-7B: the DeepSeek-Math-7B runs, same architecture); weights in bf16. Layers × KV heads: the attention shape that sets the KV cache (head dimension 128 throughout); KV/seq.: KV cache of one full-length sequence, 512 prompt + 1024 completion tokens. Beyond vLLM: the working set M a method allocates beyond the vLLM engine’s reserve, median over runs (for GRPO, one micro-batch of 4 sequences). Sequences in flight: estimated full-length sequences a method keeps in flight on each card (22.0, 39.4, 44.4 and 79.2 GiB usable). Bold: the better method; ✗: fewer than 4 sequences fit. Derivation and a worked example in the text.

Both methods hold one copy of the weights, shared with the colocated inference engine, and need KV cache for the completions they generate. GRPO additionally holds logits, activations, gradients and optimizer state for its backward pass, which it runs on 4 sequences at a time: 1.4 GiB on the 1.5B models and 1.6–10.4 GiB on the 7-8B ones (Table 11). LLMBO allocates nothing measurable beyond inference; its GP lives on the CPU.

The working-set columns of Table 11 derive from each run’s peak allocation. Raw peaks are not comparable across methods: the colocated vLLM engine reserves a fixed share ss of a card of capacity CC up front, s=0.85s = 0.85 for LLMBO, which has no training state, and s=0.5s = 0.5 for GRPO (0.45 on 80 GB cards), so LLMBO’s peak is the larger by construction. We therefore report the working set M=peak−sCM = \text{peak} - sC, what a method allocates beyond the engine’s reserve, which for a given model is nearly constant across card types. For LLMBO, MM comes out slightly negative, since the peak allocation misses the engine’s CUDA graphs, and we report 0; the same omission makes GRPO’s MM a slight underestimate, so the comparison favors GRPO.

GRPO’s MM is that of its micro-batch: it passes a step’s completions forward and backward 4 at a time (one prompt’s group), accumulating gradients over the step’s 64 prompts, so MM is the working set of 4 sequences, the same on every card. The sequence columns are an estimate of how many sequences each method could keep in flight, assuming the working set grows linearly with the number of sequences, M/4M/4 per sequence (activations and logits are per sequence; the adapter’s optimizer state is negligible). A card then holds

n=⌊C−W−ELk+M/4⌋n = \left\lfloor\frac{C - W - E}{Lk + M/4} \right\rfloor

full-length sequences, with WW the weights, E≈2E \approx2 GiB the engine’s activation and CUDA-graph overhead, L=1536L = 1536 tokens and kk the KV cache per token, 2×2 \times layers ×\times KV heads ×\times head dim ×2\times2 bytes; for LLMBO, M=0M = 0 and only the KV cache counts. For Qwen2.5-7B on a 24 GB card (C=22.0C = 22.0 GiB usable), C−W−E=5.8C - W - E = 5.8 GiB and one sequence’s KV cache takes Lk=84Lk = 84 MiB, so LLMBO holds 71 sequences; each GRPO sequence also needs 8.9/4≈2.28.9/4 \approx2.2 GiB of working set, so GRPO holds 2, fewer than its micro-batch; we count fewer than 4 sequences as not fitting. These counts assume the engine is given all the memory the method leaves free, and vLLM’s paged cache fits more sequences when completions end early.

Beyond the 24 GB case of § 5.4, on a 48 GB card LIMBO keeps 1.6–29 times as many sequences in flight as GRPO, that is, larger generation batches. DeepSeek-7B is the low end of both ranges: its GRPO working set is only 1.6 GiB, while its multi-head attention needs four times Llama’s KV cache per token, so few sequences fit under either method.

Batch size and parallelism

A candidate is uu numbers and its score a pass count, so the completions that score it can be generated on any number of devices with no synchronization beyond collecting the counts. The b=4b = 4 ablation asks whether the same completions go further when spread over more candidates, four adapters on 64 prompts each instead of one on 256, which also makes the candidates of a batch independent jobs. At u≤4u \le4 it costs at most about a point on either primary task (Table 3; at u=2u = 2 LIMBO trained on avg@4 −0.8 on GSM8K avg@4 and −0.3 on MATH-500 avg@4, LIMBO trained on greedy accuracy +0.5 and −0.5 on greedy accuracy), and for LIMBO trained on avg@4 more from u=8u = 8, where at b=4b = 4 it trails GRPO by −7.5 ±\pm 4.0 points on Qwen2.5-7B’s GSM8K avg@4 (Figure 6): the GP gains more from one precise score than from four noisy ones. The training-set evaluations show the noise directly: at u≤4u \le4 the in-search score of LIMBO’s final pick exceeds the pick’s accuracy on the whole training set by +3.7 ±\pm 1.1 points at b=4b = 4 and +0.4 ±\pm 0.9 at b=1b = 1, over the 5 models evaluated at both (trained on greedy accuracy: +1.9 ±\pm 0.7 and +1.1 ±\pm 0.3 over 9), so a pick scored on 64 prompts is more often one that drew an easy minibatch. Nor do the extra candidates buy completion efficiency: along the way the b=4b = 4 and b=1b = 1 curves mostly cross back and forth within their errors, with no consistent edge for b=4b = 4, and on the 7-8B models at u=4u = 4 b=1b = 1 ends ahead on both tasks (Figure 12). One candidate per batch is thus the completion-efficient choice, and b=4b = 4 remains an option on hardware that favors independent jobs.

Figure 12. Gain of the current adapter over the base model, in greedy accuracy against training completions generated so far, on the two in-distribution tasks at u∈{1,2,4}u \in\{1, 2, 4\} (columns), pooled over the four 7-8B families and over the two Qwen2.5 1.5B models (rows; each model counted once), trained on the SimpleRL-Zoo tiers, mean ±\pm s.e.: GRPO and LIMBO trained on greedy accuracy (§ 5.3) with b=1b = 1 (solid, filled) and b=4b = 4 (dashed, open) candidates per batch. LIMBO’s adapter at each point is its evaluated trial of highest posterior mean, its completions counted from the end of its initial design. Dotted: GRPO at the end of training; gray dashed: the base model.

Training data: SimpleRL-Zoo tiers against MATH alone

The SimpleRL-Zoo tiers do not match the distribution of MATH-500: the hard tier, on which the 7-8B models train, holds MATH levels 3-5 only, and the easy tier, on which the 1.5B models train, GSM8K and MATH level 1, while MATH-500 tests all five levels. The full MATH training set has the level and subject mix of MATH-500.

avg@4

Retraining the four Qwen2.5 base and Math models on it removes the shift and tests whether the gains of either optimizer, and LlMBO’s advantage over GRPO, depend on it. Figure 13 overlays the two training sets; Table 12 gives the MATH-only cells (the tier cells are in Appendices B and C). The cells on MATH alone carry as many seeds as their tier counterparts, 8 for GRPO and for LlMBO trained on avg@4 at u≤4u \le4 (3 at u=8,16u = 8, 16) and 3 for LlMBO trained on greedy accuracy, each LlMBO seed paired with the GRPO seed that shares its subspace.

Figure 13. Gain over the base model in avg@4 (dashed) and in greedy accuracy (solid) against u≤4u \le4, training on the SimpleRL-Zoo tiers (filled; hard tier at 7B, easy tier at 1.5B) and on MATH alone (open), the four Qwen2.5 base and Math models (rows), one column per benchmark (the two in-distribution tasks, then the four OOD benchmarks), each panel on its own scale; GRPO and LlMBO trained on the metric of each curve, mean ± s.e. over seeds.

Removing the shift moves neither optimizer much on MATH-500 (Figure 13): on Qwen2.5-7B at u=4u = 4 GRPO gains +6.9 points on the tiers and +7.5 on MATH alone, LlMBO +10.3 and +9.5; elsewhere the two training sets mostly stay within each other’s seed spread. Pooled over Qwen2.5-7B and Qwen2.5-Math-7B, LlMBO’s paired gap on MATH-500 avg@4 stays positive at every uu on MATH alone (+1.2 ± 0.5, +2.0 ± 0.9, +1.6 ± 0.9 at u=1,2,4u = 1, 2, 4), as on the tiers (+1.0 ± 0.6, +3.7 ± 1.2, +3.5 ± 1.1), and so does its gap on GSM8K avg@4 (+1.2 ± 0.7, +2.5 ± 1.3, +1.4 ± 1.2, against +1.0 ± 0.7, +4.9 ± 1.4, +4.1 ± 1.4 on the tiers). Every difference between the two training sets is within two standard errors (at u=2,4u = 2, 4: −1.7 ± 1.4 and −1.9 ± 1.4 points on MATH-500, −2.3 ± 1.9 Table 12: Avg@4 (a) and greedy (b) accuracy at the end of training on MATH alone, for the four Qwen2.5 base and Math models, 7B then 1.5B (row blocks), per u≤16u \le16 (rows) and benchmark (columns: in-distribution GSM8K and MATH-500, then the four out-of-distribution benchmarks); LIMBO is trained on the metric of each subtable (greedy: § 5.3). base: accuracy of the base model in that metric (%). GRPO, LIMBO: gain over the base model (points), mean over seeds (GRPO and avg@4-trained LIMBO 8 per cell at u≤4u \le4 and 3 at u=8,16u = 8, 16, greedy-trained LIMBO 3 per cell); bold: the larger, unless tied. Δ\Delta: paired gap LIMBO −- GRPO, mean ±\pm s.e. over the seed pairs both have, so it can differ from the difference of the two gains; tint: its sign and size (green: LIMBO ahead).

GSM8KMATH-500AIME24AMC23MinervaOlympiad
uuGRPOLIMBOΔ\DeltaGRPOLIMBOΔ\DeltaGRPOLIMBOΔ\DeltaGRPOLIMBOΔ\DeltaGRPOLIMBOΔ\DeltaGRPOLIMBOΔ\Delta
Qwen2.5 base 7Bbase64.943.52.524.416.416.7
1+3.9+4.9+1.0 ± 0.6+4.0+5.3+1.3 ± 0.7+1.8+0.8−0.9 ± 0.4+0.9+2.3+1.4 ± 0.9+2.3+2.7+0.4 ± 0.8+1.7+2.5+0.8 ± 0.6
2+5.4+8.3+2.8 ± 1.4+5.8+8.5+2.7 ± 1.2+0.8+1.1+0.3 ± 0.8+0.7+2.6+1.9 ± 1.4+3.1+4.1+1.0 ± 1.1+2.2+3.8+1.7 ± 0.8
4+8.4+9.5+1.1 ± 2.2+7.5+9.5+2.0 ± 1.7+0.6+0.8+0.2 ± 0.4+0.9+1.6+0.8 ± 1.4+2.8+4.6+1.8 ± 1.3+3.1+4.4+1.3 ± 1.5
8+9.6+8.7−0.9 ± 3.2+9.1+9.8+0.7 ± 1.8+0.6+0.3−0.3 ± 1.9+5.2+2.7−2.5 ± 5.6+5.0+5.8+0.9 ± 1.0+3.9+4.3+0.4 ± 1.7
16+14.8+12.1−2.7 ± 1.5+14.8+12.5−2.4 ± 1.0+2.5+1.7−0.8 ± 1.7+11.2+7.7−3.5 ± 2.7+10.1+5.8−4.4 ± 1.0+8.1+7.6−0.5 ± 1.5
Qwen2.5 Math-7Bbase46.444.94.230.617.919.9
1+4.0+5.4+1.4 ± 1.3+3.5+4.7+1.2 ± 0.9+5.2+5.1−0.1 ± 1.4+0.1+0.5+0.4 ± 1.8+1.4+2.2+0.8 ± 1.1+2.2+2.6+0.4 ± 0.7
2+8.0+10.2+2.2 ± 2.3+4.9+6.3+1.4 ± 1.3+5.7+5.3−0.4 ± 1.2+3.3+1.5−1.8 ± 2.2+2.5+4.3+1.7 ± 1.0+2.4+3.2+0.8 ± 1.1
4+11.8+13.5+1.7 ± 1.1+8.5+9.7+1.2 ± 0.8+5.9+6.6+0.6 ± 1.7+5.7+6.3+0.6 ± 2.3+5.4+6.6+1.2 ± 0.8+4.9+6.4+1.5 ± 0.8
8+15.1+20.9+5.9 ± 2.3+11.7+12.8+1.1 ± 0.7+5.6+5.0−0.6 ± 0.7+7.3+8.1+0.8 ± 3.9+5.2+7.8+2.6 ± 1.3+6.8+7.5+0.7 ± 1.4
16+19.6+24.3+4.7 ± 2.6+14.5+15.1+0.6 ± 1.1+5.3+2.5−2.8 ± 1.5+11.0+10.4−0.6 ± 2.5+8.1+9.3+1.3 ± 0.9+8.7+8.7+0.0 ± 1.2
Qwen2.5 1.5Bbase22.68.90.01.92.31.6
1+0.2+0.6+0.4 ± 0.5−0.1−0.1+0.0 ± 0.3+0.2+0.1−0.1 ± 0.2+2.0+2.0+0.0 ± 1.1−0.3−0.2+0.1 ± 0.2+0.1+0.2+0.1 ± 0.2
2+0.3+0.0−0.4 ± 0.5+0.3−0.4−0.7 ± 0.3…

Table 12. Avg@4 (a) and greedy (b) accuracy.

and −2.7 ± 1.8 on GSM8K); the b=4b = 4 ablation shows drops of the same size (−1.3 ± 1.5 on MATH-500 and −2.9 ± 1.8 on GSM8K at u=4u = 4). Over Qwen2.5-1.5B and Qwen2.5-Math-1.5B, LIMBO is level with GRPO on both training sets: on MATH alone its paired gap on MATH-500 avg@4 is +0.1 ± 0.3, −0.5 ± 0.2 and +0.3 ± 0.2 at u=1,2,4u = 1, 2, 4 and on GSM8K avg@4, which this training set no longer contains, +0.1 ± 0.3, +0.1 ± 0.3 and −0.3 ± 0.3.

Greedy accuracy

Trained on MATH alone, LIMBO’s paired gap on greedy MATH-500, pooled over Qwen2.5-7B and Qwen2.5-Math-7B, is +1.0 ± 1.1, −0.5 ± 0.9 and +2.8 ± 1.0 at u=1,2,4u = 1, 2, 4, against +1.8 ± 0.9, +0.3 ± 0.7 and +2.7 ± 1.6 on the tiers, and on greedy GSM8K it stays positive at every uu (+0.9 ± 1.1, +1.8 ± 2.2, +2.1 ± 2.8). At 1.5B its lead on greedy MATH-500 holds or grows, to +2.0 ± 1.6, +7.3 ± 3.7 and +7.1 ± 4.4 points at u=1,2,4u = 1, 2, 4 over Qwen2.5-1.5B and Qwen2.5-Math-1.5B, from −0.1±0.8-0.1 \pm0.8, +7.7±4.7+7.7 \pm4.7 and +1.5±1.4+1.5 \pm1.4 on the tiers, and on greedy GSM8K it leads by +8.9±4.9+8.9 \pm4.9, +12.0±6.1+12.0 \pm6.1 and +6.5±6.6+6.5 \pm6.6. The completion budget of LlMBO on MATH alone is in Figure 14.

The level shift therefore does not explain LlMBO’s advantage: with the training set matched to MATH-500, both optimizers gain about as much as on the tiers, and LlMBO’s lead on the 7B models persists at every uu, within seed noise of its lead on the tiers.

TinyLoRA under GRPO across the parameter scale

This appendix details how we parameterize and scale TinyLoRA, where this departs from Morris et al. [22] and why the departure leaves the comparison of LlMBO with GRPO unaffected, and how TinyLoRA trained with GRPO compares with LoRA and LoRA-XS from one trainable parameter to tens of millions.

Parameterization

We adapt MM modules, every attention, and MLP projection (query, key, value, output, gate, up, down) of every layer. We have M=196M = 196 on the Qwen2.5 models, 210210 on the DeepSeek models, and 224224 on Llama3.1-8B and Mistral-7B. Module mm has a frozen weight WmW_m with rank-rr truncated SVD UmΣmVmTU_m\Sigma_mV_m^{\mathsf{T}}, computed in fp32 from the bf16 weight, and receives the LoRA-XS update [3]

ΔWm=UmΣmRmVmT,Rm∈Rr×r.(9)\Delta W_m = U_m \Sigma_m R_m V_m^{\mathsf{T}}, \qquad R_m \in\mathbb{R}^{r \times r}. \tag*{(9)}

LoRA-XS trains every RmR_m directly, Mr2Mr^2 parameters in all. TinyLoRA instead writes each RmR_m as a combination of uu fixed random matrices,

Rm=∑i=1uviPi(m),Pi(m)∈Rr×r,[Pi(m)]jk∼iidN(0,1),(10)R_m = \sum_{i=1}^{u} v_i P_i^{(m)}, \qquad P_i^{(m)} \in\mathbb{R}^{r \times r}, \qquad\left[P_i^{(m)}\right]_{jk} \overset{\mathrm{iid}}{\sim} \mathcal{N}(0,1), \tag*{(10)}

with one coefficient vector v∈Ruv \in\mathbb{R}^{u} shared by all MM modules, so the adapter has exactly uu trainable parameters and we search θ=v\theta= v. Throughout, r=2r = 2, the rank Morris et al. [22] use for their main experiments.

The projections are drawn independently for every module and every ii, from a generator seeded with the run’s seed, as one u×r×ru \times r \times r tensor per module in network order (layer by layer, the seven projections in the order above). LLMBO seed kk rebuilds exactly the SVD bases and projections of GRPO seed kk, so both optimizers search the same subspace in the same coordinates. Different seeds draw independent subspaces; different uu draw unrelated ones, since every module’s tensor changes shape: the subspace at u=2u = 2 does not contain the one at u=1u = 1. Morris et al. [22] specify neither the distribution of the projections nor whether they are shared across modules; independence across modules is what makes u>r2u > r^2 useful under full tying (Section H.2).

Here vv starts at zero, so ΔWm=0\Delta W_m = 0 and θ=0\theta= 0 is the base model; Morris et al. [22] do not state an initialization. Instead of their learning-rate sweep, we fix the learning rate by equal update norm: Adam moves each coordinate of vv by about η\eta per step, and ∥Pi(m)∥F≈r\lVert P_i^{(m)} \rVert_F \approx r, so a step changes each RmR_m by ∥ΔRm∥F≈ηru\lVert\Delta R_m \rVert_F \approx\eta r \sqrt{u}. We set η=10−3/(ru)\eta= 10^{-3}/(r\sqrt{u}), a fixed ∥ΔRm∥F≈10−3\lVert\Delta R_m \rVert_F \approx10^{-3} per step at every uu, and LoRA-XS, whose coordinates are the entries of RmR_m, gets η=10−3/r\eta= 10^{-3}/r by the same rule. Since TinyLoRA and LoRA-XS share the frozen UmU_m, Σm\Sigma_m, VmV_m, equal ∥ΔRm∥F\lVert\Delta R_m \rVert_F is equal speed in weight space. The same η\eta fixes LLMBO’s search box [−ηS,ηS][-\eta S,\eta S] (§ 4).

LoRA (Hu et al., 2022) trains r(din+dout)r(d_{\mathrm{in}} + d_{\mathrm{out}}) parameters per module, about 2.5M at r=1r = 1 and 81M at r=32r = 32 on Qwen2.5-7B, with α=2r\alpha= 2r, the PEFT initialization (AA random, B=0B = 0) and η=5⋅10−6\eta= 5 \cdot10^{-6}. LoRA-XS trains Mr2Mr^2 parameters, 196 at r=1r = 1 to about 200k at r=32r = 32 on Qwen2.5-7B, with Rm=0R_m = 0 at the start. All three adapters train under the same GRPO recipe (§ 5.1).

Weight tying: the original scheme and ours

The original scheme Morris et al. [22] gives each module, or each group of ntien_{\mathrm{tie}} modules, its own vector vg∈Ruv_g \in\mathbb{R}^{u}, for Mu/ntieMu/n_{\mathrm{tie}} trainable parameters in all. Groups are either tiled, nearby modules of similar depth regardless of type, or structured, nearby modules of the same type, and tiling works better. A parameter count is reached by trading the projection dimension uu against the tying factor ntien_{\mathrm{tie}}, and their guideline is to lower uu (down to 1) before raising ntien_{\mathrm{tie}}. Scaling TinyLoRA thus spans a two-dimensional grid of configurations, with a grouping rule on top.

Both schemes are linear subspaces of LoRA-XS. Stack the per-module matrices into ρ=(vec⁡R1,…,vec⁡RM)∈RMr2\rho= (\operatorname{vec} R_1,\ldots,\operatorname{vec} R_M) \in\mathbb{R}^{Mr^2}, the parameter space of LoRA-XS. Every TinyLoRA configuration with NN trainable parameters is a fixed linear map

ρ=Φθ,Φ∈RMr2×N,θ∈RN.(11)\rho= \Phi\theta, \qquad\Phi\in\mathbb{R}^{Mr^2 \times N}, \qquad\theta\in\mathbb{R}^{N}. \tag*{(11)}

With tying in groups, θ=(v1,…,vM/ntie)\theta= (v_1,\ldots,v_{M/n_{\mathrm{tie}}}) and Φ\Phi is block-sparse: the rows of module mm are nonzero only in the uu columns of its group, which hold its projections vec⁡Pi(m)\operatorname{vec} P_i^{(m)}. With full tying (ntie=Mn_{\mathrm{tie}} = M), N=uN = u and Φ\Phi is dense, with every entry an independent standard normal. In either case, as long as Φ\Phi has full column rank, Φ\Phi’s column space is a random subspace of dimension NN. The two schemes differ only in which NN-dimensional subspace: one aligned with a grouping of the modules, or the column space of a Gaussian matrix, a uniformly random subspace in the spirit of intrinsic-dimension fine-tuning ([1]). With enough parameters the distinction vanishes: at N=Mr2N = Mr^2 both span the whole LoRA-XS space, and untied TinyLoRA with u=r2u = r^2 is LoRA-XS with a random basis for each RmR_m. Below that, full tying already reaches every count N≤Mr2N \leq Mr^2 through uu alone, so the second axis, ntien_{\mathrm{tie}}, and the grouping rule only choose among subspaces of equal dimension. Full tying also needs projections drawn independently per module: with the same PiP_i in every module, all RmR_m would coincide and the subspace would stop growing at u=r2u = r^2.

Our scheme it to fix full tying and scale TinyLoRA along the single axis u∈{1,2,4,8,16,64,256}u \in\{1, 2, 4, 8, 16, 64, 256\}, with N=uN = u. This is the original scheme’s ntie=Mn_{\mathrm{tie}} = M setting, extended past u=r2u = r^2 by independent per-module projections, and it stays well inside the regime of distinct directions: u≤256<784≤Mr2u \le256 < 784 \le Mr^2 on every model. It is also well conditioned: each column of Φ\Phi has norm about rMr\sqrt{M}, and two columns have cosine of order 1/(rM)≈0.041/(r\sqrt{M}) \approx0.04 at M=196M = 196, so every coordinate of vv moves the network by about the same amount along a nearly orthogonal direction, at every uu.

Equal dimension is not equal performance: the subspace differs, and both optimizers depend on the coordinates, Adam through its per-coordinate steps and LlMBO through its search box and per-dimension lengthscales. Our TinyLoRA accuracies at a given parameter count therefore need not match those of the best (u,ntie)(u, n_{\mathrm{tie}}) configuration and learning rate of Morris et al. [22], and we do not claim they do. The deviation does not affect our analysis, however: GRPO and LlMBO run on the same Φ\Phi, seed for seed, so they search the same subspace in the same coordinates and differ only in the optimizer. The choice of tying only fixes a simple, one-axis scaling protocol, in which the parameter count, the search dimension and the subspace dimension are all uu.

Results

Figure 15 places TinyLoRA among the larger adapters, all trained with GRPO, on every model, in avg@4 and in greedy accuracy, on the two in-distribution tasks and the four out-of-distribution benchmarks. The OOD benchmarks follow the in-distribution tasks at smaller magnitude and with more noise, as expected from 30–675 problems each.

TinyLoRA’s gains vary across model families. On Qwen2.5-7B, TinyLoRA retains a large part of LoRA’s avg@4 gain even with only a few parameters, while greedy accuracy starts higher and has less room to improve. On Llama3.1-8B, Mistral-7B, and DeepSeek-7B, TinyLoRA with u≤4u \le4 changes accuracy by at most 1.9 points on either primary task. On Llama3.1-8B and Mistral-7B LoRA at rank 32 still gains +5.5 and +5.7 points on greedy MATH-500 and +18.9 and +19.4 on greedy GSM8K: for these families a useful direction is apparently not in TinyLoRA’s random subspace. DeepSeek-7B moves little under LoRA as well (+2.4 and +2.1 points).

As for the Math variants TinyLoRA retains a large part of LoRA’s avg@4 gain down to a few parameters in Qwen2.5-Math-7B and on Qwen2.5-7B, with GRPO gaining up to +8.5 points on MATH-500 avg@4 at u=4u = 4; on DeepSeek-Math-7B, as on the other non-Qwen models, it moves accuracy little.

For the instruct models like Qwen2.5-7B-Instruct and Qwen2.5-1.5B-Instruct leave little to gain in the ultra-low-parameter regime: GRPO moves their avg@4 on GSM8K and MATH-500 by at most 1.2 points at u≤4u \le4 (Appendix § 11).

Implementation details

This appendix collects the settings of both optimizers, the evaluation harness, the compute used, and the licenses of the assets, then details LlMBO’s search, its observation model, how we keep the frozen SVD bases identical across GPU models, and the one change we make to the standard GRPO loss. All are implemented in the anonymized code in the supplementary material.

Hyperparameters

Table 13 collects the settings of Sections 4 and 5.1 and Appendix H.1. On the SimpleRL-Zoo tiers S≈390S \approx390-400.

Evaluation harness

Every model is prompted with its SimpleRL-Zoo template: a plain question-answer template for Qwen2.5-1.5B, Llama3.1-8B and Mistral-7B, and for every other model the ChatML template that asks to reason step by step and put the final answer within \boxed{}. vLLM ([14]) generates up to 1024 tokens, greedily for greedy accuracy and four samples at T=1T = 1 for avg@4. math-verify (9.0) extracts the final answer, the last \boxed{} of the completion or else its last mathematical expression, and checks it for symbolic or numeric equivalence with the reference answer; a completion with no answer, or whose grading times out, counts as wrong. Training rewards and every evaluation, of the base models included, use this one grader. The benchmarks are MATH-500 (500 problems), GSM8K (1319), AIME24 (30), AMC23 (40), Minerva Math (272) and OlympiadBench (675).

Compute

Every run, of either optimizer, uses one GPU of a shared cluster, scheduled on whichever card was free: NVIDIA L40S (48 GB), A100 (40 and 80 GB), A40, A16, H100, L4 and RTX A4000. The 10 models take over 14k GPU-hours of training (logged hours undercount runs resumed after preemption), plus evaluation. Since the two runs of a seed pair mostly ran on different cards (84 of the 336 avg@4 pairs at b=1b = 1 share one), § 5.4 compares FLOPs rather than wall-clock time.

Licenses

Models: the Qwen2.5 and Qwen2.5-Math models used here and Mistral-7B are released under Apache 2.0, Llama3.1-8B under the Llama 3.1 Community License, and DeepSeek-7B and DeepSeek-Math-7B under the DeepSeek Model License. Data: MATH, GSM8K and MATH-500 (from PRM800K) are MIT-licensed; the SimpleRL-Zoo tiers are drawn from MATH and GSM8K and released under Apache 2.0. OlympiadBench is MIT-licensed, and Minerva Math consists of MIT OpenCourseWare problems (CC BY-NC-SA 4.0). AIME24 and AMC23 are competition problems of the Mathematical Association of America; the AIME24 copy we use is released under Apache 2.0, the AMC23 copy carries no license, and both serve for evaluation only. Software: vLLM, TRL and Unsloth are Apache 2.0, BoTorch and GPyTorch MIT, and math-verify Apache 2.0.

Observation model

A candidate’s score is a count, ss solved prompts out of nn, whereas a GP with a closed-form posterior needs a Gaussian observation. The common choice, the rate p^=s/n\hat{p} = s/n with the plug-in binomial variance p^(1−p^)/n\hat{p}(1-\hat{p})/n, fails where it matters most for us (Figure 16, top). Near a pass rate of 0 or 1, where the Instruct models train, the binomial posterior is skewed and the symmetric Gaussian misplaces its mass, and at s=0s = 0 or s=ns = n the variance vanishes: the GP would treat one noisy evaluation as exact. A Gaussian on the rate also leaves the GP free to predict rates outside [0,1][0,1].

Figure 16. The Gaussian observation a GP receives for a candidate that solves ss of n=256n = 256 prompts, against the Beta(1+s,1+n−s)(1 + s, 1 + n - s) posterior on its pass rate. Top: a Gaussian on the rate with the plug-in binomial variance, each in pass-rate space. Bottom: LlMBO’s Gaussian with the exact mean yy and variance σ2\sigma^2 of the posterior’s logit (§ 4), in logit space, the space the GP models.

LlMBO instead matches a Gaussian to the logit of the Beta posterior (Figure 16, bottom). On the logit scale the posterior is close to Gaussian over the whole range of rates; at s=0s = 0 it is skewed, but its variance stays finite and grows as the rate approaches the boundary, so an all-fail or all-pass evaluation reads as weak evidence rather than as certainty. The uniform prior keeps both shape parameters at least 1, which limits this skew; under the Jeffreys prior, with α=12\alpha= \frac{1}{2} at s=0s = 0, it is much stronger. The GP thus models an unbounded quantity with a known noise per trial, inside a stock fixed-noise GP whose Thompson samples stay exact. The construction is the one of Dirichlet-based GP classification [21] and of Laplace Matching [10], which feed Gamma and Beta pseudo-observations to a GP as heteroscedastic Gaussians in a transformed space; we use the exact moments of the logit, ψ(α)−ψ(β)\psi(\alpha)-\psi(\beta) and ψ1(α)+ψ1(β)\psi_1(\alpha)+\psi_1(\beta), rather than those of a Laplace approximation. A latent GP with an exact binomial likelihood would avoid the approximation altogether but loses the closed-form posterior, and with it exact Thompson sampling, for a gain the figure shows to be small at n=256n=256.

SVD bases across GPU models

It is important to remember that the truncated SVD is defined only up to signs. TinyLoRA and LoRA-XS build every module’s update on the frozen factors of its rank-rr truncated SVD, ΔWm=UmΣmRmVm⊤\Delta W_m=U_m\Sigma_mR_mV_m^\top (Appendix § 15.§ 1). For distinct singular values, these factors are unique only up to a joint sign flip of each singular pair (ui,vi)↦(−ui,−vi)(u_i,v_i)\mapsto(-u_i,-v_i), and which sign a solver returns is an implementation detail. On our cluster, torch.linalg.svd in fp32 picks different signs on different GPU models. We computed the leading two singular pairs of the seven layer-0 projections of the six Qwen2.5 models on six GPU models: A100-PCIe-40GB and A100-SXM4-80GB agree exactly, and any two of the remaining five (A100, A40, H100, L4, L40S) disagree on the sign of 6 to 13 of the 84 singular vectors, 7–15%, while the factors agree to within 4⋅10−34\cdot10^{-3} once the signs are aligned.

A sign flip changes TinyLoRA’s subspace. Write the signs one solver picks relative to another as a diagonal matrix Dm∈{±1}r×rD_m\in\{\pm1\}^{r\times r}, so that it returns UmDmU_mD_m and VmDmV_mD_m. Since DmD_m commutes with Σm\Sigma_m,

UmDmΣmRm(VmDm)⊤=UmΣm(DmRmDm)Vm⊤,(12)U_mD_m\Sigma_mR_m(V_mD_m)^\top=U_m\Sigma_m(D_mR_mD_m)V_m^\top, \tag*{(12)}

so the second solver’s adapter with coefficients RmR_m is the first solver’s with DmRmDmD_mR_mD_m; at r=2r=2, a flip of one of the two pairs negates the off-diagonal entries of RmR_m. For LoRA-XS this is a change of coordinates, the set of reachable updates is unchanged, although a trained RmR_m must still be read with the bases it was trained in. For TinyLoRA it is not: with Rm=∑iviPi(m)R_m=\sum_i v_iP_i^{(m)}, the flipped solver yields the projections DmPi(m)DmD_mP_i^{(m)}D_m, with DmD_m differing between modules, and so a different uu-dimensional subspace of the LoRA-XS space for every u<Mr2u<M r^2 (Appendix § 15.§ 2). Its distribution is the same, but seed kk on one card model is not seed kk on another. Left alone, this would silently break three things: the seed pairing of LlMBO and GRPO whenever the two runs land on different card models, a run preempted and requeued onto a different card model, which would continue in a different subspace from the same vv, and the evaluation of an exported adapter.

We pin the basis by computing the SVD once, in the GRPO run of each seed, and store Vm⊤V_m^\top as the adapter’s LoRA AA matrix, which the exported adapter holds anyway. LlMBO’s search, resumed runs and the evaluation rebuild the remaining factors from the stored VmV_m and the frozen weight alone: Σm\Sigma_m from the column norms of WmVmW_mV_m and Um=WmVmΣm−1U_m=W_mV_m\Sigma_m^{-1}. Because σiui=Wmvi\sigma_i u_i=W_mv_i, the sign of each uiu_i follows that of viv_i, and the bases are identical, up to floating-point error, on any hardware.

A bounded GRPO loss

On the base models, a few TinyLoRA runs under the standard clipped GRPO loss diverged: the pre-clipping gradient norm spiked to 10210^2–101110^{11}, after which the reward fell to zero and did not recover (Qwen2.5-7B at u=64u=64, training reward from 0.59 to 0.01; Qwen2.5-Math-7B at u=16u=16, GSM8K accuracy from 82% to 40%). Plain LoRA and the Instruct models were never affected.

The cause is a known gap in the clipped objective. Each GRPO step takes one optimizer step on its rollouts, so πθold=πθ\pi_{\theta_{\mathrm{old}}}=\pi_\theta and the ratio ρj,t\rho_{j,t} is 1 in exact arithmetic. The old log-probabilities, however, come from a separate bfloat16 forward pass, so ρj,t\rho_{j,t} carries numerical noise that can reach several nats on low-probability tokens. For a token with Aj<0A_j<0 and ρj,t>1+ϵ\rho_{j,t}>1+\epsilon, the minimum in the GRPO objective selects the unclipped term ρj,tAj\rho_{j,t}A_j, and the loss ρj,t∣Aj∣\rho_{j,t}|A_j| is unbounded: a single noisy token can dominate the gradient. Gradient-norm clipping bounds the step size but not its direction, and TinyLoRA’s tied vv then moves every module at once. On a base model, a perturbed policy soon produces completions that run past the token limit, every reward in a group becomes zero, and no signal is left to recover from.

We therefore use the dual clip of Ye et al. (2020), which bounds the objective of negative-advantage tokens from below by δAj\delta A_j with δ=2\delta=2:

max⁡(min⁡(ρj,tAj,clip⁡(ρj,t,1−ϵ,1+ϵ)Aj),δAj)for Aj<0.(13)\max\left(\min\left(\rho_{j,t}A_j,\operatorname{clip}(\rho_{j,t},1-\epsilon,1+\epsilon)A_j\right),\delta A_j\right)\quad\text{for }A_j<0. \tag*{(13)}

It changes the loss only of tokens with ρj,t>δ\rho_{j,t} > \delta, which in a healthy run, where the ratio departs from 1 only by numerical noise, are rare. With it, the largest gradient norm of these runs stays below 5 throughout training.

References

  1. [1]Aghajanyan, A., Gupta, S., and Zettlemoyer, L. (2021). Intrinsic dimensionality explains the effectiveness of language model fine-tuning. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics.arxiv.org/abs/2012.13255
  2. [2]Balandat, M., Karrer, B., Jiang, D. R., Daulton, S., Letham, B., Wilson, A. G., and Bakshy, E. (2020). BoTorch: A framework for efficient Monte-Carlo Bayesian optimization. In Advances in Neural Information Processing Systems.arxiv.org/abs/1910.06403
  3. [3]Balazy, K., Banaei, M., Aberer, K., and Tabor, J. (2024). LoRA-XS: Low-rank adaptation with extremely small number of parameters. arXiv preprint arXiv:2405.17604.
  4. [5]Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano, R., Hesse, C., and Schulman, J. (2021). Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.arxiv.org/abs/2110.14168
  5. [6]Eriksson, D., Pearce, M., Gardner, J., Turner, R. D., and Poloczek, M. (2019). Scalable global optimization via local Bayesian optimization. In Advances in Neural Information Processing Systems.arxiv.org/abs/1910.01739
  6. [7]Garnett, R. (2023). Bayesian Optimization. Cambridge University Press.DOI
  7. [9]Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. (2021). Measuring mathematical problem solving with the MATH dataset. In Advances in Neural Information Processing Systems, Datasets and Benchmarks Track.
  8. [10]Hobbhahn, M. and Hennig, P. (2021). Laplace matching for fast approximate inference in latent Gaussian models. arXiv preprint arXiv:2105.03109.arxiv.org/abs/2105.03109
  9. [12]Hvarfner, C., Hellsten, E. O., and Nardi, L. (2024). Vanilla Bayesian optimization performs great in high dimensions. In International Conference on Machine Learning.arxiv.org/abs/2402.02229
  10. [13]Jiang, A. Q., Sablayrolles, A., Mensch, A., Bamford, C., Chaplot, D. S., de las Casas, D., Bressand, F., Lengyel, G., Lample, G., Saulnier, L., et al. (2023). Mistral 7B. arXiv preprint arXiv:2310.06825.arxiv.org/abs/2310.06825
  11. [14]Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., and Stoica, I. (2023). Efficient memory management for large language model serving with PagedAttention. In Proceedings of the 29th Symposium on Operating Systems Principles.arxiv.org/abs/2309.06180
  12. [15]Lewkowycz, A., Andreassen, A., Dohan, D., Dyer, E., Michalewski, H., Ramasesh, V., Sone, A., Anil, C., Schlag, I., Gutman-Solo, T., Wu, Y., Neyshabur, B., Gur-Ari, G., and Misra, V. (2022). Solving quantitative reasoning problems with language models. In Advances in Neural Information Processing Systems.arxiv.org/abs/2206.14858
  13. [16]Lightman, H., Kosaraju, V., Burda, Y., Edwards, H., Baker, B., Lee, T., Leike, J., Schulman, J., Sutskever, I., and Cobbe, K. (2024). Let’s verify step by step. In International Conference on Learning Representations.arxiv.org/abs/2305.20050
  14. [17]Llama Team (2024). The Llama 3 herd of models. arXiv preprint arXiv:2407.21783.
  15. [18]Malladi, S., Gao, T., Nichani, E., Damian, A., Lee, J. D., Chen, D., and Arora, S. (2023). Fine-tuning language models with just forward passes. In Advances in Neural Information Processing Systems.arxiv.org/abs/2305.17333
  16. [19]Mathematical Association of America (2023). AMC 2023. https://huggingface.co/datasets/math-ai/amc23.
  17. [20]Mathematical Association of America (2024). AIME 2024. https://huggingface.co/datasets/math-ai/aime24.
  18. [21]Milios, D., Camoriano, R., Michiardi, P., Rosasco, L., and Filippone, M. (2018). Dirichlet-based Gaussian processes for large-scale calibrated classification. In Advances in Neural Information Processing Systems.
  19. [22]Morris, J. X., Mureshghallah, N., Ibrahim, M., and Mahloujifar, S. (2026). Learning to reason in 13 parameters. arXiv preprint arXiv:2602.04118.arxiv.org/abs/2602.04118
  20. [23]Qiu, X., Gan, Y., Hayes, C. F., Liang, Q., Meyerson, E., Hodjat, B., and Miikkulainen, R. (2025). Evolution strategies at scale: LLM fine-tuning beyond reinforcement learning. arXiv preprint arXiv:2509.24372.arxiv.org/abs/2509.24372
  21. [24]Qwen Team (2024). Qwen2.5 technical report. arXiv preprint arXiv:2412.15115.
  22. [25]Schulman, J., Wolski, F., Dhariwal, P., Radford, A., and Klimov, O. (2017). Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.arxiv.org/abs/1707.06347
  23. [26]Shao, Z., Wang, P., Zhu, Q., Xu, R., Song, J., Bi, X., Zhang, H., Zhang, M., Li, Y. K., Wu, Y., and Guo, D. (2024). DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.arxiv.org/abs/2402.03300
  24. [27]Snoek, J., Larochelle, H., and Adams, R. P. (2012). Practical Bayesian optimization of machine learning algorithms. In Advances in Neural Information Processing Systems.arxiv.org/abs/1206.2944
  25. [28]Williams, C. K. and Rasmussen, C. E. (2006). Gaussian processes for machine learning, volume 2. MIT press Cambridge, MA.
  26. [29]Yang, A., Zhang, B., Hui, B., Gao, B., Yu, B., Li, C., Liu, D., Tu, J., Zhou, J., Lin, J., et al. (2024). Qwen2.5-Math technical report: Toward mathematical expert model via self-improvement. arXiv preprint arXiv:2409.12122.arxiv.org/abs/2409.12122
  27. [31]Zeng, W., Huang, Y., Liu, Q., Liu, W., He, K., Ma, Z., and He, J. (2025). SimpleRL-Zoo: Investigating and taming zero reinforcement learning for open base models in the wild. arXiv preprint arXiv:2503.18892.arxiv.org/abs/2503.18892

Paper details

vlnc:W_uatw8npg
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 3

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

generative AI tools

View statement
Looking for related papers…
Contents