ORIGINAL RESEARCH article

Front. Oncol., 21 July 2026

Sec. Radiation Oncology

Volume 16 - 2026 | https://doi.org/10.3389/fonc.2026.1833763

Multitask learning for early treatment response and survival prediction in lung cancer radiotherapy using sequential CBCT imaging

  • YL

    Yumei Li 1

  • ZW

    Zhouji Wei 2

  • CL

    Chenlong Luo 3

  • YG

    Yejun Gong 4

  • YZ

    Ye Zhang 3

  • FZ

    Feng Zhang 3

  • CL

    Chunyan Liu 3*

  • 1. The Second Affiliated Hospital of Guangxi University of Traditional Chinese Medicine, Nanning, China

  • 2. Department of Radiotherapy, Guangxi Zhuang Autonomous Region Ethnic Hospital, Nanning, China

  • 3. Affiliated Hengyang Hospital of Hunan Normal University & Hengyang Central Hospital, Hengyang, Hunan, China

  • 4. Key Laboratory of Computing and Stochastic Mathematics, School of Mathematics and Statistics, Hunan Normal University, Changsha, Hunan, China

Abstract

Background:

Adaptive radiotherapy requires early prediction of treatment response and survival, yet the optimal use of longitudinal cone-beam computed tomography (CBCT) imaging and modeling strategy for small cohorts remains unclear.

Purpose:

To develop a multitask deep learning framework for simultaneous treatment response classification and progression-free survival (PFS) prediction using planning computed tomography (CT), dose, and sequential CBCT, and to evaluate the impact of including different numbers of early CBCT time points on prediction performance within an incremental analysis framework.

Methods:

A total of 142 lung cancer patients were retrospectively analyzed. A lightweight network with cross-modal attention fusion and dual task heads for treatment response classification and Cox-based survival prediction was trained end-to-end and benchmarked against 12 baseline methods via 5-fold cross-validation.

Results:

Using only the first on-treatment CBCT, the model achieved an area under the receiver operating characteristic curve (AUC) of 0.858 ± 0.078 and a concordance index (C-index) of 0.672 ± 0.058, outperforming all baselines. Ablation analysis confirmed the contributions of attention fusion and multitask training. Additional CBCT scans degraded classification performance, likely due to increased dimensionality relative to the cohort size.

Conclusions:

The first on-treatment CBCT provided the strongest early predictive signal for treatment response classification in this cohort; adding subsequent scans degraded classification performance and produced only a marginal change in survival concordance under the current study setting.

1 Introduction

Lung cancer remains the most frequently diagnosed cancer and the leading cause of cancer-related mortality worldwide, with 2.48 million new cases and 1.8 million deaths in 2022 (). Definitive chemoradiotherapy is a cornerstone treatment for locally advanced non-small cell lung cancer (NSCLC), yet treatment response varies substantially: approximately 30%–50% of patients experience disease progression within 2 years despite aggressive multimodal therapy (, ). Early identification of patients at high risk of treatment failure would enable timely adaptation, including dose escalation, field modification, or addition of systemic agents. However, traditional prognostic models based on clinical variables and TNM staging fail to capture the biological heterogeneity that underlies individual treatment response ().

Radiomics—the high-throughput extraction of quantitative imaging features—has emerged as a promising approach for non-invasive tumor phenotyping and personalized outcome prediction (, ). In lung cancer, CT-based radiomic signatures have demonstrated prognostic value for overall survival and recurrence following radiotherapy (, ). Beyond pretreatment imaging, delta-radiomics—tracking feature changes across serial scans—provides additional information about treatment-induced tumor dynamics. Fave et al. () showed that intratreatment CT radiomic features changed significantly during radiation therapy and that end-of-treatment texture features stratified recurrence risk in stage III NSCLC. Recent studies have further explored the predictive value of delta-radiomics in advanced NSCLC patients undergoing immunotherapy (, ). Cone-beam computed tomography (CBCT), routinely acquired during image-guided radiotherapy for positioning verification, offers an accessible source of longitudinal imaging without additional radiation burden (). van Timmeren et al. () demonstrated that CBCT-derived radiomic signatures maintained prognostic value comparable to planning CT (C-index 0.66 vs. 0.69), establishing CBCT radiomics as a feasible monitoring tool. However, the number of early CBCT time points to include for prediction modeling and how best to integrate sequential imaging information remain open questions, especially in the context of treatment outcome prediction during radiotherapy (, ).

The rationale for extracting predictive features from the earliest on-treatment CBCT rests on the biology of early radiation response. Within the first 1 to 2 weeks of fractionated radiotherapy, tumors begin to exhibit measurable changes in density and volume that reflect the underlying radiosensitivity of the irradiated tissue, often before anatomic shrinkage becomes evident on conventional response assessment. Wen et al. () showed that CBCT-derived tumor density (CT number) and volume variations during chemoradiotherapy differed significantly between responders and non-responders in advanced NSCLC, with discriminative changes emerging in the early-to-mid treatment course. Mechanistically, early reductions in tumor CT number have been attributed to radiation-induced apoptotic cell loss and changes in tumor blood volume and microenvironment, and the magnitude of these imaging changes has been linked to intrinsic radiosensitivity; serial CT texture features likewise change measurably and dose-dependently during thoracic irradiation (, ). Consistent with this biology, early tumor shrinkage during concurrent chemoradiotherapy is an independent prognostic factor for both progression-free and overall survival in stage III NSCLC (), and CBCT-based tumor regression during definitive chemoradiation is significantly associated with survival (). Because standard RECIST assessment is typically performed 2 to 3 months after treatment, it cannot capture these early dynamics (). The first on-treatment CBCT is particularly attractive in this regard: acquired in the actual treatment position, it captures the initial tumor burden together with the earliest treatment-related changes, providing a biologically grounded and clinically practical basis for early outcome prediction.

Recent advances have introduced increasingly sophisticated modeling approaches for treatment outcome prediction. DeepSurv () extended the Cox proportional hazards model with deep neural networks, achieving a C-index of 0.68 on large-scale datasets. CerviPro () fused pre- and post-treatment CT, radiomic features, and clinical variables through multimodal deep learning, reporting a C-index of 0.81 for cervical cancer prognostication. For longitudinal imaging, Jalalifar et al. () applied convolutional gated recurrent units (Conv-GRU) to sequential MRI for brain metastasis response prediction, demonstrating improved accuracy with additional follow-up scans. In lung cancer, specifically, Hosny et al. () trained a 3D CNN across seven independent datasets, achieving an AUC of 0.70 for a 2-year survival prediction. A common limitation of these methods is that they address classification or survival prediction in isolation. Multitask learning, which jointly models related outcomes through shared representations, has shown promise for improving performance in cancer prognosis (, ). Recent frameworks have integrated classification and survival tasks to enhance predictive stability in various cancers (). Yet multitask approaches have rarely been applied to CBCT-based radiotherapy outcome prediction, and the integration of sequential CBCT features within a multitask deep learning framework remains unexplored. From a practical perspective, lightweight models are especially well suited to radiotherapy research, where longitudinal CBCT analysis can rapidly inflate feature dimensionality while cohort sizes often remain limited. In this setting, parsimonious models may offer greater robustness, facilitate clinical deployment, and improve reproducibility.

This study addresses these gaps by proposing a lightweight multitask deep learning framework for the joint prediction of treatment response and progression-free survival using planning CT, dose, and CBCT with cross-modal attention, by investigating how the number of early CBCT time points used as model inputs affects prediction performance through incremental analysis, and by benchmarking the proposed method against state-of-the-art multimodal deep learning and survival analysis models. The proposed framework consists of a shared encoder and two task-specific heads for classification and Cox-based survival prediction, trained end-to-end with joint optimization. We hypothesized that the earliest on-treatment CBCT would carry the dominant early predictive signal and that, given the moderate cohort size, appending additional sequential scans would increase input dimensionality faster than it adds independent information. This hypothesis, together with the competitiveness of the proposed framework relative to the baselines, is examined quantitatively in Section 3.

2 Materials and methods

2.1 Patient population and data collection

This retrospective study was conducted at Affiliated Hengyang Hospital and included 142 patients with histologically confirmed lung cancer who received definitive thoracic radiotherapy between January 2019 and December 2023. The study was approved by the institutional review board, and the requirement for informed consent was waived due to the study’s retrospective nature. Inclusion criteria were pathologically confirmed lung cancer, planned definitive radiotherapy with or without systemic therapy, availability of planning CT, radiation treatment plan, and at least one CBCT scan during treatment, as well as complete clinical and follow-up data. Patients with prior thoracic radiotherapy, incomplete imaging data, loss to follow-up within 6 months of treatment completion, or concurrent malignancies were excluded. During the study period, consecutive patients treated with definitive thoracic radiotherapy were screened; those who satisfied all inclusion criteria and none of the exclusion criteria, and for whom complete planning CT, treatment plan/dose, at least one on-treatment CBCT, and follow-up data were available, constituted the final analytic cohort of 142 patients. All patients had locally advanced (stage III) disease and were treated with conventionally fractionated thoracic radiotherapy (planned prescription dose 50–66 Gy, most commonly 60 Gy in 30 fractions; further detailed in Section 2.2). Follow-up was performed according to institutional practice with periodic clinical and imaging assessment after treatment completion.

Clinical variables collected included age, sex, Eastern Cooperative Oncology Group (ECOG) performance status, tumor histology, TNM stage (8th edition), T stage, N stage, systemic treatment regimen, radiation dose and fractionation, number of available CBCT scans, treatment response, and PFS. Tumor location and laterality were extracted from diagnostic and pathological records where available. Pretreatment evaluation generally included pathological confirmation, diagnostic chest CT or contrast-enhanced CT, routine staging workup, and clinical assessment before radiotherapy. Pretreatment positron emission tomography/computed tomography (PET/CT), smoking history, driver mutations, genetic alterations, and protein-expression biomarkers such as programmed death-ligand 1 (PD-L1) expression were not systematically available or consistently recorded for all patients in this retrospective cohort. Therefore, these variables were not included in model development or statistical analysis.

Treatment response was assessed using Response Evaluation Criteria in Solid Tumors version 1.1 (RECIST 1.1) at approximately 3 months after treatment, classifying patients as responders (complete or partial response) or non-responders (stable or progressive disease). PFS was defined as the time from treatment initiation to disease progression or death from any cause, with censoring at last follow-up; the median follow-up duration was 47.3 months (range: 6–84 months). Patient demographics and clinical characteristics are summarized in Table 1; the descriptive comparison of these characteristics between responders and non-responders is reported in the Results (Section 3.1).

Table 1

CharacteristicTotal cohort (n = 142)Responders (n = 102)Non-responders (n = 40)P-value
Age, years0.166a
 Mean ± SD63.5 ± 7.563.1 ± 8.164.8 ± 5.8
 Median (range)64 (42–79)64 (42–79)63 (49–76)
Sex, n (%)1.000b
 Male134 (94.4)96 (94.1)38 (95.0)
 Female8 (5.6)6 (5.9)2 (5.0)
ECOG PS, n (%)0.150b
 02 (1.4)0 (0.0)2 (5.0)
 1138 (97.2)100 (98.0)38 (95.0)
 22 (1.4)2 (2.0)0 (0.0)
Clinical stage, n (%)0.007b
 IIIA46 (32.4)26 (25.5)20 (50.0)
 IIIB62 (43.7)46 (45.1)16 (40.0)
 IIIC34 (23.9)30 (29.4)4 (10.0)
T stage, n (%)0.456b
 T112 (8.5)10 (9.8)2 (5.0)
 T232 (22.5)20 (19.6)12 (30.0)
 T326 (18.3)18 (17.6)8 (20.0)
 T472 (50.7)54 (52.9)18 (45.0)
N stage, n (%)<0.001b
 N06 (4.2)2 (2.0)4 (10.0)
 N118 (12.7)10 (9.8)8 (20.0)
 N268 (47.9)44 (43.1)24 (60.0)
 N350 (35.2)46 (45.1)4 (10.0)
Histology, n (%)0.720b
 Squamous cell carcinoma78 (54.9)54 (52.9)24 (60.0)
 Adenocarcinoma34 (23.9)26 (25.5)8 (20.0)
 Other/NOS30 (21.1)22 (21.6)8 (20.0)
Treatment response, n (%)
 Partial response (PR)102 (71.8)
 Stable disease (SD)36 (25.4)
 Progressive disease (PD)4 (2.8)
PFS, months<0.001c
 Median (range)15.5 (3.7–49.2)19.6 (4.8–49.2)9.9 (3.7–28.7)
PFS event, n (%)98 (69.0)62 (60.8)36 (90.0)
CBCT scans per patient0.253c
 Mean ± SD3.8 ± 1.03.8 ± 1.03.9 ± 1.1
 Median (range)4 (1–7)4 (2–7)4 (1–6)

Summary of clinical data for the total cohort.

The p-value for treatment response is not applicable because this variable defines the response/non-response grouping; PFS event status is reported descriptively because PFS is a time-to-event outcome and is compared between groups using PFS measured in months. All 142 patients had complete imaging data and were included in the analysis.

a

Independent samples t-test.

b

Chi-squared test or Fisher’s exact test.

c

Mann–Whitney U test.

Best results in bold.

2.2 Treatment planning and imaging protocol

All patients underwent CT simulation using a large-bore CT scanner in the treatment position with individualized immobilization. The planning CT images used for analysis were reconstructed with a 5.0-mm slice thickness. Gross tumor volume (GTV) and clinical target volume were delineated by the treating radiation oncologist based on simulation CT, available diagnostic imaging, pathological diagnosis, and clinical staging information. Treatment fields covered the primary tumor and clinically involved nodal regions according to institutional practice. Detailed nodal-region-level irradiation records and target-volume summaries were not systematically available in the retrospective dataset.

The available treatment records provided planned prescription dose information. Patients generally received conventionally fractionated thoracic radiotherapy, with planned total prescription doses ranging from 50 to 66 Gy and most commonly centered approximately 60 Gy. Because actual delivered dose records and treatment interruptions were not uniformly available in the retrospective dataset, planned prescription dose was reported rather than delivered dose. Three-dimensional dose distributions were calculated using the treatment planning system (Eclipse) and exported in DICOM RT Dose format at the same spatial resolution as the planning CT.

CBCT images were acquired using an on-board imaging system integrated with the linear accelerator (Varian TrueBeam or equivalent) for image-guided radiotherapy. CBCT was performed before each treatment fraction for patient positioning verification. Acquisition parameters included 125 kVp, approximately 268 mAs (15 mA tube current with an exposure time of approximately 17.9 s), half-fan acquisition mode, and a reconstruction matrix of 512 × 512, yielding an in-plane pixel spacing of approximately 0.91 mm and a slice thickness of approximately 2.0 mm. This study focused on early CBCT images acquired within 1–2 weeks after treatment initiation, representing the earliest available on-treatment imaging assessment; the first such scan is hereafter referred to as the first on-treatment CBCT (CBCT1). In this retrospective dataset, only CBCT scans with complete retrievable DICOM image data and corresponding clinical records were included for analysis, yielding 540 analyzable CBCT scans across all patients, with a median of 4 scans per patient (range: 1–7).

All CBCT images were resampled to match the spatial resolution and coordinate system of the planning CT by first standardizing all images to LPS (left-posterior-superior) orientation, then performing direct resampling to the planning CT coordinate system using SimpleITK with linear interpolation and a default pixel value of −1,000 HU. This approach avoided the need for separate deformable image registration, as CBCT images are inherently acquired in the same coordinate frame as the planning CT within the image-guided radiotherapy workflow. Visual inspection of all registered images was performed to verify spatial alignment. The GTV delineated on the planning CT was propagated to all CBCT images without modification to avoid variability introduced by repeated segmentation. CBCT was used in this study for early imaging phenotype extraction rather than for direct manual measurement of exact tumor shrinkage. Because CBCT has lower soft-tissue contrast than diagnostic CT and may be affected by atelectasis, obstructive inflammation, scatter artifacts, and treatment-related inflammatory changes, the propagated GTV on CBCT should not be interpreted as an exact tumor boundary. Accordingly, CBCT-derived features were interpreted as quantitative measurements within the planned tumor region after image registration.

2.3 Feature extraction strategy

