Preprint (Under review)2026

Steered Not Stirred.🍸

Effective Reward Tilting using Surrogate Reward Mixing

MARTINI learns to steer pretrained generative models from limited offline reward values or preference rankings by combining cheap surrogate rewards, without querying the oracle at inference.

Alec Sargood1,2 Olivia Gallup1,3 Georg Maierhofer4 Noam Ghenassia1
Paul Duckworth1 Krisztina Sinkovics1,** Avishek Joey Bose5,6,**
1InstaDeep2University College London3University of Oxford
4University of Cambridge5Imperial College London6Mila–Québec AI Institute

** Joint last authors

01 / MOTIVATION

The reward we care about is rarely available.

Diffusion and flow models learn to generate samples that resemble their training data. But downstream tasks often demand something more specific: images that people actually prefer, coherent language, or protein–ligand complexes likely to bind.

In principle, we can steer generation towards these goals by rewarding promising samples. The challenge is the reward itself. A human assessment may require a costly annotation, while a binding-affinity score may depend on a laboratory experiment. Such an oracle reward, denoted \(R^*\), is therefore available only for a limited number of examples.

We often have cheaper surrogate rewards. For images, these include CLIP, PickScore and ImageReward; for molecular structures, they might assess geometry, physical validity or predicted affinity. Each provides only a partial view of the true objective.

Our setting is to learn steering from limited offline feedback, which may contain either numerical reward values or preferences between samples. MARTINI (Mixing And Reward Tilting for INference-time Improvement) learns a composition of the surrogates that can be reused by a pretrained generator, without querying the oracle during inference.

MARTINI learns a composite reward offline, then steers a pretrained generator without inference-time oracle queries.
02 / APPROACH

Learning a composition over surrogates

Problem setup: matching an unavailable reward tilt

Let \(p_1\) denote the terminal data distribution of a pretrained diffusion or flow model. Steering aims to favour high-reward samples without losing the structure of the learned distribution. For a desired oracle reward \(R^*\), this leads to the exponentially tilted target \(q^*\). Given \(k\) cheap rewards \(\mathbf R=(R_1,\ldots,R_k)\), MARTINI constructs \(g:\mathbb R^k\to\mathbb R\) and instead steers towards \(q_g\).

DESIRED ORACLE DISTRIBUTION
\[q^*(x)\propto p_1(x)\,e^{\beta R^*(x)}\]
LEARNED SURROGATE DISTRIBUTION
\[q_g(x)\propto p_1(x)\,e^{\beta g(\mathbf R(x))}\]
PROBLEM DEFINITION / IDEAL TILT MATCHING
\[g^{\mathrm{opt}}\in\underset{g}{\arg\min}\;\mathrm{KL}(q^*\|q_g)\]

Here \(\beta>0\) determines the target tilt strength. This is a distribution-matching objective, rather than maximising a reward score. Because the oracle is observed through limited offline feedback, we cannot minimise this KL directly. Instead, MARTINI learns a composition from values or rankings.

01 / VALUE FEEDBACK

Regress on observed oracle scores

Given \((x_i,R^*(x_i))\), minimise squared prediction error.

\[\mathcal L_{\mathrm{MSE}}(g)=\frac1n\sum_{i=1}^n\big(g(\mathbf R(x_i))-R^*(x_i)\big)^2\]
02 / PREFERENCE FEEDBACK

Fit rankings via Plackett–Luce

Given ranked candidate groups \((S^{(j)},\pi^{(j)})\), fit their ranking likelihood.

\[\mathcal L_{\mathrm{PL}}(g)=-\frac1M\sum_{j=1}^{M}\log p_{\mathrm{PL}}\!\left(\pi^{(j)}\mid g\circ\mathbf R,S^{(j)}\right)\]

The composition can be a correlation-weighted sum, a fitted linear model or a neural network. Once fitted, \(g\) is frozen: the pretrained generative model itself is unchanged.

Inference time

Once fitted, \(g\circ\mathbf R\) can be passed to compatible inference-time steerers. For example, a Doob h-transform augments the base SDE drift with a reward-dependent correction:

\[\begin{gathered} \mathrm d x_t=\biggl[\underbrace{b(x_t,t)}_{\text{base drift}}+\underbrace{\beta c_t^2\nabla_{x_t}V_t^g(x_t)}_{\text{reward correction}}\biggr]\,\mathrm dt+c_t\,\mathrm dW_t \\[1.0em] \text{where}\quad V_t^g(x_t)=\frac1\beta\log\mathbb E\!\left[\exp\bigl(\beta g(\mathbf R(x_1))\bigr)\mid x_t\right] \end{gathered}\]

The drift favours trajectories whose terminal samples receive higher composed rewards. A look-ahead prediction \(\hat x_1(x_t)\) lets us evaluate \(g(\mathbf R(\hat x_1(x_t)))\) without completing each trajectory. MARTINI also supports particle-based steering, where this score drives resampling rather than a drift.

Relationship to MOO

In multi-objective optimisation (MOO), the \(R_j\) are separate objectives whose trade-offs define a Pareto front. In MARTINI, they are imperfect measurements of one latent reward \(R^*\). We seek to recover that reward, not optimise the surrogates independently.

For instance, let \(x=(a,b)\in[-1,1]^2\) and define:

\[\begin{aligned}R_1(a,b)&=-(a+1)^2-b^2,\\R_2(a,b)&=-(a-1)^2-b^2,\\R^*(a,b)&=-3(a^2+b^2)+2b-3.\end{aligned}\]

The surrogate Pareto set is \(\mathcal P=[-1,1]\times\{0\}\), but the oracle maximiser \(x^*=(0,\tfrac13)\) lies outside it. In fact, \((0,0)\) scores higher on both surrogates, but lower on the oracle.

Figure 2(a) from the paper. The oracle optimum lies outside the surrogate Pareto set.
03 / THEORETICAL RESULTS

Why does reward fitting lead to steering?

Fitting a reward and steering a distribution are different tasks. Our analysis connects them: under the ideal reward tilts, how well \(g\) predicts the oracle determines how closely its induced distribution approximates \(q^*\), at small tilt strength.

THEOREM 1 · VALUES

Better recovery implies better tilt fidelity.

\[\mathrm{KL}(q^*\|q_g)=\tfrac{\beta^2}{2}\mathrm{MSE}(g)+O(\beta^3)\]

For mean-aligned scores, the best regression target is \(\mu=\mathbb E[R^*\mid\mathbf R]\), with an irreducible error floor \(\bar v=\mathbb E[\mathrm{Var}(R^*\mid\mathbf R)]\).

THEOREM 2 · PREFERENCES

Ranking loss also controls tilt fidelity.

\[\mathrm{KL}(q^*\|q_g)\leq\tfrac{\beta^2}{2}B(g)+O(\beta^3)\]

The bound combines irreducible surrogate uncertainty, excess Plackett–Luce loss, and a possible mismatch between ranking-optimal scores and \(\mu\).

HOW THE THEOREMS RELATE TO REWARD

Reward gain increases

\[\mathbb E_{q_g}[R^*]-\mathbb E_{p_1}[R^*]\]

Better surrogate recovery raises the leading-order lower bound on reward gain over the prior \(p_1\).

Reward gap decreases

\[\mathbb E_{q^*}[R^*]-\mathbb E_{q_g}[R^*]\]

Better surrogate recovery lowers the leading-order upper bound on the gap to \(q^*\).

04 / TOY EXPERIMENTS

Steering with g

The oracle is \(R^*(u,v)=|u|-|v|\), while \(R_1=u\) and \(R_2=v\). Neither individual surrogate recovers the bimodal target; a learned nonlinear composition can.

FINAL KL ↓0.047
FINAL \(W_1\) ↓0.51
ORACLE TARGET \(q^*\)
Analytical two-mode oracle target distribution
STEERING PARTICLES \(t\)
GENERATED DENSITY \(t\)
t = 1.00
t = 0t = 1
05 / EXPERIMENTS

Results across three modalities.

IMAGE GENERATION · VALUES
0.0321 ↓
next best0.0498

Embedding energy distance

LANGUAGE GENERATION · VALUES
0.438 ↓
next best0.464

KL to oracle tilt

PROTEIN–LIGAND
64.5%↑
next best61.8%

Joint pose success

For cofolding, MARTINI combines five physical and learned surrogates fitted to experimental binding-affinity feedback. On 186 post-2023 complexes, joint pose success rises to 64.5% from 61.8% for the strongest non-MARTINI baselines.

PROTEIN–LIGAND / INTERACTIVE 3D

How the ligand pose evolves

Follow denoising from an initial prediction to the delivered pose. Compare MARTINI and potentials-only steering against the crystal ligand, or rotate the structures to inspect the binding pocket.

8CEX UG0 delivered ligand poses projected into 2D: potentials-only steering RMSD 6.96 angstroms versus MARTINI 1.07 angstroms, with crystal-ligand overlay in green

Choose 8CEX · UG0, 8UOB · XB5, or 9F41 · CLR and follow the denoising trajectory.

Additional Final Pose Examples

Crystal reference
7FTR · YQH
MethodRMSD ↓
MARTINI3.32 Å
Potentials only5.96 Å
8BVX · RYF
MethodRMSD ↓
MARTINI1.06 Å
Potentials only5.98 Å
8RDK · YQT
MethodRMSD ↓
MARTINI0.68 Å
Potentials only5.98 Å
8CEX · UG0
MethodRMSD ↓
MARTINI1.32 Å
Potentials only7.09 Å
FULL RESEARCH PAPER

For the full theoretical statements, ablations, experimental settings and proofs, see the preprint.

A LICENSE TO TILTSteered, not stirred.
Monochrome Bond-inspired spy raising a martini glass