arXiv:2609.40030cs.LGSep 2026

Manuscript Offprint

arXiv:2609.40030

Fenchel Tilting: Weighted Correction for Efficient Finetuning of Generative Models

Maksim Bobrin, Maksim Zhdanov, Dmitry Dylov

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

ABSTRACT

Adapting a pretrained generative model to an arbitrary preference expressed as a utility function underlies reward alignment, guided design, and constraint satisfaction, enabling diverse applications. Existing fine-tuning methods trade off generality against computational cost: they either restrict the family class of supported preferences to keep optimization simple or preserve generality at the expense of efficiency. We introduce Fenchel Tilt Flow Control (FTFC), which decouples utility optimization from generative-model fitting. FTFC first optimizes for a target distribution by jointly fitting an effective reward and density-ratio weights on pretrained samples. Method combines the utility's variational structure with Fenchel duality, supporting general f-divergence penalties that determine how rewards are transformed into an distribution-correction weights. These weights are then frozen and used to modify a diffusion or flow model in a single stage of importance-weighted denoising or flow matching, without differentiating through sampling trajectories. We establish exact duality for concave utilities under suitable conditions and show that weighted fitting reproduces the optimal target distribution for a given utility. Across image and molecule generation benchmarks, FTFC improves over baselines on diverse preference functions, while also being up to 20×20\times more efficient. Proposed method enables adaptation beyond expected-reward maximization without complex optimization, while preserving robustness for more general class of the utility functions compared to baselines.

1 INTRODUCTION

Diffusion and flow models support text-to-image synthesis (Rombach et al., 2022; Esser et al., 2024), molecular generation and drug design (Dunn & Koes, 2024; Schneuing et al., 2024), and robotic control (Chi et al., 2023). Reproducing the training distribution, however, does not directly optimize qualities such as aesthetic appeal, prompt fidelity, or molecular validity. Reward-based fine-tuning adapts a pretrained model to such external scores (Xu et al., 2023), but average reward cannot express all preferences: molecular discovery may prioritize rare high-quality candidates, whereas reliable generation may emphasize the worst outcomes. This motivates optimizing a utility of the full output distribution while remaining close to the pretrained model (De Santi et al., 2025; Wang et al., 2026). For nonlinear utilities, the functional gradient depends on the generated distribution itself (De Santi et al., 2025). Flow Density Control (FDC) handles this dependence by alternating utility linearization and generative fine-tuning, using solvers such as Adjoint Matching (Domingo i Enrich et al., 2025); it therefore requires an outer mirror-descent loop and an inner control solver. Tail-Aware Flow Fine-Tuning (TFFT) separates risk-sensitive threshold selection from a single entropy-regularized update (Wang et al., 2026), but its decomposition is specific to CVaR under KL regularization. Broader structured utilities and divergences require the effective pseudo-reward and induced target distribution to be determined jointly.

Motivated by distribution correction estimation (DICE) in off-policy reinforcement learning (Nachum et al., 2019; Lee et al., 2021), we introduce Fenchel Tilt Flow Control (FTFC). FTFC first selects a target distribution relative to the pretrained model and then fits the generator. For concave utilities with suitable f-divergence penalties, Fenchel duality yields a supporting reward and closed-form density-ratio weights that specify the probability-mass shift. The frozen weights then reweight one

*Corresponding author: maxs.bobrin@gmail.com stage of native denoising or flow-matching training (Zhang et al., 2025; Potaptchik et al., 2025). Precomputed endpoints and rewards, combined with fresh native noise, avoid reward gradients and differentiation through sampling trajectories. FTFC thus separates selecting the endpoint distribution from learning the generative map.

Our contributions are:

• Dual formalization of general utility. We cast utility optimization as normalized density-ratio fitting with supported f-divergence penalties, including KL and Pearson χ2\chi^{2}. For concave utilities, the Fenchel dual jointly recovers a marginal reward and optimal weights; we also give necessary primal–dual gap conditions.

• Simple and scalable fine-tuning. FTFC reduces utility-based adaptation to two simple steps: optimize the target weights on cached samples, then freeze them and fine-tune the generator by reweighting its native denoising or flow-matching loss. No reward gradients, trajectory differentiation, or specialized generative optimization is required.

• Efficient adaptation. Across molecular and image benchmarks, FTFC is 10−20×10-20\times faster than prior fine-tuning methods. By separating target selection from generator fitting, it avoids repeated reward optimization and differentiation through generation trajectories.