PoEM: Predicting RL Outcomes from Existing Policies

Kimia Hamidieh, Giannis Daras, Antonio Torralba

TL;DR

Post-training foundation models with reinforcement learning (RL) is computationally expensive, often unstable, and must be redone from scratch whenever rewards change or combine. This paper introduces PoEM (Product of Experts Mixing), a framework that predicts and simulates RL outcomes on new reward functions at inference time by linearly combining existing post-trained adapters, completely bypassing the need for new RL training.

What Problem Does This Paper Address?

Aligning foundation models with human preferences via Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) has become a standard step in model deployment. However, this post-training process is notoriously resource-intensive. If a developer wants to tweak a reward function, combine multiple objectives (e.g., helpfulness, safety, and conciseness), or optimize for a completely new reward, they typically have to launch a brand-new, expensive RL training run.

Existing shortcuts, such as averaging adapter weights, tend to degrade as the number of models increases, while test-time heuristics like best-of-N sampling are computationally inefficient. The authors of this paper tackle a fundamental question: Given a basis of single-reward post-trained adapters, can we accurately predict and simulate the RL outcome on a new reward function without actually running any additional training?

Methods

The authors introduce PoEM (Product of Experts Mixing), an inference-time method that constructs a target policy from a "basis" of pre-existing expert adapters.

Figure 1: Overview of PoEM. (a) Policies π1, . . . , πk post-trained from a shared reference πref on different rewards have nearly orthogonal parameter updates, yet their policy log-ratios ϕk = log πk −log πref span a low-dimensional space (measured in Fig. 2). The RL outcome π⋆on a target reward can lie close to this space even when that reward is not a combination of the basis rewards, so a composition ˆπ of the basis approximates it. (b) PoEM evaluates the basis log-ratios on shared calibration samples (x, y), centers them within each prompt, and fits weights ˆα by least squares so that eΦ ˆα matches the centered scores ertar of the target reward rtar on the same samples. The PoEM policy ˆπ composes the basis with these weights at inference time, with no new RL training.

The method relies on a clean theoretical foundation: if a new target reward is a linear combination of existing rewards, the optimal policy in log-space is a weighted linear combination of the base log-policies (acting as a product of experts). To make this practical, PoEM operates via the following pipeline:

  1. Calibration: PoEM takes a small set of calibration prompts and responses.
  2. Weight Estimation: It scores these responses using the new target reward function. Using ridge regression or non-negative least squares, it estimates composition weights ($\hat{\alpha}$) by matching the target reward scores against either the basis reward scores or the policy log-ratios.
  3. Coverage Verification: It computes a coverage score to check whether the existing basis of policies can adequately represent the new target reward before generating text.
  4. Inference-Time Mixing: At test time, PoEM modifies the next-token logits (for autoregressive language models) or the denoiser outputs (for diffusion models) using the calculated weights. This requires zero parameter updates.

Datasets

The framework was validated across both text and image modalities using the following datasets:

  • UltraChat: Used as the primary prompt pool for training and evaluating programmatic text rewards and reward model bases.
  • PKU-SafeRLHF: Used to provide harmful requests to train and evaluate safety-focused reward model experts.
  • ImageNet: Class names from the first 398 classes were utilized as training prompts for the image diffusion experts.

Key Insights and Ideas

  • The Policy Space Rank Gap: The most surprising finding is that while single-reward adapters have nearly orthogonal parameter updates (meaning they look like they are doing completely different things in parameter space), their policy log-ratios span a highly low-rank subspace. As shown in Figure 2, 20 distinct programmatic adapters use almost all their parameter degrees of freedom, yet their log-ratios use only about half as many effective directions as the rewards themselves.
  • Behavioral Space is Small: Because the policy space is low-rank, a new reward does not actually need to be a strict linear combination of the base rewards to be successfully approximated. It just needs its optimal policy to lie within the low-rank behavioral subspace already covered by the existing experts.
  • Predictive Coverage: The proposed coverage score acts as a reliable "warning system," allowing practitioners to know in advance whether the existing basis can successfully simulate the target reward.
Figure 2: Policies trained on different rewards vary along fewer directions than the rewards themselves. Twenty experts trained with GRPO, one per programmatic reward, evaluated on base- model responses. (a) Cumulative variance of the experts’ weight updates (∆Θ), rewards ( eR) and log-ratios (eΦ). The weight updates are close to full rank, while the log-ratios use about half as many effective directions as the rewards. (b) The log-ratio matrix eΦ, rows sorted by its first principal component: nearly all experts move together along one shared direction. App. C.4 shows the same for policies trained on public reward models.

Key Results

  • Text Generation (Programmatic Rewards): On a basis of 20 adapters trained on Qwen3-0.6B, PoEM recovered most of the reward gain of a directly trained RL policy on composite rewards. Its approximation error was remarkably close to the natural variance observed between two independent RL training runs initialized with different seeds.
  • Held-out Reward Generalization: On a basis of 10 diverse public reward models, PoEM generated responses closer to the directly trained RL policy than the leading single expert on 9 out of 10 held-out rewards.
  • Image Generation: Using 13 adapters on Stable Diffusion v1.4 trained via DDPO, PoEM successfully approximated the visual effects (such as saturation, sharpness, and aesthetic scores) of a held-out RL adapter by combining the remaining twelve.

Limitations and Future Work

  • Subspace Bounds: PoEM is strictly bounded by the policy space span of the chosen basis. If a target reward requires a behavioral direction that none of the existing adapters possess, the coverage score will be low, and PoEM will fail to accurately approximate it.
  • KL Regularization Dependency: The exact mathematical composition assumes each expert was optimized using a KL-regularized objective with a shared reference model and identical hyperparameters, which may not hold true for arbitrary open-source models.
  • Inference Overhead: Running $k$ experts simultaneously at inference time increases computational cost. The authors note that distilling PoEM's composed behavior into a single model is a critical direction for future work.
  • Scale and Context: The method has only been validated on relatively small models and has not yet been tested on long-context generation tasks.

Summary updated

Abstract

Foundation models are post-trained with reinforcement learning (RL) to maximize specific rewards, such as human alignment, correctness, or instruction following. This post-training process is computationally intensive, sometimes unstable, and has to be run from scratch every time the reward model changes or when we want to combine multiple rewards. We hence ask: given a new reward function, is it possible to predict the RL outcomes without actually running RL on it? We answer this in the affirmative by introducing PoEM, a framework to predict the outputs of RL on a new reward function using a set of models already post-trained on other rewards. First, we show that if the new reward function can be written as a linear combination of existing ones, then the new policy in log-space can be written as a linear combination of the existing log-policies. Surprisingly, even in cases where the rewards are not linearly connected, we observe that often log-policies from RL training span an approximately low-rank subspace across rewards. To our benefit, the weighting coefficients for this combination can be estimated using only the reward or basis policy outputs on the samples. We turn these observations into an algorithm that takes post-trained models and a new reward function, and approximates the target RL policy without actually running any additional RL training. We experimentally validate our approach across synthetic and real rewards, spanning both text and image modalities.
BibTeX
@inproceedings{hamidieh2026poem,
  author = {Kimia Hamidieh and Giannis Daras and Antonio Torralba},
  title = {{PoEM: Predicting RL Outcomes from Existing Policies}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Dh60W6N12a},
}
Figure