From the planning CT, we extracted 107 radiomic features within the GTV using PyRadiomics, spanning three conceptual families: shape descriptors (e.g., voxel and mesh volume, surface area, surface-to-volume ratio, sphericity, principal axis lengths, and maximum 2D/3D diameters), first-order intensity statistics (e.g., mean, standard deviation, percentiles, interquartile range, energy, entropy, uniformity, skewness, and kurtosis of Hounsfield units), and gray-level texture features from the GLCM, GLDM, GLRLM, GLSZM, and NGTDM matrices. This comprehensive pool is subsequently pruned by the within-fold selection pipeline described in Section 2.4 to guard against the curse of dimensionality. From the 3D dose distribution, we computed 10 dose-volume histogram (DVH) parameters within the GTV: the mean, minimum, maximum, and standard deviation of the GTV dose; the dose delivered to 2%, 5%, 50%, 95%, and 98% of the GTV volume (D2, D5, D50, D95, D98); and the dose homogeneity index defined as (D5 − D95)/D50.

A critical methodological question in longitudinal imaging analysis is how to represent temporal CBCT information. We systematically evaluated three strategies and adopted a hybrid approach that avoids systematic CT–CBCT bias while preserving treatment-induced dynamics. The first strategy computed delta features between each CBCT and the planning CT, but CBCT images exhibit systematic HU bias from scatter artifacts and beam hardening, introducing artifactual differences unrelated to biological change. The second strategy computed sequential deltas between consecutive CBCTs, but the first CBCT delta still contained systematic CT–CBCT bias. The adopted hybrid approach is formalized below.

2.3.1 First on-treatment CBCT static features

For the first on-treatment CBCT (i = 1), absolute measurements are extracted directly within the GTV mask Ω, treating it as a new imaging baseline independent of the planning CT and thereby circumventing systematic HU differences. Let I1(v) denote the voxel intensity and D(v) the local dose at voxel v. The static feature vector includes:

  • Volume: V1 = |Ω| · Δv, where |Ω| is the voxel count and Δv the voxel volume.

  • First-order intensity statistics: mean , standard deviation , median, minimum, maximum, and interquartile range of HU values, with the interquartile range computed from the 25th and 75th percentiles.

  • Texture descriptors: entropy , where p1(b) is the normalized histogram bin frequency; energy computed over raw HU values; and uniformity computed over the normalized histogram.

  • Higher-order statistics: skewness and excess kurtosis .

  • Dose-weighted features: dose-weighted mean HU , dose-weighted standard deviation, and mean dose–HU product, which capture the interaction between dose deposition and tissue density.

2.3.2 Sequential delta features

For subsequent CBCTs (i ≥ 2), interscan changes are computed to capture treatment-induced tumor dynamics while avoiding CT–CBCT systematic bias:

where is the j-th feature from the i-th CBCT scan. When ncbct ≥ 3 time points are available, temporal summary statistics are derived from the delta sequence as shown in Equations 13:

where τi denotes the acquisition time of the i-th scan, and and are the means of and over , respectively. The cumulative feature set for the primary analysis (ncbct = 1) thus comprised 20 planning CT features, 10 dose features, and 15 CBCT1 static features, totalling d = 45 features. For incremental configurations (ncbct ≥ 2), the input dimensionality grows accordingly as interscan delta features and, when at least three time points are available, the temporal summary statistics defined above are appended.

2.4 Multitask learning framework

We propose a lightweight deep learning network that jointly predicts treatment response and progression-free survival in an end-to-end manner. As illustrated in Figure 1, the architecture consists of four stages: (1) source-specific embedding, where each input modality (planning CT radiomics, dosimetric features, and CBCT features) is independently projected into a common latent space via dedicated linear layers with layer normalization; (2) cross-modal attention fusion, where a gated attention mechanism learns patient-specific modality importance weights and produces a unified multimodal representation; (3) a shared encoder that refines the fused representation into task-agnostic latent features; and (4) two task-specific prediction heads —a classification head outputting treatment response probability and a survival head outputting a Cox log-risk score. The entire network is trained with a composite loss that couples binary cross-entropy and Cox partial log-likelihood, enabling gradient flow across both tasks through the shared layers.

Figure 1

Formally, let denote the dataset of N = 142 patients, where is the d-dimensional multisource feature vector (d = 45), is the binary treatment response label, ti > 0 is the observed time (PFS or censoring time), and is the event indicator (δi = 1 if progression observed). The multisource feature vector is constructed as , where , , and represent planning CT radiomic, dosimetric, and first on-treatment CBCT features, respectively. The detailed formulation of each component is described below.

2.4.1 Preprocessing

Prior to network input, each feature dimension is normalized by a robust standardization operator , defined as , where medianj and IQRj are computed exclusively on training data within each cross-validation fold. This interquartile range scaling provides robustness to outliers that are common in radiomic feature distributions. Missing values are imputed with training-set medians prior to standardization.

2.4.2 Feature selection

For the primary first on-treatment CBCT analysis, the candidate feature set comprised 107 planning CT radiomic features, 10 GTV-based DVH parameters, and 15 CBCT1 static features. To mitigate the curse of dimensionality given the moderate sample size (N = 142), a three-step within-fold selection pipeline was applied: (1) near-zero-variance features (std< 0.01 after scaling) were removed; (2) among highly correlated feature pairs (Pearson ), the feature with the lower univariate association with the treatment response label was discarded; (3) the remaining candidates were ranked per modality by ANOVA F-statistic (SelectKBest), retaining 20 CT, 10 dosimetric, and 15 CBCT1 features within each fold. This yielded a compact 45-dimensional input vector while preserving source-specific discriminative information. Feature selection was performed exclusively on training data within each cross-validation fold to prevent information leakage. In particular, the ANOVA F-statistic computation and feature ranking were repeated independently within every training fold rather than applied once to a globally pre-ranked feature list. Feature-selection stability across the five folds, quantified as the number of folds in which each retained feature was selected, is reported in the Results (Section 3.1, Figure 2).

Figure 2

2.4.3 Source-specific feature embedding

To account for the heterogeneous statistical distributions of the three input modalities, each source is independently projected into a common embedding space of dimension p as shown in Equations 46:

where ReLU(·) = max(0,·), LN(·) denotes layer normalization (), and p = 16 is the embedding dimension. Each modality-specific projection learns its own feature abstraction before cross-modal interaction, preventing scale mismatches between radiomics, dosimetric, and CBCT features.

2.4.4 Cross-modal attention fusion

Rather than simple concatenation, we employ a gated attention mechanism that learns the relative importance of each modality adaptively for each patient. Let denote the set of sources. The attention weight for source s is shown in Equations 7, 8:

where , , and are learnable parameters. As shown in Equation 9, the fused multimodal representation is obtained as the attention-weighted sum.

This mechanism enables the model to automatically allocate greater weight to the most informative modality on a per-patient basis, providing inherent interpretability of each source’s predictive contribution.

2.4.5 Shared encoder

The fused representation is further refined through a shared fully connected layer that produces task-agnostic latent features as shown in Equation 10:

where , q = 16, and the dropout rate is 0.3. This shared bottleneck ensures that both downstream tasks operate on a common latent space, enabling implicit knowledge transfer between the classification and survival objectives through end-to-end gradient propagation.

2.4.5.1 Task 1: treatment response classification

The classification head maps the shared representation to a treatment response probability through a lightweight subnetwork as shown in Equations 11, 12:

where σ(·) is the sigmoid function. The classification loss is the weighted binary cross-entropy as shown in Equation 13:

where wc = N/(2Nc) is the inverse-frequency class weight compensating for the imbalance between responders (N1 = 102) and non-responders (N0 = 40).

2.4.5.2 Task 2: progression-free survival prediction

The survival head estimates a log-risk score for each patient through a parallel subnetwork, as shown in Equations 14, 15.

Under the Cox proportional hazards assumption, the hazard function is modeled as h(t | zi) = h0(t)exp(ri), where h0(t) is the unspecified baseline hazard. The survival loss is the negative Cox partial log-likelihood with Breslow approximation for tied event times as shown in Equation 16:

where is the risk set at time ti and is the set of uncensored observations. The risk score exp(ri) is used directly for concordance evaluation; for clinical risk stratification, patients are dichotomized into high-risk and low-risk groups at the median predicted risk.

2.4.6 Joint optimization

The two tasks are coupled through end-to-end optimization of a composite loss as shown in Equation 17:

where α ∈ [0,1] controls the relative task importance, λ is the 2 regularization strength, and θ denotes all learnable parameters. Unlike modular approaches that train task-specific models independently on a shared feature subset, this formulation enables gradients from both classification and survival objectives to flow through the shared encoder and attention fusion layers, encouraging the network to learn a representation that is simultaneously discriminative for treatment response and prognostic for survival. We set α = 0.5 and λ = 10−4. The network is optimized using AdamW () with a learning rate of 5 × 10−4, weight decay 10−4, and (β12) = (0.9,0.999). Training proceeds for a maximum of 200 epochs with early stopping (patience = 20) monitored on the combined validation loss. The total number of trainable parameters is approximately 1,750, corresponding to roughly 12 parameters per patient across the full cohort (N = 142), which is well within a conservative regime for this sample size and is consistent with the design goal of a lightweight, regularization-friendly architecture.

2.4.7 Cross-validation protocol

Model evaluation follows a 5-fold stratified cross-validation protocol. Let denote the training/validation partitions, with stratification on y to preserve class proportions across folds (≈114 training and ≈28 test samples per fold). Within each fold m, a strict information isolation protocol is enforced: the robust standardization operator ϕ(m) is fitted on only, and the entire network (embedding layers, attention, shared encoder, and both task heads) is trained exclusively on standardized training features . Test-set predictions are generated by applying ϕ(m) to and performing a forward pass through the trained network. This protocol ensures that no information from the held-out fold leaks into model training at any stage, providing unbiased estimates of generalization performance.

2.4.8 Implementation and reproducibility

All experiments were implemented in Python 3.10. Radiomic features were extracted with PyRadiomics 3.1.0 using IBSI-compliant feature definitions; prior to feature computation, images were resampled to the planning CT geometry, Hounsfield unit intensities were discretized with a fixed bin width of 25 HU, and identical extraction settings were applied to all modalities and time points. Image input/output and resampling were performed with SimpleITK 2.3.1 (NumPy 1.26.4); feature scaling and selection used scikit-learn 1.3.2; survival baselines used lifelines 0.27.8 and scikit-survival 0.22.2; and the proposed network was implemented in PyTorch 2.1.2 (CUDA 12.1). To ensure reproducibility, a fixed global random seed (seed = 42) was used for cross-validation partitioning, weight initialization, and all stochastic operations, and the five stratified folds were generated once and shared identically across the proposed model and all baselines. Model training was performed on a single NVIDIA H20 GPU (96 GB); owing to the lightweight architecture, end-to-end training required less than 1 min per fold. Source code and feature-extraction definitions are available from the corresponding author upon reasonable request.

