arXiv:2609.05968cs.CVSep 2026

Manuscript Offprint

arXiv:2609.05968

Test-Time Weak-to-Strong Alignment: Transferring Implicit Rewards from Weak to Strong Flow Models

Xin Xie, Fan Zhang, Dong Gong

Xin Xie▲, Fan Zhang▲, Dong Gong✉

University of New South Wales (UNSW Sydney)

▲Equal contribution. ✉Corresponding author.

Aligning a text-to-image generation flow model with a reward makes it follow objectives that the training data alone does not provide. Alignment fine-tuning delivers this by reinforcement learning (RL) or preference optimization, but it must be repeated for every checkpoint and returns a model fixed at the reward and strength it was trained with. Test-time alignment instead steers a frozen model during sampling, allowing task-specific and sample-specific guidance. Existing methods obtain this only by drawing the per-step signal from the reward function itself, through its gradient, or through a separately trained value function. We propose changing the supervision source: let a pair of weak models, not a reward function, supply the supervision. A source aligned model, kept together with its base as a source alignment pair, stores its training reward as an implicit, step-wise, KL-anchored signal expressed in the sampler's own coordinates. We explore whether this model-form supervision can cross scale, and show that it does: our method, AlignGraft, aligns a larger, frozen, never-tuned model by adding the pair's velocity difference during sampling. The transport is exact under a shared noising kernel and needs neither the reward nor its gradient at test time. The method has no schedules, only a single scalar that controls the alignment strength and can extrapolate it beyond that of the source alignment pair. Across image and video flow models (Stable Diffusion 3.5, FLUX, and Wan), the transfer lifts the frozen large model on preference, compositional, and text-rendering rewards, can exceed the source aligned model itself, and preserves the large model's fidelity at a small constant sampling overhead. Extensive experiments show that one alignment run on a weak model produces supervision that the whole model family can reuse at test time.

Project Page: Artificer-AI-Lab/AlignGraft

Figure

Figure 1. Sample images generated by AlignGraft on the SD 3.5-Large backbone. The generations align with the text prompt and human preference while keeping strong visual aesthetics.

1 Introduction

Text-to-image flow and diffusion models fit a data distribution, not the objectives users care about [14, 25]. For any given reward (compositional correctness, accurate text in the image, a preference score), the deployed model is generally untuned. Alignment post-training closes this gap, by reinforcement learning (RL) or preference optimization [5, 44, 28], but the fix must be repeated for every checkpoint: rollouts, reward infrastructure, and training repeat for every model, reward, and version, at the scale of the model being aligned. Alignment therefore never accumulates; it restarts with each new checkpoint, and the most capable model in a family is, for any particular reward, typically the least aligned. Training-based alignment chooses the reward at training time and updates the model to follow it, and the same updated model then serves every test sample. Test-time alignment offers a different route: steer the frozen model during sampling toward the reward, without training and with the objective chosen at generation time, so the alignment can be task-specific and sample-specific [43].

Test-time alignment methods differ in their supervision source, that is, in where the per-step signal comes from. Existing methods draw it from the reward function itself and inherit three structural costs. Timing: a reward scores clean images, but a sampler needs supervision at every noise level, so the endpoint reward must be converted into a step-wise signal, by differentiating it through posterior estimates [10], evaluating it over many candidates [45, 39], or training a value function for each model [23]. Reach: gradient-based conversion excludes non-differentiable rewards, and per-sample reward calls exclude rewards that are slow, human, or proprietary at deployment. Anchoring: steering by the reward alone lacks the KL constraint that alignment training enforces, and over-optimizes [20]. The model stays frozen, but the supervision must be rebuilt at every sample, it excludes some rewards, and it carries no KL constraint.

An aligned model, kept together with its base, is a supervision source of a different kind. The model pair stores the training reward implicitly, as a density ratio [36], and it stores more than the reward: alignment training shaped the whole trajectory distribution, so the pair also holds the reward's step-wise form at every noise level, pre-anchored by the training-time KL constraint and expressed in the sampler's own coordinates, as the method section makes precise. This is the object reward-based methods synthesize per step or train per model. The pair supplies it in two forward passes, without evaluating the reward function or its gradient. Language-model practice points the same way: decoding-time methods train dedicated reward models or score candidates with small pairs of tuned and untuned models [50, 54]. In image generation, pair-form supervision exists publicly, but only the base model in the pair, which is rarely the one deployed, consumes it, to modulate the alignment strength [18].

We explore whether model-form supervision can cross different models, especially model scales: can a small, weak model pair supervise the sampling of a larger, frozen model that was never tuned for the reward (test-time weak-to-strong alignment)? The extra computation at test time scales with the size of the models that supply the signal, so a pair much smaller than the host adds little. The aligned model that supplies this supervision need not be the model that generates, and need not be strong; it need only have absorbed the reward. If it can, training-time and test-time alignment become a pipeline: one RL run on a small source base model from the same family returns its aligned counterpart, the source aligned model, and the two together form a source alignment pair. Their implicit reward then steers the larger host base model at test time, changing its sampling trajectory and leaving its weights untouched. Three observations make alignment supervision from a source alignment pair sufficient. The stored object is small: the KL constraint keeps the source aligned model near its base, so the pair holds only the change the alignment run made, a reward direction rather than a generative distribution. The pair contributes information, not capability: its difference cancels what two source models share, so a pair whose alignment run changed nothing leaves the host base model unchanged. The pair's estimate is used only where it is valid: on the support overlap, the pair evaluates states the host base model visits in-distribution. The transfer has a closed form: under the shared noising kernel, tilting the host base model by the source alignment pair's ratio displaces the sampling velocity by exactly the pair's velocity difference, a single additive term. Every time-dependent factor cancels, and the one-step tilted transition is realized exactly (Proposition 1). The resulting method, AlignGraft, needs no noise-level schedule and no filtering; its single scalar controls the alignment strength and can extrapolate it beyond that of the source alignment pair. At test time the method adds two forward passes of the source alignment pair, and evaluates neither the reward nor its gradient, and alignment stays outside the host base model: its weights unmodified and controllable alignment strength per sample.

Empirically, the transfer holds across backbones and modalities. On Stable Diffusion 3.5, the guided host model improves over the host base model on every measured reward and can exceed the source aligned model itself (Table 1); the same recipe carries over to a FLUX sibling and to text-to-video generation (Tables 2 and 4). Transfer behavior varies by reward in a predictable way: rewards whose signal forms at coarse spatial scale transfer at moderate strength while rewards that require fine low-noise structure need stronger guidance.

Alignment training optimizes the objective once, so a checkpoint stays committed to the completed training process. AlignGraft gives the option of setting that objective at test time instead, on a host base model that stays untouched: which reward to follow, how strongly, and for which sample. Alignment therefore accumulates across a model family: one RL run yields supervision that upgrades siblings across scale and lineage at test time, and remains useful after any single checkpoint is replaced. Although a high-volume deployment with one fixed reward could distill the guided distribution back into the host base model, that route amortizes over volume, not over the product of many rewards, rotating checkpoints, and personalization. Our contributions:

  • We propose test-time weak-to-strong alignment, in which a source alignment pair (not a reward function) supervises the sampling of a larger, frozen host base model. The framework turns training-time and test-time alignment into a pipeline: one cheap RL run yields the source alignment pair, which then aligns any host base model sharing its latent space, larger or not, leaving its weights untouched.

  • We derive the exact transport of the source alignment pair's implicit reward into the host base model's sampler: the density-ratio tilt reduces to one additive velocity term, all time dependence cancels, and the one-step tilted transition kernel is realized exactly (Proposition 1). Two consistency limits fix every design choice, leaving no schedule and only a single scalar strength, and we state the remaining approximations explicitly. The velocity-difference form appears in prior work [18, 16, 26]; the cross-scale anchor swap and its analysis are ours.

  • Across image and video flow models (Stable Diffusion 3.5, FLUX, and Wan backbones), AlignGraft lifts the host base model on preference, compositional, and text-rendering rewards, can exceed the source aligned model itself, and generalizes across scale and across siblings of a family (Tables 1–4).

References (49)