Uncertainty-Aware Instance Reweighting for Off-Policy Learning

Off-policy learning, referring to the procedure of policy optimization with access only to logged feedback data, has shown importance in various real-world applications, such as search engines, recommender systems, and etc. While the ground-truth logging policy, which generates the logged data, is usually unknown, previous work simply takes its estimated value in off-policy learning, ignoring both high bias and high variance resulted from such an estimator, especially on samples with small and inaccurately estimated logging probabilities. In this work, we explicitly model the uncertainty in the estimated logging policy and propose a Uncertainty-aware Inverse Propensity Score estimator (UIPS) for improved off-policy learning, with a theoretical convergence guarantee. Experiment results on synthetic and three real-world recommendation datasets demonstrate the advantageous sample efficiency of the proposed UIPS estimator against an extensive list of state-of-the-art baselines.

Paper

References (52)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer 19wU5/10 · confidence 4/52023-06-29

Summary

This paper delves into the issue of off-policy learning, the objective of which is to devise a new action selection policy based solely on the logged feedback derived from a logging policy. The paper pays particular attention to scenarios in which the logging policy remains unidentified and its estimation proves challenging. Under these conditions, common estimators, like IPS, may lose beneficial attributes such as unbiasedness. To address this complication, the paper introduces a new off-policy learning (OPL) approach called Uncertainty-aware off-policy learning. This new framework aims to optimize the uncertainty-aware objective function by employing a novel weighting scheme that is tuned by minimizing an upper bound of MSE in estimation. A local convergence based on the proposed method is also shown. Experimental results indicate that this proposed framework outperforms a range of benchmark methods on both semi-synthetic and real-world recommendation datasets.

Strengths

- The paper addresses the practically relevant problem of dealing with uncertainty in logging policy estimation in off-policy learning. - The paper proposes a reasonable and conceptually straightforward method to handle the issue of uncertain logging policies, providing theoretical guarantees regarding estimation and local convergence. - The paper presents comprehensive experiments, not just basic performance comparisons, but also experiments on off-policy evaluation (OPE) and critical hyperparameters (some of which are included in the appendix).

Weaknesses

- Given that several papers already exist on the topic of distributionally robust off-policy learning (OPL), as discussed in the paper, the formulation of a problem addressing the uncertainty of logging policies may not be groundbreaking, even though I understand that their motivations differ somewhat. - In the experiments, the issue might also be tackled by simply applying calibration during the estimation of the logging policy, as seen in the following paper: Aniruddh Raghu, Omer Gottesman, Yao Liu, Matthieu Komorowski, Aldo Faisal, Finale Doshi-Velez, and Emma Brunskill. Behaviour Policy Estimation in Off-Policy Policy Evaluation: Calibration Matters. https://arxiv.org/pdf/1807.01066.pdf - In most of the experiments, CE performs quite well and is not substantially outperformed by UIPS. Therefore, considering the current experiment results, I may not use UIPS in practice and would rather rely on CE, which is much easier to implement (there is no need to estimate the logging policy when using CE), and does not require the tuning of additional hyperparameters as with UIPS. - Related to the previous point, in most experiments, the second-best methods for each metric and dataset perform very similarly to UIPS. I am not sure how essential it truly is to address uncertainty in logging policy estimation. I understand that the results are statistically significant, but results can be deemed significant even with a slight performance difference if the sample size is sufficient. In this context, my focus is on the performance difference.

Questions

- How do baseline methods perform in the experiments when they are combined with a calibrated logging policy estimator? Some additional results about this would be useful. - Could you provide the results relative to the performance of the (true) logging policy? This enables us to see how much improvements the methods bring compared to the logging policy. - When does UIPS become really crucial? That is, are there any situations where UIPS performs well while all other methods do not work satisfactory. In the current experiments, the second-best methods perform very similarly to UIPS in all datasets and metrics. Moreover, CE performs reasonably and stably for a range of metrics and datasets, which makes it a really good choice in practice indeed.

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

The paper touches on the tightness of the bound as a limitation and future work in the last section.

Reviewer YnY87/10 · confidence 3/52023-07-05

Summary

The paper considers a scenario in off-policy evaluation where we don't have access to the action probabilities of the logging policy, which we need to compute the propensities in IPS. Prior work would estimate these probabilities from data, but would ignore the uncertainties associated with these estimates. In this work the authors propose to re-weight the propensities based on thess uncertainties. The exact form of the weights is derived by minimizing an upper bound on the MSE. The resulting method consistently beats SOTA baselines on both toy and real datasets.

