Manuscript Offprint
arXiv:2610.34035Prior-Data Fitted Networks for In-Context Off-Policy Evaluation
ABSTRACT
Off-policy evaluation (OPE) is essential for assessing decision policies before deployment when online experimentation is costly or unsafe. Accurate estimation remains difficult when behavior-policy data are limited and the target policy favors states and actions rarely observed in those data. We propose InCOPE, a prior-data fitted network that learns a shared policy-value prediction rule across synthetic OPE tasks. We construct an OPE task prior over Markov decision processes and behavior-target policy pairs, generating behavior-policy datasets and exact target-policy values for pretraining. For a new tabular decision problem, the pretrained network uses the behavior-policy dataset, target policy, and known task settings as context to predict the policy's expected return without task-specific parameter updates. Experiments across four tabular domains, including a semi-synthetic clinical setting, demonstrate InCOPE's effectiveness for policy-value estimation.
1 INTRODUCTION
Evaluating a decision policy before deployment is essential when online experimentation is costly or unsafe. This concern arises in applications such as healthcare and intelligent tutoring (Gao et al., 2023; 2024; Yu et al., 2024), online advertising (Xu et al., 2023), and ridesharing (Shi et al., 2024). Off-policy evaluation (OPE) estimates a target policy's expected cumulative return from trajectories collected under a behavior policy, without deploying the target policy.
A substantial body of work has developed importance-sampling, model-based and value-based, doubly robust, and marginalized-ratio estimators for OPE (Precup et al., 2000; Le et al., 2019; Jiang & Li, 2016; Liu et al., 2018). With limited offline data, however, states and actions frequently visited by the target policy may be poorly represented, particularly under substantial behavior-target policy mismatch. Importance weighting can then suffer from high variance, while model-based and value-based methods can produce inaccurate estimates for poorly observed state-action pairs (Le et al., 2019; Liu et al., 2018). These difficulties motivate using knowledge acquired from related decision problems to improve value estimation with limited current-task data.
Pretraining can encode cross-task knowledge in an estimator's parameters. Prior-data fitted networks (PFNs) learn from synthetic datasets sampled from a task prior (Müller et al., 2022; Nagler, 2023), with applications to tabular prediction (Hollmann et al., 2025), causal inference (Ma et al., 2026), and policy learning (Schiff et al., 2026; Zighem & Vie, 2026). For OPE, however, extending PFNs to the evaluation of state-dependent target policies remains unexplored, to our knowledge. The challenge is to infer a specified target policy's cumulative return from finite behavior-policy observations, accounting for how its actions and transition dynamics jointly determine that return.
To bridge this gap, we introduce InCOPE (In-Context Off-Policy Evaluation), a prior-data fitted network for OPE. We learn to predict target-policy returns from behavior-policy observations by pretraining on finite datasets paired with exact target-policy values, generated from Markov decision processes (MDPs) and policy pairs sampled from a task prior. The network encodes mean rewards and visit counts for each state-action pair, then combines target-policy-weighted aggregation with repeated propagation through estimated transitions. This incorporates successor-state information under the queried policy, connecting observed local statistics to multi-step returns. At
Corresponding author. Email: zhoufan@mail.shufe.edu.cn test time, the frozen network returns a value estimate in a single forward pass without additional environment interactions. We focus on finite tabular MDPs, which allow exact reference policy values and controlled comparisons across task distributions.
We summarize our contributions as follows.
• We introduce InCOPE, a prior-data fitted network that learns a shared policy-value prediction rule across synthetic OPE tasks. The pretrained network estimates target-policy values in new tasks from historical data collected under behavior policies, without task-specific parameter updates.
• We formulate a joint prior over MDPs, behavior and target policies, and observed trajectories, and characterize the Bayesian policy-value predictor targeted by prior fitting.
• Our empirical results across four structurally distinct tabular OPE task families show that InCOPE improves policy-value estimation relative to representative OPE estimators when behavior-policy data are limited and behavior and target policies differ substantially.
OPE with auxiliary information. Beyond estimator design, structural priors and trajectory augmentation can improve OPE with limited data. Structured Bayesian OPE uses an informative prior to share reward information across correlated actions in contextual bandits (Aouali et al., 2025). For sequential problems, OAT mines and augments sub-trajectories from behavior-policy data for downstream OPE (Gao et al., 2024). STITCH-OPE uses policy-guided diffusion to generate and stitch target-policy trajectories, then evaluates policies using their predicted returns (Goli et al., 2025). Auxiliary rollouts can also be combined with observed behavior-policy data, as in PERRY, which uses correction or calibration to obtain value estimates and confidence intervals and permits pretrained generators (Mandyam et al., 2026). A complementary route encodes cross-task knowledge directly in a pretrained value predictor without generating extra trajectories at inference time.
Prior-data fitted networks. PFNs learn reusable predictors from synthetic tasks sampled from a prior (Müller et al., 2022; Nagler, 2023). TabPFN applies this approach to tabular classification and regression (Hollmann et al., 2023; 2025); LimiX-2 demonstrates synthetic pretraining's potential for tabular prediction (Zhang et al., 2026a). CausalPFN, Do-PFN, and CausalFM extend this approach to causal inference (Balazadeh Meresht et al., 2025; Robertson et al., 2025; Ma et al., 2026). In reinforcement learning, ICR-RL and PFN-RL use PFNs for policy learning (Schiff et al., 2026; Zighem & Vie, 2026). For large language models, uses a TabPFN head to predict a model's success probability on a new prompt from that model's observed performance on previous prompts (Zhang et al., 2026b). Sequential OPE poses a different prediction problem, requiring the expected return of a specified target policy to be inferred from limited data collected under another policy in a new MDP. InCOPE addresses this setting by pretraining a shared value predictor on synthetic MDPs, with behavior-policy data as context and exact target-policy values as supervision.
3 PROBLEM FORMULATION
In this section, we formulate the OPE problem and introduce the notation used throughout the paper.
Consider a finite-horizon, time-homogeneous MDP . Here and are finite state and action spaces, is the transition probability, and is the reward distribution with finite mean. The initial-state distribution is is the discount factor, and is an integer horizon. We assume that the reward and next state are independent given .
The behavior policy and target policy are stationary Markov policies, with denoting the probability of choosing action in state under policy . A trajectory is , where , , and denote the state, action, and reward at step , and . For fixed and , the dataset contains i.i.d. trajectories generated under . The usual coverage condition requires that, over the -step horizon, every state–action pair visited with positive probability under also has positive visitation probability under (Precup et al., 2000; Thomas & Brunskill, 2016; Yin & Wang, 2020). Even under this condition, a finite dataset may leave some target-relevant state–action pairs unobserved.
The value of the target policy in M is its expected discounted return
OPE aims to estimate from without executing in the environment (Precup et al., 2000; Jiang & Li, 2016). In our setting, the task specification and target policy are known, whereas , and are unknown.
4 INCOPE: IN-CONTEXT OFF-POLICY EVALUATION
InCOPE is pretrained on synthetic OPE tasks with known policy values. Given a target policy and a new dataset collected under a behavior policy, it returns a value estimate in a forward pass without parameter updates. This section describes task priors, network design, pretraining, and evaluation.
4.1 PRIOR-FITTED POLICY-VALUE ESTIMATION
Given a behavior-policy dataset and a target policy , we construct a context by deterministic preprocessing of these inputs, the known task settings , and any supplied action attributes. Let denote InCOPE's neural predictor, with collecting all its trainable parameters. We denote its estimate of by
The parameters are learned across source OPE tasks and fixed at when evaluating new tasks. The context representation is specified in Eq. equation 5 in Section 4.2.
For pretraining, we define a source OPE task as and specify a joint task prior . We sample tasks and datasets according to
where is the distribution of independent trajectories generated under in . The task prior allows , , , and to vary during pretraining. This supports in-context adaptation to different data budgets, horizons, and policy pairs without task-specific parameter updates. The supervision is the exact value , computed by finite-horizon dynamic programming. For notational simplicity, we use as shorthand for hereafter. The true dynamics and reward distributions are available to the source-task generator but not to the predictor.
For multiple source task families, let be their finite index set and an individual family index. The family-specific prior is a distribution over , determined by its MDP generator, policy-construction rules, and trajectory-count distribution. We define , where is the probability of selecting family and . These weights can reflect anticipated task-family frequencies or application priorities. We use uniform weights, , in our experiments. The population pretraining objective is
where measures the typical spread of family 's source-training target-policy values and is held fixed. Dividing by expresses squared errors relative to this spread; without it, larger-scale families can dominate the objective even at comparable relative errors. The two expectations average over source tasks and their behavior-policy datasets, respectively, but do not remove these scale differences. See Appendices B.3 and C.1 for scale estimation and family sampling.
The fixed loss scales reweight the families, giving the effective task prior . We write for expectation over tasks and datasets generated conditionally on those tasks. For a specialist, or when all family scales are equal, . The population objective is a positive constant multiple of squared risk under and therefore has the same minimizers.
Proposition 1 (Bayes-optimal policy-value prediction). Suppose . Consider the objective in Eq. equation 4 with replaced by an arbitrary measurable predictor satisfying . This objective admits a minimizer, denoted by , that is unique up to sets of contexts with zero probability under effective pretraining and satisfies
almost surely under effective pretraining.
Proposition 1 identifies the predictor based on that minimizes expected squared error under the effective prior, using source-task knowledge without uniquely identifying the MDP. Under the conditions of Corollary 2, this ideal predictor also minimizes test squared error when effective-pretraining and test conditional means of given agree. Both proofs appear in Appendix A.
Corollary 2 (Conditional-mean compatibility). Under the assumptions of Proposition 1, let denote expectation over test tasks and their datasets. Suppose , every measurable context set with zero effective-pretraining probability also has zero test probability, and almost surely under the test distribution. Then minimizes over measurable predictors with .
4.2 NETWORK ARCHITECTURE AND TRAINING
Given the task prior and objective, we specify the context and a Transformer predictor with state–action encoding, policy-conditioned propagation, and value estimation (Figure 1).

