Next Article in Journal
Transforming the Management of Oligometastatic Non-Small Cell Lung Cancer in the Era of Immunotherapy and Targeted Therapy
Previous Article in Journal
Spinal Metastasis from Supratentorial Glioblastoma: A Registry-Based Case Series and a Review of the Literature
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting Immunotherapy-Induced Pneumonitis Based on Chest CT and Non-Imaging Data

1
Department of Radiology, Wake Forest University School of Medicine, Winston-Salem, NC 27103, USA
2
Department of Biomedical Engineering, Wake Forest University School of Medicine, Winston-Salem, NC 27103, USA
*
Authors to whom correspondence should be addressed.
Cancers 2025, 17(18), 2980; https://doi.org/10.3390/cancers17182980
Submission received: 12 August 2025 / Revised: 28 August 2025 / Accepted: 6 September 2025 / Published: 12 September 2025
(This article belongs to the Section Cancer Immunology and Immunotherapy)

Simple Summary

Immune checkpoint inhibitors improve survival in non-small cell lung cancer but carry a risk of post-surgical pneumonitis. This study presents a deep learning-embedded, multi-modality prediction approach to identify patients at risk of immune checkpoint inhibitors-related pneumonitis. The approach integrates three feature types: (1) deep learning features from pre-treatment CT scans using a pretrained vision transformer; (2) radiomic features extracted via predefined algorithms; (3) clinical data from patient records. Ten machine learning algorithms were evaluated, with the combined multimodal feature set achieving the highest performance. Results indicate that combining imaging-derived and clinical features yields superior predictions compared to single-modality models. This work demonstrates the feasibility of leveraging machine learning to enhance early detection of pneumonitis risk in non-small cell lung cancer patients receiving immune checkpoint inhibitors, potentially enabling timely clinical interventions and improved patient outcomes.

Abstract

Background/Objectives: Immune checkpoint inhibitors (ICIs) have been extensively used for the treatment of non-small cell lung cancer patients in recent years, providing a significant survival benefit. However, a major drawback of ICI-related immunotherapy is the risk of developing post-surgical pneumonitis. Methods: In this study, we propose a deep learning-embedded, multi-modality prediction approach to assess whether patients will develop ICI-pneumonitis after receiving ICI-based immunotherapy. This approach utilizes multi-modal data, including clinical data and pre-treatment lung screening computed tomography (CT) images. We extracted three types of features: (1) deep learning features from CT scans using a pre-trained vision transformer; (2) radiomic features from CT scans using pre-defined radiomic algorithms; (3) clinical features from patients’ electronic health records. We then compared ten machine learning algorithms for prediction based on these extracted features. Results: Our experiments demonstrated that using all three types of features leads to the best prediction result, with a prediction accuracy rate of 0.823 and an area under the receiver operating characteristic curve of 0.895. Conclusion: Multimodal approaches can result in superior prediction results compared to single modality approaches. This study demonstrates the feasibility of developing machine learning algorithms to accurately predict ICI-pneumonitis and contributes to the early identification of patients who are at a higher risk of developing pneumonitis.

1. Introduction