Strengths

A novel IPS variant that is grounded in and backed by theory (i.e. is derived by minimizing the MSE of the estimator), and is designed to solve a concrete problem in existing methods. Solid experimental methodology, sufficient details on the experimental setup to enable reproducibility. Strong results: the proposed method beats a broad list of SOTA baselines on both toy and real datasets.

Weaknesses

I have doubts re. the importance of the problem that the method is solving: we can simply log the propensities, right? How common is it in practice that these propensities are not available? At the same time, I see that in some experiments the method improves upon using GT propensities. This would be a good selling point of the method, but it goes against the initial motivation. How can a method that takes uncertainty into account be better than having _no_ uncertainty? This warrants more discussion in the paper, and makes me wonder if there are alternative explanations to why the method works. In general, I've found the manuscript to be rather dense and hard to read in places. I would've liked to see more intuition and/or pedagogical examples to understand what the method does exactly. E.g. on line 158: "UIPS assigns them with an increasing weight [..] as uncertainty increases" -- why does it make sense? The quality of the write-up could be improved: a few grammar mistakes, figure captions could be more informative, some opaque references to prior work could be expanded to make the paper more self-contained. The related work could be stronger: lines 301 - 320 largely repeat the introduction. What about other methods in on-policy/off-policy that exploit the uncertainties? UCB in bandits, for example?

Questions

How sensitive is the method to the uncertainty estimation approach? Does something simple like MC-Dropout produce similar results? Also see a few questions in the weaknesses section.

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

Little discussion of limitations: e.g. what about additional cost due to having to estimate uncertainties? Limited societal impact.

Reviewer QiPS5/10 · confidence 4/52023-07-06

Summary

This paper proposes an Uncertainty-aware Inverse Propensity Score estimator (UIPS) for off-policy learning, taking into account the uncertainty in the estimated logging policy. The authors demonstrate that the commonly used method of estimating the logging policy can lead to biased estimators, particularly for samples with small estimated logging probabilities. UIPS addresses this issue by reweighting the propensity scores based on the uncertainty of the estimated logging policy. The paper provides a theoretical analysis of the convergence properties of UIPS and presents experimental results on synthetic and real-world recommendation datasets, comparing against state-of-the-art baselines.

Strengths

● The paper addresses an important problem in off-policy learning and proposes a novel method, UIPS, to improve the quality of the discovered policy. ● The authors provide a comprehensive theoretical analysis of UIPS, including a convergence guarantee. ● The experimental results demonstrate the effectiveness of UIPS compared to some baselines on both synthetic and real-world datasets.

Weaknesses

● There remain some issues unsolved in the paper, such as the availability of the logging policy. See the questions for details. ● There are some related works that are not mentioned in this paper. In off-policy RL, several papers work on behavior-agnostic instance reweighting [1,2]. They compute the prioritization weight without the need of obtaining a behavior policy. There are also papers that discuss the importance ratio term when applying RL to recommendation systems [3,4]. ● Introducing another neural network to estimate $\beta^*$ will increase the system complexity and the computational cost during training and testing. This may hinder the practical application of the algorithm. ● The synthetic dataset and the offline evaluation can give biased evaluation results of the algorithms. [1] Sinha, Samarth, et al. "Experience replay with likelihood-free importance weights." Learning for Dynamics and Control Conference. PMLR, 2022. [2] Liu, Xu-Hui, et al. "Regret minimization experience replay in off-policy reinforcement learning." Advances in Neural Information Processing Systems 34 (2021). [3] Cai, Qingpeng, et al. "Reinforcing User Retention in a Billion Scale Short Video Recommender System." arXiv preprint arXiv:2302.01724 (2023). [4] Chen, Minmin, et al. "Off-policy actor-critic for recommender systems." Proceedings of the 16th ACM Conference on Recommender Systems. 2022.

Questions

1.How is this paper related to behavior-agnostic methods [1,2,5]? With a GAN-like estimator, these methods no longer reconstruct all those behavior policies. They may also be regarded as baselines to compare with. 2.Why are the probabilities $\beta^*(a|x)$ not recorded in the data? With stochastic logging policies, it is easy to store probabilities together with state and actions when generating data. With deterministic logging policies, a common practice is to sample actions from a Gaussian distribution, with policy output as mean and a certain standard deviation. The action probability will also be available. 3.Why do UIPS-O and UIPS-P lead to poor performance? [5] Nachum, Ofir, et al. "Dualdice: Behavior-agnostic estimation of discounted stationary distribution corrections." Advances in neural information processing systems 32 (2019).

