Skip to main content
QUICK REVIEW

[Paper Review] Reward Shaping for Inference-Time Alignment: A Stackelberg Game Perspective

Haichuan Wang, Tao Lin|arXiv (Cornell University)|Jan 31, 2026
Recommender Systems and TechniquesComputer Science0 citations
TL;DR

The paper models reward design for LLM alignment as a Stackelberg game and shows that a threshold-based reward shaping scheme can efficiently approximate the optimal reward model, improving user utility in inference-time alignment with minimal overhead.

ABSTRACT

Existing alignment methods directly use the reward model learned from user preference data to optimize an LLM policy, subject to KL regularization with respect to the base policy. This practice is suboptimal for maximizing user's utility because the KL regularization may cause the LLM to inherit the bias in the base policy that conflicts with user preferences. While amplifying rewards for preferred outputs can mitigate this bias, it also increases the risk of reward hacking. This tradeoff motivates the problem of optimally designing reward models under KL regularization. We formalize this reward model optimization problem as a Stackelberg game, and show that a simple reward shaping scheme can effectively approximate the optimal reward model. We empirically evaluate our method in inference-time alignment settings and demonstrate that it integrates seamlessly into existing alignment methods with minimal overhead. Our method consistently improves average reward and achieves win-tie rates exceeding 66% against all baselines, averaged across evaluation settings.

Motivation & Objective

  • Motivate why directly maximizing a learned reward under KL regularization is suboptimal for user utility.
  • Formulate reward model design as a Stackelberg game between a leader (reward designer) and follower (LLM).
  • Characterize the optimal reward model as a threshold-based structure and provide a practical method to compute it.
  • Introduce relaxed (soft) threshold variants to improve robustness and prevent overfitting to the threshold.
  • Demonstrate integration of the approach with inference-time alignment methods and show empirical gains.

Proposed method

  • Formulate the alignment problem as a Stackelberg bi-level optimization where the leader selects a reward model r to maximize user utility, anticipating the follower’s KL-regularized response.
  • Prove that the optimal reward model is a threshold reward r_m that assigns 0 or B depending on whether r_U(x,y) is below or above a prompt-dependent threshold m(x).
  • Derive that m(x) should satisfy m(x) = E_{y~rho_r_m*} [r_U(x,y)], creating a self-consistent threshold that aligns with user utility.
  • Provide a Monte Carlo-based procedure to compute m*(x) by estimating F_x(m) with samples from the base policy and using a bisection search.
  • Introduce a soft-threshold variant r_{m*,alpha} using a sigmoid to improve robustness and show it converges to the optimal solution as alpha increases.
  • Show how to integrate the shaping into existing inference-time methods (CD and ARGS) by shaping offline data and retraining the Q-function under the shaped rewards.
Figure 1 : We illustrate the Stackelberg game formulation of LLM alignment. In this framework, the reward model provider acts as the leader by selecting a reward model, while the LLM policy responds as the follower by solving the resulting alignment problem. The reward model provider’s goal is to ch
Figure 1 : We illustrate the Stackelberg game formulation of LLM alignment. In this framework, the reward model provider acts as the leader by selecting a reward model, while the LLM policy responds as the follower by solving the resulting alignment problem. The reward model provider’s goal is to ch

Experimental results

Research questions

  • RQ1Can optimal reward design under KL regularization be characterized analytically for LLM alignment?
  • RQ2Does a threshold-based reward shaping scheme approximate the Stackelberg optimum and improve user utility?
  • RQ3How can we compute the optimal threshold m*(x) efficiently in practice?
  • RQ4Does a soft-threshold variant improve robustness and mitigate brittle behavior near thresholds?
  • RQ5Can Stackelberg-based reward shaping be integrated with existing inference-time methods with modest overhead and improve average rewards?

Key findings

  • Threshold reward models are optimal for the leader in the Stackelberg formulation, meaning one should assign B to outputs with high true reward and 0 otherwise, with the threshold m*(x) satisfying m*(x)=E_{y~rho_r*}[r_U(x,y)].
  • A Monte Carlo-based procedure can efficiently approximate m*(x) for practical use in LLMs.
  • Soft-threshold shaping (SRS) provides robustness and, as shaping strength grows, approaches the true Stackelberg optimum, improving user utility over directly using r_U.
  • Integrating SRS with inference-time methods (CD and ARGS) yields higher average rewards while maintaining diversity and coherence similar to baselines.
  • GPT-4 evaluation shows consistent win-tie advantages for SRS across multiple eval settings against vanilla and heuristic baselines, indicating reduced reward hacking risk.
Figure 2 : Reward and GPT-4 win-tie rate as a function of the inference-time reward strength $\frac{1}{\beta}$ . The Win-Tie rate is compared with base model with no alignment. Solid lines denote the reward given by the reward model ,and dashed lines denote the Win-Tie rate.
Figure 2 : Reward and GPT-4 win-tie rate as a function of the inference-time reward strength $\frac{1}{\beta}$ . The Win-Tie rate is compared with base model with no alignment. Solid lines denote the reward given by the reward model ,and dashed lines denote the Win-Tie rate.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.