Lung cancer is the most frequently diagnosed cancer and the leading cause of cancer death worldwide [1]. Non-small cell lung cancer (NSCLC) is the most common subtype, accounting for approximately 85% of all lung cancer cases [2]. Recently, immunotherapy, particularly using immune checkpoint inhibitors (ICIs), has demonstrated superior outcomes in the treatment of NSCLC, significantly improving overall survival compared to chemotherapy [3,4]. ICIs provoke immune reactions against cancer cells by blocking inhibitory receptors such as programmed cell death protein-1 (PD-1), programmed death-ligand 1 (PD-L1), and cytotoxic T-lymphocyte antigen 4 (CTLA-4) [5,6,7]. However, ICIs can also induce autoimmune reactions that are harmful to healthy tissues by disrupting normal immune system homeostasis, resulting in immune-related adverse events (irAEs) [8]. ICI-related pneumonitis (ICI-P) is a rare but life-threatening irAE, with an overall incidence range of 3–6% and a mortality range of 22–33% for severe cases (grade 3–4) [9,10,11]. ICI-P can potentially cause significant morbidity, leading to the discontinuation of therapy and even mortality [8]. Clinical diagnosis of ICI-P is challenging due to its nonspecific symptoms and similarities to other pulmonary conditions [12]. There is no gold standard for clinical diagnosis, making it necessary to develop pretreatment ICI-P prediction methods.
Multiple studies have investigated the feasibility of predicting ICI-P before NSCLC patients receive immunotherapy. Risk factors such as the tumor histology type, ICI selection, combination therapy, preexisting diseases (e.g., interstitial lung disease and extrathoracic metastasis), smoking history, and radiotherapy history are believed to influence the incidence rate of ICI-P [10,13,14,15,16,17,18,19]. Based on these findings, several prediction models have been developed. Jia et al. proposed a dynamic online hypertension nomogram to predict ICI-P for NSCLC patients [20]. Gong et al. developed a machine learning algorithm to identify and predict ICI-P based on eleven predictors [21]. Li and Xu both built risk assessment nomograms for ICI-P prediction [22,23]. In addition to using risk factors, researchers hypothesize that chest CT images contain discriminative information for ICI-P prediction. To validate this hypothesis, Colen et al. proposed a radiomics-based ICI-P prediction method, extracting 1860 radiomic features from chest computed tomography (CT) images [24]. Mu et al. developed a radiomics nomogram to predict severe irAEs using fluorine-18 fluorodeoxyglucose positron emission tomography (PET) and CT images [25]. Cheng et al. created a deep learning-embedded nomogram approach for ICI-P prediction, where a CT score, calculated from five radiology features extracted by a neural network, was input into a nomogram along with three other features for the final prediction [26]. Tan et al. constructed a multimodal deep learning model based on 3D CT images and clinical data, achieving an overall accuracy rate of 0.92 for ICI-P prediction through five-fold cross-validation [27]. Additionally, chest CT images can help discriminate different types of pneumonitis. Tohidinezhad et al. explored the feasibility of establishing a prediction model to differentiate ICI-P from other types of pneumonitis in NSCLC patients undergoing immunotherapy [28]. Mallio et al. utilized a deep learning algorithm based on chest CT images to distinguish coronavirus disease 2019 (COVID-19) pneumonia from ICI-P [29].
Differing from existing studies, we propose a multimodal ICI-P prediction model utilizing three types of features: deep learning features, radiomic features, and clinical features. Deep learning features are extracted from a pretrained vision transformer (ViT), radiomic features are derived from predefined radiomic algorithms, and clinical features are obtained from a clinical patient database. After feature selection, the selected features are input into the proposed ICI-P prediction model to predict the likelihood of ICI-P development following immunotherapy.

2. Materials and Methods

2.1. Dataset

We collected data from 1254 NSCLC patients who received immunotherapy between 2005 and 2021 at Wake Forest Baptist Medical Center. Among these, 51 patients developed ICI-P and were included in the experimental group for this study. Conversely, we randomly selected 41 patients who did not have ICI-P after immunotherapy to serve as the control group. Table 1 presents the demographic information of the patients. For each patient, we collected both the most recent chest CT scan taken before the first immunotherapy session and the corresponding clinical data. This study was approved by the Wake Forest University School of Medicine Institutional Review Board (IRB), and all patient data used in this research were collected and analyzed in compliance with the ethical standards set by the board.

2.2. Image Processing

We first preprocessed the CT images to unify the voxel resolution to 1 × 1 × 1 mm using nearest interpolation and cropped each image to a size of 512 × 512. At the same time, the pixel intensity was truncated to a range between -2100 and 100 Hounsfield units (HU). Lung segmentation was then implemented using three different networks: Lungmask [30], nnUNet [31], and COVID-19 MIScnn [32]. To achieve accurate lung segmentation, we developed a strategy that combines the results from these three networks. First, we created a union of the results from Lungmask, nnUNet, and COVID-19 MIScnn. Then, we manually checked each result from the previous step and corrected misclassified regions. The results were assessed by three experienced radiologists to mitigate subjective bias (with 6, 8, and 13 years of experience, respectively). Figure 1 demonstrates the comparison of our segmentation method with other methods, including three individual models (Lungmask, nnUnet, and MIScnn) and the union of three individual models.

2.3. Vision Transformer

Deep learning is a data-driven approach in which neural networks automatically learn high-level representations directly from image pixel data. These multilayer networks transform input pixels into increasingly abstract features optimized for the target task during training, rather than relying on predefined expert-designed descriptors. Given the huge success of transformers in natural language processing, ViT have recently been proposed as a competitive alternative to convolutional neural networks for various computer vision tasks, such as image classification, object detection, and semantic image segmentation [33]. In this study, we pretrained a ViT model to extract deep learning features from 3D CT images. A ViT-base model was pretrained with a hidden size of 768, 12 heads, and a depth of 12, following the strategy outlined by Niu et al. [34].
During deep learning feature extraction, the CT images were divided into multiple 4 × 16 × 16 patches and fed into the pretrained ViT model. Each input patch produced a vector with a dimension of 768, and the summation of all vectors was used as the final set of deep learning features. For each patient, there were 768 deep learning features extracted.

2.4. Radiomics

Differing from deep learning, radiomic features are handcrafted, predefined quantitative descriptors extracted from segmented regions of interest. Through high-throughput extraction, radiomics quantifies the tissue heterogeneity, shape, intensity distributions, and texture patterns that extend beyond human visual perception. We utilized the Python Pyradiomics library for radiomic feature extraction [35]. To enhance the utilization of information within CT images, a wavelet transform was applied before the feature extraction process. For each patient, there were 863 radiomic features extracted, categorized into 8 major categories: first order statistics, 2D shape-based, 3D shape-based, gray-level co-occurrence matrix, gray-level run length matrix, gray-level size zone matrix, neighboring gray tone difference matrix, and gray-level dependence matrix categories.