Rating

5: Borderline accept: Technically solid paper where reasons to accept outweigh reasons to reject, e.g., limited evaluation. Please use sparingly.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

2 fair

Presentation

2 fair

Contribution

2 fair

Limitations

The usage of off-policy correction and uncertainty-based reweighting is limited to policy-based techniques based on the REINFORCE trick. Such techniques can have higher variance than value-based techniques such as TD3 and SAC, and may lead to unstable training.

Reviewer ha2F6/10 · confidence 3/52023-07-16

Summary

This paper proposes UIPS, a method that models the uncertainty of the estimated logging policy to improve off-policy learning. It assigns weights to each observation instance instead of simply dropping those with high uncertainty. The paper deduces the optimal form of weights from minimizing the upper bound of the resulting estimator’s MSE. Then it gets the improved policy by a two-step iterative optimization. This method is evaluated on both synthetic data and three real-world datasets in which UIPS outperforms multiple baselines.

Strengths

The paper addresses an important problem in policy optimization and proposes an innovative way to handle the uncertainty in the logged data. It derives a closed-form solution for the upper bound of MSE and proves the convergence of the method. It also conducts extensive evaluation on synthetic and real-world dataset to demonstrate the effectiveness of UIPS.

Weaknesses

1. For both synthetic and real-world data, although UIPS achieves the best results, it does not outperform the second-best method by a significant extent. It's not clear how this method will be useful in application. 2. The paper lacks a more detailed study and comparison with existing work on handling uncertainty. More explanation is needed on why UIPS is better compared to other methods. 3. Some deduction is not clear. For example, in-between steps are needed to show the "log trick" used in formula (2). The figure illustration is not very clear either. For example, it's confusing to use ``Log(item freq)" on the X-axis. In Tables 3 and 4, the metrics are not very clear.

Questions

1. How many iterations and how much time does the algorithm run in the evaluation? Does the result verify Theorem 3.4? 2. For Figure 1, the conclusion "items with lower frequencies in the logged dataset have lower estimated logging probabilities" is not a universal trend but only applies for frequency less than 7. How do you explain this observation, and does this affect your other results?

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

2 fair

Limitations

The authors are upfront about their limitations and listed future directions to address them.

Reviewer 19wU2023-08-11

I appreciate the authors' clarifications. Most of my main concerns were addressed nicely. I still think that CE is quite impressive given its simplicity and effectiveness, and thus it might be preferred in practice compared to UIPS (of course the datasets used in the experiments are substantially smaller compared to those of the industry, so it might not be the problem in the empirical analysis.) However, I also acknowledge the importance of studying how well we can do at best under such uncertainty in research and I can increase my score to 5 to indicate that at least I am no longer on the negative side. > Empirically, Table 1 and Table 4 demonstrate that UIPS offers distinct advantages in scenarios where the ground-truth logging policy is skewed (indicated by smaller values) or when dealing with larger action spaces and sparse interactions (such as the KuaiRec dataset). This actually seems to imply, at first glance, that the advantage of UIPS comes from the fact that it unintentionally deals with high variance of typical estimators such as IPS and SNIPS, rather than via dealing with the uncertainty in logging policy estimation. However, the author indeed compared the variance reduction method such as Shrinkage from [Su et al. 20], so at least empirically, dealing with the uncertainty seems to have an additional positive effect on the policy performance. I think this is a very interesting point, and I would be nice to add this discussion in the revision.

Authorsrebuttal2023-08-14

Reply to Official Comment by Reviewer 19wU (Part 1)

We highly appreciate the reviewer’s timely feedback and acknowledgement that our responses were helpful in addressing most of the reviewer’s concerns! > “I still think that CE is quite impressive given its simplicity and effectiveness, and thus it might be preferred in practice compared to UIPS.” We would like to highlight the practical benefits of UIPS over CE with the following additional notes. Firstly, we should emphasize the remarkable and statistically significant improvements of UIPS over CE in all our experiments, as discussed in our previous response to reviewer’s question Q3. An improvement at this scale, as indicated by recent literature [1,2], is very likely to lead to a substantial increase in GMV/transactions of the platform, resulting in billions of profits in practical industry applications. As a result, we firmly believe UIPS has great attractiveness and applied value in practice. Furthermore, recent work [3] has demonstrated the benefits of off-policy algorithms over CE in an industry recommender system with an action space in the orders of millions. Their findings specifically indicate that directly learning from the logged feedback (i.e., CE) is subject to biases caused by solely observing feedback on logged recommendations, resulting in the 'richer get richer' effect or popularity bias. Off-policy correction methods, such as BIPS in the study, effectively mitigate these biases. As an off-policy learning algorithm, UIPS naturally inherits the aforementioned benefits. To verify this, the table below depicts the frequency at which different algorithms tend to recommend the most popular items in the logged training set of the KuaiRec dataset. A higher recommendation ratio signifies that the algorithm is more influenced by the logging/popularity bias present in the training data, and thus amplifying the "rich get richer" phenomenon. | | CE | BIPS | POXM | UIPS | |---------------------------------------------|----|------|------|------| | recommendation_ratio of top-10% popular items | 0.445 | 0.296 | 0.476 | 0.297 | | recommendation_ratio of top-20% popular items | 0.749 | 0.617 | 0.748 | 0.585 | Recall that POXM is the best baseline on the KuaiRec dataset. While UIPS significantly outperformed BIPS in terms of recommendation accuracy (Table 1 and 4), it is noteworthy that UIPS also exhibits a tendency to recommend less popular items compared to CE, highlighting its effectiveness in mitigating the 'richer get richer' effect while maintaining the quality of recommendation. Lastly, UIPS actually does not incur significant computational overhead as discussed in Section 7.1 of the appendix. The estimation of logging policy can also be further simplified, by parameterizing the learning policy and logging policy within one network and learning them in a simultaneous way [3]. [1]Zheng et al. "Multi-Objective Personalized Product Retrieval in Taobao Search. KDD2021 [2]Li et al. Embedding-based product retrieval in taobao search. KDD2021 [3] Chen et al. Top-k off-policy correction for a REINFORCE recommender system. WSDM 2019.

Authorsrebuttal2023-08-14

Reply to Official Comment by Reviewer 19wU (Part 2)

> “This actually seems to imply, at first glance, that the advantage of UIPS comes from the fact that it unintentionally deals with high variance of typical estimators such as IPS and SNIPS, rather than via dealing with the uncertainty in logging policy estimation. However, the author indeed compared the variance reduction method such as Shrinkage from [Su et al. 20], so at least empirically, dealing with the uncertainty seems to have an additional positive effect on the policy performance. ” When using the estimated logging policy, samples with either **high estimation uncertainty** or **small estimated probability** tend to introduce high variance and high bias, thereby impeding subsequent off-policy learning. This is demonstrated in Proposition 2.1 of our paper. Figure 1 further illustrates that these two factors are usually accompanied, exacerbating their detrimental effects. As a result, variance reduction methods, such as Shrinkage from [Su et al. 20], which solely handle small estimated probabilities, cannot handle all situations and thus performed worse than UIPS. In contrast, UIPS effectively handles **both high estimation uncertainty and small estimated probability** through incorporating an uncertainty-aware sample weight to minimize the mean squared error (MSE) of the estimator to its ground-truth value (line 155-161), leading to its strong performance. Again, as we explained in the rebuttal, the design of UIPS is top-down: from the principle of minimizing the MSE of the offline estimated policy value, to estimating the per-sample weights to control impact from samples with high estimation uncertainty and small estimated probability. This also explains why UIPS works especially well in scenarios where the ground-truth logging policy is skewed (e.g., smaller $\tau$ value in Table 1) or when dealing with larger action spaces and sparse interactions (e.g., on our real-world datasets). In order to achieve good performance in such situations, effective handling of both high estimation uncertainty and small estimated probability becomes crucial.

Reviewer 19wU2023-08-14

Thank you for the further clarifications, which are useful. If I could find an online A/B test result that demonstrates the effectiveness of UIPS in terms of improving the recommendation metrics and GMV in an actual large-scale recommender system, I would be convinced about these points.

Authorsrebuttal2023-08-14

We sincerely appreciate the reviewer's invaluable time and effort in providing invaluable suggestions that have greatly contributed to improving the quality of our paper! Unfortunately, we currently do not have the privilege to run any online experiments with real user populations, which need resources clearly beyond our reach. However, considering that 1) we have thoroughly tested UIPS on several popularly used offline evaluation benchmarks and obtained consistent and encouraging improvements there, and 2) the adopted offline metrics align well with the online performance as evidenced in recent literature, we firmly believe the practical value of UIPS. The publication of UIPS will definitely help us find resources, either through our efforts or potential industry collaborators, to follow the reviewer's suggestions and endeavor to evaluate UIPS via online experiments in future studies. We are very excited about its outlook.

