TL;DR
Most reinforcement learning from human feedback (RLHF) algorithms assume they know the exact mathematical "link function" (usually the logistic Bradley-Terry model) that maps human preferences to underlying rewards. This paper introduces Sign-SZPO, a novel zeroth-order policy optimization algorithm that requires only that preferences are positively correlated with rewards, completely bypassing the need to know the exact link function. Sign-SZPO achieves provable polynomial convergence rates and demonstrates superior robustness in environments with mis-specified preference models.
What Problem Does This Paper Address?
In standard RLHF, agents learn from pairwise comparisons (e.g., "Trajectory A is better than Trajectory B") rather than explicit numeric rewards. To make sense of this feedback, standard algorithms rely on a link function—a probabilistic model characterizing how much more likely a human is to prefer a higher-returning trajectory over a lower-returning one. The ubiquitous choice is the Bradley-Terry model, which assumes a logistic relationship.
However, human psychology is messy. True preferences vary across time, populations, and contexts, meaning a simple logistic curve is often a poor approximation. When the assumed link function doesn't match reality (model mis-specification), standard RLHF algorithms can suffer severe performance drops or fall prey to reward hacking. This paper tackles a fundamental question: Can we design a provably stable policy optimization algorithm that learns from preferences without knowing the exact link function?
Methods
The authors propose Sign Stochastic Zeroth-Order Policy Optimization (Sign-SZPO). Unlike typical zeroth-order methods that try to estimate the exact numeric difference between two policies' value functions (which requires inverting a known link function), Sign-SZPO only estimates the sign (positive or negative) of the value function difference.
The algorithm operates in a few clean steps per iteration:
- Policy Perturbation: It applies a random Gaussian perturbation vector $v_t$ to the current policy parameters $\theta_t$ to create a perturbed policy $\theta'_t$.
- Trajectory Sampling: It samples batches of trajectories from both the original and perturbed policies.
- Majority Vote Oracle: It queries the preference oracle with pairs of these trajectory batches. By taking a simple majority vote of the oracle's choices, the algorithm determines whether the perturbation improved or degraded the policy.
- Sign-Based Update: It constructs a gradient estimator using only the sign of the majority vote multiplied by the perturbation direction $v_t$.
Because it only extracts a single bit of information (the sign) from the preference feedback, the exact shape of the link function becomes irrelevant, so long as it remains strictly monotonically increasing.
Datasets
The algorithm was evaluated on several standard reinforcement learning benchmarks simulated via the Gymnasium framework and the MuJoCo physics engine:
- Continuous Robotic Control:
HalfCheetah-v5andHopper-v5. - Discrete Control:
CartPole-v1. - Stochastic Environments: A custom stochastic
GridWorldwith environmental disturbances to test robustness against noisy transitions.
Synthetic preference oracles were constructed using both logistic (Bradley-Terry) and linear link functions to deliberately simulate link function mismatches during evaluation.
Key Insights and Ideas
- The Power of the Sign: You don't need to know how much better a policy perturbation is to calculate a valid update direction. Knowing that it is better (the sign) is mathematically sufficient to construct an update direction positively correlated with the true policy gradient.
- Link Function Agnosticism: By compressing preference feedback into a majority-voted sign, Sign-SZPO completely avoids trying to reconstruct numeric rewards or invert probability curves, making it inherently immune to link function mis-specification.
- The Distinguishability Limit ($\varepsilon^*_D$): The paper formalizes a fundamental limit to learning from unknown preferences: if two policies are too similar, an oracle cannot reliably distinguish them under a finite batch size $D$. This introduces a unavoidable bias term in the convergence rate that decreases as batch size increases.
Key Results
The authors compared Sign-SZPO against several baselines, including Online DPO, Reward Modeling + PPO (RM+PPO), and Zeroth-Order Policy Gradient (ZPG).
- Robustness to Mismatch: When the true preference oracle was linear but the baseline algorithms assumed it was logistic (a link function mismatch), the performance of standard baselines plummeted. Sign-SZPO maintained stable performance and achieved the highest final returns across the board.
- Sample Efficiency via Rollouts: As shown in the
CartPoleablation studies, increasing the number of trajectory rollouts ($N$) per iteration significantly accelerates Sign-SZPO's convergence by reducing the variance of the majority vote estimator.
Limitations and Future Work
- Local Convergence Only: The theoretical guarantees prove convergence to a stationary policy (local optimum), not necessarily the global optimal policy, unless strong assumptions like the Polyak-Łojasiewicz (PL) condition are met.
- Dimensionality Scaling: As a zeroth-order method, scaling to massive parameter spaces (like large language models) can be challenging, though the authors note this can be mitigated using parameter-efficient fine-tuning (PEFT) frameworks like MeZO.
- Real Human Trials: The current empirical validation relies entirely on synthetic oracles. Future work is needed to validate Sign-SZPO against real human evaluators or diverse AI feedback judges.
Summary updated