2.5. Non-Imaging Data Preprocessing

Following our non-imaging feature selection strategy—(1) excluding features with incomplete information and (2) excluding features not recorded in both the experimental and control groups—ten clinical features were extracted from patients’ electronic health record (EHR) data: (1) pack years; (2) age; (3) body mass index (BMI); (4) baseline oxygen dependence; (5) whether the patient had received surgery prior to immunotherapy; (6) whether the patient had received radiation prior to immunotherapy; (7) Eastern Cooperative Oncology Group Performance Status (ECOG-PS) at the time of immunotherapy; (8) choice of immunotherapy; (9) whether immuno-oncology (IO) was given concurrently with chemotherapy; (10) total cycles of IO given. Since some clinical features are categorical and not represented numerically, we converted these features to one-hot encoding for prediction. For continuous features, we simply normalized them into the range of zero to one.

2.6. Feature Selection

After feature extraction, we obtained a total of 768 deep learning features, 863 radiomic features, and 10 clinical features. To remove redundant and non-relevant features, we performed feature selection using the Chi-square test and Student’s t-test. For deep learning and radiomic features, we retained only the 25 most significant features of each type. All 10 clinical features were kept. As a result, a total of 60 features were utilized for prediction after feature selection.

2.7. Machine Learning Prediction Model

We utilized the Python Pycaret library to establish ICI-P models. Ten different machine learning prediction models were compared, including logistic regression, K-neighbors classifier, support vector machine, gradient boosting classifier, AdaBoost classifier, decision tree classifier, light gradient boosting machine, extra trees classifier, naïve bayes, and random forest classifier models.

2.8. Experimental Details

We pretrained the ViT model on 2000 chest CT scans collected by Wake Forest Baptist Medical Center between 2015 and 2021. The pretraining process was carried out for 100 epochs on an Nvidia A100 GPU(Nvidia Corporation, Santa Clara, CA, USA). During pretraining, the original CT images were divided into multiple smaller patches measuring 64 by 64 by 64. When combining features extracted from different approaches, we first normalized each feature to standardize feature values, mitigating potential issues caused by mismatched feature value magnitudes. Clinical features were processed through either one-hot encoding or manual labeling to convert discrete features into a continuous domain. When using PyCaret for ICI-P prediction, three-fold cross validation was employed.

3. Results

3.1. Patient Characteristics

We pretrained the ViT model on 2000 chest CT scans collected by Wake Forest Baptist Medical Center between 2015 and 2021. The pretraining process was carried out for 100 epochs on an Nvidia A100 GPU. During pretraining, the original CT images were divided into multiple smaller patches of size 64 by 64 by 64. When combining features extracted from different approaches, we first normalized each feature to standardize feature values, mitigating potential issues caused by mismatched feature value magnitudes. Clinical features were processed through either one-hot encoding or manual labeling to convert discrete features into a continuous domain. When using PyCaret for ICI-P prediction, three-fold cross validation was employed.
A total of 92 NLCSC patients who received at least one cycle of immunotherapy at Wake Forest Baptist Medical Center were enrolled in this study. Among these patients, 51 developed ICI-P, with a median time of 149 days between the initial immunotherapy date and ICI-P diagnosis date. Of the patients who developed ICI-P, 45% received pembrolizumab, 31% received nivolumab, 14% received durvalumab, 4% received atezolizumab, and the remaining patients received a combination of immune checkpoint inhibitors. All ICI-P patients were diagnosed with pneumonitis of grade 2 or higher; 44% had grade 2, 44% had grade 3, 7% had grade 4, and 9% had grade 5 pneumonitis. The 41 patients who did not develop ICI-P were used as the control group. Among them, 62% received pembrolizumab, 17% received nivolumab, 5% received durvalumab, 14% received atezolizumab, and 2% received lenvatinib.
When conducting the Chi-square test and Student’s t-test for clinical feature selection, we identified four features, including total cycles of IO given, pack years, BMI at diagnosis, and age, which showed significant differences between ICI-P and control groups, as shown in Table 2. A nomogram was constructed as a quantitative method to predict the risk of ICI-P in NSCLC patients, as shown in Figure 2.

3.2. ICI-Pneumonitis Prediction Results Based on All Types of Features

Metrics such as the accuracy, area under the receiver operating characteristic curve (AUC), recall, precision, and F1 score were utilized to evaluate the performance of the ICI-P prediction models. Table 3 presents a comparison of different prediction models generated using PyCaret based on all selected multi-modal features. It can be seen that logistic regression achieved the best performance in terms of accuracy, AUC, recall, and F1 score. Meanwhile, support vector machines achieved the highest precision.

