English

Steering diffusion models with quadratic rewards: a fine-grained analysis

Machine Learning 2026-02-19 v1 Data Structures and Algorithms

Abstract

Inference-time algorithms are an emerging paradigm in which pre-trained models are used as subroutines to solve downstream tasks. Such algorithms have been proposed for tasks ranging from inverse problems and guided image generation to reasoning. However, the methods currently deployed in practice are heuristics with a variety of failure modes -- and we have very little understanding of when these heuristics can be efficiently improved. In this paper, we consider the task of sampling from a reward-tilted diffusion model -- that is, sampling from p(x)p(x)exp(r(x))p^{\star}(x) \propto p(x) \exp(r(x)) -- given a reward function rr and pre-trained diffusion oracle for pp. We provide a fine-grained analysis of the computational tractability of this task for quadratic rewards r(x)=xAx+bxr(x) = x^\top A x + b^\top x. We show that linear-reward tilts are always efficiently sampleable -- a simple result that seems to have gone unnoticed in the literature. We use this as a building block, along with a conceptually new ingredient -- the Hubbard-Stratonovich transform -- to provide an efficient algorithm for sampling from low-rank positive-definite quadratic tilts, i.e. r(x)=xAxr(x) = x^\top A x where AA is positive-definite and of rank O(1)O(1). For negative-definite tilts, i.e. r(x)=xAxr(x) = - x^\top A x where AA is positive-definite, we prove that the problem is intractable even if AA is of rank 1 (albeit with exponentially-large entries).

Keywords

Cite

@article{arxiv.2602.16570,
  title  = {Steering diffusion models with quadratic rewards: a fine-grained analysis},
  author = {Ankur Moitra and Andrej Risteski and Dhruv Rohatgi},
  journal= {arXiv preprint arXiv:2602.16570},
  year   = {2026}
}
R2 v1 2026-07-01T10:41:32.981Z