随时有效的最优策略识别 Anytime-valid Optimal Policy Identification 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-06-16
⬇️ 1 次下载
👁️ 预览文献
💡 AI 中文简介
这篇论文研究如何从已有的上下文赌博机数据中找出最优策略。现实中数据往往由别人控制的记录策略产生,分析师无法预先确定样本量,还想随时监控证据、一旦确定就停止。作者提出一种随时间变化的置信集合,能在整个过程中以高概率保留真正的最优策略,并给出停止规则和样本复杂度上界。模拟显示比固定样本量方法节省大量样本,还用在一个减少网络错误信息的大型实验上,展示了动态监控效果。
领域机器学习/强化学习/上下文赌博机与因果推断
适合谁读需要一定专业背景(概率统计、赌博机或因果推断基础)
核心贡献1. 提出随时有效的最优策略识别框架,构造随时间变化的置信集合,允许在数据依赖的时间点停止而不破坏推断有效性。2. 当最优策略唯一时,给出停止时间并推导出样本复杂度上界 O((log|Π|+loglog(1/Δ_min))/Δ_min^2)。
关键数据样本复杂度上界为 O((log|Π|+loglog(1/Δ_min))/Δ_min^2);模拟显示相比固定样本量设计可大幅节省样本;应用于减少网络错误信息的大型自适应实验。
推荐理由如果你关心如何在数据不断到来时动态判断哪个策略最好,并且想省样本,这篇论文给出了理论保证和实用方法,值得一读。
关键词["最优策略识别", "随时有效推断", "上下文赌博机", "离策略评估", "自适应实验"]

原文摘要

查看英文原文摘要

We develop an anytime-valid framework for optimal policy identification from logged contextual bandit data. In many applied settings, the analyst wants to select the optimal policy from a candidate policy class $Π$, but data are generated by an externally determined logging policy that they do not control. The analyst may also wish to monitor evidence continuously, stopping once the optimal policy is clear rather than committing to a fixed sample size in advance. This paper addresses these challenges by constructing a time-indexed set $S_t$ that retains the true optimal policy set uniformly over time with high probability. The resulting procedure allows the analyst to monitor policy values, eliminate clearly suboptimal policies, and stop at data-dependent times without invalidating inference. When the optimal policy is unique, we define a stopping time for its identification and derive a sample-complexity bound scaling as $O\!\left(\frac{\log |Π|+\log\log(1/Δ_{\min})}{Δ_{\min}^2}\right)$, where $Δ_{\min}$ is the gap between the best and second-best policy values. Simulations demonstrate that the anytime-valid approach can yield substantial sample savings relative to fixed-$N$ designs. An application to a large adaptive experiment on reducing misinformation online illustrates how the method provides a dynamic view as evidence on the optimal policy accumulates.

📚 参考文献 (11 条)

查看11 条参考文献
  1. Bibaut, A., Chambaz, A., Dimakopoulou, M., Kallus, N., and Laan, M. v. d. (2021). Post- Contextual-Bandit Inference. arXiv:2106.00418 [stat]. Bubeck, S., Wang, T., and Viswanathan, N. (2012). Multiple Identifications in Multi-Armed Bandits. arXiv:1205.3181 [cs]. Degenne, R., M´enard, P., Shang, X., and Valko, M. (2020). Gamification of Pure Exploration for Linear Bandits. arXiv:2007.00953 [stat]. Doss, C., Fahle, E. M., Loeb, S., and York, B. N. (2019). More Than Just a Nudge: Supporting Kindergarten Parents with Differentiated and Personalized Text Messages. Journal of Human Resources, 54(3):567–603. Dudik, M., Langford, J., and Li, L. (2011). Doubly Robust Policy Evaluation and Learning. arXiv:1103.4601 [cs]. Fiez, T., Jain, L., Jamieson, K., and Ratliff, L. (2019). Sequential Experimental Design for Transductive Linear Bandits. arXiv:1906.08399 [stat]. Garivier, A. and Kaufmann, E. (2016). Optimal Best Arm Identification with Fixed Confidence. arXiv:1602.04589 [math]. Hadad, V., Hirshberg, D. A., Zhan, R., Wager, S., and Athey, S. (2021). Confidence Intervals for Policy Evaluation in Adaptive Experiments. arXiv:1911.02768 [stat]. Howard, S. R., Ramdas, A., McAuliffe, J., and Sekhon, J. (2021). Time-uniform, nonparamet- ric, nonasymptotic confidence sequences. The Annals of Statistics, 49(2). arXiv:1810.08240
  2. [math]. Jedra, Y. and Proutiere, A. (2020). Optimal Best-arm Identification in Linear Bandits. arXiv:2006.16073 [stat]. Johari, R., Koomen, P., Pekelis, L., and Walsh, D. (2022). Always Valid Inference: Continuous Monitoring of A/B Tests. Operations Research, 70(3):1806–1821. Jun, K.-S. and Nowak, R. (2016). Anytime Exploration for Multi-armed Bandits using Con- fidence Information. In Balcan, M. F. and Weinberger, K. Q., editors, Proceedings of The 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 974–982, New York, New York, USA. PMLR. Karampatziakis, N., Mineiro, P., and Ramdas, A. (2021). Off-policy Confidence Sequences. arXiv:2102.09540 [cs]. 16
  3. Kuzborskij, I., Vernade, C., Gy¨orgy, A., and Szepesv´ari, C. (2022). Confident Off-Policy Eval- uation and Selection through Self-Normalized Importance Weighting. arXiv:2006.10460
  4. [cs]. Lee, J. and Ma, C. (2024). Off-policy estimation with adaptively collected data: the power of online learning. In Advances in Neural Information Processing Systems 37, pages 133908– 133947, Vancouver, BC, Canada. Neural Information Processing Systems Foundation, Inc. (NeurIPS). Leiner, J., Dunn, R., and Ramdas, A. (2026). Adaptive Off-Policy Inference for M-Estimators Under Model Misspecification. arXiv:2509.14218 [stat]. Li, L., Chu, W., Langford, J., and Schapire, R. E. (2010). A Contextual-Bandit Approach to Personalized News Article Recommendation. In Proceedings of the 19th international conference on World wide web, pages 661–670. arXiv:1003.0146 [cs]. Li, Z., Ratliff, L., Nassif, H., Jamieson, K., and Jain, L. (2022). Instance-optimal PAC Algo- rithms for Contextual Bandits. arXiv:2207.02357 [stat]. Lindon, M., Ham, D. W., Tingley, M., and Bojinov, I. (2025). Anytime-Valid Linear Models and Regression Adjusted Causal Inference in Randomized Experiments. arXiv:2210.08589
  5. [stat]. Locatelli, A., Gutzeit, M., and Carpentier, A. (2016). An optimal algorithm for the Threshold- ing Bandit Problem. arXiv:1605.08671 [stat]. Mason, B., Jain, L., Tripathy, A., and Nowak, R. (2020). Finding All ε-Good Arms in Stochas- tic Bandits. arXiv:2006.08850 [stat]. Molitor, D. and Gold, S. (2025). Anytime-Valid Inference in Adaptive Experiments: Covariate Adjustment and Balanced Power. arXiv:2506.20523 [stat]. Offer-Westort, M., Rosenzweig, L. R., and Athey, S. (2024). Battling the coronavirus ‘info- demic’ among social media users in Kenya and Nigeria. Nature Human Behaviour, 8(5):823– 834. Soare, M., Lazaric, A., and Munos, R. (2014). Best-Arm Identification in Linear Bandits. arXiv:1409.6110 [cs]. Thomas, P., Theocharous, G., and Ghavamzadeh, M. (2015). High-Confidence Off-Policy Evaluation. Proceedings of the AAAI Conference on Artificial Intelligence, 29(1). Tirinzoni, A. and Degenne, R. (2022). On Elimination Strategies for Bandit Fixed-Confidence Identification. arXiv:2205.10936 [cs]. 17
  6. Wang, Y.-X., Agarwal, A., and Dudik, M. (2017). Optimal and Adaptive Off-policy Evaluation in Contextual Bandits. arXiv:1612.01205 [stat]. Waudby-Smith, I., Wu, L., Ramdas, A., Karampatziakis, N., and Mineiro, P. (2024). Anytime- valid off-policy inference for contextual bandits. arXiv:2210.10768 [stat]. Zanette, A., Dong, K., Lee, J., and Brunskill, E. (2021). Design of Experiments for Stochastic Contextual Linear Bandits. arXiv:2107.09912 [cs]. Zhang, K. W., Janson, L., and Murphy, S. A. (2021). Statistical Inference with M-Estimators on Adaptively Collected Data. arXiv:2104.14074 [cs]. 18
  7. A Proof of Theorem 1 Proof. For each t ≥1, define E(t) := n ν(π) ∈ h Lt  π; α m  ,Ut  π; α m i : ∀π ∈Π o , and let E := \ t≥1 E(t). As established in the main text (2), P(E) ≥1−α. Now fix any π† ∈Π⋆and any t ≥1. If E(t) holds true, we have that Lt  π′; α m  ≤ν(π′) ≤ν(π†) for all π′ ∈Π, since π† is optimal. Therefore, max π′∈ΠLt  π′; α m  ≤ν(π†) ≤Ut  π†; α m  . Combining these gives max π′∈ΠLt  π′; α m  ≤Ut  π†; α m  , so π† ∈St. Since π† ∈Π⋆was arbitrary, it follows that when E(t) holds, Π⋆⊆St. Thus, E =⇒Π⋆⊆St ∀t ≥1. Finally, P(Π⋆⊆St : ∀t ≥1) ≥P(E) ≥1−α. B Proof of Theorem 2 Before diving into the proof of Theorem 2 we will state and prove a small but crucial lemma. B.1 Intermediate lemma Lemma 1 Suppose t ∈R : t ≥C for some arbitrary C > 1. Additionally, suppose we have constants A,K ≥e. Define L(x) := log log(x)  , X := A+L(K)+L(A)+C, and T := 3KXC. It follows that T > K A+L(T)  . 19
  8. Consequently, t⋆:= inf  t ∈[C,∞) : t > K A+L(t)  ≤T. Proof. We begin by establishing that, since L(K), L(A) ≥loglog(e) = 0, we have X ≥e + 1. Similarly, since X ≥e + 1 and K ≥e, it follows that T ≥3(e2 + e). Next, we will show that L(T) ≤X + 2. First, note that by construction loglogK := L(K) ≤X and C ≤X which implies that logK, logC ≤eX. Next, since X ≥e + 1, it follows that logX ≤eX, and log3 ≤ e−(e+1)eX log3, so log(T) = log3+logK +logX +logC ≤e−(e+1)eX log3+3eX = (e−(e+1) log3+3)eX. It follows that L(T) := loglogT = log(log3+logK +logX +logC) ≤log((e−(e+1) log3+3)eX) = log(e−(e+1) log3+3)+X < X +2. So, L(T) ≤X +2 and as a result K(A+L(T)) ≤K(A+X +2). Finally, since by construction A ≤X and X ≥3, we have 2 ≤2X 3 and thus A+X +2 ≤X +X + 2X 3 < 3X. Combining these pieces, we see that K(A+L(T)) ≤K(A+X +2) < 3KX < 3KXC = T. Since by construction T > C, then t⋆≤T. 20
  9. B.2 Proof of Theorem 2 We will now state the proof of Theorem 2. Proof. Suppose that the simultaneous coverage event holds: E := n ν(π) ∈ h Lt  π; α m  ,Ut  π; α m i : ∀t ≥1,∀π ∈Π o . By (4) and the finiteness of Π, there exist constants D > 0 and t0 > 1 such that, for every policy π ∈Π and all t ≥t0, Ut  π; α m  −ν(π), ν(π)−Lt  π; α m  ≤D r loglogt +logm t . It immediately follows that, for every suboptimal policy π̸ = π⋆and all t ≥t0, Lt(π⋆)−Ut(π) ≥ν(π⋆)−D r loglogt +logm t −
  10. ν(π)+D r loglogt +logm t ! = ∆π −2D r loglogt +logm t . Therefore, for any t ≥t0, 2D r loglogt +logm t < ∆min =⇒Lt(π⋆) > max π̸=π⋆Ut(π), and thus τ ≤t. Squaring and rearranging 2D q loglogt+logm t < ∆min gives us t > 4D2 ∆2 min logm+loglogt  . Thus, it suffices to find t′ = inf  t ∈[t0,∞) : t > 4D2 ∆2 min logm+loglogt  . It immediately follows that it suffices to find t⋆= inf  t ∈[t0,∞) : t > max  e, 4D2 ∆2 min max{e,logm}+loglogt  , since max  e, 4D2 ∆2 min max{e,logm}+loglogt  ≥4D2 ∆2 min logm+loglogt  . 21
  11. Hence τ ≤t⋆. By Lemma 1, it also follows that τ ≤t⋆< T := 3t0 max  e, 4D2 ∆2 min  max{e,logm}+loglogmax  e, 4D2 ∆2 min  +loglogmax{e,logm}+t0  ≤F  3t0 4D2 ∆2 min  logm+loglog 4D2 ∆2 min +loglogmax{e,logm}+t0  < ∞. (5) for a sufficiently large constant F > 0 depending only on D and t0. Therefore, there exists a constant M > 0 such that τ ≤Mlogm+loglog 1/∆2 min  +loglogmax{e,logm}+1 ∆2 min . In particular, since Π is fixed and finite, there exist constants ∆0 ∈(0,1) and N > 0 such that for all 0 < ∆min ≤∆0, τ ≤N logm+loglog(1/∆min) ∆2 min . That is, τ = O logm+loglog(1/∆min) ∆2 min  as ∆min ↓0. Finally, τ < ∞by (5), which implies by definition of St that Sτ = {π⋆}. By Equation 2, P(E) ≥ 1−α, and thus all demonstrated results also hold with probability at least 1−α. 22