Abstract
Background Lung donor–recipient matching requires balancing recipient medical urgency with expected post-transplant benefit. Conventional prediction models estimate outcomes for historical donor–recipient pairs but do not directly compare alternative candidates for the same donor. We developed an offline contextual-bandit framework to assess the feasibility of learning donor-centered lung-matching policies from historical registry data.
Methods We used linked United Network for Organ Sharing (UNOS)/Organ Procurement and Transplantation Network (OPTN) Standard Transplant Analysis and Research files to identify 8,529 lung transplant allocation events from 2023 through 2025. Each event included the historical recipient and nine date-matched, ABO-compatible pseudo-candidates. The reward combined 72-hour respiratory-support-free survival (weight, 0.75) with a normalized initial Composite Allocation Score waitlist medical-urgency score (weight, 0.25). We trained a pessimistic neural lower-confidence-bound contextual-bandit policy (NeuraLCB) and evaluated it on held-out donor events using matched-action evaluation and self-normalized inverse propensity scoring (SNIPS).
Results The reconstructed dataset contained 85,290 donor–candidate rows. In the held-out set of 1,706 allocation events, the observed clinician reward was 0.534 (95% CI, 0.518–0.549). NeuraLCB agreed with the historical recipient in 174 events (10.2%), with a matched-action reward of 0.616. The SNIPS-estimated value of the NeuraLCB policy was 0.649 (95% CI, 0.568–0.717), corresponding to a paired difference of +0.116 (95% CI, +0.035 to +0.181) relative to observed clinician reward. However, the effective sample size was 51.5 events, indicating limited overlap between the learned and estimated historical policies.
Conclusions This study demonstrates the feasibility of constructing and evaluating an offline contextual-bandit framework for lung donor–recipient matching using registry data. The estimated policy value was higher than the observed historical reward, but this finding is exploratory because candidate sets were reconstructed and off-policy evaluation had limited overlap. Verified offer sets, time-stamped candidate data, explicit compatibility constraints, and prospective evaluation are required before clinical use.
Competing Interest Statement
The authors have declared no competing interest.
Author Declarations
I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.
Yes
The details of the IRB/oversight body that provided approval or exemption for the research described are given below:
The Institutional Review Board of Duke University Health System waived ethical approval for this study of United Network for Organ Sharing/Organ Procurement and Transplantation Network Standard Transplant Analysis and Research data.
I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.
Yes
I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).
Yes
I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.
Yes
Data Availability
The data used in this study were obtained from the United Network for Organ Sharing/Organ Procurement and Transplantation Network Standard Transplant Analysis and Research files under a data-use agreement. These data are not publicly available and cannot be shared by the authors. Qualified investigators may request access directly through the Organ Procurement and Transplantation Network data-request process, subject to applicable approvals and data-use requirements. Analytic code and variable definitions will be made available from the corresponding author upon reasonable request, subject to the data-use agreement.