Figure 1: Network architecture of InCOPE.
State–action encoding. We organize statistics from by state–action pair, as in PFN-RL (Zighem & Vie, 2026). For each , a numerical feature vector records visit counts and reward statistics, together with target-policy probabilities, behavior-policy probabilities estimated from , and known task information. Let collect the known task settings, where contains any supplied action-attribute vectors, such as treatment dose levels. A deterministic preprocessing map constructs the context
(5) where is the smoothed transition tensor estimated from . The target policy and the quantities in are included in the features , while is retained separately. A shared multilayer perceptron serves as the feature encoder, mapping to hidden vectors following the numerical-input encoding used in PFNs (Müller et al., 2022; Hollmann et al., 2023). Action attention operates across actions within each state and produces an initial hidden representation for each state–action pair. The feature definitions and preprocessing rules are given in Appendix B.1.
Policy-conditioned propagation. The initial representations pass through propagation blocks, each using policy pooling to form target-policy-weighted state representations, state attention to exchange information across states, and a transition update to incorporate successor information. Let denote the representation after blocks. For , we compute
(6)
where and collect state vectors before and after state attention . The transition update computes using . The learnable map then combines this successor message with the retained state–action and updated current-state vectors, conditioned on the known horizon . Each state–action pair retains a separate representation and receives successor information through its own empirical transition distribution. The attention blocks and update map, including horizon encoding and gating, are detailed in Appendix B.2.
Value estimation. Weighted pooling averages the final representations over actions under and over states under . A scalar prediction head and a context-dependent output scale then give
where is a multilayer perceptron with a scalar output and is a deterministic output scale computed from the current dataset's reward statistics and . The fixed scales normalize the training loss, whereas sets the output scale for the current task. The formula for is given in Appendix B.1, and the prediction head and padding rules are specified in Appendix B.2.
Training. We fit the network by minimizing the empirical counterpart of Eq. equation 4. For each family , let denote its source-training queries, with and respectively giving the context and exact target-policy value of query . The empirical objective is
where counts source-training queries in family , whereas counts trajectories within each query. For the main comparison, each training replicate uses 3,000 training and 600 validation queries per family, generated before optimization and held fixed. Source MDP groups are disjoint between training and validation. We select by source-validation loss. Training and evaluation are summarized in Algorithm 1, with optimization and model-selection settings in Appendix B.3.
5 EXPERIMENTS
In this section, we evaluate whether pretraining across related OPE tasks improves policy-value estimation from limited behavior-policy data. Comparisons across four tabular domains assess accuracy under varying data sizes and behavior–target policy mismatch, while controlled studies examine the roles of the pretraining prior, current-task observations, and estimator design.
Algorithm 1 Training and evaluation of InCOPE
Require: Family priors , weights , and source-set sizes; new dataset , target policy , and known inputs
1: Training
2: Generate training/validation tasks and data via Eq. (3), with disjoint MDP groups
3: for each generated task and its dataset do
4: Construct with this task's known via Eq. (5)
5: Compute the label by finite-horizon dynamic programming in under
6: end for
7: Fix each using its family's training labels
8: Optimize Eq. equation 8; select by source-validation loss
9: Evaluation
10: For the new task, construct and return with fixed
5.1 EXPERIMENTAL SETUP
We evaluate InCOPE in four finite tabular domains. GridWorld models stochastic navigation with grid-cell states, four directional actions, and varying layouts and reward mechanisms. Tumor models treatment decisions in discretized tumor-growth systems, where chemotherapy and radiotherapy affect tumor burden and incur treatment penalties. Dispatch represents a vehicle-service market, with states describing the market zone and supply–demand imbalance, and actions combining driver incentives and passenger promotions. The semi-synthetic Clinical evaluation uses the ICU-Sepsis MDP (Choudhary et al., 2024), with aggregated patient states and 25 fluid–vasopressor treatment combinations. Pretraining and evaluation use distinct environment generators within each domain. Dynamics, rewards, and policy construction are detailed in Appendix C.1.
We evaluate two InCOPE configurations: domain-specific specialists pretrained on synthetic tasks from their respective domains, and a unified model pretrained on pooled tasks from all four domains. The unified model has the same architecture and parameter count as each specialist and uses no domain identifier. Both configurations are evaluated in Sections 5.2 and 5.3; other experiments use specialists. We train each configuration independently five times and select checkpoints using source-validation data. Training details are given in Appendix B.3.
We compare with six OPE estimators. Weighted per-decision importance sampling (WPDIS) (Precup et al., 2000) reweights observed rewards using self-normalized importance weights. Fitted Q evaluation (FQE) (Le et al., 2019) fits action-value functions by Bellman regression. Tabular marginalized importance sampling (Tabular-MIS) (Yin & Wang, 2020) estimates target-policy state occupancies and combines them with estimated rewards. Model-based OPE (MB-OPE) (Jiang & Li, 2016) fits a pooled empirical MDP and evaluates the target policy by dynamic programming. OPERA (Nie et al., 2024) combines candidate OPE estimators using data-dependent weights. Our tabular implementation of PERRY's DR-PPI (Mandyam et al., 2026) corrects model-based value estimates using held-out importance-sampling returns. See Appendix C.2 for implementation details.
In baseline comparisons, all methods share current-task data and target policies, with required behavior-policy probabilities estimated from the data. InCOPE is pretrained with the loss in Eq. (4) and frozen at test time. We measure mean absolute error (MAE) in original return units against exact target-policy values from finite-horizon dynamic programming. Tables 2 and 3 report mean MAE ± sample SD over five training replicates, with a separate shared test set per panel.
5.2 COMPARISON WITH EXISTING OPE ESTIMATORS
We first examine whether a prior-fitted predictor can improve policy-value estimation from limited behavior-policy data. Table 1 reports results for 6,700 test dataset–policy pairs, with the number of trajectories per dataset, n, varying over the domain-specific ranges shown in the table. Each domain contains five separately generated test batches. For InCOPE, each batch-level score is the average MAE of the five pretrained models. For every method, we report the mean and sample standard deviation of these batch-level scores. The full evaluation budgets are given in Appendix C.3.
The domain-specific specialists and the unified InCOPE model both achieve lower mean MAE than every evaluated baseline in all four domains. Relative to the lowest baseline MAE in each domain, the specialists reduce error by 19.7%–67.1%. This advantage persists against MB-OPE, which shares InCOPE's pooled reward and transition estimates. Across these distinct decision problems, the results support using a prior-fitted estimator to improve OPE from small datasets, with source-task knowledge incorporated into a predictor that remains fixed during evaluation.
The unified model outperforms all baselines across the four pretraining domains. Compared with separate specialists, it improves on Tumor, performs similarly on GridWorld, and has higher errors on Dispatch and Clinical. Thus, a shared predictor supports OPE across these domains, although domain-specific pretraining remains preferable in some cases.
Table 1: Comparison of InCOPE with existing OPE estimators across four domains.
| Method | GridWorldn = 4-32 | Tumorn = 8-48 | Dispatchn = 4-24 | Clinicaln = 24-160 |
|---|---|---|---|---|
| WPDIS | 1.519 ± 0.081 | 1.229 ± 0.062 | 0.566 ± 0.053 | 0.199 ± 0.008 |
| FQE | 0.982 ± 0.065 | 2.329 ± 0.030 | 13.248 ± 0.192 | 0.467 ± 0.008 |
| Tabular-MIS | 0.982 ± 0.065 | 2.293 ± 0.030 | 13.069 ± 0.199 | 0.461 ± 0.008 |
| MB-OPE | 0.953 ± 0.092 | 1.686 ± 0.042 | 1.368 ± 0.117 | 0.211 ± 0.017 |
| OPERA | 0.985 ± 0.068 | 2.279 ± 0.075 | 13.200 ± 0.200 | 0.482 ± 0.009 |
| DR-PPI | 0.990 ± 0.074 | 2.083 ± 0.044 | 8.578 ± 0.240 | 0.361 ± 0.008 |
| InCOPE (specialist) | 0.765 ± 0.065 | 0.682 ± 0.013 | 0.318 ± 0.004 | 0.065 ± 0.005 |
| InCOPE (unified) | 0.766 ± 0.059 | 0.510 ± 0.013 | 0.449 ± 0.007 | 0.087 ± 0.006 |
5.3 DATA SIZE AND POLICY MISMATCH
To examine how these gains depend on evaluation conditions, we vary the amount of offline behavior-policy data and the behavior–target policy mismatch while holding each MDP and target policy fixed. Figure 2(a) varies the number n of trajectories using prefixes of the same dataset at the largest tested mismatch. Panel (b) varies the behavior policy by interpolating from the target policy ( ) to the most distant candidate behavior policy ( ), using n = 8, 16, 8, 48 for GridWorld, Tumor, Dispatch, and Clinical, respectively. Shading denotes pointwise 95% hierarchical-bootstrap confidence intervals; vertical axes use logarithmic scales shared across rows within each domain. The policy construction and evaluation protocol are detailed in Appendix C.4.