Reviewer ha2F2023-08-12

While my overall decision of the paper remains the same, the authors' response is quite sufficient and is appreciated. They more or less address my concerns.

Authorsrebuttal2023-08-14

Reply to Official Comment by Reviewer ha2F

Thank you for your timely feedback. We are very glad to find that the reviewer is satisfied with our submission and found our explanations in the rebuttal sufficient. Ourselves are also excited about this work, because of its potential in providing a theoretically justified off-policy learning solution, especially when learning from offline data with no knowledge about the logging policy. We are more than happy to know if there is anything that is necessary and may potentially convince the reviewer to increase the recommendation, which would help us improve both the quality and visibility of this work.

Reviewer YnY82023-08-15

I thank the authors for their response. > relying solely on newly-collected data provides only a partial depiction of users' preferences afterwards Nit: while I understand the additional cost argument, I don't fully follow the "partial depiction" argument: wouldn't newer data provide a more up-to-date depiction of users' preferences? In general, I appreciate the author's arguments for the problem importance, and I think future readers would benefit from a short summary of those in the introduction. Unfortunately, I struggled to follow the intuition for why the relationship between the uncertainty and the sample weight is non-linear, as provided in the common response. Unpacking the argument further and being more rigorous could help. At the same time, the method is theoretically grounded -- while a clear, intuitive interpretation would be useful, I do not consider it to be essential. Overall, the authors have addressed many of my concerns/questions, hence I increase my score.

Authorsrebuttal2023-08-16

# Reply to Official Comment by Reviewer YnY8

We genuinely appreciate the reviewer's dedicated time, efforts, and invaluable input in responding to our submission and rebuttals. We are delighted to know that our responses effectively addressed most of the reviewer's concerns. Furthermore, we extend our gratitude to the reviewer for raising the recommendation. Following the reviewer's suggestion, we will incorporate necessary discussions about the problem's importance into the introduction and expand our current discussion about its derived closed form solution of the per-sample weight in the method section. Here are some additional notes on the questions mentioned in the reviewer’s latest comment. > “I don't fully follow the "partial depiction" argument: wouldn't newer data provide a more up-to-date depiction of users' preferences?” We agree that newer data does have the advantage in providing a more up-to-date depiction of users' preference. However, there are two potential drawbacks in solely relying on newer data. First, it would overlook aspects or patterns that were present in the past but are no longer captured in the recent data. Second, to get a more comprehensive picture, a longer window for data collection is needed, which however slows down model update and system optimization. Hence, effectively leveraging historical data together with any newer data is a more economic and preferred way to understand user preferences in large practical systems [1]. [1] Pi Q, Zhou G, Zhang Y, et al. Search-based user interest modeling with lifelong sequential behavior data for click-through rate prediction. CIKM 2020. > “why the relationship between the uncertainty and the sample weight is non-linear” This is also something particularly interesting to us: the closed-form solution for the per-sample weight is rigorously derived based on the minimax optimization problem in Eq (8); and this optimization problem is formulated based on the principle of minimizing MSE of value estimation. Hence, this nonlinearity cannot be manually instructed beforehand. As our empirical study suggested, simply boosting or penalizing samples based on the uncertainty in their estimated logging probabilities did not work out, which further confirmed the validity of our derivation. This motivates us to look further into this new perspective in sample importance in off-policy learning.

Reviewer QiPS2023-08-16

Thanks for the detailed rebuttal. I am more pleased with the paper, and I wish you luck.

Authorsrebuttal2023-08-17

# Reply to Official Comment by Reviewer QiPS

We sincerely thank the reviewer for invaluable time and efforts in handling our submission. We are delighted to learn that our explanations in the rebuttal have addressed the reviewer’s concerns and the reviewer is satisfied with our submission. We are also excited about the theoretical validity and empirical effectiveness of our proposed UIPS algorithm for off-policy learning, and thus are eager to share it with the community. Given the rebuttal period is coming to its end, we kindly inquire if there is any additional guidance or request that is necessary for the reviewer to consider increasing the evaluation of our work. Thank you.

Program Chairsdecision2023-09-21

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC