A neural network scoring model trained on pairwise comparisons generated by a large language model successfully learned radiation therapy plan quality preferences for stage III non-small cell lung cancer, achieving an accuracy of 0.857 and an F1 score of 0.872 when benchmarked against expert human consensus. The retrospective investigation, conducted at the Icahn School of Medicine at Mount Sinai, explored whether automated evaluations produced by an artificial intelligence evaluator could alleviate the substantial annotation burden required to model complex clinical preferences. In radiation therapy planning, clinicians routinely navigate difficult trade-offs between delivering an ablative radiation dose to tumor targets and restricting radiation exposure to critical surrounding tissues. By decoupling the pairwise preference selection process handled by the language model from continuous score construction handled by a downstream neural network, the study demonstrated that machine-generated comparisons can establish a functional preference ranking system while relying on a very small set of human expert annotations for clinical evaluation.
The clinical motivation for developing quantitative preference scoring models arises from the severe toxicities associated with definitive management of locally advanced lung cancer. Lung cancer represents the primary cause of cancer-related death globally, with non-small cell lung cancer accounting for more than 80 percent of all diagnosed cases. For patients presenting with stage III disease who are medically or surgically inoperable, high-dose radiotherapy administered concurrently with chemotherapy serves as a radical curative option. Nevertheless, incidental irradiation of surrounding healthy organs at risk causes substantial morbidity and can undermine overall survival. Severe radiation-induced toxicities include pericarditis and other cardiac complications, which prior research from the NRG Oncology Radiation Therapy Oncology Group 0617 trial linked to diminished overall survival when elevated radiation doses were delivered to heart volumes. Radiotherapy for lung malignancies is also constrained by radiation pneumonitis, which impacts approximately 15 to 20 percent of patients, and severe acute esophagitis, which affects between 8.7 percent and 20 percent of treated individuals.
To mitigate these toxicities, medical dosimetrists and radiation oncologists apply standard dose-volume limits, yet meeting trial-defined thresholds does not guarantee that a treatment plan represents the best achievable organ sparing for an individual patient. Two competing plans may satisfy identical protocol constraints while distributing excess dose differently across nearby structures, forcing planners to decide which anatomical trade-off is clinically tolerable. Conventional scoring systems rely on predetermined weights and rigid thresholds that frequently fail to capture institution-specific priorities or nonlinear trade-offs. While pairwise preference learning eliminates the cognitive difficulty of assigning absolute numerical scores to multidimensional plans by simply asking reviewers which of two plans is superior, collecting enough clinician comparisons to represent diverse anatomical trade-offs demands unsustainable amounts of expert labor. The researchers addressed this practical constraint by assessing whether an open-weight large language model evaluator could generate synthetic preference labels across hundreds of plan comparisons, expanding the training dataset for a predictive scoring model.
The study cohort consisted of 62 consecutive eligible
The study cohort consisted of 62 consecutive eligible patients with stage III non-small cell lung cancer who received treatment between November 2022 and January 2024. All patients had previously received a definitive prescription dose of 60 Gy delivered in 30 fractions utilizing volumetric modulated arc therapy. Planning computed tomography scans and approved anatomical contours were anonymized and transferred to a research instance of Eclipse version 15.6 for automated replanning under an Institutional Review Board approval that waived informed consent requirements. For each patient in the consecutive series, an automated scripting workflow using the Eclipse Scripting Application Programming Interface generated 13 distinct volumetric modulated arc therapy plans. The plans utilized partial arcs on TrueBeam linear accelerators equipped with Millennium 120 multileaf collimators and 6 MV photon beams, calculated with the Analytical Anisotropic Algorithm on a 2.5 mm calculation grid without manual planner touch-ups. Every plan was normalized to ensure that 95 percent of the planning target volume received the full prescription dose, standardizing target coverage while allowing maximum target doses, hot spots, and dose distributions to vary.
To introduce systematic dosimetric variations across the 13 plans generated for each patient, the planning workflow adjusted organ-at-risk constraint placements relative to prediction bands obtained from an institutional RapidPlan model. This model had been previously developed from 68 historical patients, entirely independent of the 62 study cases. The automated generator produced one baseline balanced plan and 12 trade-off plans spanning three preference tiers across four primary organs at risk: total lungs, heart, esophagus, and spinal cord. At level 0, the designated organ was de-prioritized by setting its optimization constraint to the lower prediction bound plus 0.5 times the bandwidth while other organs were constrained at the lower bound minus 0.5 times bandwidth. Level 1 applied an identical constraint placement of the lower bound minus 1.5 times bandwidth to all organs. Level 2 prioritized the designated organ by tightening its constraint to the lower bound minus 2 times bandwidth while relaxing competing organs to the lower bound plus 0.5 times bandwidth. Point objectives shaped dose-volume histograms with relative optimization priorities of 150 for lungs, 100 for heart and esophagus, 70 for spinal cord, and 300 for an upper lung volume objective at 20 Gy.
Ground-truth clinical evaluation was established through a blinded study involving three certified medical dosimetrists, each possessing more than 10 years of professional dosimetry experience across multiple treatment sites including thoracic malignancies. The dosimetrists independently reviewed 35 plan pairs randomly selected from the cohort. Displayed within the Eclipse planning software, pairs were randomly labeled Plan A and Plan B with reviewers given full access to three-dimensional dose distributions, parameter tables, and dose-volume histograms. Evaluators adhered to institutional planning guidance under a forced-choice protocol that prohibited tie votes or rejections of both options, requiring planners to choose the plan they considered a superior starting baseline. The three experts reached unanimous consensus on 26 of the 35 pairs, representing 74 percent agreement, while 9 pairs resulted in a two-to-one vote split. The mean pairwise agreement across dosimetrist pairs was 0.829, and the average individual agreement with the inclusive majority vote was 0.914 for both accuracy and positive-class F1 score.
For automated evaluation, the team locally hosted
For automated evaluation, the team locally hosted the Llama 3.3 70B parameter language model using the Ollama serving framework on an engineering workstation equipped with an AMD Ryzen Threadripper PRO 64-core processor, 512 GB of system memory, and four NVIDIA RTX A6000 graphics processing units, running evaluations on a single GPU. The language model operated via a two-agent workflow comprising an evaluation agent that judged plan pairs against clinical guidelines and a review agent that scrutinized the reasoning and logical consistency. Ten specific dose-volume features were extracted from Eclipse and presented as text: lung mean dose, lung V20Gy, V10Gy, and V5Gy; heart mean dose and V30Gy; esophageal mean dose and maximum dose at 0.03 cubic centimeters; spinal cord maximum dose at 0.03 cubic centimeters; and planning target volume maximum dose expressed as a fraction of the prescription dose. The prompt encoded mandatory criteria, including spinal cord maximum dose below 45 Gy and target maximum dose within 110 percent, alongside tiered organ priorities placing lung sparing first, followed by heart and esophagus.
The language model labeled 1,240 pairwise comparisons sampled across the 62 patient datasets, processing 20 distinct plan pairings per patient. These machine-labeled comparisons subsequently trained a downstream feedforward neural network comprising an input layer matching the 10 dose-volume features, a single hidden layer with 35 nodes, and an output generating a scalar plan quality score. Plan preference probabilities were formalized through a Bradley-Terry logistic choice formulation, where the probability of preferring Plan A over Plan B corresponds to the logistic sigmoid of their score difference, optimized using binary cross-entropy logit loss. Hyperparameters were established using approximately 100 synthetic pairwise examples generated by the language model evaluator, reserving all 35 human-reviewed pairs solely for model testing. When evaluated on this independent expert-labeled test set, the neural network trained on the 1,240 language model comparisons achieved a test accuracy of 0.857 and an F1 score of 0.872 against the three-expert majority preference.
To assess the specific utility of the synthetic supervision, the authors compared this performance against baseline neural network models trained solely on human labels. Using five-fold cross-validation on the 35 expert-reviewed pairs, where each fold utilized 28 pairs for training and seven for testing across the individual dosimetrists, the expert-trained models achieved an average accuracy of 0.762 and an F1 score of 0.790. The language model-supervised model demonstrated superior agreement with clinical majority preferences while bypassing the requirement for thousands of manual human evaluations. Because the Bradley-Terry preference framework operates strictly on score differences, adding a constant value to both evaluated plans does not change their relative preference ordering, ensuring that the derived scores function robustly for ranking alternative candidate treatment geometries for a given patient anatomy rather than serving as absolute inter-patient quality measures.
To interpret the inner mechanics of the neural
To interpret the inner mechanics of the neural scoring model, the investigators computed SHAP attribution values across all generated treatment plans. Lung V20Gy and heart mean dose exhibited the largest absolute SHAP contributions, followed by maximum dose to the esophagus and maximum dose to the spinal cord. In contrast, the planning target volume maximum dose demonstrated relatively low attribution, an effect that was not attributable solely to target coverage normalization. The directional behavior of the SHAP values aligned with clinical logic, where reductions in lung V20Gy and heart mean dose drove plan quality scores higher. However, the model also associated higher lung V5Gy and esophageal mean dose with positive SHAP contributions under specific trade-offs, reflecting mathematical properties of the fitted network rather than expert endorsement of elevated normal tissue exposure. Analysis of feature priority ranks confirmed that lung V20Gy consistently held the highest priority across generated plans, with lung mean dose and heart mean dose also frequently maintaining top ranks.
The researchers also generated two-dimensional trade-off curves by perturbing one dose-volume metric while adjusting a second metric to keep the overall predicted plan score constant, revealing approximately linear trade-off relations in the neighborhood of balanced clinical plans. To investigate why expert reviewers split on certain cases, the study evaluated a feature dominance ratio measuring whether differences in SHAP attributions were disproportionately concentrated in a single organ metric. A two-sided Wilcoxon rank-sum test between consensus plans and split-decision plans yielded a p-value of 0.38, indicating that attribution concentration did not statistically correlate with expert disagreement in this sample. The authors noted several limitations, emphasizing that the study was retrospective, limited to a single center, evaluated on 35 human-labeled pairs, and restricted to ten discrete dose-volume metrics. The scoring model omitted three-dimensional spatial dose distributions, plan deliverability, multileaf collimator leaf sequencing complexity, and anatomical contouring variations, and its scores were not directly calibrated to clinical tumor control or patient toxicity outcomes. The authors concluded that while language model supervision offers an efficient architecture for modeling plan preferences, clinical translation requires broader validation across external cohorts and strict human oversight.
Subject of Research: Large language model supervision for radiotherapy plan quality scoring in stage III non-small cell lung cancer
Article Title: Treatment plan quality scoring model based
Article Title: Treatment plan quality scoring model based on LLM-supervised pairwise preferences for locally advanced non-small cell lung cancer
Article References: Zhang, J., Lei, Y., Tam, J., Yu, A., Chen, S., Samstein, R., Rosenzweig, K. E., Chao, M., Liu, T., & Xia, J. (2026). Treatment plan quality scoring model based on LLM-supervised pairwise preferences for locally advanced non-small cell lung cancer. Frontiers in Oncology, 16, Article 1967196. https://doi.org/10.3389/fonc.2026.1967196
Keywords: non-small cell lung cancer, radiotherapy treatment planning, pairwise preference learning, large language models, Llama 3.3, volumetric modulated arc therapy, radiation oncology, RapidPlan, Bradley-Terry model, SHAP analysis, organs at risk, lung V20Gy, heart mean dose, dosimetry, radiation pneumonitis, esophagitis, neural networks
News. Model Trained on Language Model Evaluations Predicts Lung Cancer Radiotherapy Plan Preferences. Scienmag
