Manuscript Offprint
arXiv:2610.22252Explore Once, Evaluate Many: Multiple Policy Evaluation for Stochastic Linear Bandits
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study how to evaluate target policies simultaneously in stochastic contextual bandits with linear reward structure. Given a known -dimensional feature map and reward-free access to policy queries, we propose PRISMA (Policy evaluation through Regularized Information Sharing and Mixture Allocation), an algorithm that estimates every target policy's value to accuracy with probability at least . The algorithm uses context draws and reward observations, where is an instance-dependent measure of the difficulty of designing a shared sampling distribution. Here, , , and bound the feature norm, reward parameter norm, and reward noise, respectively, and the suppressed factors are logarithmic in , , and . Our method combines reward-free planning, a regularized sampling design, and a single ridge regression estimator shared across all target policies. An adaptive doubling procedure selects the regularization scale without knowledge of . The guarantees require no numerical lower bound on second-moment eigenvalues and have no explicit dependence on the cardinalities of the context and action spaces. Policy-query costs are accounted for separately, with queries per shared planning context.
1 Introduction
Contextual bandits provide a framework for sequential decision-making in applications such as recommendation systems [24, 25], medicine [5, 7, 32], finance [31, 42], and operations research [4, 16]. Linear reward models are particularly useful because they allow information to be shared across contexts and actions through a feature representation. A variety of learning approaches have been developed, including optimistic algorithms for linear bandits [1] and methods using neural representations [8, 39, 41]. Different training procedures, model architectures, and hyperparameter choices can produce many candidate policies. However, it is often unclear which of these policies will perform best in the population where it will be deployed.
Consider a clinician choosing among several pretrained models that recommend treatments from patient measurements. Querying these models on existing patient records may be inexpensive, whereas evaluating their recommendations requires administering treatments and observing outcomes. A similar question arises when a recommendation platform enters a new market: a policy trained for one population may perform differently in another, and several candidate policies may need to be evaluated on the new population. In both examples, the goal is to assess a collection of fixed policies while limiting the cost of collecting reward observations.
Estimating each policy's expected reward to a prescribed accuracy supports decisions such as selecting a near-optimal policy or identifying policies whose values exceed a desired threshold. A direct approach evaluates each candidate separately. However, this requires a separate reward budget for every policy, even when their decisions overlap or their feature representations allow observations to be shared. This motivates multiple-policy evaluation: estimating the values of all target policies simultaneously with high probability.
Dann et al. [11] studied this problem in tabular Markov decision processes, exploiting similarities among target policies to reduce the cost of evaluation. Chen et al. [9] developed an approach based on constructing a shared sampling distribution and estimating policy values through importance weighting. These works establish guarantees for tabular models. Extending the underlying ideas to large context and action spaces requires exploiting structure beyond individual context–action pairs. In particular, under linear reward structure, we would like the evaluation cost to reflect the feature dimension and the geometry of the target policies.
This leads to the following question:
Can we evaluate a collection of target policies simultaneously under linear reward structure, with only logarithmic explicit dependence on the number of policies and no dependence on the cardinalities of the context and action spaces in the context and reward sample bounds?
In this work, we answer this question affirmatively for stochastic contextual bandits with a known feature map and a linear conditional mean reward. We consider K fixed target policies and allow reward-free queries to each policy on a shared context. We propose PRISMA, which uses reward-free policy queries on shared contexts to construct a sampling mixture and then fits a single linear reward model to evaluate all target policies.
With probability at least , our algorithm estimates every target policy's value to accuracy using
context draws and reward observations, where suppresses logarithmic factors in , , and . Here, bounds the feature norm, bounds the reward parameter norm, and bounds the reward noise. The instance-dependent quantity measures the smallest worst-case value-estimation uncertainty achievable by a mixture of the target policies, and satisfies . We account separately for policy queries: each shared planning context requires one query to every target policy.
A central challenge is to learn a useful sampling design from estimated feature moments without requiring a numerical lower bound on the eigenvalues of their second-moment matrices. We address this challenge through a regularized design objective and multiplicative concentration of regularized second moments. An adaptive doubling procedure selects the regularization scale and sample budgets without knowledge of . Together, these ingredients yield an instance-dependent evaluation guarantee while avoiding explicit dependence on the sizes of the context and action spaces.
We consider a stochastic contextual linear bandit [7, 18, 40] with context space , action space , and an unknown context distribution . The learner has sampling access to and access to known target policies , where each policy maps a context to a distribution over actions. Contexts are sampled independently from . Given a context , the learner can select a policy index and sample an action . Executing this action produces a reward
Because of space constraints, we direct the reader to Appendices A and B for an analytical overview of our approach and a discussion of related work.
where is a known feature map and is an unknown, fixed reward parameter. Conditional on , the reward is drawn independently of the past from a fixed distribution. The noise satisfies
for a known constant .
For any sampled context x, the learner can query each target policy and compute the feature vectors of the sampled actions without executing those actions or observing their rewards. A reward is observed only when an action is executed. We distinguish between context samples, policy queries, and reward observations when accounting for sample complexity. The context and action spaces may be infinite; our goal is to obtain guarantees expressed through the feature dimension d, without dependence on the cardinalities of these spaces .
For any policy , we define its value as
where denotes expectation over , , and the reward noise when applicable. The equality follows from . In particular, for any integrable function , we write as shorthand for .
Given a set of target policies , sampling access to , and the interaction model described above, the task of multiple-policy high-confidence policy evaluation [9, 11] is to estimate the values of all target policies simultaneously. Specifically, given an accuracy and a confidence parameter , the learner must output estimates satisfying
where . The probability is over the randomness in data collection and the algorithm.
Before presenting our algorithm and its sample complexity guarantees, we state the following structural assumptions.
Assumption 1 ( -bounded features and parameter). There exist known constants such that
We use these bounds to control feature estimation errors and the regularization bias in value estimation. Knowledge of and is a standard assumption in classical linear bandit algorithms, such as OFUL [1]. Developing an algorithm that does not require these bounds is beyond the scope of this work. For linear bandit algorithms that do not require prior knowledge of an upper bound on , see Gales et al. [15]. Assumption 2 (Coverage). For every target policy , , the feature second-moment matrix
is positive definite, i.e., .
This assumption requires the feature distribution induced by each target policy to span . Similar full-rank conditions appear in policy evaluation with linear function approximation; see, for example, Bhandari et al. [6]. We impose no quantitative lower bound on for any .
3 Planning Phase
Designing a sampling distribution that allows a shared dataset to evaluate all target policies is a natural approach to multiple-policy evaluation. For tabular MDPs, Chen et al. [9] use coarse estimates of visitation distributions to construct an approximately optimal sampling distribution, and then estimate importance weights to evaluate the target policies. Dann et al. [11] exploit overlap between target policies by coupling their rollouts and sharing samples. Explicitly representing visitation distributions and importance weights requires quantities indexed by state-action pairs. Such a representation can be costly when is large, and is unsuitable when these spaces are infinite. We therefore use the known feature map to formulate the sampling design problem in terms of the feature dimension .
In a finite context–action space, the usual importance weight for evaluating a target policy using samples from a behavior policy is the target-to-behavior ratio , provided that the behavior distribution covers the target distribution. In the linear setting, we can instead construct weights using feature means and second moments.
We write
for the mean feature vector of policy . For a mixture , let
We use to denote expectation under this mixture policy and the common context distribution . Its feature second-moment matrix is
By Assumption 2, is positive definite for every .
For any target policy , we can therefore write
(5)
Thus, the appropriate analogue of an importance weight in our linear setting is
These weights may be negative. Their role is to match the target feature mean under the behavior distribution, which is sufficient to recover the target value under the linear reward model.
To motivate the choice of mixture, first suppose that the population quantities and are known. Fix and consider a fresh batch of independent samples collected according to this mixture. For each , we draw
where is independent of , and observe a reward generated according to Equation (1). For any target policy , define
By Equation (5) and the conditional mean-zero noise assumption, this estimator is unbiased: . If is chosen using independent planning data, the same argument applies conditional on those data.
The second moment of the weight satisfies
Since almost surely, it follows that
A Bernstein concentration argument therefore gives a value-estimation bound whose leading variance term is controlled by
This motivates choosing a mixture that minimizes , and defining the instance-dependent quantity
The full Bernstein bound also contains a term controlling the maximum magnitude of the weighted rewards. Of course, the population quantities and are unknown and must be estimated during planning. We first state the concentration guarantee when these quantities are known, and then explain how to estimate them.
Lemma 1. Suppose that the population feature means and second moments , , are known. Fix , and let be independent samples collected under the mixture policy and the reward model in Equation (1). Define
For any , with probability at least , the estimators in Equation (7) satisfy
If the mixture is selected using independent planning data, the same guarantee holds conditional on those data.
Consequently, to estimate all target policy values with accuracy, it is sufficient to take
The leading variance term therefore scales as . The population benchmark minimizes this uncertainty over all mixtures of the target policies. Since the feature means and second moments are unknown, we will estimate them and use a regularized empirical design problem during planning. We first show that the population benchmark is at most .
Proposition 1. Under Assumption 2, the optimal design complexity satisfies
In Chen et al. [9], coarse estimates of policy visitation distributions are used to construct a sampling distribution for multiple-policy evaluation in tabular MDPs. Coarse estimation allows the cost of estimating visitation distributions to scale with , up to logarithmic factors and factors depending on the tabular problem parameters, rather than . In our setting, we do not necessarily need to apply the coarse estimation technique as the context distribution does not depend on the policy, and we can query every target policy on the same context without observing rewards. Thus, for each context , we sample and compute for every . This allows us to estimate the feature means and second moments directly from a shared batch of contexts.
We begin by estimating the unknown population quantities and . Draw independently from and, for each , sample using fresh randomness. For each fixed policy , the feature vectors are therefore independent and identically distributed, with mean and second moment . We finally obtain simultaneous guarantees through a union bound.
Since the feature vectors satisfy by Assumption 1, we first use McDiarmid's inequality, together with a bound on the expected estimation error, to control the Euclidean distance between each empirical feature mean and its population counterpart.
Lemma 2. Let be independent contexts drawn from . For each and , sample using fresh randomness, and define
Under Assumption 1, for any , with probability at least , simultaneously for all ,
See Section C.3 for the proof.
We next estimate the second moments used in the design problem. Directly controlling the relative error of an estimate of generally requires a sample size that depends on the smallest eigenvalue of , which can be arbitrarily small. To avoid this dependence, we introduce a regularization parameter and estimate to constant multiplicative accuracy. Since , the resulting sample bound depends on instead of a lower bound on the eigenvalues of . We will choose later to balance the cost of planning with the regularization bias in value estimation.
Lemma 3. Let be independent contexts drawn from . For each and , sample using fresh randomness, and define
Under Assumption 1, fix and . If
then, with probability at least , simultaneously for all ,
See Section C.4 for the proof. Since inversion reverses the positive definite order, on the same event we also have
We now replace the population quantities by their empirical estimates and solve the regularized design problem. For convenience, write and define
We select a mixture
This is a convex optimization problem. Indeed, by the Schur complement, it is equivalent to the semidefinite program
Since , the objective is continuous on the compact simplex, so a minimizer exists [33].
To assess the selected mixture, define the corresponding regularized population objective
and recall that
The following lemma compares the empirical and population objectives and bounds the uncertainty of the selected mixture in terms of the unregularized benchmark .
Lemma 4. Under Assumptions 1 and 2, fix and . Form and from the same batch of independent contexts and fresh policy queries, as in Lemmas 2 and 3. If
then, with probability at least , every minimizer satisfies
See Section C.5 for the proof. We deploy this mixture in the sampling phase and account for the resulting regularization bias when estimating the policy values.
4 Sampling phase
During the planning phase, we used reward-free feature samples to select a mixture of the target policies. We now deploy this mixture, collect reward observations, and use them to estimate the values of all target policies. The planning guarantees depend on a regularization parameter . In this section, we analyze how this parameter affects the final estimation error and choose it, together with the sample budgets, to achieve accuracy .
Our estimator combines feature-mean estimates with a single linear reward model fitted by ridge regression. For each target policy , we estimate by
where is a fresh estimate of and is fitted using rewards collected under .
To simplify the dependence structure in the analysis, we use separate batches for estimating the feature means and fitting the reward model. Specifically, draw fresh contexts , independently of the planning data and the reward batch. For each context, query every target policy to obtain , and define
By Lemma 2, a batch of
contexts suffices to ensure simultaneously for all , with probability at least . These contexts are shared across policies, so this step requires policy queries and no reward observations.
We next collect fresh reward samples using the selected mixture. For each , draw , independently sample , and execute . Observe the reward generated according to Equation (1). Conditional on the planning data, these samples are independent and identically distributed under the fixed mixture . Define
(8)
Our ridge regression estimator is .
We first express the parameter-estimation error as the sum of a regularization term and a reward-noise term. This identity will yield a three-term decomposition of the value-estimation error and guide our choice of and the reward sample budget M.
Lemma 5. Let and be defined in Equation (8), and let . Under the reward model in Equation (1),
See Section D.1 for the proof. This identity holds for every realization of the samples.
For brevity, write . Using Lemma 5, we decompose the value-estimation error as
(9)
We bound these three contributions separately, allocating error to feature-mean estimation and to each of the remaining terms.
For the feature-mean error, Cauchy–Schwarz and Assumption 1 give, on the event ,
Thus, this contribution is at most whenever
To control the regularization bias, define
Conditional on the planning data, the reward batch is drawn from the fixed mixture . Applying the regularized second-moment concentration argument of Lemma 3 to this mixture gives
We work on this event together with the planning and feature-mean concentration events.
Writing , we have . Therefore,
where the last step follows from Lemma 4.
For a positive definite matrix , write . Since , Cauchy–Schwarz in the inner product yields
Thus, the regularization bias is at most provided that
This condition also ensures that the feature-mean error is at most .
It remains to control the reward-noise contribution. Conditional on the planning data, the fresh feature-mean batch, and the contexts and actions in the reward batch, the coefficients
are fixed. The noise term is therefore a weighted sum . The following lemma bounds these sums simultaneously over the target policies.
Lemma 6. Let B be defined in Equation (8), and let be the feature-mean estimates obtained from the independent batch. Define
For any , conditional on the planning data, the feature-mean batch, and the reward-batch contexts and actions, with probability at least , simultaneously for all ,
The same probability guarantee holds unconditionally.
See Section D.2 for the proof. On the concentration events established above, for every . Consequently, on their intersection with the noise event, the reward-noise contribution is at most whenever
The reward sample budget must also be large enough to ensure that concentrates around . In particular, the bound on used above requires
Conditional on the planning data, applying Lemma 3 to the single selected mixture shows that it suffices to require
5 Algorithm and guarantees
The preceding analysis identifies sufficient choices of the regularization parameter and sample budgets in terms of . However, this quantity depends on unknown population moments. We address this issue by testing increasing scales and using the empirical design objective to decide when a scale is sufficiently large.
At each stage, we collect a fresh planning batch and solve the corresponding empirical design problem. We accept the resulting mixture when . On the planning concentration event, Lemma 4 gives
Consequently, a stage is accepted whenever . Since by Proposition 1, it suffices to consider , where .
After accepting a mixture, we collect the independent feature-mean and reward batches described in Section 4. To specify the budgets, let
For each stage j, define
(10)
We assume and . If , returning zero for every policy already achieves the desired accuracy.
The acceptance rule also controls the uncertainty of the selected mixture. Indeed, the comparisons established in the preceding analysis give, on the concentration events,
The choices in Equation (10) therefore control both regularization bias and reward noise using the accepted scale.
Theorem 1. Suppose Assumptions 1 and 2 and the stochastic reward model in Equation (1) hold. Let and . Assume the empirical design problems in PRISMA (Algorithm 1) are solved exactly.
PRISMA terminates by stage . With probability at least ,
Algorithm 1 PRISMA: Policy evaluation through Regularized Information Sharing and Mixture Allocation
Input: Target policies , accuracy , confidence , and bounds .
-
Set and define the budgets in Equation (10).
-
For : (a) Draw fresh contexts. On each context, query every target policy and compute its proposed action's feature vector. (b) Using this batch, form and as in Lemmas 2 and 3. (c) Form using these stage-specific estimates and compute
(d) If , set and exit the loop.
-
Set , , and .
-
Use fresh shared contexts and queries to all target policies to form , independently of the planning and reward batches.
-
Collect fresh reward observations under . Form and as in Equation (8), and set .
-
Return for every .
On the same event, the total number of context draws and the number of reward observations are each at most
The constants hidden in are universal. For every realization, the corresponding resource bounds hold with replaced by .
See Section E.1 for the proof.
6 Discussion
We studied simultaneous policy evaluation in stochastic contextual bandits with linear reward structure. Our results show that reward-free planning and a shared sampling design yield instance-dependent guarantees without explicit dependence on the cardinalities of the context and action spaces or a numerical lower bound on second-moment eigenvalues.
A natural direction is to extend these techniques to linear MDPs and more general function approximation settings. In these settings, an additional challenge is that the policies influence the distributions of future states, so feature moments cannot be estimated directly from a shared policy-independent context distribution.
An open question is whether captures the intrinsic difficulty of evaluation in the linear setting. Our analysis provides an upper bound in terms of this quantity, but does not establish its necessity. Matching lower bounds would help determine when mixtures of target policies achieve the optimal evaluation cost and whether more general sampling strategies can improve upon them.
AI disclosure
We used GPT-6 Astra and Sol through iterative, back-and-forth discussions to polish the manuscript, work through calculations in the concentration arguments, and check mathematical details. These discussions also helped identify gaps and refine the presentation of proofs. The authors are responsible for the correctness and originality of the final manuscript.
References
[1] Yasin Abbasi-Yadkori, Dávid Pál, and Csaba Szepesvári. Improved algorithms for linear stochastic bandits. Advances in neural information processing systems, 24, 2011. 1 and 3
[2] Marc Abeille and Alessandro Lazaric. Linear thompson sampling revisited. In Artificial Intelligence and Statistics, pages 176–184. PMLR, 2017.
[3] Philip Amortila, Audrey Huang, Akshay Krishnamurthy, and Nan Jiang. A unifying view of coverage in linear off-policy evaluation. arXiv preprint arXiv:2601.19030, 2026.
[4] Ashwinkumar Badanidiyuru, John Langford, and Aleksandrs Slivkins. Resourceful contextual bandits. In Conference on Learning Theory, pages 1109–1134. PMLR, 2014. 1
[5] Hamsa Bastani and Mohsen Bayati. Online decision making with high-dimensional covariates. Operations Research, 68(1):276–294, 2020. 1
[6] Jalaj Bhandari, Daniel Russo, and Raghav Singal. A finite time analysis of temporal difference learning with linear function approximation. In Conference on learning theory, pages 1691–1692. PMLR, 2018. 3
[7] Emma Brunskill, Ishani Karmarkar, and Zhaoqi Li. Active learning for stochastic contextual linear bandits. arXiv preprint arXiv:2605.24803, 2026. 1 and 2
[8] Ha Manh Bui, Enrique Mallada, and Anqi Liu. Variance-aware linear ucb with deep representation for neural contextual bandits. arXiv preprint arXiv:2411.05979, 2024. 1
[9] Yilei Chen, Aldo Pacchiano, and Ioannis Ch Paschalidis. Multiple-policy evaluation via density estimation. arXiv preprint arXiv:2404.00195, 2024. 2, 3, 5, and 16
[10] Yan Dai, Negin Golrezaei, and Patrick Jaillet. Policy regret for embedding model routing: Contextual bandits with low-rank experts. arXiv preprint arXiv:2606.14929, 2026.
[11] Chris Dann, Mohammad Ghavamzadeh, and Teodor V Marinov. Multiple-policy high-confidence policy evaluation. In International Conference on Artificial Intelligence and Statistics, pages 9470–9487. PMLR, 2023. 1, 3, 4, and 15
[12] Aniket Anand Deshmukh, Abhimanu Kumar, Levi Boyles, Denis Charles, Eren Manavoglu, and Urun Dogan. Self-supervised contextual bandits in computer vision. arXiv preprint arXiv:2003.08485, 2020.
[13] Yaqi Duan, Zeyu Jia, and Mengdi Wang. Minimax-optimal off-policy evaluation with linear function approximation. In International Conference on Machine Learning, pages 2701–2709. PMLR, 2020.
[14] Tanner Fiez, Lalit Jain, Kevin Jamieson, and Lillian Ratliff. Sequential experimental design for transductive linear bandits. Advances in neural information processing systems, 32, 2019.
[15] Spencer B Gales, Sunder Sethuraman, and Kwang-Sung Jun. Norm-agnostic linear bandits. In International Conference on Artificial Intelligence and Statistics, pages 73–91. PMLR, 2022. 3
[16] Adel Javanmard and Hamid Nazerzadeh. Dynamic pricing in high-dimensions. Journal of Machine Learning Research, 20(9):1–49, 2019. 1
[17] Chi Jin, Qinghua Liu, and Sobhan Miryoosefi. Bellman eluder dimension: New rich classes of rl problems, and sample-efficient algorithms. Advances in neural information processing systems, 34:13406–13418, 2021.
[18] Sanath Kumar Krishnamurthy, Ruohan Zhan, Susan Athey, and Emma Brunskill. Proportional response: Contextual bandits for simple and cumulative regret minimization. Advances in Neural Information Processing Systems, 36:30255–30266, 2023. 2
[19] Tor Lattimore and Csaba Szepesvári. Bandit algorithms. Cambridge University, 355, 2019.
[20] Alessandro Lazaric, Mohammad Ghavamzadeh, and Rémi Munos. Finite-sample analysis of lstd. In ICML-27th International Conference on Machine Learning, pages 615–622, 2010.
[21] Jeonghwan Lee and Cong Ma. Off-policy estimation with adaptively collected data: the power of online learning. Advances in Neural Information Processing Systems, 37:133908–133947, 2024.
[22] Jonathan Lee, Annie Xie, Aldo Pacchiano, Yash Chandak, Chelsea Finn, Ofir Nachum, and Emma Brunskill. Supervised pretraining can learn in-context reinforcement learning. Advances in Neural Information Processing Systems, 36:43057–43083, 2023.
[23] Gen Li, Weichen Wu, Yuejie Chi, Cong Ma, Alessandro Rinaldo, and Yuting Wei. High-probability sample complexities for policy evaluation with linear function approximation. IEEE transactions on information theory, 70(8):5969–5999, 2024.
[24] Lihong Li, Wei Chu, John Langford, and Robert E Schapire. A contextual-bandit approach to personalized news article recommendation. In Proceedings of the 19th international conference on World wide web, pages 661–670, 2010. 1
[25] Lihong Li, Wei Chu, John Langford, and Xuanhui Wang. Unbiased offline evaluation of contextual-bandit-based news article recommendation algorithms. In Proceedings of the fourth ACM international conference on Web search and data mining, pages 297–306, 2011. 1
[26] Tianjiao Li, Guanghui Lan, and Ashwin Pananjady. Accelerated and instance-optimal policy evaluation with linear function approximation. arXiv preprint arXiv:2112.13109, 2021.
[27] Shuze Daniel Liu, Claire Chen, and Shangtong Zhang. Efficient multi-policy evaluation for reinforcement learning. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 18951–18959, 2025. 16
[28] Juan C Perdomo, Akshay Krishnamurthy, Peter Bartlett, and Sham Kakade. A complete characterization of linear estimators for offline policy evaluation. Journal of machine learning research, 24(284):1–50, 2023.
[29] Alessio Russo and Aldo Pacchiano. Adaptive exploration for multi-reward multi-policy evaluation. arXiv preprint arXiv:2502.02516, 2025.
[30] Maurice Sion. On general minimax theorems. 1958. 19
[31] Dennis Soemers, Tim Brys, Kurt Driessens, Mark Winands, and Ann Nowé. Adapting to concept drift in credit card transaction data streams using contextual bandits and decision trees. In Proceedings of the AAAI conference on artificial intelligence, volume 32, 2018. 1
[32] Anna L Trella, Kelly W Zhang, Hinal Jajal, Inbal Nahum-Shani, Vivek Shetty, Finale Doshi-Velez, and Susan A Murphy. A deployed online reinforcement learning algorithm in an oral health clinical trial. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 28792–28800, 2025. 1
[33] Lieven Vandenberghe and Stephen Boyd. Convex optimization, volume 1. Cambridge university press Cambridge, 2004. 7
[34] Roman Vershynin. High-dimensional probability. Cambridge Series in Statistical and Probabilistic Mathematics, 47, 2019. 16, 19, 21, and 25
[35] Andrew Wagenmaker and Kevin G Jamieson. Instance-dependent near-optimal policy identification in linear mdps via online experiment design. Advances in Neural Information Processing Systems, 35: 5968–5981, 2022.
[36] Yu-Xiang Wang, Alekh Agarwal, and Miroslav Dudik. Optimal and adaptive off-policy evaluation in contextual bandits. In International Conference on Machine Learning, pages 3589–3597. PMLR, 2017.
[37] Simon Weissmann, Till Freihaut, Claire Vernade, Giorgia Ramponi, and Leif Döring. Barycenter policy design for multiple policy evaluation. In Eighteenth European Workshop on Reinforcement Learning.
[38] Tengyang Xie, Dylan J Foster, Yu Bai, Nan Jiang, and Sham M Kakade. The role of coverage in online reinforcement learning. arXiv preprint arXiv:2210.04157, 2022.
[39] Pan Xu, Zheng Wen, Handong Zhao, and Quanquan Gu. Neural contextual bandits with deep representation and shallow exploration. arXiv preprint arXiv:2012.01780, 2020. 1
[40] Andrea Zanette, Kefan Dong, Jonathan N Lee, and Emma Brunskill. Design of experiments for stochastic contextual linear bandits. Advances in Neural Information Processing Systems, 34:22720–22731, 2021. 2 and 15
[41] Dongruo Zhou, Lihong Li, and Quanquan Gu. Neural contextual bandits with ucb-based exploration. In International conference on machine learning, pages 11492–11502. PMLR, 2020. 1
[42] Mengying Zhu, Xiaolin Zheng, Yan Wang, Qianqiao Liang, and Wenfang Zhang. Online portfolio selection with cardinality constraint and transaction costs based on contextual bandit. In Proceedings of the Twenty-Ninth International Conference on International Joint Conferences on Artificial Intelligence, pages 4682–4689, 2021. 1
Appendix
Contents
1 Introduction 1
2 Problem Formulation 2
3 Planning Phase 3
4 Sampling phase 7
5 Algorithm and guarantees 10
6 Discussion 11
Supplementary Material 14
A Overview of our method 15
B Related work 15
C Planning phase 16
C.1 Proof of Lemma 1 16
C.2 Proof of Proposition 1 18
C.3 Proof of Lemma 2 19
C.4 Proof of Lemma 3 21
C.5 Proof of Lemma 4 23
D Sampling phase 25
D.1 Proof of Lemma 5 25
D.2 Proof of Lemma 6 25
E Algorithm and guarantees 26
E.1 Proof of Theorem 1 26

Figure 1: Overview of the two-phase procedure. Planning queries all target policies on shared contexts without observing rewards. Sampling executes one action per context, and the resulting reward dataset is reused to estimate all K policy values. Final value estimates also use feature means estimated from a separate, fresh reward-free batch of contexts.
A Overview of our method
Our method consists of two phases: planning and sampling, illustrated in Figure 1. During planning, we use contexts and queries to the target policies to estimate their feature means and second moments, without observing rewards. These estimates define a regularized design problem that selects a mixture of target policies to control the largest value-estimation uncertainty across them. The planning procedure also determines the regularization parameter and the sample budgets used in the next phase.
During sampling, we deploy the selected mixture: for each fresh context, we sample a target policy and execute an action drawn from that policy. We use the resulting reward observations to fit a single linear reward model by ridge regression. Combining this model with target feature means estimated from a separate, fresh batch of contexts yields value estimates for all K policies. A related separation between planning and sampling appears in Zanette et al. [40], for the objective of learning a near-optimal policy.
The distinction between context samples, policy queries, and reward observations is central to our approach. For each context used to estimate feature moments, we sample an action from every target policy and compute . This requires policy queries, but only one context draw and no reward observations. Thus, policy-queries per context scale linearly with , while the same contexts are shared across all target policies. Our primary objective is to reduce the number of reward observations, and we account for these resources separately.
This distinction is also practically relevant. For example, contexts may represent patient measurements and target policies may be pretrained models recommending treatments. Querying these models on historical patient records can be inexpensive, whereas observing a reward requires administering a treatment and measuring its outcome. An independent historical dataset whose contexts are drawn i.i.d. from the same distribution P can therefore supply the planning contexts.
B Related work
Dann et al. [11] studied multiple-policy high-confidence evaluation in finite-horizon tabular MDPs. Their goal, as in our work, is to estimate the values of all target policies to a prescribed accuracy while sharing observations across policies. They achieve this through coupled trajectory sampling: when policies choose the same action at a visited state, a transition sample can be reused in their respective trajectories. Their guarantees depend on an expected-disagreement quantity that captures the overlap among target policies. They first analyze this procedure under a sampling oracle and then construct an approximate oracle through interaction with the environment. Our approach exploits a different source of shared information: under linear reward structure, an observation can inform the values of policies taking different actions through their feature representations. We capture this relationship through policy feature means and second moments.
The work closest to ours is Chen et al. [9], who propose CAESAR for multiple-policy evaluation in tabular MDPs. Their method first obtains coarse estimates of policy visitation distributions and uses them to construct a shared sampling distribution. It then estimates marginal importance ratios through quadratic objectives inspired by DualDICE and uses these ratios to evaluate the target policies. Their sample guarantee depends on an optimized occupancy-based measure of the difficulty of covering the target policies. Our method follows a related separation between designing a sampling distribution and collecting data for evaluation. In our setting, the design is expressed through feature moments, and its quality is measured by the largest quadratic uncertainty among the target feature means. Moreover, contexts follow a policy-independent distribution, so we can estimate these moments by querying all policies on shared contexts without observing rewards. We use a regularized empirical design and a single ridge regression model to obtain value estimates, accounting explicitly for moment-estimation error and regularization bias.
Liu et al. [27] also design a shared behavior policy to evaluate multiple target policies. Their approach uses per-decision importance sampling and derives behavior-policy choices through objectives that aggregate estimator variances across target policies. They establish unbiasedness and give conditions on policy similarity under which their estimators improve upon separate on-policy evaluation. Their implementation estimates the value and second-moment quantities needed for behavior-policy construction from offline transition and reward data, using fitted policy evaluation. They also demonstrate the approach in Gridworld and MuJoCo environments. Our objective instead controls the maximum uncertainty across target policies, matching the requirement that every value estimate satisfy the same accuracy guarantee. Our planning procedure uses reward-free feature queries, and our analysis accounts for the samples needed to learn the design as part of a simultaneous high-probability evaluation guarantee.
These works address sequential decision-making in MDPs, where actions affect future state distributions. We focus on stochastic contextual bandits with linear conditional mean rewards and a known feature map. This structure allows us to share information across context–action pairs and obtain sample bounds governed by feature dimension and the instance-dependent quantity . Our guarantees avoid explicit dependence on the cardinalities of the context and action spaces and require no numerical lower bound on second-moment eigenvalues. The distinction between context draws, policy queries, and reward observations is essential: the shared contexts reduce the context budget, while querying every target policy still requires K policy queries per context.
C Planning phase
We first recall Bernstein's inequality for bounded random variables, which we use to prove Lemma 1.
Lemma 7 (Bernstein inequality [34, Theorem 2.8.4]). Let be independent random variables satisfying and almost surely, for some and every . Set . For every ,
C.1 Proof of Lemma 1
Lemma 1. Suppose that the population feature means and second moments , , are known. Fix , and let be independent samples collected under the mixture policy and the reward model in Equation (1). Define
For any , with probability at least , the estimators in Equation (7) satisfy
If the mixture is selected using independent planning data, the same guarantee holds conditional on those data.
Proof. Fix a mixture and a target policy . The samples are independent, with , independently of , and . Write
Define the centered random variables
Then . Using the conditional mean-zero noise assumption, we have
Next, we bound the magnitude of . By Assumption 1 and the noise bound,
Since , it follows that
Consequently,
We now bound the variance. Since the weighted reward has mean ,
Thus,
If , all weights vanish almost surely and the assertion follows immediately. Otherwise, set . Applying Lemma 7, for every we obtain
To invert this bound, let . The positive root of
is
At , the exponent equals . Using for gives
The last inequality follows from . A union bound over the target policies therefore yields
Substituting and proves the stated bound.
If is selected using independent planning data, condition on those data. The mixture is then fixed, and the fresh evaluation samples remain independent with the required distribution. The same argument proves the conditional guarantee.
C.2 Proof of Proposition 1
Proposition 1. Under Assumption 2, the optimal design complexity satisfies
Proof. For , define
By Assumption 2, F is continuous on the product of the two simplices. It is affine in and convex in . Indeed,
which is a pointwise maximum of affine functions of .
Both simplices are compact and convex, so Sion's minimax theorem [30] gives
The first equality uses the fact that a linear function on the simplex attains its maximum at a vertex. The last inequality follows by choosing in the inner minimization.
For any , write . Jensen's inequality for the convex quadratic form yields
Combining the two displays proves .
C.3 Proof of Lemma 2
We next state the bounded differences inequality, which we use to control the error in estimating the feature means.
Lemma 8 (McDiarmid's inequality [34, Theorem 2.9.1]). Let be independent random variables taking values in a measurable space . Suppose a measurable function satisfies
for every and all arguments in its domain. Then, for every ,
Lemma 2. Let be independent contexts drawn from . For each and , sample using fresh randomness, and define
Under Assumption 1, for any , with probability at least , simultaneously for all ,
Proof. Fix a policy , and write and . The vectors are independent and identically distributed, with and almost surely. Define
on the product of the Euclidean balls of radius . Thus, .
We first bound the expected estimation error. By independence and centering, for ,
Consequently,
Jensen's inequality therefore gives
We now verify the bounded differences condition. If only the ith argument changes, the reverse triangle inequality yields
For L > 0, applying Lemma 8 with gives, for every ,
Taking
bounds this probability by . A union bound over the K target policies now yields
□
C.4 Proof of Lemma 3
To prove the regularized second-moment bound, we use the following matrix version of Bernstein's inequality. Throughout this proof, denotes the operator norm.
Lemma 9 (Matrix Bernstein's inequality [34, Theorem 5.4.1]). Let be independent symmetric random matrices satisfying and almost surely. Define
Then, for every s > 0,
Lemma 3. Let be independent contexts drawn from . For each and , sample using fresh randomness, and define
Under Assumption 1, fix and . If
then, with probability at least , simultaneously for all ,
Proof. Fix a policy , and write and . The vectors are independent and identically distributed, with and almost surely. Since , it is positive definite.
We apply matrix Bernstein to the normalized error. Define
The matrices are independent, symmetric, and mean zero, and
The population matrix G is used only in the analysis.
We first bound the operator norm of each . The feature bound implies
Consequently, , and hence
Next, we bound the matrix variance. By congruence and ,
Every eigenvalue of therefore belongs to , which gives
Since M is deterministic and ,
Thus,
Assume L > 0; the case L = 0 is immediate. Applying Lemma 9 with and yields
On the complementary event, symmetry gives
Multiplying on both sides by and then adding G gives
Substituting proves the desired inequalities for policy . A union bound over bounds the probability that any of these inequalities fails by . Independence between policies sharing the same context is not required.
C.5 Proof of Lemma 4
Lemma 4. Under Assumptions 1 and 2, fix and . Form and from the same batch of independent contexts and fresh policy queries, as in Lemmas 2 and 3. If
then, with probability at least , every minimizer satisfies
Proof. Write
Apply Lemma 2 with failure probability . Since and , the assumed sample size gives, simultaneously for all ,
Also, , so Lemma 3, applied with failure probability , gives
By a union bound, both conclusions hold on an event of probability at least . The remainder of the proof is deterministic on this event.
For , define
Multiplying the second-moment inequalities by and summing over , using , yields
These inequalities hold simultaneously for every mixture. Inverting them gives
Let . Since , on ,
We will also use the elementary inequality
which follows by expanding .
We first compare the empirical objective with its population counterpart. For every policy k and mixture ,
Taking the maximum over k gives
For the reverse comparison,
Thus,
Both objective comparisons hold simultaneously for every .
Finally, define
Since , we have . By optimality of ,
Applying the reverse comparison at now gives
This proves both claims.
24
☐
D Sampling phase
D.1 Proof of Lemma 5
Lemma 5. Let and be defined in Equation (8), and let . Under the reward model in Equation (1),
Proof. Write . Substituting the reward model into gives
Since , multiplying by and subtracting yields
We use the following two-sided consequence of Hoeffding's inequality.
Lemma 10 (Hoeffding's inequality [34, Theorem 2.2.6]). Let be independent random variables satisfying almost surely. Then, for every ,
D.2 Proof of Lemma 6
Lemma 6. Let B be defined in Equation (8), and let be the feature-mean estimates obtained from the independent batch. Define
For any , conditional on the planning data, the feature-mean batch, and the reward-batch contexts and actions, with probability at least , simultaneously for all ,
The same probability guarantee holds unconditionally.
Proof. Let denote the sigma-field generated by the planning data, the independent feature-mean batch, and the contexts and actions in the reward batch. Conditional on , the matrices , the vectors , and the features are fixed. Moreover, the noises are conditionally independent and satisfy
Fix and define
We first control the squared coefficients:
Conditional on D, each has mean zero and lies in . Therefore, Lemma 10 gives
These expressions apply when the denominators are positive. If or , then almost surely and the desired conclusion is immediate.
For and , take
The conditional failure probability is at most . A union bound over the target policies consequently gives
\mathbb{P}\left(\exists k\in[K]:|T_{k}|>\beta\sqrt{\frac{2Q_{k}\log(2K/\zeta)}{M}}\right|\mathcal{D}\right)\leq\zeta.Finally, taking expectations over D proves the unconditional guarantee.
E Algorithm and guarantees
E.1 Proof of Theorem 1
Theorem 1. Suppose Assumptions 1 and 2 and the stochastic reward model in Equation (1) hold. Let and . Assume the empirical design problems in PRISMA (Algorithm 1) are solved exactly.
PRISMA terminates by stage . With probability at least ,
On the same event, the total number of context draws and the number of reward observations are each at most
The constants hidden in are universal. For every realization, the corresponding resource bounds hold with replaced by .
Proof. We first establish termination for every realization, then define the concentration event used to prove accuracy and the instance-dependent resource bounds.
For any planning batch, the empirical moments satisfy
This follows because their difference is the empirical covariance matrix. Fix the batch and write
Let maximize over the simplex. A maximizer exists because and the simplex is compact. The one-sided derivative towards the th simplex vertex is nonpositive, so
Consequently,
Thus for every batch. Since , stage necessarily satisfies the acceptance criterion. For every executed planning stage , define by the simultaneous conditions
For an unexecuted stage, take to be the whole sample space. The argument in Lemma 4, applied with failure probability , shows that each executed stage fails these conditions with conditional probability at most .
For the final batches, define
where
The sample budgets and Lemmas 2, 3 and 6 give failure probability at most for each final event, conditional on the data used to select the stage. For the covariance event, we apply the concentration argument to the single fixed mixture after conditioning on planning.
Define
A union bound, together with the conditional guarantees, gives
We now work on . Let be the first stage with . Such a stage exists because . At this stage,
so the algorithm accepts no later than . Therefore,
Write . The acceptance rule and the objective comparisons in Lemma 4 yield . Using Equation (9), we obtain
For the final term, if , use and . If , that term vanishes. It remains to count resources. Set
Then and . Since , we have . Using ,
The exact resource counts are
Substituting the preceding bounds and proves the asserted rates. Finally, deterministic termination gives for every realization, which yields the deterministic resource bounds.