# Externally Valid Policy Evaluation from Randomized Trials Using Additional Observational Data

Trial-based policy evaluation can be made valid for a new population using observational data

Ek, Sofia, Zachariah, Dave · Advances in Neural Information Processing Systems · 2024-12-16

- **Problem** Trial volunteers rarely match the people a policy will serve, so a loss limit built from trial data alone can mislead on the target population. Such limits are only guaranteed valid for the trial population.
- **Method** The authors bound sampling odds by Γ and split trial data to certify loss limits.
- **Results** The authors prove the limit is externally valid for any odds miscalibration up to Γ. On the NHANES-based case, Γ between 1.5 and 2 is considered credible.

## Why trial-only loss limits fall short

Randomized trials are the usual basis for judging a decision policy, but trial participants rarely match the people the policy will serve. Trial volunteers often lack comorbidities that the target population has, so a trial result can mislead when the policy is applied there. Averages hide the tail of the loss, and a limit that the loss stays under with probability 1 minus alpha is closer to what a safety-critical decision needs.

A limit curve built from trial data alone is only guaranteed to be valid for the trial population.

## Bounding sampling odds by Γ

The key idea is to stop trusting the fitted sampling model exactly and to allow its odds to be off by at most a factor Γ. A Γ of 1 means the model is perfectly calibrated, and a larger Γ admits a wider set of true odds, which matters because unmeasured selection factors can make the model wrong. The authors expect this wider set to cover the real selection behaviour, so the limit stays valid for models that are not calibrated.

The shift from trial to target is a ratio that would need the unknown covariate distribution to specify exactly. The authors instead bound that ratio with the sampling model, giving a lower and an upper weight for each sample, built from the nominal odds and from the ratio of the policy's action probability to the randomization probability.

As Γ increases, the lower weight decreases and the upper weight increases, so the resulting limit becomes more conservative.

## Building the limit from two trial halves

The trial data is split at random into D′ and D′′, and the split is what delivers finite-sample guarantees. The first half gives a bound on the weight of a future sample: the authors take the upper weights from D′ in sorted order and pick the entry at a rank set by β, or infinity when that rank exceeds the sample count. This bound holds with probability 1 minus β for any β in (0, 1).

A free weight w represents the unseen sample, and the limit at level α and β is the smallest loss where this stand-in reaches 1 minus α over 1 minus β. The final limit takes the minimum over β below α, so the authors pick the β that gives the tightest bound.

The proof is in the supplementary material, and it builds on earlier conformal prediction and covariate-shift techniques.

## Choosing Γ from omitted covariates

Since Γ can't be known, the authors treat each observed covariate in turn as an unmeasured selection factor and omit it. They compare the nominal odds estimated with and without that covariate, and the ratios show how strong a missing factor could be. On the NHANES data the ratios for age, income and education all fall within Γ = 2, so the authors consider Γ between 1.5 and 2 credible if unmeasured factors are weaker than these.

Reliability diagrams add a calibration check by binning the nominal odds and comparing them with the odds counted from the samples. For the XGBoost model on synthetic population B, the reliability curve lies close to the diagonal, which the authors read as the model being flexible enough.

## Synthetic coverage check

The synthetic setup draws 2000 covariate samples from the target population and 1000 trial samples. Of the trial samples, 500 compute the limit curves and the other 500 train the sampling model. On target population B the logistic sampling model is severely miscalibrated, whereas XGBoost still gives odds visually similar to the true ones.

For the treat-all policy on population B, the benchmark and the limit at Γ = 1 both have negative miscoverage gaps, so they are invalid. As Γ rises to 2, the gaps turn positive, and a positive gap means the limit is valid but conservative. The gaps are estimated over 1000 independent runs, each with 1000 new samples, and the authors report that Γ = 2 covers more than 95% of the omitted-covariate ratios.

For the Figure 1a curves valid over Γ in \[1, 2\], the paper reports informativeness of 95% and 90%. The authors read the 90% figure as a non-trivial loss bound for 90% of the target population.

## Seafood policy evaluation on NHANES

The real-data case asks how seafood consumption shifts blood mercury levels, comparing low and high consumption policies. After preprocessing, 1107 individuals remain, split into 646 observational and 461 trial samples by gender, age, income and smoking history. Counterfactual losses come from a gradient boosting model of the loss, trained on the trial data under a balanced RCT assumption.

The authors infer a 90% probability that the out-of-sample level falls below 8 µg/L, a guidance limit for women of child-bearing age.

## Limits of the guarantee

Weak overlap is the main stated limitation: when the trial covers only a small part of the target population, nominal odds rise and the weights grow. This widens the bound and shrinks informativeness, although the guarantee still holds. The authors present the limit curve as a worst-case view for the chosen Γ, which suits safety-critical use.

Benchmarking Γ uses only observed covariates, so the case where unmeasured factors are stronger than these is not tested.

## Paper info

- **Authors**: Ek, Sofia, Zachariah, Dave
- **Venue**: Advances in Neural Information Processing Systems · Published
- **First published**: 2024-12-16
- **Added**: 2026-11-27
- **DOI**: 10.52202/079017-2230
- **Original paper terms**: [Check in the original ↗](https://papers.nips.cc/paper_files/paper/2024/hash/81858558b55a8c63763cfe088090242a-Abstract-Conference.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://papers.nips.cc/paper_files/paper/2024/hash/81858558b55a8c63763cfe088090242a-Abstract-Conference.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Ek, Sofia, Zachariah, Dave (2024). Externally Valid Policy Evaluation from Randomized Trials Using Additional Observational Data. Advances in Neural Information Processing Systems. https://doi.org/10.52202/079017-2230

**BibTeX**

```
@article{sofia2024externally,
  title = {{Externally Valid Policy Evaluation from Randomized Trials Using Additional Observational Data}},
  author = {Ek, Sofia and Zachariah, Dave},
  year = {2024},
  journal = {Advances in Neural Information Processing Systems},
  doi = {10.52202/079017-2230},
  url = {https://papers.nips.cc/paper_files/paper/2024/hash/81858558b55a8c63763cfe088090242a-Abstract-Conference.html}
}
```

## Other paper commentary

- [Escaping the Mode: Multi-Answer Reinforcement Learning in LMs](https://refivu.com/en/papers/57396737-909e-4ef4-acf5-3d267b659acf-escaping-the-mode-multi-answer-reinforcement-learning-in.md)
- [Lazy Agents Answer Against Their Own Beliefs: Reinforcement Learning with Verifiable Beliefs Teaches Them to Act on What They Believe](https://refivu.com/en/papers/ad05164f-2508-4c12-9720-9f989b190939-lazy-agents-answer-against-their-own-beliefs-reinforcement.md)
- [Nearly Minimax-Optimal Sample Complexity of Natural Policy Gradient with a Matching Information-Theoretic Lower Bound](https://refivu.com/en/papers/f4105df1-e98f-45be-9f6c-57932a13fc43-nearly-minimax-optimal-sample-complexity-of-natural-policy.md)
- [Continuous-Time LQR from a Single Discrete-Time Off-Policy Batch](https://refivu.com/en/papers/b50622ac-e464-4101-97fb-07bbb46e1e70-continuous-time-lqr-from-a-single-discrete-time.md)
- [Detecting Is Not Choosing: What a World Model Needs to Keep a VLA Policy Safe](https://refivu.com/en/papers/31a4624b-8fa0-4005-9087-3002d8c6c996-detecting-is-not-choosing-what-a-world-model.md)
- [On Adaptive Step Sizes for Eligibility Traces in Deep Reinforcement Learning](https://refivu.com/en/papers/f8ab0d56-c0f6-43ce-a3d3-d08d017b18f7-on-adaptive-step-sizes-for-eligibility-traces-in.md)
- [Hyperparameter Transfer with Mixture-of-Experts Layers](https://refivu.com/en/papers/ee2184f3-1fbf-4a0b-980c-c177037bb72b-hyperparameter-transfer-with-mixture-of-experts-layers.md)
- [RanDumb: Random Representations Outperform Online Continually Learned Representations](https://refivu.com/en/papers/672057c3-abb3-4a2d-8ced-952028221f06-randumb-random-representations-outperform-online-continually.md)
- [Trading Place for Space: Increasing Location Resolution Reduces Contextual Capacity in Hippocampal Codes](https://refivu.com/en/papers/80772727-e0f9-4d7e-977a-a0e28b23c297-trading-place-for-space-increasing-location-resolution.md)
- [Toward Agentic Robotics: A Large-Scale Study of Harness Design for Robot-Use Agents](https://refivu.com/en/papers/14d1c215-9799-4493-b5f1-c86c787dcba4-toward-agentic-robotics-a-large-scale-study-of.md)
- [Can image generation help visual reasoning? An empirical study](https://refivu.com/en/papers/3fdbee33-91b0-45d0-9ba4-e7c1b1001457-can-image-generation-help-visual-reasoning-an-empirical.md)
- [When to Trust a PFN: Detecting Harmful Shift in Tabular Foundation Models](https://refivu.com/en/papers/f72c16f8-edc3-4f30-bb5a-814b2eb7dc46-when-to-trust-a-pfn-detecting-harmful-shift.md)

## Terms in this paper

- [synthetic data](https://refivu.com/en/terms/d3b9fabe1cf0-synthetic-data)
- [XGBoost](https://refivu.com/en/terms/959f3da48853-xgboost)
- [Gradient boosting](https://refivu.com/en/terms/10d874913acf-gradient-boosting)
- [conformal prediction](https://refivu.com/en/terms/8147d0abfe0d-conformal-prediction)
- [Informativeness](https://refivu.com/en/terms/89c569da9718-informativeness)
- [Reliability diagram](https://refivu.com/en/terms/bf7c4a2cf791-reliability-diagram)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/93af6d87-4701-4ee2-8f05-d4d2eae45b83-externally-valid-policy-evaluation-from-randomized-trials)