3 Experimental results

3.1 Cohort characteristics

The clinical and demographic characteristics of the 142-patient cohort are summarized in Table 1. Based on RECIST 1.1 criteria, 102 patients (71.8%) were classified as responders and 40 (28.2%) as non-responders. The two groups were comparable in age (p = 0.166), sex distribution (p = 1.000), ECOG performance status, T stage (p = 0.456), histological type (p = 0.720), and number of CBCT scans (p = 0.253). Clinical stage (p = 0.007) and N stage (p< 0.001) differed significantly between groups, with responders showing a higher proportion of advanced N3 disease and stage IIIC. This imbalance should be interpreted cautiously because response was defined by RECIST-based anatomic change rather than baseline disease severity, and residual confounding may remain in this retrospective cohort. Responders also demonstrated significantly longer PFS than non-responders (median 19.6 vs. 9.9 months, p< 0.001).

We also assessed the stability of the within-fold feature-selection pipeline across the five cross-validation folds (Figure 2). For CT radiomics, exactly 20 features were retained in each fold; across the five folds, the union of selected CT features contained 23 unique features, of which 11 reached the consensus threshold of being selected in at least four of five folds.

The 10 GTV DVH features and 15 CBCT1 static features were retained in all folds because these were predefined compact modality-specific inputs in the primary model.

3.2 Experimental setup

To comprehensively evaluate the proposed multitask framework, we conducted comparisons across both treatment response classification and PFS prediction tasks.

For the treatment response classification task, the proposed model was benchmarked against state-of-the-art deep learning methods for multimodal medical imaging: DeepMMIF (), MDLM (), M2Fusion (), DeepRadiomics (), and DeepSurv (classification head) (). For the PFS prediction task, the model was evaluated against both classical and deep survival analysis methods: Cox proportional hazards (Cox-PH) (), L1-penalized Cox-Lasso (), random survival forest (RSF) (), gradient boosting survival (GB Survival) (), MultiDeepsurv (), Deep-SEA (), and RobSurv ().

All methods were evaluated using the same strict 5-fold stratified cross-validation protocol, identical fold partitions, and the same within-fold preprocessing and feature-selection pipeline described in Section 2.4, so that all methods received matched inputs. Hyperparameters for the baseline models were tuned by grid search nested within the training folds. The search grids were as follows: for Cox-Lasso, the 1 penalty strength over {10−3, 10−2, 10−1, 1}; for random survival forest, the number of trees over {100, 300, 500} and minimum samples per leaf over {3, 5, 10}; for gradient boosting survival, the learning rate over {0.01,0.05,0.1}, number of estimators over {100, 200}, and maximum depth over {2, 3}; and for the deep learning baselines, the learning rate over {10−4, 5×10−4, 10−3}, dropout over {0.2, 0.3, 0.5}, and hidden width over {16, 32}, all optimized with AdamW and early stopping under the same epoch budget as the proposed model. Classification performance was assessed using the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, and specificity. Survival prediction was evaluated using the concordance index (C-index), hazard ratio (HR) with 95% confidence intervals (CI), and log-rank tests from Kaplan–Meier curves.

3.3 Method comparison

3.3.1 Treatment response classification

As shown in Table 2 and Figure 3, the proposed model achieved the highest classification performance across all metrics, with an AUC of 0.858 ± 0.078. It outperformed recent multimodal deep learning architectures including Deep-MMIF (AUC 0.832) and MDLM (AUC 0.815), demonstrating that the cross-modal attention fusion mechanism effectively extracts complementary information from planning CT, dose, and first on-treatment CBCT. Notably, while DeepSurv () achieved a competitive AUC (0.837) driven by high sensitivity (0.882), its severely imbalanced specificity (0.450) limits its clinical reliability. In contrast, our method maintained well-balanced sensitivity (0.785) and specificity (0.700), yielding the highest overall accuracy.

Table 2

MethodAUCAccuracySensitivitySpecificity
Ours0.858 ± 0.0780.760 ± 0.0740.785 ± 0.0700.700 ± 0.187
Deep-MMIF ()0.832 ± 0.0820.751 ± 0.0750.840 ± 0.0850.550 ± 0.150
MDLM ()0.815 ± 0.0910.742 ± 0.0880.812 ± 0.0900.520 ± 0.180
M2Fusion ()0.798 ± 0.0950.725 ± 0.0820.795 ± 0.0950.500 ± 0.210
DeepRadiomics ()0.785 ± 0.1050.710 ± 0.0950.780 ± 0.1100.480 ± 0.230
DeepSurv ()0.837 ± 0.0900.760 ± 0.0740.882 ± 0.0980.450 ± 0.100

Treatment response classification comparison.

Best results in bold.

Figure 3

3.3.2 Progression-free survival prediction

For PFS prediction, the results are summarized in Table 3. The proposed model yielded a superior C-index of 0.672 ± 0.058, outperforming both traditional survival methods (RSF C-index 0.625; Cox-Lasso C-index 0.641) and recent deep learning survival architectures such as MultiDeepsurv (C-index 0.601) and RobSurv (C-index 0.611). Deep learning baselines exhibited notably larger variance (e.g., Deep-SEA std ±0.102), a hallmark of complex models overfitting on limited sample sizes. In contrast, the joint optimization in our multitask framework acts as an implicit regularizer, preserving generalization capability even with N = 142.

Table 3

MethodC-indexHR (95% CI)Log-rank p
Ours0.672 ± 0.0582.45 (1.52–3.95)0.0012
Cox-PH ()0.618 ± 0.0721.89 (1.18–3.02)0.0085
Cox-Lasso ()0.641 ± 0.0652.12 (1.33–3.38)0.0035
RSF ()0.625 ± 0.0811.78 (1.12–2.83)0.0156
GB Survival ()0.632 ± 0.0701.95 (1.22–3.12)0.0062
MultiDeepsurv ()0.601 ± 0.0951.65 (1.03–2.64)0.0382
Deep-SEA ()0.587 ± 0.1021.52 (0.95–2.43)0.0812
RobSurv ()0.611 ± 0.0881.72 (1.08–2.74)0.0245

Progression-free survival prediction comparison.

Best results in bold.

Figure 4 presents the hazard ratios for the high-risk versus low-risk groups across all survival methods. The proposed model achieved the largest HR (2.45, 95% CI 1.52–3.95), confirming its superior risk stratification capability. Figure 5 shows the Kaplan–Meier curves for patients stratified by the median predicted risk score. The median PFS was significantly shorter in the high-risk group (log-rank p = 0.0012), supporting the clinical utility of the model for early treatment adaptation decisions.

Figure 4

Figure 5

3.4 Ablation study

To quantify the contribution of each modality and architectural component, we performed a two-level ablation analysis on the same 5-fold protocol (Table 4). The first level evaluates progressive modality fusion (CT only, CT + Dose, CT + Dose + CBCT1). The second level evaluates the impact of task coupling and attention fusion (single-task classifier, multitask without attention, and the full proposed model).

Table 4

ConfigurationAUCAccuracySensitivitySpecificityC-index
CT only0.788 ± 0.0950.704 ± 0.0830.752 ± 0.0910.600 ± 0.1950.583 ± 0.089
CT + Dose0.812 ± 0.0880.725 ± 0.0780.774 ± 0.0850.630 ± 0.1720.612 ± 0.075
All (ST)0.838 ± 0.0840.741 ± 0.0750.792 ± 0.0820.650 ± 0.1580.635 ± 0.071
All (MT, no attn.)0.847 ± 0.0810.750 ± 0.0730.778 ± 0.0780.680 ± 0.1630.651 ± 0.064
All (ours)0.858 ± 0.0780.760 ± 0.0740.785 ± 0.0700.700 ± 0.1870.672 ± 0.058

Ablation study for modality contribution and architecture design.

All denotes CT + Dose + CBCT1. ST = two independent single-task models, MT = multitask joint training.

Best results in bold.

The modality-level ablation shows that progressively adding modalities improves predictions: AUC increases from CT only to CT + Dose and further improves after incorporating CBCT1. At the architecture level, removing the attention fusion module (C-index 0.651 vs. 0.672) degrades both classification and survival performance, indicating that adaptive modality weighting is beneficial for heterogeneous multisource inputs. Compared with the single-task setting, the multitask formulation consistently improves calibration and specificity, supporting that response and PFS supervision provide complementary regularization in this cohort.

3.5 Incremental CBCT analysis

We further investigated whether additional sequential CBCT scans improve prediction by evaluating the model using cumulative features from 0 to 4+ time points (Table 5). Adding the first on-treatment CBCT yielded the best classification AUC (0.858) and a strong C-index (0.672). Further CBCT scans progressively degraded classification performance, likely reflecting the increased feature-to-sample ratio and the limited sample size under the current feature-engineering and modeling design. For survival prediction, the C-index showed a marginal improvement up to 3 CBCTs (0.685) before deteriorating, suggesting that longitudinal temporal changes offer minor additional prognostic insights but risk overfitting beyond the optimal temporal window. Figure 6 shows a representative planning CT and serial CBCT example from a patient with the cohort-median number of CBCT scans.

Table 5

CBCT fractionsAUCC-index
0 (CT + Dose only)0.812 ± 0.0880.612 ± 0.075
+1 CBCT0.858 ± 0.0780.672 ± 0.058
+2 CBCT0.831 ± 0.0850.679 ± 0.062
+3 CBCT0.798 ± 0.0920.685 ± 0.066
+4+ CBCT0.762 ± 0.1010.668 ± 0.078

Impact of incremental CBCT fractions on classification and survival performance.

Best results in bold.

Figure 6

4 Discussion

The proposed framework jointly models treatment response classification and progression-free survival prediction within a unified architecture. When incorporating the first on-treatment CBCT together with planning CT and dose distributions, the model achieved an AUC of 0.858 and a C-index of 0.672.

Our experimental results highlight the value of adaptive feature fusion in multimodal medical imaging. Comparisons with recent state-of-the-art architectures (Deep-MMIF (), MDLM ()) suggest that the proposed cross-modal attention mechanism is advantageous in this setting. Because individual patients may exhibit heterogeneous response patterns during radiotherapy, with some showing more informative early anatomical changes on CBCT and others being better characterized by planning CT radiomics or dose distributions, gated attention allows the model to adjust the relative importance of each modality on a per-patient basis. This adaptive weighting may also improve robustness to noisy or less informative inputs, which is supported by the performance reduction observed in the ablation study when attention was removed (C-index decreased from 0.672 to 0.651).

For survival prediction, classical regularized models demonstrated competitive and stable performance. Cox-Lasso () achieved the second-highest C-index (0.641) with moderate variance, and GB Survival () reached 0.632. These findings indicate that well-regularized linear or ensemble models remain strong baselines in moderate-sample settings. In contrast, specialized deep survival networks such as Deep-SEA () and MultiDeepsurv () exhibited lower performance and higher variance (e.g., Deep-SEA std 0.102) in this cohort of 142 patients, suggesting that their higher capacity may not translate into consistent gains under limited data conditions. Similarly, although the classification head of DeepSurv () achieved a competitive AUC (0.837), it showed markedly imbalanced specificity (0.450), indicating a high false-positive rate. By jointly optimizing a short-term categorical outcome (response) and a long-term temporal outcome (PFS) through a shared encoder, our framework may benefit from implicit cross-task regularization. The learned latent representation is encouraged to capture biologically meaningful patterns relevant to both endpoints, which may help reduce task-specific noise and improve the balance between sensitivity and specificity (0.785/0.700).

A notable finding of this study is that, for treatment response classification, the first on-treatment CBCT yielded better predictive performance than models incorporating additional subsequent CBCT scans, whereas for survival, the concordance index changed only marginally with additional time points. This observation should not be simply interpreted as indicating that later CBCT scans lack clinical value. From a clinical perspective, the first on-treatment CBCT may be particularly informative because it reflects the patient’s actual on-treatment anatomy at the start of radiotherapy, while also capturing initial tumor burden and early treatment-related changes. These characteristics may provide the most direct and robust signal for early prediction. By contrast, subsequent CBCT scans may still contain clinically meaningful complementary information, including the trajectory of tumor regression, treatment-related anatomical adaptation, and normal tissue response during the course of radiotherapy. However, in the present study, the additional discriminative gain from these later time points appeared to be limited for the classification task and did not further improve model performance. A possible explanation is that the accumulation of longitudinal features increased model complexity relative to the available sample size, making the added information more difficult to translate into measurable predictive benefit within the current framework. Therefore, a more appropriate interpretation is that the first on-treatment CBCT captured the major and most robust early predictive signal in this cohort, whereas subsequent CBCT scans provided supplementary rather than dominant information. This conclusion should be confined to the present study setting and should not be generalized to imply that later CBCT imaging has no clinical utility.

From a clinical perspective, the present findings support the feasibility of early risk stratification during radiotherapy using routine on-treatment imaging. Because standard response assessment is typically performed several months after radiotherapy, a model based on early-treatment imaging may provide a meaningful opportunity for earlier identification of patients at higher risk of poor response or progression. Such information could potentially support adaptive treatment strategies or closer monitoring during the treatment course. Nevertheless, the clinical utility of this approach should be further validated before translation into practice.

This study has several limitations. It was a single-institution retrospective study without external validation. CBCT-derived features should be interpreted as early imaging phenotype measurements rather than exact tumor-shrinkage measurements, because tumor boundaries may be affected by atelectasis, inflammation, and limited CBCT soft-tissue contrast. PET/CT, smoking history, molecular biomarkers, detailed delivered-dose information, and nodal/target-volume records were not systematically available. Future studies should validate these findings externally and integrate more complete imaging, treatment, and biomarker data.

5 Conclusion

This study introduces a multitask learning framework that jointly predicts treatment response and progression-free survival for lung cancer radiotherapy using multimodal imaging. Comparisons against modern deep learning and classical baseline models suggest that attention-guided joint optimization may help mitigate overfitting in moderate sample sizes. Incremental analysis showed that the first on-treatment CBCT provided the strongest early imaging phenotype signal for response classification in this cohort, whereas adding subsequent scans degraded classification performance and yielded only a marginal change in survival concordance. These findings support the feasibility of early risk stratification using routinely acquired CBCT, while future work should prioritize multi-institutional external validation, systematic PET/CT integration, adaptive tumor assessment, genomic and protein-expression biomarkers, and prospective clinical evaluation.

Statements

Data availability statement

The original contributions presented in the study are included in the article/supplementary material. Further inquiries can be directed to the corresponding author.

Ethics statement

The studies involving humans were approved by The Ethics Committee of HengYang Central Hospital. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants’ legal guardians/next of kin in accordance with the national legislation and institutional requirements. Written informed consent was obtained from the individual(s) for the publication of any potentially identifiable images or data included in this article.

Author contributions

YL: Data curation, Conceptualization, Methodology, Writing – original draft. ZW: Methodology, Writing – original draft, Conceptualization, Data curation. CLL: Data curation, Writing – review & editing. YG: Formal Analysis, Writing – review & editing, Funding acquisition. YZ: Writing – review & editing, Data curation. FZ: Writing – review & editing, Data curation. CYL: Project administration, Writing – review & editing, Methodology, Conceptualization.

Funding

The author(s) declared that financial support was received for this work and/or its publication. This work was supported by the Scientific Research Project of Hunan Provincial Department of Education (24C0013).

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was not used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Summary

Keywords

adaptive radiotherapy, cone-beam CT, multi-task learning, progression-free survival, radiomics, treatment response

Citation

Li Y, Wei Z, Luo C, Gong Y, Zhang Y, Zhang F and Liu C (2026) Multitask learning for early treatment response and survival prediction in lung cancer radiotherapy using sequential CBCT imaging. Front. Oncol. 16:1833763. doi: 10.3389/fonc.2026.1833763

Received

18 March 2026

Revised

24 June 2026

Accepted

30 June 2026

Published

21 July 2026

Volume

16 - 2026

Edited by

Salam Dhou, American University of Sharjah, United Arab Emirates

Reviewed by

Renáta Lilla Kószó, University of Szeged, Hungary

Mattia Falchetto Osti, Sapienza University of Rome, Italy

Qizhen Zhu, Peking Union Medical College Hospital (CAMS), China

Updates

Copyright

*Correspondence: Chunyan Liu,

†These authors have contributed equally to this work

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics