Reward Weighted Classifier-Free Guidance as Policy Improvement in Autoregressive Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Peysakhovich, Alexander, Berman, William
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910138396311552
author Peysakhovich, Alexander
Berman, William
author_facet Peysakhovich, Alexander
Berman, William
contents Consider an auto-regressive model that produces outputs x (e.g., answers to questions, molecules) each of which can be summarized by an attribute vector y (e.g., helpfulness vs. harmlessness, or bio-availability vs. lipophilicity). An arbitrary reward function r(y) encodes tradeoffs between these properties. Typically, tilting the model's sampling distribution to increase this reward is done at training time via reinforcement learning. However, if the reward function changes, re-alignment requires re-training. In this paper, we show that a reward weighted classifier-free guidance (RCFG) can act as a policy improvement operator in this setting, approximating tilting the sampling distribution by the Q function. We apply RCFG to molecular generation, demonstrating that it can optimize novel reward functions at test time. Finally, we show that using RCFG as a teacher and distilling into the base policy to serve as a warm start significantly speeds up convergence for standard RL.
format Preprint
id arxiv_https___arxiv_org_abs_2604_15577
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Reward Weighted Classifier-Free Guidance as Policy Improvement in Autoregressive Models
Peysakhovich, Alexander
Berman, William
Machine Learning
Artificial Intelligence
Consider an auto-regressive model that produces outputs x (e.g., answers to questions, molecules) each of which can be summarized by an attribute vector y (e.g., helpfulness vs. harmlessness, or bio-availability vs. lipophilicity). An arbitrary reward function r(y) encodes tradeoffs between these properties. Typically, tilting the model's sampling distribution to increase this reward is done at training time via reinforcement learning. However, if the reward function changes, re-alignment requires re-training. In this paper, we show that a reward weighted classifier-free guidance (RCFG) can act as a policy improvement operator in this setting, approximating tilting the sampling distribution by the Q function. We apply RCFG to molecular generation, demonstrating that it can optimize novel reward functions at test time. Finally, we show that using RCFG as a teacher and distilling into the base policy to serve as a warm start significantly speeds up convergence for standard RL.
title Reward Weighted Classifier-Free Guidance as Policy Improvement in Autoregressive Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2604.15577