Figure 2: OPE accuracy across trajectory counts and behavior–target policy mismatch levels.
Data size. Both InCOPE configurations achieve lower mean MAE than all baselines at the smallest tested data size in each domain, and maintain this advantage across all tested sizes in GridWorld, Tumor, and Clinical. In Dispatch, however, MB-OPE improves as more data become available for estimating the empirical MDP, reaching an MAE close to that of the specialist at n = 24. Whereas MB-OPE estimates its reward and transition models from current-task data alone, InCOPE can also draw on knowledge acquired across source tasks. Its advantage at small trajectory counts therefore supports pretraining as a way to improve OPE when behavior-policy data are scarce.
Policy mismatch. With trajectory count held fixed, InCOPE's comparative advantage becomes clearer as the behavior and target policies diverge in GridWorld and Tumor. At the highest tested mismatch level (), both the specialist and unified models achieve lower mean MAE than all baselines in all four domains. The specialists also retain this advantage at every tested level in Dispatch and Clinical, as does the unified model in Clinical. These results support pretraining as a way to improve OPE with limited current-task data under substantial policy mismatch.
5.4 EFFECT OF THE PRETRAINING PRIOR
The preceding comparisons evaluate fixed pretrained models under different test conditions. We now vary source rewards and policy range to assess how pretraining tasks affect accuracy. Within each comparison, we hold the specialist architecture and source-query budget fixed and evaluate all configurations on the same test queries. Detailed protocols are given in Appendix C.5.
Source rewards. We vary the proportion of source tasks retaining their original rewards (0%, 50%, 100%; Table 2(a)). The remaining tasks retain their transitions and policies, but rewards at nonabsorbing steps are replaced by independent Gaussian draws with a common mean and variance within each domain. Reward-dependent inputs and exact value labels are then recomputed.
Table 2: Effects of source rewards and source-policy range on InCOPE specialists.
| Setting | GridWorld | Tumor | Dispatch | Clinical |
|---|---|---|---|---|
| (a) Fraction of original-reward source tasks | ||||
| 0% | ||||
| 50% | ||||
| 100% | ||||
| (b) Source-policy range with original rewards fixed | ||||
| Narrow | ||||
| Broad | ||||
Mean test MAE decreases as the proportion of original-reward tasks increases in every domain. Unlike the randomized alternative, the original source tasks preserve task-dependent reward patterns that inform target-policy values. Because the intervention changes both reward-dependent inputs and exact value labels, it tests the usefulness of the resulting pretraining tasks as a whole. These results indicate that, at the same source-query budget, retaining the original reward mechanisms yields better downstream estimates than the tested randomized-reward alternative.
Source policy range. With the original source rewards fixed, we next compare the original policy generator with a narrowed version that mixes both behavior and target policies with the uniform policy (Table 2(b)). Trajectories and exact value labels are regenerated for the modified policies, while the source MDPs and test distribution remain unchanged.
The original, broader policy generator yields lower mean MAE in all four domains. Since behavior policies determine the observed data and target policies specify the values to be predicted, changing both alters the OPE problems encountered during pretraining. The broader generator exposes the estimator to a more varied collection of these problems and improves downstream accuracy relative to the tested narrowing. Together with the reward comparison, this result shows that the content of source tasks matters for prior-fitted OPE even when the amount of synthetic training data is fixed.
5.5 CURRENT-TASK INFORMATION AND ESTIMATOR DESIGN
Whereas the preceding experiments vary source tasks, we retain the original source-task supervision to examine current-task information and estimator design. We compare full InCOPE with a retrained log-free model to assess the contribution of current-task observations, and with regressors using target policies alone or complete task inputs to examine alternative predictors. All comparisons use domain-specific models and five source-training replicates. Details are given in Appendix C.6.
Retraining without current-task observations. We retrain InCOPE with all observation-derived inputs replaced by observation-independent defaults, retaining the target policy and known task specification. Source tasks, value labels, and training settings remain unchanged. The same restriction applies during training and evaluation, so training uses only inputs available at test time.
Removing these observation-derived inputs increases mean MAE in all four domains (Table 3(a)), with larger differences on Tumor and Dispatch. Because the restricted model is retrained with the same architecture and supervision, the comparison directly tests the contribution of current-task observations within the prior-fitted framework. These observations improve value estimation beyond what the learned prior, target policy, and known task specification provide on their own.
Table 3: Effects of current-task observations and estimator design on OPE accuracy.
| Method | GridWorld | Tumor | Dispatch | Clinical |
|---|---|---|---|---|
| (a) Retraining without log-derived information | ||||
| Full InCOPE | ||||
| Log-free InCOPE | ||||
| (b) Regression with complete task inputs | ||||
| Full InCOPE | ||||
| Ridge | ||||
| kNN | ||||
| RBF-SVR | ||||
| ExtraTrees | ||||
Target-policy-only prediction. As a complementary control, we test whether target-policy-only prediction can match InCOPE's accuracy. We train ridge regression, distance-weighted kNN, RBF-SVR, and ExtraTrees on source-task pairs of target-policy probabilities and exact policy values. Hyperparameters are selected on source-validation data. Training and testing exclude current-task data and other task inputs. The mean source-training value is a constant reference.
We group test queries by trajectory count n, evaluating all methods on the same queries within each group (Figure 3). InCOPE uses the corresponding offline data, whereas policy-only predictors receive only the target policy at every n. Their MAE can vary across n because the groups contain different test queries, not because these predictors receive additional trajectories. Points show mean MAE, and shading shows sample SD across five source-training replicates; vertical axes use domain-specific linear scales. The grouping and evaluation protocol are detailed in Appendix C.6.

Figure 3: Comparison of InCOPE with target-policy-only predictors across trajectory counts.
Full InCOPE has lower mean MAE than every policy-only control at every tested trajectory count in all four domains, including the smallest datasets. Thus, learning the association between target-policy probabilities and source-task values is insufficient for these regressors to match InCOPE's accuracy. Together with the current-task observation ablation, this result supports using current-task data alongside knowledge acquired during pretraining.
Regression with complete task inputs. The policy-only comparison changes both the predictor and its inputs. To match the information available to InCOPE, we give the four regressors a lossless vectorization of its complete preprocessed inputs. They use the same source-training queries and exact value labels as the corresponding specialist. We fix regressor settings and evaluate all methods on a fresh shared test set. Input construction and sample counts are given in Appendix C.6.
InCOPE achieves the lowest mean MAE in all four domains (Table 3(b)). Its advantage over the tested regressors persists when source supervision and available information are matched, supporting InCOPE's structured estimator for learning policy-value prediction across tasks.
6 CONCLUSION
In this paper, we propose InCOPE, a prior-data fitted network for off-policy evaluation in finite-horizon tabular MDPs. By pretraining on synthetic OPE tasks with exact value labels, InCOPE estimates target-policy values from data collected under a behavior policy without task-specific parameter updates. Experiments in four domains show more accurate OPE than the evaluated baselines with limited data, while ablations support combining pretraining with current-task observations.
AI USE STATEMENT
We used large language models to assist with literature search, manuscript drafting and editing, translation, method development and experimental design, code implementation, mathematical derivations and proofs, and interpretation of results. Their role in synthetic-data generation was to help implement the simulation code; synthetic samples were drawn from the specified simulation models, not generated directly by language models. The manuscript was reviewed and revised, and the key implementation, mathematical derivations and proofs, and experimental results were manually checked. The authors take responsibility for all claims and artifacts reported in this work.
REPRODUCIBILITY STATEMENT
Section 4 specifies the estimator and pretraining objective, and Appendix A provides the assumptions and proofs for the theoretical results. Appendix B details input construction, preprocessing, network architecture, and training settings. Appendix C documents the source-task generators and test environments, reference-value computation, baseline implementations, data budgets, evaluation and aggregation procedures, and the comparison and ablation protocols in Section 5.
REFERENCES
Imad Aouali, Victor-Emmanuel Brunel, David Rohde, and Anna Korba. Bayesian off-policy evaluation and learning for large action spaces. In Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, volume 258 of Proceedings of Machine Learning Research, pp. 136–144. PMLR, 03–05 May 2025.
Vahid Balazadeh Meresht, Hamidreza Kamkari, Valentin Thomas, Junwei Ma, Bingru Li, Jesse Cresswell, and Rahul Krishnan. CausalPFN: Amortized causal effect estimation via in-context learning. In Advances in Neural Information Processing Systems, volume 38, pp. 154945–154984. Curran Associates, Inc., 2025.
Kartik Choudhary, Dhawal Gupta, and Philip S. Thomas. ICU-Sepsis: A benchmark MDP built from real medical data. In Reinforcement Learning Conference, 2024.
Mehrdad Farajtabar, Yinlam Chow, and Mohammad Ghavamzadeh. More robust doubly robust off-policy evaluation. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 1447–1456. PMLR, 2018.
Ge Gao, Qitong Gao, Xi Yang, Song Ju, Miroslav Pajic, and Min Chi. On trajectory augmentations for off-policy evaluation. In International Conference on Learning Representations, volume 2024, pp. 49870–49913, 2024.
Qitong Gao, Ge Gao, Juncheng Dong, Vahid Tarokh, Min Chi, and Miroslav Pajic. Off-policy evaluation for human feedback. In Advances in Neural Information Processing Systems, volume 36, pp. 9065–9091. Curran Associates, Inc., 2023.
Hossein Goli, Michael Gimelfarb, Nathan de Lara, Haruki Nishimura, Masha Itkina, and Florian Shkurti. STITCH-OPE: Trajectory stitching with guided diffusion for off-policy evaluation. In Advances in Neural Information Processing Systems, volume 38, pp. 7058–7102. Curran Associates, Inc., 2025.
Omer Gottesman, Yao Liu, Scott Sussex, Emma Brunskill, and Finale Doshi-Velez. Combining parametric and nonparametric models for off-policy evaluation. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 2366–2375. PMLR, 2019.
Noah Hollmann, Samuel Müller, Katharina Eggensperger, and Frank Hutter. TabPFN: A transformer that solves small tabular classification problems in a second. In International Conference on Learning Representations, 2023.
Noah Hollmann, Samuel Müller, Lennart Purucker, Arjun Krishnakumar, Max Körfer, Shi Bin Hoo, Robin Tibor Schirrmeister, and Frank Hutter. Accurate predictions on small data with a tabular foundation model. Nature, 637(8045):319–326, 2025.
Nan Jiang and Lihong Li. Doubly robust off-policy value evaluation for reinforcement learning. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 652–661. PMLR, 2016.
Nathan Kallus and Masatoshi Uehara. Intrinsically efficient, stable, and bounded off-policy evaluation for reinforcement learning. In Advances in Neural Information Processing Systems, 2019.
Hoang Le, Cameron Voloshin, and Yisong Yue. Batch policy learning under constraints. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 3703–3712. PMLR, 2019.
Qiang Liu, Lihong Li, Ziyang Tang, and Dengyong Zhou. Breaking the curse of horizon: Infinite-horizon off-policy estimation. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 31. Curran Associates, Inc., 2018.
Yuchen Ma, Dennis Frauen, Emil Javurek, and Stefan Feuerriegel. Foundation models for causal inference via prior-data fitted networks. In The Fourteenth International Conference on Learning Representations, 2026.
Ritam Majumdar, Finale Doshi-Velez, and Sonali Parbhoo. Reward shaping control variates for off-policy evaluation under sparse rewards. In Proceedings of the International Conference on Machine Learning, 2026.
Aishwarya Mandyam, Jason Meng, Ge Gao, Jiankai Sun, Mac Schwager, Barbara E. Engelhardt, and Emma Brunskill. PERRY: Policy evaluation with confidence intervals using auxiliary data. Transactions on Machine Learning Research, 2026.
Samuel Müller, Noah Hollmann, Sebastian Pineda Arango, Josif Grabocka, and Frank Hutter. Transformers can do bayesian inference. In International Conference on Learning Representations, 2022.
Ofir Nachum, Yinlam Chow, Bo Dai, and Lihong Li. Dualdice: Behavior-agnostic estimation of discounted stationary distribution corrections. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.
Thomas Nagler. Statistical foundations of prior-data fitted networks. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 25660–25676. PMLR, 2023.
Allen Nie, Yash Chandak, Christina J. Yuan, Anirudhan Badrinath, Yannis Flet-Berliac, and Emma Brunskill. OPERA: Automatic offline policy evaluation with re-weighted aggregates of multiple estimators. In Advances in Neural Information Processing Systems, volume 37, pp. 103652–103680. Curran Associates, Inc., 2024.
Doina Precup, Richard S. Sutton, and Satinder P. Singh. Eligibility traces for off-policy policy evaluation. In Proceedings of the Seventeenth International Conference on Machine Learning, 2000.
Jake Robertson, Arik Reuter, Siyuan Guo, Noah Hollmann, Frank Hutter, and Bernhard Schölkopf. Do-PFN: In-context learning for causal effect estimation. In Advances in Neural Information Processing Systems, volume 38, pp. 174811–174848. Curran Associates, Inc., 2025.
David Schiff, Ofir Lindenbaum, and Yonathan Efroni. ICR-RL: Deep reinforcement learning via in-context-regression. In Forty-third International Conference on Machine Learning, 2026.
Chengchun Shi, Jin Zhu, Ye Shen, Shikai Luo, Hongtu Zhu, and Rui Song. Off-policy confidence interval estimation with confounded markov decision process. Journal of the American Statistical Association, 119(545):273–284, 2024.
Philip S. Thomas and Emma Brunskill. Data-efficient off-policy policy evaluation for reinforcement learning. In Proceedings of the 33rd International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pp. 2139–2148. PMLR, 2016.
Masatoshi Uehara, Jiawei Huang, and Nan Jiang. Minimax weight and Q-function learning for off-policy evaluation. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 9659–9668. PMLR, 2020.
Jiayi Wang, Zhengling Qi, and Raymond K. W. Wong. A fine-grained analysis of fitted q-evaluation: Beyond parametric models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 51273–51302. PMLR, 2024.
Yang Xu, Jin Zhu, Chengchun Shi, Shikai Luo, and Rui Song. An instrumental variable approach to confounded off-policy evaluation. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 38848–38880. PMLR, 2023.
Ming Yin and Yu-Xiang Wang. Asymptotically efficient off-policy evaluation for tabular reinforcement learning. In Proceedings of the Twenty Third International Conference on Artificial Intelligence and Statistics, volume 108 of Proceedings of Machine Learning Research, pp. 3948–3958, 2020.
Shuguang Yu, Shuxing Fang, Ruixin Peng, Zhengling Qi, Fan Zhou, and Chengchun Shi. Two-way deconfounder for off-policy evaluation in causal reinforcement learning. In Advances in Neural Information Processing Systems, volume 37, pp. 78169–78200, 2024.
Xingxuan Zhang, Gang Ren, Hao Yuan, Hao Zou, Hongze Tan, Hui Wang, Jianhao Song, Jiansheng Li, Jiayao Zhang, Jinghan Zhang, et al. Limix-2: A contextual mechanism network towards general structured-data intelligence. arXiv preprint arXiv:2609.17488, 2026a.
Yi-Kai Zhang, Zhiyuan Yao, Hongyan Hao, Yueqing Sun, Qi Gu, Hui Su, Xunliang Cai, De-Chuan Zhan, and Han-Jia Ye. : A generalist value model for any policy at state zero, 2026b.
Abdelrahman Zighem and Jill-Jënn Vie. Reinforcement learning foundation models should already be a thing, 2026.
A THEORETICAL DETAILS
A.1 SQUARED LOSS AND THE EFFECTIVE TASK PRIOR
The loss scales are fixed positive constants throughout the population analysis. Define the normalization constant . The effective task prior can then be written as
Within each family, the task prior, behavior-policy data distribution, context map, and exact policy-value labels remain unchanged. For an arbitrary measurable predictor , write for the objective in Eq. (4) with replaced by . Then
For a specialist, or when all family scales are equal, . This reweighting accounts for the training objective without assuming that the network observes the family index. It concerns the population target for fixed scales and does not assert a finite-pretraining generalization bound.
A.2 PROOF OF PROPOSITION 1
Proof. Conditional Jensen's inequality and the law of iterated expectations give
For any square-integrable predictor , the difference is measurable with respect to . Since , the law of iterated expectations yields
Using the effective-risk identity and the vanishing cross term, we obtain
where the last equality follows from the definition of conditional variance and the law of iterated expectations. The first term is independent of , and the second is nonnegative, vanishing exactly when almost surely. Hence the minimizer satisfies and is unique up to null sets.
A.3 PROOF OF COROLLARY 2
Let be the joint distribution of induced by test tasks, behavior-policy data generation, and context construction, and let denote expectation under this distribution. Write for its context marginal and for the context distribution induced by and the corresponding data-generation and context-construction procedures.
The context condition in Corollary 2 is precisely : for every measurable set of contexts,
Proof. Proposition 1 establishes that
Since , this identity also holds -almost surely. Combining it with the assumed equality
we obtain
The test second moment of this predictor satisfies
The first equality uses the identity established above. The inequality follows from conditional Jensen's inequality. The second equality follows from the law of iterated expectations. The final bound is the assumed finite test second moment, so is square-integrable under the test distribution.
Let be any measurable predictor satisfying . Since is measurable with respect to ,
The difference is also measurable with respect to . Both this difference and the residual are square-integrable, so their product is integrable by the Cauchy–Schwarz inequality. The law of iterated expectations and the measurable-factor property of conditional expectation therefore give
Expanding the squared residual and using the vanishing cross term yields
All risks above are finite by square integrability. Subtracting the risk of gives
Since was arbitrary, minimizes the test squared risk over the stated class of predictors.
The compatibility condition requires agreement of conditional means, not of complete conditional value distributions or underlying MDPs. It is a sufficient condition for the ideal prediction rule, not a consequence of matching marginal value ranges or an assertion that a particular experimental prior satisfies it.
B IMPLEMENTATION DETAILS
B.1 INPUT FEATURES AND PREPROCESSING
Each state–action pair is represented by a 25-dimensional numerical vector . The same preprocessing is used for pretraining and evaluation. Write and .
Trajectory statistics. For , let , , and denote the state, action, and reward at step of trajectory . Define
The reward mean and standard deviation are
(10)
Table 4: The 25 state–action input features in .
| Coordinates | Definition |
|---|---|
| 1 | |
| 2-3 | |
| 4-5 | |
| 6 | |
| 7-8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16-17 | |
| 18 | |
| 19-20 | |
| 21-24 | |
| 25 |
Both are zero when . Behavior probabilities and transitions use the fixed smoothers
Thus, an unobserved state has a uniform estimated behavior policy, and an unobserved state–action pair has a uniform estimated transition distribution.
Empirical target visitation. Let denote the state probability at step under in the estimated transition model. Starting from , propagate
These weights describe target-policy visitation in the empirical model. Let . The count summary used below is
Feature vector. For a nonnegative array and , define
All feature coordinates are listed in implementation order in Table 4. Task-level scalars are repeated across state–action pairs. The reward coordinates retain their original units.
The indicator records whether action attributes are supplied. Clinical uses five dose bins for each of fluid and vasopressor treatment. For zero-based action indices , and encode the respective dose bins. The four attributes are
The other three domains use and .
Return scale and batching. The output multiplier is computed from the same trajectory statistics:
Unlike the loss scale , requires no source labels. Feature and transition tensors are zero-padded to the largest state and action counts in each batch. Boolean masks distinguish original entries from added padding; original state–action pairs with remain unmasked. A separate availability vector is fixed to , indicating known and estimated .
B.2 NETWORK ARCHITECTURE
Both specialist and unified models use hidden dimension 48, two action-attention blocks, and propagation blocks, with 91,681 trainable parameters. All affine maps include biases. Different blocks have independent parameters, shared across states and actions within each block. Dropout is zero, and no positional embeddings are used.
State–action encoding. The feature encoder and availability encoder are two-layer MLPs with widths and , respectively, each with GELU between its affine layers. Using the availability vector from Appendix B.1, the input representations are
Each action- or state-attention block has the form
where X is a sequence of hidden vectors, MHA is four-head self-attention with 12 dimensions per head, and FF is a MLP with GELU. Layer normalization LN acts on each hidden vector; its parameters are separate for every occurrence. For each state, two such blocks attend over its actions:
Policy-conditioned propagation. The state-attention operator in Eq. equation 6 also follows Eq. equation 13, with states as the sequence entries. Within , the horizon determines a learned encoding and an update gate. The encoder is a MLP with GELU, giving
The integer is recovered from feature coordinate 19 by inverting its logarithmic encoding and rounding. Given the state context and successor message in Eq. equation 6, the update is
where and form a learned affine projection of the successor message. Each propagation block is applied once; blocks with leave the representations unchanged. These are hidden-vector updates, not steps of scalar Bellman recursion.
Value estimation and masking. The prediction head in Eq. equation 7 is a MLP with GELU and a linear output. The multiplier is defined in Eq. equation 12. Padded entries are excluded as attention keys and values, and their representations are zeroed after input encoding and every attention or propagation block. For an entirely padded action sequence, one dummy key is temporarily unmasked to avoid an undefined softmax; the sequence output is then zeroed. The target-policy probabilities from feature coordinate 4 are masked and renormalized within each state. The initial probabilities from coordinate 7 are averaged over unpadded actions, masked, and renormalized over states. Normalization denominators for these probabilities are bounded below by .
B.3 TRAINING DETAILS
Source data. For the main comparison, each of the five training replicates uses 3,000 training queries and 600 validation queries per family, generated before optimization and held fixed throughout the run. Each query pairs an input context with its exact target-policy value; these counts refer to queries rather than distinct MDPs. Source MDP groups are disjoint between training and validation. Within each replicate, the specialist and unified models use the same source queries for each family. Source generation, model initialization, and training-data order use separate random streams across the five replicates.
Training objective and scales. Training minimizes the objective in Eq. (8). For the main comparison, , with for the specialist's single family and for each family in the unified model. Writing , the default scale is
If this value is nonfinite or below , the implementation tries the label interquartile range divided by 1.349, the label population standard deviation, and in that order, accepting the first finite value at least . For a normal distribution, the median absolute deviation (MAD) and interquartile range are approximately 0.67449 and 1.34898 times its standard deviation, respectively, hence the multiplier 1.4826 and divisor 1.349. This calibration does not require normally distributed policy-value labels. The threshold and the final fallback are numerical safeguards against zero or near-zero scales. The scales are computed separately for each replicate from training labels only and remain fixed during optimization and validation. All family scales in the main comparison were computed using the default MAD rule; no fallback was triggered.
Optimization and model selection. Training uses AdamW with peak learning rate , weight decay , and gradient-norm clipping at 2. Four microbatches of eight queries are accumulated before each update, giving an effective batch size of 32. Each unified-model update contains one microbatch from each family; a specialist draws all four from its own family. Queries are shuffled within each family and reshuffled when the available queries are exhausted. An epoch contains 375 updates (12,000 draws) for the unified model and 94 updates (3,008 draws) for a specialist. The learning rate uses one epoch of linear warmup followed by cosine decay toward over a maximum of 48 epochs.
After every epoch, validation averages the scaled squared errors over 600 queries per family, using the same family weights and training-derived scales as Eq. (8). Early stopping is enabled from epoch 8, with patience 8: the patience counter resets only when validation loss decreases by more than 0.003 relative to its last reset value. The checkpoint with the lowest validation loss is retained, including improvements smaller than this threshold. These models are trained from random initialization in PyTorch on Apple M4 hardware using the MPS backend.
C EXPERIMENTAL DETAILS
C.1 TASK PRIORS AND TEST ENVIRONMENTS
For each domain, we specify the source MDP generator, the behavior and target policies constructed within an MDP, and the resulting logs and value labels. We then describe the separate test generator. These are the fixed generators used in the reported experiments; source-prior development used separate development evaluations, while checkpoint selection uses source validation as described in Appendix B.3. Source MDP parameters are available to the simulator for generating logs and exact value labels, but are not supplied to the predictor in place of its observed context.
C.1.1 GRIDWORLD
A GridWorld task is generated by specifying a navigation MDP, constructing behavior and target policies within that MDP, and sampling behavior logs. Source and test tasks use the respective environment and policy laws below.
Source environments. States represent accessible cells, and actions are north, east, south, and west. Grid shapes are sampled uniformly from . The source prior contains four equally represented mechanisms: absorbing goals and traps, hazard-triggered resets, repeatable rewards, and obstacle fields. Except in the obstacle mechanism, the graph initially contains all orthogonally adjacent edges. Edges are considered for removal in random order toward a fraction sampled from , accepting only removals that preserve connectivity. The start is sampled uniformly among cells of degree at least two. The goal is sampled uniformly among cells at graph distance at least from , where denotes the empirical 75th percentile.
Let be the neighboring cell reached along an open edge in direction a, or s if that move is blocked. Before mechanism-specific changes, the transition law is
where is the slip probability and is the stay probability; renewable-reward tasks instead use . The step-cost magnitude is and the goal bonus is . Write for a cell set . Unless stated otherwise, integer counts are uniform over the specified range, and cell sets are sampled uniformly without replacement.
- Episodic exit. Reaching the goal or a trap makes the state absorbing. One to three traps are sampled outside the start and goal. Nonabsorbing transitions follow , and their reward means are
where is the trap set and .
- Reset barrier. Attempted entry into a hazard can send the agent to a reset destination. A midpoint of the interior of a shortest start–goal path is designated a hazard. One to three candidate hazards are sampled outside , from cells whose distance from differs by at most one from that midpoint's distance. The final hazard set also includes the midpoint. Reset destinations include and, with probability 0.7, one available nonhazard, nongoal cell within distance two of . Their weights follow Dirichlet(1). A fraction sampled from of the mass entering hazards is redirected to these destinations. The reward mean is
The penalty therefore applies before redirection. The goal is absorbing with probability 1/2.
- Renewable reward. Service cells provide rewards repeatedly without absorption. Their number is one, two, or three with probabilities 0.6, 0.3, 0.1. The first service cell is . Each additional one is selected from the remaining cells, excluding , whose distance to the nearest existing service cell is at or above the empirical 70th percentile. At service cells, the transition row becomes , with ; elsewhere it remains . For service set , let be distance to the nearest service cell and define . The reward mean is
where and .
- Obstacle field. Blocked cells are removed from the state space, leaving an irregular connected navigation graph. On an grid, a local random walk proposes up to 20RC cell removals toward a count , with . A removal is accepted only if connectivity and at least 12 free cells remain. Open edges consist of a random-edge-order spanning tree plus a fraction sampled from of the remaining adjacent edges. One to three traps outside , are absorbing, and the goal is independently absorbing with probability 1/2. Nonabsorbing rows use and the episodic-exit reward formula, with .
Table 5: GridWorld source behavior-policy generation.
| Regime | Proportion | Action preference | Concentration |
|---|---|---|---|
| Moderate | 0.22 | Higher scores (z) | U(0.30, 0.42) |
| Severe | 0.43 | Lower scores (-z) | U(0.30, 0.44) |
| Extreme | 0.35 | Lower scores (-z) | U(0.54, 0.70) |
In these source environments, absorbing rows have self-transitions and zero reward means. The initial distribution assigns to and distributes among its open-edge neighbors with Dirichlet(1) weights, where .
Source policies. Behavior and target policies are generated within each sampled MDP without changing its transition or reward law. Each policy draw has its own action-preference scores , constructed from a separately sampled reference policy as specified below. The scores define the lower-bounded softmax policy
Using favors higher-scoring actions; using reverses this preference before softmax. Target policies use , whereas behavior policies use the directions in Table 5. Behavior and target scores are generated independently conditional on the MDP, rather than obtained by negating one another.
For each policy draw, the reference policy follows Eq. equation 15 with logits , , , and temperature one. Finite-horizon dynamic programming gives its values: the expected return from taking each action at time zero and then following that reference policy. These values are centered within each state and divided by the median within-state standard deviation exceeding over action-relevant states, defined below. The divisor defaults to one if none exists and is floored at . Independent state–action noise , with , and shared action noise are added and centered within each state. The resulting row is bounded while preserving its action ordering:
Scores at action-irrelevant states are set to zero.
The temperature controls how concentrated the action probabilities are. Let , , and be normalized discounted state visitation under over the task horizon. Action-relevant states and their weights are
The weights sum to one; if their unnormalized sum is at most , the factor is omitted. Action-probability concentration is measured by . After sampling the desired concentration, is selected by 72 geometric bisection steps on to attain it. The three target policies use concentrations drawn uniformly from [0.36, 0.44], [0.48, 0.58], and [0.62, 0.72], respectively. Behavior-policy concentrations follow Table 5.
Source logs and labels. Each sampled MDP and behavior policy produce one log of trajectories, shared by the three target policies. Rewards are sampled as
independently of the successor conditional on . Every trajectory contains transitions, including after absorption, and . Each target policy receives its own exact finite-horizon value label from Eq. equation 1, computed by dynamic programming in the source MDP. Each replicate has 1,000 training and 200 validation MDP/log groups, giving the 3,000/600 queries in Appendix B.3. Within each split, the four mechanisms occur equally often; and have marginal counts differing by at most one, and the behavior-regime proportions are exact.
Table 6: GridWorld test-mode probabilities and uniform parameter ranges.
| Mode | Probability | Slip | Stay | Cost | Bonus | Penalty |
|---|---|---|---|---|---|---|
| Sparse | .31 | [.02, .20] | [0, .04] | [0, .055] | [.45, 1.25] | [.35, 1.15] |
| Cliff | .25 | [.02, .16] | [0, .04] | [.015, .065] | [.70, 1.55] | [.70, 1.75] |
| Dense | .20 | [0, .18] | [0, .05] | [0, .035] | [.25, .95] | [.20, .85] |
| Maze | .24 | [.02, .22] | [0, .06] | [0, .05] | [.40, 1.20] | [.35, 1.20] |
Test environments. Testing uses a separate generator with 16 state indices and the same four actions. Walls prevent entry but are retained among the state indices. The four modes and parameter ranges appear in Table 6; parameter intervals and integer count ranges specify uniform distributions, and cells are sampled uniformly without replacement from the eligible sets. Except in cliff tasks, the start is a uniformly sampled corner and the goal is diagonally opposite.
-
Sparse. One to four traps are placed outside the start and goal. The goal is absorbing with probability 0.55, and all traps are made absorbing together with probability 0.35.
-
Cliff. The start and goal are the lower-left and lower-right corners. One or two traps are sampled from the two intervening cells. A task-level switch, enabled with probability 0.75, makes every trap entry reset to the start. The goal is absorbing with probability 0.35.
-
Dense. Zero to three traps are placed outside the start and goal. All states are nonabsorbing, and movement toward the goal contributes an additional reward term specified below.
-
Maze. One to four walls are sampled outside the start and goal, followed by one to four traps from the remaining nonwall cells outside the start and goal. The goal is absorbing with probability 0.45.
Let denote the boundary- and wall-aware move before any cliff reset. Unlike Eq. equation 14, test slip is split between the two perpendicular directions: the movement probabilities are and , with indices modulo four, plus stay probability . When cliff reset is enabled, a movement into a trap leads to instead. Absorbing states have self-transitions. For a nonabsorbing state, the pre-perturbation reward mean is
where is the trap set and is Manhattan distance to the goal. Absorbing rows initially have . With probability 0.35, independent perturbations are added to all entries, including absorbing rows. Writing the perturbation as (zero otherwise), the final mean is . The initial state is , except with probability 0.15, when it is uniform over the distinct states in .
Test policies. Test policies are constructed from , the time-zero action value under the uniform policy , computed by finite-horizon dynamic programming. Define the statewise softmax policies
with , , and . The first two favor larger values with different temperature ranges; the third favors smaller values. Their mixtures with in Table 7 define the stationary policy pairs.
Test logs and reference values. For each test MDP and policy pair, is sampled under and the reference value is computed by exact finite-horizon dynamic programming. Test horizons and trajectory counts are sampled uniformly from the source sets. Reward sampling follows Eq. equation 16, with and transitions per trajectory, including after absorption. The main comparison comprises five blocks of 500 separately generated MDP/policy/log queries, totaling 2,500, without shared-log query groups.
Table 7: GridWorld test-policy mixtures.
| Regime | Probability | Target policy | Behavior policy |
|---|---|---|---|
| Moderate | .22 | ||
| Severe | .43 | ||
| Extreme | .35 |
C.1.2 TUMOR
Tumor tasks model treatment decisions. The four actions are , , , and , indicating whether chemotherapy and radiotherapy are administered. Both source and test tasks use and , but differ in their state representation and growth and treatment mechanisms.
Source environments. The state is a pair of tumor burden and accumulated toxicity. Burden is discretized into equal-width bins on , and toxicity into three equal-width bins on . Bin midpoints represent the states, giving states. The untreated growth increment is one of
The source design balances these three laws and the three burden resolutions. Table 8 specifies the parameter ranges. Each parameter is fixed within an MDP. Continuous parameters use independently permuted stratified midpoints in their respective ranges, rather than independent draws for each task. Within each growth-law and allocation stratum, resolution-wise rank grids are interleaved into one grid; training and validation use separate allocations.
The chemotherapy and radiotherapy kill fractions are
where ranges over burden-bin midpoints and . For each state-action pair, 96 independent pairs of Gaussian noise draws produce
with and . Successor-bin frequencies define . The unnormalized reward mean is the average over the same 96 draws of
The resulting reward matrix is divided by its maximum absolute entry (with denominator floor ). The initial distribution is the product of burden weights proportional to , where , and toxicity probabilities (0.85, 0.15, 0).
Source policies and logs. Let . Finite-horizon evaluation of in the generated MDP gives its time-zero action values . Define the two stationary policies
Thus, is constructed from uniform-policy action values, while favors less intensive treatment. They are combined with as in Table 9. The low-, moderate-, and severe-shift regimes have proportions 0.20, 0.45, 0.35; the standard, broader, and sharper mixtures have proportions 0.50, 0.25, 0.25. The finite allocation preserves both margins, rounding the joint counts when necessary. Policies are clipped below at and normalized within each state.
Table 8: Tumor source parameter ranges.
| Parameter | Range | Parameter | Range |
|---|---|---|---|
| Gompertz | [0.025, 0.090] | Capacity | [0.90, 1.40] |
| Exponential rate | [0.04, 0.12] | Linear cap | [0.015, 0.060] |
| Anabolic rate | [0.04, 0.12] | Catabolic rate | [0.02, 0.09] |
| Growth power | [0.55, 0.90] | Chemotherapy dose | [0.35, 1.00] |
| Maximum effect | [0.04, 0.18] | Half-effect dose | [0.15, 0.75] |
| Growth-response blend | [0.35, 0.85] | Radiotherapy dose | [0.50, 2.50] |
| Linear radiation effect | [0.03, 0.16] | Quadratic effect | [0.005, 0.045] |
| Toxicity recovery | [0.10, 0.35] | Chemotherapy toxicity | [0.08, 0.25] |
| Radiotherapy toxicity | [0.04, 0.18] | Burden noise SD | [0.005, 0.030] |
| Toxicity noise SD | [0.005, 0.025] | Toxicity weight | [0.10, 0.35] |
| Chemotherapy cost | [0.01, 0.08] | Radiotherapy cost | [0.01, 0.08] |
Table 9: Behavior–target policy pairs for Tumor tasks.
| Mixture | Regime | Target policy | Behavior policy |
|---|---|---|---|
| Standard | Low | ||
| Moderate | |||
| Severe | |||
| Broader | Low | ||
| Moderate | |||
| Severe | |||
| Sharper | Low | ||
| Moderate | |||
| Severe |
Each training replicate contains 500 source MDPs and 100 validation MDPs. Each MDP is assigned two distinct trajectory counts from , with the ten unordered pairs represented equally. For each trajectory count, three policy pairs are assigned and a fresh behavior log is generated for each pair. This produces 3,000 training and 600 validation queries. The environment allocation balances the three growth laws, the three resolutions, and an auxiliary three-level parameter-stratification index; the 27 cells contain 18 or 19 training MDPs and three or four validation MDPs. The policy-regime allocation is separate from this environment allocation. Every trajectory has 25 steps, with observed rewards drawn independently as after the tabular reward matrix has been fixed. Each label is the finite-horizon value computed by dynamic programming in that generated tabular MDP.
Test environments, policies, and logs. The test state is tumor burden alone, with 24 representative values , . Successors are assigned to 24 equal-width bins on [0, 1.05]. For each state–action pair, 96 draws use
The seven task-level parameters are drawn independently as
Successor frequencies define , and is the 96-draw average of , without the source reward normalization. Four distinct initial states are sampled uniformly from and assigned Dirichlet() probabilities. The policies in Eq. equation 17 are recomputed in each test MDP, using only the standard mixture in Table 9. Regime probabilities remain (0.20, 0.45, 0.35), and is uniform on . Behavior trajectories use the same , , and reward-noise SD as source tasks. Evaluation labels are exact values of the resulting tabular MDP, not Monte Carlo estimates from the behavior trajectories.
C.1.3 DISPATCH
Dispatch models a two-sided vehicle-service market. A state is a pair of a market zone and an ordered supply–demand imbalance level. The four actions are , where enables a driver-supply incentive and enables a passenger-demand promotion. Source and test environments share these semantics but use different zone dynamics and imbalance kernels.
Source environments. The zone/imbalance-level counts are , , , , or . Write , , for source imbalance levels. A uniformly permuted cycle connects the zones. The graph is either this cycle, a circulant graph adding all edges at one uniformly chosen cycle offset in , or the cycle augmented with uniformly sampled noncycle edges. Each zone has self-transition probability ; its remaining mass is distributed over graph neighbors using independent Gamma(1.8, 1) weights normalized to sum to one. Denote the resulting zone kernel by and graph distance by .
Demand and supply are independent positive graph fields. For each field, draw M uniformly from , choose M distinct centers uniformly, and set
Each field is divided by its mean over zones. Let , where orders increasingly, breaking ties by zone index. The prior contains three equally represented imbalance mechanisms. Their action-dependent scores are
Here M, Q, and F denote matching, queue relaxation, and conserved-fleet coupling, respectively. The last mechanism redistributes the same total supply toward the zone-transition probabilities. The parameter ranges appear in Table 10. Uniform draws are independent except for the conditional range of .
The score determines one of three response locations:
The kernels are normalized over the levels and are proportional to for , for , and for . Starting from , the amplitude is reduced only if necessary so that
The largest admissible amplitude in is found by 64 bisection steps, with the displayed margin protecting the bound after float32 conversion, where .
For severity , the raw reward is
Table 10: Dispatch source parameter distributions.
| Parameter | Meaning | Distribution or value |
|---|---|---|
| Imbalance persistence | U(0.16, 0.24) | |
| Market-pressure weight | U(0.03, 0.08) | |
| State-pressure strength | U(0.12, 0.28) | |
| Queue relaxation | U(0.44, 0.70) | |
| Fleet reallocation fraction | U(0.24, 0.48) | |
| Unconstrained response amplitude | U(0.20, 0.25) | |
| Neutral response location | U(0, 0.035) | |
| Ordinal-kernel scale | U(0.55, 0.82) | |
| Service-surplus level | U(0.98, 1.04) | |
| Service loss at extreme imbalance | U(0.42, 0.48) | |
| Cost at extreme imbalance | U(0.07, 0.11) | |
| Driver balance benefit | U(0.22, 0.30) | |
| Passenger balance benefit | U(0.16, 0.24) | |
| Driver incentive cost | U(0.09, 0.17) | |
| Passenger promotion cost | U(0.12, ) | |
| Joint intervention cost | U(0.005, 0.020) | |
| Mechanism service adjustment | for (M,Q,F) | |
| Zone service adjustment | U(-0.015, 0.015) |
It combines service surplus, imbalance and intervention costs, and state-dependent benefits of supply or demand interventions. Before sampling logs, a fixed transformation adjusts the state-dependent no-intervention baseline without changing the raw action contrasts:
The fixed source-calibration constants are
They are mechanism-specific means of in a fixed source-only reference collection used when specifying the reward generator. This transformation is part of the source reward generator, not a post-processing of predicted policy values.
Source initial distributions. Each initial distribution factors as . One fifth of the tasks start uniformly over zones at the central imbalance level. The remaining tasks cycle through three initial-distribution types within each shape and mechanism: (i) with , and concentrated at the central level, or split between the two central levels with lower-level mass when ; (ii) and with ; and (iii) with , and , where and .
Source policies, logs, and labels. Let be the finite-horizon time-zero action values of the uniform policy in the sampled source MDP. Policies have the form
The target policy favors higher action values, while the behavior policy favors lower values. For each policy, 64 geometric bisection steps over select a temperature matching its prescribed concentration, . Target concentrations are ; behavior concentrations are in the severe regime and in the extreme regime. The two regimes are equally represented, and the behavior and target concentration indices are balanced separately.
Each replicate contains 3,000 training and 600 validation queries, obtained from two independent draws of the same 1,500/300-query design. Within each draw, a full factorial design over the five shapes, , , and the four target concentrations is repeated five times for training and once for validation. Topology, behavior regime, and behavior concentration are balanced, and the three imbalance mechanisms occur equally often within each shape. Each query uses its own sampled MDP, one behavior log, and one target policy. The trajectories each contain transitions, with rewards sampled independently of the successor as and discount . The label is the exact finite-horizon value of that query's target policy, computed by dynamic programming in its sampled MDP.
Test environments. Testing uses eight zones on a fixed cycle and three imbalance levels . For and , the zone demand score and unperturbed zone kernel are
with zone indices interpreted modulo eight. Independently for each state–action row, with probability 0.15 a mass of 0.05 is added at a uniformly sampled zone and the row is renormalized; otherwise it remains . Denote this row by . The imbalance response is
For independent and , sampled once when constructing the MDP, its raw reward table is
The reward means equal this table divided by . The initial distribution is uniform over zones at neutral imbalance: .
Test policies, logs, and labels. Let again denote time-zero action values of the uniform policy, now in the test MDP, and define and , with and , applied separately within each state. With probability 0.45, the severe regime uses ; otherwise, the extreme regime uses . Horizons and trajectory counts are drawn uniformly from the source sets above. Test rollouts use the same and independent reward noise with standard deviation 0.03; this noise is separate from the fixed reward-table perturbation . Each main-evaluation query has one MDP/log/target-policy triple and an exact dynamic-programming value. The five test batches contain 300 queries each.
C.1.4 CLINICAL
Clinical evaluation uses the released ICU-Sepsis aggregate MDP (Choudhary et al., 2024), which was constructed from MIMIC-III records. Its 25 actions combine five intravenous-fluid levels and five vasopressor levels. The published MDP has 716 states, including death, survival, and an auxiliary absorbing state, with cluster centroids in a 47-dimensional normalized feature space. Our evaluation further aggregates these states and generates new simulated logs. It is therefore semi-synthetic evaluation, not a new clinical data collection or a test of treatment effectiveness. The source prior below is a separately synthesized treatment-like process; it does not perturb or resample the ICU-Sepsis transition table.
Source states and action responses. Each source MDP contains 48 live states and three absorbing states denoting death, survival, and another terminal outcome. For action , define normalized dose levels , , and . The synthetic severity rank is . To obtain a separate geometric coordinate , sort
48 draws from , with , add an evenly spaced sequence from to , and standardize to mean zero and population variance one. The latent location is , where each coordinate is sampled from and independently.
Four response mechanisms specify an action score :
Here and . Each row is multiplied by , with , centered across actions, and divided by its maximum absolute centered entry, floored at . The result, clipped to , is denoted . Parameter ranges appear in Table 11. Each listed interval denotes an independent uniform draw, except where the response mechanism is specified. Vector ranges are componentwise. For replicate and environment index (both zero-based), the mechanism is entry in the order monotone, biphasic, axis-specific, near-null. The near-null mechanism retains weak, nonzero action effects.
Source transitions and initial distribution. Write . Before the total-terminal-mass cap, the three terminal probabilities are
Multiply all three by , giving and total mass . The remaining probability stays within the live states.
Define . For each state, sample an integer neighbor count uniformly between and , and retain that many nearest states other than itself. On this set , draw and define
Both distributions are normalized over . Draw with , and set . The live transition probabilities are and for . Terminal probabilities are those above, all other entries are zero, and each absorbing state has a self-transition. Rows are normalized numerically. Initial mass is zero on absorbing states and is drawn as
where .
Source rewards. Rewards combine outcome-specific and continued-live components rather than equating with survival probability. First sample a magnitude , where and , and a signed-reward indicator . The reward parameters in Table 12 are drawn uniformly from the listed ranges. Construct positive profiles
where and . Normalize each profile by its mean and then clip to , yielding . The preliminary survival, death, and other-outcome rewards
Table 11: Clinical source dynamics parameters.
| Parameter | Range |
|---|---|
Table 12: Clinical source reward-profile parameters.
| Parameter | Meaning | Range |
|---|---|---|
| Severity-profile exponent | ||
| Profile strength | ||
| Log-profile noise SD | ||
| Terminal-reward concentration parameter | ||
| Dose and interaction burdens |
are , and , where , , and if or if .
For live successors, draw with and use
where . When , negative live rewards are replaced by zero. The corresponding state-action expected reward is
Absorbing states have .
The source prior additionally varies reward concentration at a fixed source-defined return scale. Choose a desired uniform-policy value at horizon 20, a desired peak when applicable, and a peak-state fraction from Table 13. Each listed range denotes a uniform draw; dashes indicate that no peak constraint is imposed. For concentrated regimes, select live states uniformly without replacement. Multiply their survival-outcome rewards by . For each candidate , compute the resulting expected reward using Eq. equation 18, and multiply all outcome and live rewards by
where is computed by exact dynamic programming with . If the peak at is below , select by 56 bisection steps on so that ; otherwise retain . Diffuse regimes use without a peak constraint. The generator rejects an unrealizable peak rather than modifying the value label. The final MDP uses these scaled rewards, and all logs and labels are computed subsequently from that MDP. This operation uses only synthetic source quantities, not ICU-Sepsis values or evaluation labels. The outcome regime is entry of the table. Separate seeded random streams generate geometry, reward magnitude, reward concentration, hazards, occupancy, response, and outcome-regime parameters; the final factors remain coupled through severity and Eq. equation 19.
Source policies, logs, and labels. Let be the time-zero action value of the uniform policy for the sampled MDP and horizon . Center each action-value row, and let be the median of the
Table 13: Clinical source outcome regimes.
| Regime | |||
|---|---|---|---|
| Diffuse low | [.28, .42] | — | — |
| Diffuse ordinary | [.60, .76] | — | — |
| Concentrated ordinary | [.58, .72] | [.52, .70] | [.12, .22] |
| Concentrated high | [.88, 1.18] | [.50, .70] | [.14, .25] |
| Competing ordinary | [.52, .80] | [.36, .58] | [.10, .20] |
live-state row standard deviations exceeding (use one if this set is empty). The source policy score is
Each of 50 training and 10 validation MDPs per replicate is used for 12 logs: crossed with four behavior-quality intervals , , , and . For each log, sample uniformly from its interval, , and . Within every environment–horizon combination, assign to the four behavior intervals by an independent random permutation. Each log is queried by five target policies: partition into five equal subintervals and draw one uniformly from each. The five queries share and .
All trajectories have transitions, including zero-reward absorbing steps, and use . At every step the recorded reward is exactly , with no additional reward noise. The five queries share the same behavior log but receive separate exact finite-horizon DP labels . Thus each replicate contains 600 training and 120 validation logs, producing 3,000/600 queries. All five training replicates use this same source law with distinct random streams.
Test MDPs. Testing starts from the released Sepsis/ICU-Sepsis-v2 parameters, using the default mean-admissible-action treatment for unsupported actions. Let denote its transition tensor, transition-specific reward, and initial distribution. We replace each of its three terminal rows by a zero-reward self-loop, and cluster the remaining published centroids into 48 groups using K-means with 10 initializations. The three terminal states remain separate, giving 51 states in total. For the resulting map and cluster , use weights normalized within each live cluster. The aggregate MDP is
Absorbing rows again have self-transitions and zero reward, and transition rows and the initial distribution are numerically normalized. Each of five evaluation blocks uses its own clustering seed, but all blocks reuse the same original released parameter dataset; they are not five patient cohorts. No additional dynamics or reward perturbation is applied in this main comparison.
Test policies and shared logs. Test policies also use the uniform-policy , but standardize it within each state, rather than using the source median scale:
Here and . All policies are stationary and row-normalized. Within each block, each and each receive eight independently simulated logs. For each log, n is drawn uniformly from , and the five target qualities query that same log. Thus each block has 48 logs and 240 queries, giving 240 logs and 1,200 queries across five aggregate MDPs. Rewards are the deterministic aggregate means , not newly sampled terminal-outcome rewards; and trajectories retain all H steps after absorption. Reference values are exact finite-horizon DP values in the aggregate MDP. The true matrices and are used only to generate policies, logs, and reference values. InCOPE receives the generated log, target policy, known initial distribution and task horizon/discount, with behavior probabilities estimated from the log as in Appendix B.1.
C.2 BASELINE IMPLEMENTATIONS
All baselines estimate the discounted return from the same behavior log and target policy . The implementations below apply to the main comparison and the trajectory-count and policy-mismatch experiments. Whenever a method requires behavior probabilities, it uses the pooled count estimate in Eq. equation 11, with a pseudocount of 1/2 per action, rather than the simulator's behavior probabilities. Define cumulative importance ratios by
All methods use the task's and H and the logged rewards without additional return normalization.
WPDIS. We evaluate WPDIS (Precup et al., 2000) as
The denominator floor is part of the implementation used for the reported results; it differs from exact self-normalization when the positive weight sum is below . The code also floors each estimated behavior probability at , which is inactive under the reported sample budgets and the count smoother above. Importance ratios are not clipped.
FQE. We use finite-horizon tabular fitted Q evaluation, with a separate least-squares regression at each time step (Le et al., 2019; Wang et al., 2024). Let . Starting with , its exact tabular updates are
for . An unobserved time–state–action cell is assigned zero. Observations are not pooled across time, and no smoothing or regularization is applied. The estimate uses the known initial distribution: .
Tabular-MIS. Following the time-indexed construction of Yin & Wang (2020), we estimate transitions and rewards separately at each time:
Unobserved cells have zero reward estimates and zero transition rows; these rows are neither smoothed nor renormalized. Starting from the empirical initial distribution , compute
This estimator does not require . With the same initial distribution, this tabular construction and the FQE recursion above are algebraically equivalent; the evaluated versions differ in their use of empirical versus known initial distributions.
MB-OPE. Pooled model-based OPE fits a time-homogeneous empirical MDP to the full log . It uses the reward means in Eq. equation 10 and the smoothed transitions in Eq. equation 11, pooling observations across all time steps. The transition pseudocount is 1/2 in total per state–action row, distributed uniformly over successor states. An unobserved state–action pair has zero estimated reward and a uniform transition row. Starting from , compute
for . The estimator uses the known initial distribution, without source pretraining or importance weighting. The smoothing rule is fixed to match InCOPE's preprocessing and is not selected using test errors.
OPERA. OPERA (Nie et al., 2024) aggregates WPDIS, FQE, Tabular-MIS, and a scalar tabular reward-shaping control-variate estimator described below. Let v contain their four full-log estimates. We draw shared bootstrap samples, each containing whole trajectories sampled with replacement. Every candidate, including its behavior-probability estimate and other fitted quantities, is refitted on each sample, producing . OPERA computes
Weights may be negative; no ridge penalty or weight clipping is added. If the optimum is nonunique, an eigendecomposition selects the minimizer with the smallest Euclidean norm. The WPDIS candidate uses Eq. equation 21, including its denominator floor, in both the full-log and bootstrap evaluations.
The fourth candidate is a scalar Shaped-PDIS adaptation of Majumdar et al. (2026), with a time-indexed tabular potential and . For trajectory , define
Whole trajectories are randomly divided into two nearly equal folds. On each fitting fold F, the potential minimizes
where bars denote fitting-fold averages. The fitted potential is divided by the population-form sample SD of its controls; it is set to zero if that SD is at most float64 machine precision. On the same fitting fold, , with when the variance is at most . The final candidate averages over held-out trajectories in both directions. Only the potential and coefficient are cross-fitted; behavior probabilities use the complete current sample. The ratios are neither clipped nor self-normalized. This specifies the scalar adaptation used in the aggregate, not the original paper's vector-control implementation.
DR-PPI. We implement PERRY's DR-PPI point estimator (Mandyam et al., 2026) with a tabular generator and exact model expectations. Whole trajectories are ordered by hashes of episode identifiers and assigned alternately to two equal folds . On each fitting fold, transitions are pooled across time and estimated using the transition smoother in Eq. equation 11; rewards use the observed means in Eq. equation 10, with zero for unobserved cells. Let be the target-policy value from state computed by -step dynamic programming in the model fitted on . Define the clipped PDIS return
The two directed estimates and their average are
The trajectory count refers to the full dataset, not an individual fold. Only the generator is cross-fitted: is estimated once from the full log and reused in both directions. Dynamic programming replaces auxiliary-rollout Monte Carlo averages; no additional environment trajectories are used. We compare point estimates, not PERRY's confidence intervals.
Numerical implementation. Baseline calculations use float64. OPERA bootstrap draws and shaping folds use fixed seeds derived from query identifiers. Bootstrap duplicates are treated as separate sample occurrences. In the trajectory-count and policy-mismatch runs, a failed shaping-potential linear solve is retried using a scaled SVD ridge solve; an OPERA equality-constraint solver failure is retried after positive scalar rescaling of . These retries preserve the respective objectives and do not introduce new regularization or clipping.
C.3 MAIN EVALUATION DETAILS
The main comparison uses five equally sized, separately generated test batches within each domain, totaling 6,700 queries across the four domains. Table 14 lists the query counts, trajectory counts, and horizons. A query pairs a behavior log of trajectories with a target policy. Each Clinical batch uses 48 logs from one MDP, with five target policies per log, giving 240 distinct logs and 1,200 queries overall. Results cover all listed trajectory counts and horizons.
Table 14: Main-comparison query counts, trajectory counts, and horizons.
| Domain | Total queries | Queries per batch | Trajectories n | Horizon H |
|---|---|---|---|---|
| GridWorld | 2,500 | 500 | 4, 8, 12, 16, 24, 32 | 12, 18, 24, 32 |
| Tumor | 1,500 | 300 | 8, 16, 24, 32, 48 | 25 |
| Dispatch | 1,500 | 300 | 4, 8, 12, 16, 24 | 24, 32, 40 |
| Clinical | 1,200 | 240 | 24, 48, 96, 160 | 5, 10, 20 |
For each baseline, we compute one MAE per test batch. For each InCOPE configuration, its five pretrained checkpoints are evaluated on every batch, and their individual MAEs are averaged within that batch. Table 1 reports the mean and sample standard deviation of the resulting five batch-level MAEs, with divisor 5 - 1 in the sample variance. This SD measures test-batch variability with checkpoints held fixed, rather than pretraining variability.
C.4 TRAJECTORY COUNT AND POLICY MISMATCH
This experiment uses 50 test tasks per domain, organized into five blocks of ten. For each task, the MDP, target policy, initial distribution, discount, and horizon are held fixed across all conditions. GridWorld and Dispatch use the test generators in Appendix C.1, with horizons sampled from and , respectively. Tumor uses H = 25 and Clinical uses H = 10. Clinical tasks within a block share an aggregated environment but have separately generated policies and logs. The other domains use a separately generated environment for each task.
Behavior-policy construction. Let . We generate eight candidate behavior policies and replace each candidate by . For GridWorld and Dispatch, the unmodified candidate is sampled uniformly from
corresponding to low, moderate, severe, and extreme shift. Here and , with fresh temperatures and per candidate. Tumor samples uniformly from the three standard behavior-policy regimes in Table 9. Clinical uses
with uniformly sampled and the score in Eq. equation 20. Its target is , with sampled uniformly from . Tumor target regimes are moderate and severe with probabilities 0.55 and 0.45; the GridWorld and Dispatch target-regime distributions are those in Appendix C.1.
We measure policy distance using normalized discounted target-state visitation:
The candidate with the largest is the behavior anchor . This selection uses policy distance, not estimation error. The five behavior policies are
Consequently, for each task. Figure 2(b) uses as the policy mismatch level, with corresponding to the target policy and to the selected behavior anchor. Each level therefore represents a fraction of the task-specific anchor distance; absolute distances can differ across tasks and domains. The simulator supplies only to construct and describe this diagnostic; it is not an input to an OPE estimator.
Paired datasets and evaluation. For each task and , we generate one log at the largest domain-specific size and take trajectory prefixes for the smaller sizes:
GridWorld and Dispatch
Tumor
Clinical
,
,
.
Figure 2(a) fixes . Panel (b) fixes the second-smallest trajectory count in each domain, using for GridWorld, Tumor, Dispatch, and Clinical, respectively. Different behavior policies have separately generated logs. All estimators share each evaluation log and target policy. All six baselines use the implementations in Appendix C.2. InCOPE uses its five pretrained checkpoints without additional training.
Uncertainty. Each point is the mean absolute error over test tasks, additionally averaged over the five checkpoints for InCOPE. The shaded bands are pointwise 95% percentile intervals from 2,000 bootstrap draws. Each draw resamples the five blocks and then the ten tasks within each sampled block; for InCOPE, it also independently resamples the five training replicates. Task draws are shared across methods and conditions, and replicate draws are shared by specialist and unified models. The intervals therefore include test-task variation and, for InCOPE, training-replicate variation.
C.5 PRETRAINING PRIOR ABLATIONS
The experiments in Section 5.4 use domain-specific specialists with the architecture in Appendix B.2 and training settings in Appendix B.3. Each configuration has 3,000 source-training queries and 600 source-validation queries per domain and training replicate. We use five replicates, pairing source-task identities and training seeds across configurations. Checkpoint selection uses the corresponding source-validation distribution. Original-prior comparisons reuse the pretrained specialists; modified priors require separate training. Each experiment has a separately generated 6,700-query test set, with the domain counts and trajectory counts in Table 14. Within an experiment, every configuration is evaluated on the same test queries.
Source-reward intervention. For domain k, let Z contain states whose original reward is zero for every action and whose transitions are self-loops for every action. In the randomized-reward source tasks, the reward law is
Here is a point mass at zero, and Gaussian draws are independent across logged transitions. We estimate and once from nonabsorbing logged rewards in the original source-training data of the first replicate. The moment sample contains 64 equally spaced source-task groups per source provider; Dispatch has two independent providers and contributes 64 groups from each. Shared physical logs are counted once. If these sampled rewards are , we use
These moments remain fixed across all training replicates and both source splits; they do not use test rewards or values.
The intervention retains the original transitions, initial distribution, policies, and logged states, actions, and successors. Only the logged rewards are replaced, after which all reward-dependent input features and the exact dynamic-programming value labels are recomputed. We compare source priors containing 0%, 50%, and 100% original-reward tasks. The 50% mixture selects complete predefined groups rather than individual queries, keeping all queries within each group together. A group contains three queries in GridWorld and Tumor, one in Dispatch, and five in Clinical. In Tumor, a group contains three separately sampled datasets with the same trajectory count from one source MDP; the groups for the two trajectory counts need not receive the same reward assignment. The total query count is unchanged, and the same mixture proportion applies to source training and validation.
Source-policy intervention. For the policy-range comparison, the broad setting is the original source-policy generator. The narrow setting retains the same source MDP, rewards, horizon, and trajectory count, but replaces both policies by
where is uniform over actions. For the three queries in a GridWorld or Tumor group, in query order. Dispatch uses . For the five Clinical queries, . Logs are resampled under the modified behavior policy, value labels are recomputed for the modified target policy, and all affected input features are rebuilt. Both settings use original source rewards. The test distribution is unchanged by this intervention.
Aggregation. For a configuration and domain with N test queries, let
Here indexes the training replicate, not a test batch. Table 2 reports . Unlike the main-result table described in Appendix C.3, this SD measures variation across training replicates on a fixed test set.
C.6 INFORMATION AND ESTIMATOR CONTROLS
The controls in Section 5.5 use domain-specific specialists or predictors and five training replicates. The log-free, policy-only, and full-input regression comparisons each use a separate 6,700-query test
Table 15: Settings for target-policy-only regressors.
| Predictor | Settings |
|---|---|
| Ridge | Training-set feature standardization; penalty ; lsqr solver. |
| kNN | Euclidean distance; inverse-distance weighting; . |
| RBF-SVR | , and kernel coefficient gamma=scale. |
| ExtraTrees | 300 trees; minimum leaf size in ; 80% of features considered per split. |
set with the domain counts and trajectory counts in Table 14; within each comparison, all methods share the test queries. In each test set, the 1,200 Clinical queries use 240 distinct logs, with five target policies per log. Means and sample SDs are computed across replicate-level MAEs using Eq. equation 22.
Retraining without log-derived inputs. We apply the same deterministic input restriction to source training, source validation, and test queries. In the feature vector of Appendix B.1, we retain the target-action probability, known initial-state mass, discount, transformed horizon, discounted horizon, and available action descriptors with their availability indicator. All other feature channels are set to zero. Thus no visit counts, reward statistics, estimated behavior probabilities, policy ratios, or log-dependent coverage and occupancy statistics remain. We replace the empirical transition tensor by
Padding masks retain the task's state and action dimensions. If the initial distribution was not externally known, its log estimate is also removed and replaced by a uniform distribution over states. The behavior-policy availability flag is set to zero. Because reward-statistic channels are zero, the reward scale is its fixed floor of one, rather than a quantity extracted from the removed log.
The log-free model is trained from scratch with the same architecture, source-query identities, value labels, seed schedule, optimizer, and stopping rule as full InCOPE. Only the input restriction changes; the resulting stopping epochs may differ because validation errors differ. At evaluation, the same restriction is applied before prediction. This is a retrained input ablation, not masking a full-input model only at test time. Table 3(a) reports this comparison.
Policy-only regression. For each domain and replicate, we construct 3,000 training pairs and 600 validation pairs
from the same original source tasks used for the specialists. The policy probability matrix is zero-padded to for GridWorld, Tumor, and Dispatch, and to for Clinical, then flattened in row-major order. No log, initial distribution, discount, horizon, action descriptors, or additional task input is supplied. Each regressor is fit separately for each domain and replicate; source-validation MAE selects among the candidates in Table 15. The prior-mean predictor returns the mean source-training value and has no fitted input dependence.
In Table 15, is the source-training label SD, with denominator equal to the training-set size and a floor of . For RBF-SVR, gamma=scale is , where is the padded input dimension and is the variance over entries of the source-training input matrix. Only ridge standardizes input features; the other regressors use the padded probabilities directly. Ties in validation MAE are resolved by the smaller candidate hyperparameter. Full InCOPE uses the existing specialist checkpoints without retraining. The final policy-only comparison uses a separately generated test set evaluated after the candidate models and selection rules were fixed; test labels are not used for fitting or hyperparameter selection.
Policy-only results by trajectory count. Figure 3 groups the existing policy-only comparison's test queries by their recorded trajectory count after evaluation. Within each domain and stratum, every method is evaluated on the same queries. We compute one MAE per method and training replicate within that stratum, then report the mean and sample SD across the five replicates. No
Table 16: Comparison of InCOPE with target-policy-only predictors over all test queries.
| Method | GridWorld | Tumor | Dispatch | Clinical |
|---|---|---|---|---|
| Full InCOPE | 0.782 ± 0.046 | 0.686 ± 0.192 | 0.317 ± 0.068 | 0.0693 ± 0.0156 |
| Prior mean | 1.093 ± 0.007 | 3.757 ± 0.026 | 1.897 ± 0.005 | 0.1091 ± 0.0005 |
| Ridge | 1.105 ± 0.046 | 1.800 ± 1.117 | 1.897 ± 0.302 | 0.2137 ± 0.0456 |
| kNN | 1.128 ± 0.045 | 2.448 ± 0.791 | 1.503 ± 0.034 | 0.1143 ± 0.0044 |
| RBF-SVR | 1.016 ± 0.013 | 1.379 ± 0.473 | 1.713 ± 0.039 | 0.1119 ± 0.0035 |
| ExtraTrees | 0.995 ± 0.029 | 1.388 ± 0.326 | 1.680 ± 0.020 | 0.1126 ± 0.0026 |
model is retrained and no predictions are recomputed for this grouping: full InCOPE retains its complete current-task inputs, whereas the policy-only regressors still receive only the target-policy matrix. Different values of contain different test queries, rather than prefixes of the same behavior log as in Section 5.3. Consequently, changes in the policy-only curves across reflect differences in query composition, not access to additional observations by those regressors. Table 16 retains the overall results computed over all test queries in each domain, without stratifying by .
Regression with complete task inputs. For each domain and training replicate, the four regressors use the same 3,000 source-training queries and exact value labels as the corresponding InCOPE specialist. The 600 source-validation queries are used only for diagnostics; the configurations below are fixed without hyperparameter search. InCOPE uses its existing specialist checkpoints. We concatenate the complete state–action feature array X, empirical transition tensor , state and action masks, and two auxiliary availability indicators. With fixed padding to 51 states, 25 actions, and 25 features per state–action pair, this gives
coordinates. This representation retains all information in the preprocessed inputs available to InCOPE, without feature selection or projection. It does not encode the raw trajectories beyond those inputs, and no domain identifier is added.
Ridge, kNN, and RBF-SVR use coordinatewise standardization fitted separately on each domain's source-training data for each replicate; ExtraTrees uses the unstandardized vector. Ridge uses an intercept, the lsqr solver, and penalty . kNN uses 25 neighbors, Euclidean distance, inverse-distance weighting, and exact nearest-neighbor search. RBF-SVR uses , , and gamma=scale, where is the source-training label SD with population denominator and a floor of . ExtraTrees uses 100 trees, a minimum leaf size of 20, of features per split, the squared-error criterion, and random seed for replicate .
All methods share a new test set comprising 2,500 GridWorld, 1,500 Tumor, 1,500 Dispatch, and 1,200 Clinical queries, generated independently of the test sets used in the restricted-input comparisons. All configurations and predictions were fixed before the new target-value labels were generated. We compute one MAE per method, domain, and source-training replicate over that domain's full test set, then report the mean and sample SD across all five replicates using Eq. equation 22. No replicate is excluded and predictions are not ensembled. Table 3(b) reports this comparison.