3.3. Feature Importance Analysis

We conducted a feature importance analysis and explored those features that contributed most to the prediction results. Figure 3 shows a feature importance plot of the most important features. Among the top ten most contributive features, there are five clinical, three deep-learning, and two radiomic features. It can be seen that the most influential predictor is the feature “total cycles of IO given,” with a much larger importance value than the rest, indicating the model’s performance degrades the most when this variable is permuted, so it is the primary driver of predictions. Other contributors cluster closely with moderate importances—such as categorical indicators created by one-hot encoding (for example, “received radiation prior to immunotherapy:_yes/no”; “IO given concurrently with chemotherapy:_yes/no”) and several radiomic features (e.g., wavelet-LLL_firstorder_Minimum, df_223)—suggesting these add incremental signals beyond the dominant feature but are partially redundant with each other.

3.4. Ablation Study

We conducted an ablation study to assess the contribution of each modality of features to the final prediction results and to demonstrate the effectiveness of the proposed method. A series of experiments were performed, building prediction models under four situations: using clinical features alone, deep learning features alone, radiomic features alone, and a combination of all features. As shown in Table 4. The results indicate that using all three kinds of features together leads to higher accuracy and AUC scores compared to using each type of feature individually. The only exception was the random forest model, which performed better when the prediction was based solely on clinical features.

4. Discussion

Immune checkpoint inhibitor immunotherapy is a revolutionary treatment for NSCLC that leverages the body’s immune system to target and destroy cancer cells. ICIs significantly improve outcomes for NSCLC patients, leading to longer overall survival and durable responses for some patients compared to traditional chemotherapy [3,4]. However, a major side effect of ICI-related immunotherapy is the potential development of irAEs, particularly ICI-P, which although rare can be life-threatening. In this paper, we propose a multi-modal approach to predict the occurrence of ICI-P in patients undergoing ICI immunotherapy. The approach incorporates three types of features: clinical features from patients’ electronic health records and radiomic and deep learning features extracted from CT scans. Our study demonstrates that using all three types of features together yields the best predictive performance.
In our ablation study, we found that clinical features contributed more to the final prediction results compared to radiomic and deep learning features. This is expected, as clinical features are directly related to the patients’ health conditions and their treatment processes. In contrast, radiomic and deep learning features, extracted from CT scans, provide only implicit information about a patient’s health status. Our experiments showed that the best prediction results were achieved when all three types of features were combined. This suggests that CT scans provide additional valuable information beyond what is available in the patients’ electronic health records, and this information can be effectively extracted using radiomic and deep learning algorithms.
Developing methods to predict ICI-P can lead to improved treatment outcomes. Accurate prediction of ICI-P allows for the early identification of patients who are at a higher risk of developing pneumonitis. This enables proactive monitoring, early intervention, and potentially modifying or discontinuing treatment to prevent severe outcomes. Predicting ICI-P risk can also help oncologists personalize treatment regimens. For patients at high risk, alternative therapies, dose adjustments, or combination strategies that lower the risk may be considered. In addition, predicting and managing ICI-P early can help prevent unplanned treatment interruptions, ensuring patients can continue their cancer therapy as planned and potentially improve overall outcomes.
One major limitation of this study is the relatively small sample size, which restricts the statistical power of the predictive models and may limit the generalizability of the findings to broader NSCLC populations receiving immunotherapy. The limited number of ICI-P cases also increases the risk of overfitting, particularly when integrating high-dimensional imaging features from CT scans with diverse clinical variables. Additionally, the retrospective nature of the data collection may introduce selection bias and missing information, while variations in imaging protocols, follow-up intervals, and pneumonitis grading criteria across patients further complicate model standardization and validation processes. These constraints highlight the need for larger, multi-institutional datasets and prospective validation to strengthen the robustness and clinical applicability of the proposed algorithms. In the future, we will initiate a multi-institutional study to collect more ICI-P subjects and develop advanced deep learning prediction algorithms such as multimodal graph convolutional networks to take factors such as patient similarities into account for improved prediction results.
From a translational standpoint, successful clinical integration will require not only external validation and prospective testing but also thoughtful embedding of the model into oncology workflows—ideally as a decision-support tool that complements, rather than replaces, radiologist and clinician judgment. Practical considerations, such as integration with existing radiology reporting systems, interpretability of predictions, and clear communication of risk estimates to treating clinicians, will be crucial for ensuring real-world adoption and clinical utility. In the future, we will collaborate with clinicians to explore the feasibility of deployment of the proposed method.

5. Conclusions

In this study, we focused on a major irAE of ICI-related immunotherapy and proposed a multi-modality approach to predict the occurrence of ICI-P in patients initiating ICI therapy. We extracted two types of imaging features and one type of non-imaging features. For imaging feature extraction, we first pre-trained a ViT model on a large-scale lung CT dataset and used it to obtain deep learning features. Additionally, radiomic features were computed using predefined hand-crafted algorithms. Ten clinical features were extracted from patients’ EHR data and used as non-imaging inputs. We evaluated ten machine learning prediction algorithms and conducted ablation studies to assess the contribution of each feature type. Our results show that combining all three types of features produced superior predictive performance compared to any single-modality approach. The best prediction model achieved an accuracy rate of 0.823 and an area under the receiver operating characteristic curve of 0.895. Our study indicates the feasibility of developing machine learning algorithms to accurately predict ICI-P and highlights their potential in enabling early identification of patients at higher risk for pneumonitis.

Author Contributions

Conceptualization, Q.L. and J.P.; methodology, Q.L. and H.Y.; software, H.Y. and Z.L.; validation, Q.L., H.Y. and J.P.; formal analysis, Q.L.; investigation, Q.L.; resources, J.P.; data curation, J.P. and Z.L.; writing—original draft preparation, Q.L.; writing—review and editing, Q.L., H.Y., Z.L., J.P. and C.T.W.; visualization, Q.L. and H.Y.; supervision, Q.L. and J.P.; project administration, Q.L. and J.P.; funding acquisition, C.T.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Lung Cancer Initiative of North Carolina grant number SPSR-40010001071.

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki, and approved by the Institutional Review Board of Wake Forest University School of Medicine (IRB00069582; date of approval: 17 November 2020).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available because they contain information that could compromise the privacy of patients.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ICIImmune checkpoint inhibitor
CTComputed tomography
NSCLCNon-small cell lung cancer
irAEImmune-related adverse events
EHRElectronic health record
ViTVision transformer
AUCArea under the receiver operating characteristic curve

References

  1. Bray, F.; Laversanne, M.; Sung, H.; Ferlay, J.; Siegel, R.L.; Soerjomataram, I.; Jemal, A. Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA Cancer J. Clin. 2024, 74, 229–263. [Google Scholar] [CrossRef]
  2. Molina, J.R.; Yang, P.; Cassivi, S.D.; Schild, S.E.; Adjei, A.A. Non-small cell lung cancer: Epidemiology, risk factors, treatment, and survivorship. Mayo. Clin. Proc. 2008, 83, 584–594. [Google Scholar] [CrossRef]
  3. Doroshow, D.B.; Sanmamed, M.F.; Hastings, K.; Politi, K.; Rimm, D.L.; Chen, L.; Melero, I.; Schalper, K.A.; Herbst, R.S. Immunotherapy in Non–Small Cell Lung Cancer: Facts and Hopes. Clin. Cancer Res. 2019, 25, 4592–4602. [Google Scholar] [CrossRef] [PubMed]
  4. Malhotra, J.; Jabbour, S.K.; Aisner, J. Current state of immunotherapy for non-small cell lung cancer. Transl. Lung Cancer Res. 2007, 6, 196–211. [Google Scholar] [CrossRef]
  5. Herbst, R.S.; Morgensztern, D.; Boshoff, C. The biology and management of non-small cell lung cancer. Nature 2018, 553, 446–454. [Google Scholar] [CrossRef]
  6. D’Incecco, A.; Andreozzi, M.; Ludovini, V.; Rossi, E.; Capodanno, A.; Landi, L.; Tibaldi, C.; Minuti, G.; Salvini, J.; Coppi, E.; et al. PD-1 and PD-L1 expression in molecularly selected non-small-cell lung cancer patients. Br. J. Cancer 2015, 112, 95–102. [Google Scholar] [CrossRef]
  7. Reck, M.; Rodríguez-Abreu, D.; Robinson, A.G.; Hui, R.; Csőszi, T.; Fülöp, A.; Gottfried, M.; Peled, N.; Tafreshi, A.; Cuffe, S.; et al. Pembrolizumab versus Chemotherapy for PD-L1–Positive Non–Small-Cell Lung Cancer. N. Engl. J. Med. 2016, 375, 1823–1833. [Google Scholar] [CrossRef]
  8. Kalisz, K.R.; Ramaiya, N.H.; Laukamp, K.R.; Gupta, A. Immune Checkpoint Inhibitor Therapy–related Pneumonitis: Patterns and Management. RadioGraphics 2019, 39, 1923–1937. [Google Scholar] [CrossRef]
  9. Naidoo, J.; Wang, X.; Woo, K.M.; Iyriboz, T.; Halpenny, D.; Cunningham, J.; Chaft, J.E.; Segal, N.H.; Callahan, M.K.; Lesokhin, A.M.; et al. Pneumonitis in Patients Treated With Anti–Programmed Death-1/Programmed Death Ligand 1 Therapy. J. Clin. Oncol. 2017, 35, 709–717. [Google Scholar] [CrossRef] [PubMed]
  10. Wang, D.Y.; Salem, J.E.; Cohen, J.V.; Chandra, S.; Menzer, C.; Ye, F.; Zhao, S.; Das, S.; Beckermann, K.E.; Ha, L.; et al. Fatal Toxic Effects Associated with Immune Checkpoint Inhibitors: A Systematic Review and Meta-analysis. JAMA Oncol. 2018, 4, 1721–1728. [Google Scholar] [CrossRef] [PubMed]
  11. Tone, M.; Izumo, T.; Awano, N.; Kuse, N.; Inomata, M.; Jo, T.; Yoshimura, H.; Minami, J.; Takada, K.; Miyamoto, S.; et al. High mortality and poor treatment efficacy of immune checkpoint inhibitors in patients with severe grade checkpoint inhibitor pneumonitis in non-small cell lung cancer. Thorac. Cancer 2019, 10, 2006–2012. [Google Scholar] [CrossRef] [PubMed]
  12. Gomatou, G.; Tzilas, V.; Kotteas, E.; Syrigos, K.; Bouros, D. Immune Checkpoint Inhibitor-Related Pneumonitis. Respiration 2020, 99, 932–942. [Google Scholar] [CrossRef] [PubMed]
  13. Suresh, K.; Voong, K.R.; Shankar, B.; Forde, P.M.; Ettinger, D.S.; Marrone, K.A.; Kelly, R.J.; Hann, C.L.; Levy, B.; Feliciano, J.L.; et al. Pneumonitis in Non–Small Cell Lung Cancer Patients Receiving Immune Checkpoint Immunotherapy: Incidence and Risk Factors. J. Thorac. Oncol. 2018, 13, 1930–1939. [Google Scholar] [CrossRef]
  14. Lisberg, A.; Cummings, A.; Goldman, J.; Bornazyan, K.; Reese, N.; Wang, T.; Coluzzi, P.; Ledezma, B.; Mendenhall, M.; Hunt, J.; et al. A Phase II Study of Pembrolizumab in EGFR-Mutant, PD-L1+, Tyrosine Kinase Inhibitor Naïve Patients With Advanced NSCLC. J. Thorac. Oncol. 2018, 13, 1138–1145. [Google Scholar] [CrossRef]
  15. Shibaki, R.; Murakami, S.; Matsumoto, Y.; Yoshida, T.; Goto, Y.; Kanda, S.; Horinouchi, H.; Fujiwara, Y.; Yamamoto, N.; Kusumoto, M.; et al. Association of immune-related pneumonitis with the presence of preexisting interstitial lung disease in patients with non-small lung cancer receiving anti-programmed cell death 1 antibody. Cancer Immunol. Immunother. 2019, 69, 15–22. [Google Scholar] [CrossRef]
  16. Su, Q.; Zhu, E.C.; Wu, J.-B.; Li, T.; Hou, Y.-L.; Wang, D.-Y.; Gao, Z.-H. Risk of Pneumonitis and Pneumonia Associated With Immune Checkpoint Inhibitors for Solid Tumors: A Systematic Review and Meta-Analysis. Front. Immunol. 2019, 10, 108. [Google Scholar] [CrossRef]
  17. Cho, J.Y.; Kim, J.; Lee, J.S.; Kim, Y.J.; Kim, S.H.; Lee, Y.J.; Cho, Y.-J.; Yoon, H.I.; Lee, J.H.; Lee, C.-T.; et al. Characteristics, incidence, and risk factors of immune checkpoint inhibitor-related pneumonitis in patients with non-small cell lung cancer. Lung Cancer 2018, 125, 150–156. [Google Scholar] [CrossRef] [PubMed]
  18. Zhai, X.; Zhang, J.; Tian, Y.; Li, J.; Jing, W.; Guo, H.; Zhu, H. The mechanism and risk factors for immune checkpoint inhibitor pneumonitis in non-small cell lung cancer patients. Cancer Biol. Med. 2020, 17, 599–611. [Google Scholar] [CrossRef]
  19. Lin, M.-X.; Zang, D.; Liu, C.-G.; Han, X.; Chen, J. Immune checkpoint inhibitor-related pneumonitis: Research advances in prediction and management. Front. Immunol. 2024, 15, 1266850. [Google Scholar] [CrossRef]
  20. Jia, X.; Chu, X.; Jiang, L.; Li, Y.; Zhang, Y.; Mao, Z.; Liang, T.; Du, Y.; Xu, L.; Shen, Y.; et al. Predicting checkpoint inhibitors pneumonitis in non-small cell lung cancer using a dynamic online hypertension nomogram. Lung Cancer 2022, 170, 74–84. [Google Scholar] [CrossRef]
  21. Gong, L.; Gong, J.; Sun, X.; Yu, L.; Liao, B.; Chen, X.; Li, Y.-S. Identification and prediction of immune checkpoint inhibitors-related pneumonitis by machine learning. Front. Immunol. 2023, 14, 1138489. [Google Scholar] [CrossRef]
  22. Li, X.; Lv, F.; Wang, Y.; Du, Z. Establishment and validation of nomogram for predicting immuno checkpoint inhibitor related pneumonia. BMC Pulm. Med. 2022, 22, 331. [Google Scholar] [CrossRef]
  23. Xu, H.; Feng, H.; Zhang, W.; Wei, F.; Zhou, L.; Liu, L.; Zhao, Y.; Lv, Y.; Shi, X.; Zhang, J.; et al. Prediction of immune-related adverse events in non-small cell lung cancer patients treated with immune checkpoint inhibitors based on clinical and hematological markers: Real-world evidence. Exp. Cell Res. 2022, 416, 113157. [Google Scholar] [CrossRef] [PubMed]
  24. Colen, R.R.; Fujii, T.; Bilen, M.A.; Kotrotsou, A.; Abrol, S.; Hess, K.R.; Hajjar, J.; Suarez-Almazor, M.E.; Alshawa, A.; Hong, D.S.; et al. Radiomics to predict immunotherapy-induced pneumonitis: Proof of concept. Investig. New Drugs 2017, 36, 601–607. [Google Scholar] [CrossRef]
  25. Mu, W.; Tunali, I.; Qi, J.; Schabath, M.B.; Gillies, R.J. Radiomics of 18F Fluorodeoxyglucose PET/CT Images Predicts Severe Immune-related Adverse Events in Patients with NSCLC. Radiol. Artif. Intell. 2020, 2, e190063. [Google Scholar] [CrossRef]
  26. Cheng, M.; Lin, R.; Bai, N.; Zhang, Y.; Wang, H.; Guo, M.; Duan, X.; Zheng, J.; Qiu, Z.; Zhao, Y. Deep learning for predicting the risk of immune checkpoint inhibitor-related pneumonitis in lung cancer. Clin. Radiol. 2023, 78, e377–e385. [Google Scholar] [CrossRef]
  27. Tan, P.; Huang, W.; Wang, L.; Deng, G.; Yuan, Y.; Qiu, S.; Ni, D.; Du, S.; Cheng, J. Deep learning predicts immune checkpoint inhibitor-related pneumonitis from pretreatment computed tomography images. Front. Physiol. 2022, 13, 978222. [Google Scholar] [CrossRef]
  28. Tohidinezhad, F.; Bontempi, D.; Zhang, Z.; Dingemans, A.-M.; Aerts, J.; Bootsma, G.; Vansteenkiste, J.; Hashemi, S.; Smit, E.; Gietema, H.; et al. Computed tomography-based radiomics for the differential diagnosis of pneumonitis in stage IV non-small cell lung cancer patients treated with immune checkpoint inhibitors. Eur. J. Cancer 2023, 183, 142–151. [Google Scholar] [CrossRef]
  29. Mallio, C.A.; Napolitano, A.; Castiello, G.; Giordano, F.M.; D’Alessio, P.; Iozzino, M.; Sun, Y.; Angeletti, S.; Russano, M.; Santini, D.; et al. Deep Learning Algorithm Trained with COVID-19 Pneumonia Also Identifies Immune Checkpoint Inhibitor Therapy-Related Pneumonitis. Cancers 2021, 13, 652. [Google Scholar] [CrossRef] [PubMed]
  30. Hofmanninger, J.; Prayer, F.; Pan, J.; Röhrich, S.; Prosch, H.; Langs, G. Automatic lung segmentation in routine imaging is primarily a data diversity problem, not a methodology problem. Eur. Radiol. Exp. 2020, 4, 50. [Google Scholar] [CrossRef] [PubMed]
  31. Isensee, F.; Jaeger, P.F.; Kohl, S.A.A.; Petersen, J.; Maier-Hein, K.H. nnU-Net: A self-configuring method for deep learning-based biomedical image segmentation. Nat. Methods 2020, 18, 203–211. [Google Scholar] [CrossRef] [PubMed]
  32. Müller, D.; Soto-Rey, I.; Kramer, F. Robust chest CT image segmentation of COVID-19 lung infection based on limited data. Informatics Med. Unlocked 2021, 25, 100681. [Google Scholar] [CrossRef]
  33. Han, K.; Wang, Y.; Chen, H.; Chen, X.; Guo, J.; Liu, Z.; Tang, Y.; Xiao, A.; Xu, C.; Xu, Y.; et al. A Survey on Vision Transformer. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 45, 87–110. [Google Scholar] [CrossRef]
  34. Niu, C.; Lyu, Q.; Carothers, C.D.; Kaviani, P.; Tan, J.; Yan, P.; Kalra, M.K.; Whitlow, C.T.; Wang, G. Medical multimodal multitask foundation model for lung cancer screening. Nat. Commun. 2025, 16, 1523. [Google Scholar] [CrossRef] [PubMed]
  35. Van Griethuysen, J.J.M.; Fedorov, A.; Parmar, C.; Hosny, A.; Aucoin, N.; Narayan, V.; Beets-Tan, R.G.H.; Fillion-Robin, J.C.; Pieper, S.; Aerts, H.J.W.L. Computational Radiomics System to Decode the Radiographic Phenotype. Cancer Res. 2017, 77, 104–107. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Lung segmentation results. From left to right: CT images, Lungmask segmentation, COVID-19 MIScnn, nnUNet, union results, and final results after manual correction. Blue arrows show false positive regions and yellow arrows demonstrate false negative regions.
Figure 1. Lung segmentation results. From left to right: CT images, Lungmask segmentation, COVID-19 MIScnn, nnUNet, union results, and final results after manual correction. Blue arrows show false positive regions and yellow arrows demonstrate false negative regions.
Cancers 17 02980 g001
Figure 2. Nomogram of the ICI-P prediction model based on selected clinical features.
Figure 2. Nomogram of the ICI-P prediction model based on selected clinical features.
Cancers 17 02980 g002
Figure 3. Feature importance plot.
Figure 3. Feature importance plot.
Cancers 17 02980 g003
Table 1. Patient demographic information.
Table 1. Patient demographic information.
ICI-PControl
Amount5141
GenderF: 21, M: 30F: 26, M: 15
Age62.3 ± 10.968.7 ± 11.4
BMI28.4 ± 7.023.9 ± 5.3
Table 2. Identifying significant clinical features based on the Chi-square test and Student’s t-test.
Table 2. Identifying significant clinical features based on the Chi-square test and Student’s t-test.
Clinical Featuresp-Value
Total cycles of IO given <0.001
Pack years <0.001
BMI at diagnosis <0.001
Age <0.001
Received radiation prior to immunotherapyYes0.035
No0.072
ECOG PS at the time of immunotherapy 0.054
Choice of immunotherapyPembrolizumab0.178
Nivolumab0.353
Durvalumab0.078
Atezolizumab0.453
Other0.381
Received surgery prior to immunotherapyYes0.099
No0.402
Baseline oxygen dependenceYes0.130
No0.769
IO given concurrently with chemotherapyYes0.141
No0.220
Table 3. Comparison of different ICI-pneumonitis prediction models.
Table 3. Comparison of different ICI-pneumonitis prediction models.
ModelAccuracyAUCRecallPrecisionF1
Logistic regression0.8230.8950.8530.8530.852
K-neighbors classifier0.8090.8920.7870.8820.830
Support vector machines0.7830.8240.6640.9750.775
Gradient boosting classifier0.7460.8180.7890.7910.788
AdaBoost classifier0.7440.8450.7640.8160.783
Decision tree classifier0.7090.7220.6620.8110.725
Light gradient boosting machine0.6830.7790.7690.7160.732
Extra trees classifier0.6830.7110.8110.7140.757
Naïve Bayes0.6580.6180.7910.7000.736
Random forest0.6310.7260.7670.6720.714
Table 4. Comparison of multiple prediction models on different types of features.
Table 4. Comparison of multiple prediction models on different types of features.
ModelAccuracyAUC
ClinicalRadiomicDeep AllClinicalRadiomicDeepAll
LR0.8020.7210.7110.8230.8350.7230.7570.895
KNN0.7900.6910.6550.8090.8260.7120.6710.892
SVM0.7230.6770.6880.7830.7940.6920.6920.824
GBC0.7270.6610.6440.7460.7920.7120.6770.818
RF0.7130.5550.5770.6310.7600.6790.6850.726
LR: linear regression, KNN: K-neighbors classifier, SVM: support vector machines, GBC: gradient boosting classifier, RF: random forest.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lyu, Q.; Yuan, H.; Lin, Z.; Ponnatapura, J.; Whitlow, C.T. Predicting Immunotherapy-Induced Pneumonitis Based on Chest CT and Non-Imaging Data. Cancers 2025, 17, 2980. https://doi.org/10.3390/cancers17182980

AMA Style

Lyu Q, Yuan H, Lin Z, Ponnatapura J, Whitlow CT. Predicting Immunotherapy-Induced Pneumonitis Based on Chest CT and Non-Imaging Data. Cancers. 2025; 17(18):2980. https://doi.org/10.3390/cancers17182980

Chicago/Turabian Style

Lyu, Qing, Hongyu Yuan, Zhen Lin, Janardhana Ponnatapura, and Christopher T. Whitlow. 2025. "Predicting Immunotherapy-Induced Pneumonitis Based on Chest CT and Non-Imaging Data" Cancers 17, no. 18: 2980. https://doi.org/10.3390/cancers17182980

APA Style

Lyu, Q., Yuan, H., Lin, Z., Ponnatapura, J., & Whitlow, C. T. (2025). Predicting Immunotherapy-Induced Pneumonitis Based on Chest CT and Non-Imaging Data. Cancers, 17(18), 2980. https://doi.org/10.3390/cancers17182980

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop