Skip to content

A General Framework for Off-Policy Learning with Partially-Observed Reward

optionalextendedfrontierpaperrubric 8/122025 · ICLR 2025 · ~35 min

Rikiya Takehi, Masahiro Asami, Kosuke Kawakami, Yuta Saito

Status

TL;DR. In recommender logs, the reward you care about (conversion, rating, retention) is often missing or delayed, while clicks and dwell time are always recorded. HyPeR (Hybrid Policy Optimization for Partially-Observed Reward) is a policy-gradient estimator for contextual bandits that uses the dense secondary rewards in two ways. Inside an unbiased doubly robust gradient they reduce variance. Through a weight γ\gamma, they can also be optimised directly, and γ\gamma is tuned from data.

An observation indicator oo marks whether the target reward rr was seen. Existing estimators that only use rows where rr was seen (r-IPS and r-DR) are unbiased but noisy. Optimising a hand-built surrogate F(s)F(s) instead is biased. HyPeR’s target-gradient estimator (Eq. 10) uses a q-function that conditions on the secondary rewards, q^(x,a,s)\hat q(x,a,s). It applies the inverse-observation correction o/p(o∣x)o/p(o\mid x) only to the residual r−q^(x,a,s)r - \hat q(x,a,s). It stays unbiased (Theorem 1) and has lower variance when q^(x,a,s)\hat q(x,a,s) predicts better than q^(x,a)\hat q(x,a) (Theorem 2).

The three terms of Eq. 10. With importance weight w(x,a)=πθ(a∣x)/π0(a∣x)w(x,a) = \pi_\theta(a\mid x)/\pi_0(a\mid x) and score gθ(x,a)=∇θlog⁡πθ(a∣x)g_\theta(x,a) = \nabla_\theta \log \pi_\theta(a\mid x), each logged row ii contributes

Eπθ(a∣xi)[q^(xi,a) gθ(xi,a)]⏟(1) model term, all rows+wi(q^(xi,ai,si)−q^(xi,ai))gθ(xi,ai)⏟(2) secondary-reward correction, all rows+oip(oi=1∣xi) wi(ri−q^(xi,ai,si))gθ(xi,ai)⏟(3) target correction, observed rows only.\underbrace{\mathbb{E}_{\pi_\theta(a\mid x_i)}\big[\hat q(x_i,a)\,g_\theta(x_i,a)\big]}_{\text{(1) model term, all rows}} + \underbrace{w_i\big(\hat q(x_i,a_i,s_i) - \hat q(x_i,a_i)\big)g_\theta(x_i,a_i)}_{\text{(2) secondary-reward correction, all rows}} + \underbrace{\frac{o_i}{p(o_i=1\mid x_i)}\,w_i\big(r_i - \hat q(x_i,a_i,s_i)\big)g_\theta(x_i,a_i)}_{\text{(3) target correction, observed rows only}} .

Why it is unbiased. Under the paper’s missingness assumption, oo depends only on xx, so E[o/p(o=1∣x)∣x,a,s,r]=1\mathbb{E}[o/p(o=1\mid x)\mid x,a,s,r] = 1. Term (3) therefore has expectation w (q(x,a,s)−q^(x,a,s)) gw\,(q(x,a,s) - \hat q(x,a,s))\,g. Adding term (2), the q^(x,a,s)\hat q(x,a,s) pieces cancel, leaving w (q(x,a,s)−q^(x,a)) gw\,(q(x,a,s) - \hat q(x,a))\,g; averaging over ss and using full support (Condition 1) to undo ww, this cancels the bias of term (1) and gives the true target gradient. Errors in q^\hat q change only the variance, not the mean.

Results. The synthetic setup uses n=2000n=2000, 10 actions, 5 secondary dimensions, p(o∣x)=0.2p(o\mid x)=0.2 and β=0.3\beta=0.3, with 100 runs. HyPeR(γ=β\gamma=\beta) gives the best combined value in all observation-probability settings. HyPeR(γ=0\gamma=0) always beats r-DR, consistent with Theorem 2, and the tuned γ^∗\hat\gamma^* beats γ=β\gamma=\beta. On KuaiRec (watch ratio as the target, 4 secondary rewards, ∣A∣=100|\mathcal A|=100, n=1000n=1000), HyPeR(γ=β\gamma=\beta) and tuned HyPeR beat the baselines by far. Tuning helps most when target rewards are sparse and the training set is small.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Show why the HyPeR target-gradient estimator (Eq. 10) stays unbiased even though the secondary-reward regression q-hat(x,a,s) may be wrong, and say when it has lower variance than r-DR.

    What a strong answer covers
    • Three terms: the model term E over pi_theta of q-hat(x,a) g, an importance-weighted correction w·(q-hat(x,a,s) − q-hat(x,a))·g on all data, and a reward correction (o/p(o|x))·w·(r − q-hat(x,a,s))·g on observed rows only.
    • Given x, a and s, o is independent of r and E[o/p(o|x)] = 1, so the last term's expectation is w·(q(x,a,s) − q-hat(x,a,s))·g; the q-hat(x,a,s) pieces cancel and the sum telescopes to the true gradient under full support.
    • Theorem 2: the variance gap with r-DR scales with Var[o|x]/p(o|x)^2 times the difference of squared errors of q-hat(x,a) and q-hat(x,a,s) against q(x,a,s).
    • Variance drops whenever conditioning on the secondary rewards predicts r better, which is the usual case because clicks and dwell correlate with conversion.
  2. Mechanism

    Explain the combined objective and the strategic weight gamma in HyPeR. Why can deliberately using gamma different from beta give a better policy, and how is gamma chosen from logged data?

    What a strong answer covers
    • The objective V_c = (1 − beta) V_r + beta V_s mixes target-reward and summed secondary-reward policy values.
    • The HyPeR gradient is (1 − gamma) times the Eq. 10 target gradient plus gamma times a DR gradient on the secondary rewards; gamma = beta is unbiased for V_c.
    • The target gradient is high-variance because r is sparse, so shifting weight toward the dense secondary rewards trades bias for variance in finite samples.
    • Tune gamma by a train/validation split, bootstrapping the training part back to size n so the variance matches full-data training; otherwise the naive split over-selects large gamma.
  3. Critique

    Contrast HyPeR with simply optimising a surrogate F(s) built from clicks and dwell (s-IPS and s-DR) or with dropping unobserved rows (r-IPS and r-DR). What does the KuaiRec experiment actually test?

    What a strong answer covers
    • r-IPS and r-DR are unbiased but discard rows with o = 0, giving high variance; s-IPS and s-DR use every row but are biased unless F(s) matches the target, which is untestable.
    • HyPeR keeps unbiasedness for the target term and borrows the secondary rewards' information for variance reduction.
    • KuaiRec is fully observed (1,411 users by 3,317 videos), so the target (watch ratio) is masked artificially with p(o|x) = 0.2, which is missing completely at random given x.
    • Two of the four secondary rewards are thresholds of the target itself (watch ratio at least 2.0, below 0.5), so part of the secondary–target correlation is built in; real delayed or censored rewards may be harder.

Done with this page?

Status