Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Oncol., 26 September 2025

Sec. Cancer Imaging and Image-directed Interventions

Volume 15 - 2025 | https://doi.org/10.3389/fonc.2025.1666937

A meta-learning-based robust federated learning for diagnosing lung adenocarcinoma and tuberculosis granulomas

  • 1Nanxishan Hospital of Guangxi Zhuang Autonomous Region, Guilin, China
  • 2Guilin University of Aerospace Technology, Guilin, China
  • 3Guangdong Provincial People’s Hospital, Guangzhou, China
  • 4Fifth Affiliated Hospital of Sun Yat-Sen University Department of Radiology, Zhuhai, China
  • 5Affiliated Hospital of Guangdong Medical University Department of Radiology, Zhanjiang, China
  • 6Guangxi University School of Electrical Engineering, Nanning, China
  • 7Jiangmen Central Hospital, Jiangmen, China
  • 8Sun Yat-Sen University Cancer Center Department of Radiotherapy, Guangzhou, China

Background: Differentiating between lung adenocarcinoma (LAC) and tuberculosis granuloma (TBG) of solitary pulmonary solid nodules (SPSNs) based on CT images alone is a daunting task for clinical diagnosis. Thus, it is crucial to fully utilize CT imaging data to explore effective noninvasive diagnostic methods to improve the identification of TBG and LAC.

Purpose: This study aimed to leverage CT imaging datasets from multiple hospitals for the diagnosis of TBG and LAC in SPSNs. It achieved this by deploying a meta-learning method within a federated learning framework while protecting data privacy.

Methods: A total of 1,026 patients, along with their CT images of solitary pulmonary solid nodules (SPSNs) and corresponding clinical data, were collected from six medical institutions. Subsequently, the data from these six institutions were systematically partitioned into five cohorts. Each cohort was divided into two parts: the training set and the test set. A meta-learning-based robust federated learning model by training set data was proposed to construct personalized federated learning signatures (PFLS) without uploading raw data from each medical institutions. Receiver operating characteristic curve (ROC), area under curve (AUC), decision curve analysis (DCA), net reclassification improvement (NRI) and integrated discrimination improvement (IDI) are used to analyze the performance of the PFLS.

Results: The PFLS trained by the proposed meta-learning-based robust federated learning framework shows superior performance compared to alternative methods. The AUC range on the training sets of the five cohorts is 0.866-0.939, AUC range on the testing sets is 0.808-0.927). The significant difference of AUC between the proposed method and the clinical model was demonstrated by the NRI and IDI. The decision curves indicated a higher net benefit of our proposed method.

Conclusion: The PFLS mitigates overfitting issues arising from limited sample size in local hospitals. It also alleviates the problem that a single global model is not applicable to all hospitals due to the heterogeneity of data distribution among different hospitals.

Introduction

The prevalence of CT has been led to a significant upsurge in the detection rate of Solitary Pulmonary Solid Nodules (SPSNs) (1). Clinically, SPSNs can be bifurcated into benign and malignant categories. Lung Adenocarcinoma (LAC) is the most common pathological type of malignant SPSNs, while Tuberculosis Granulomas (TBG) is the common pathological type of benign SPSNs (2, 3). However, the treatment regimens and clinical outcomes for lung adenocarcinoma and tuberculous granulomas are entirely different. Radical surgical resection is the preferred treatment for the former, while the latter is often managed with anti-tuberculosis medications (4). Misdiagnosis can lead to uncontrollable disease progression and a poor prognosis in patients with lung adenocarcinoma. Conversely, it may also result in overtreatment for those with tuberculous granulomas (5).

Although CT scans can identify SPSNs, the differentiation between LAC and TBG based on CT images alone presents a daunting task for clinical diagnosing. This is primarily because LAC and TBG both exhibit similar lobulated and spiculated features, and there is a lack of effective contrast agents to aid in distinguishing TBG from LAC (6, 7). Most patients with SPSNs detected by CT undergo biopsy diagnosis to guide the treatment plan. However, when the lesion is small and difficult to locate, the difficulty and related risks increase significantly (8, 9). Consequently, it is crucial to fully utilize CT imaging data to explore new effective non-invasive diagnostic methods to improve TBG and LAC identification.

Deep learning, as a data-driven technology for model performance, has shown great potential in image classification. Previous studies have demonstrated that deep learning models can extract features from raw medical images at various levels of abstraction (10, 11). Applying deep learning techniques to computer-aided diagnostic systems holds promise for improving the accuracy of TBG and LAC differentiation. However, due to the need for medical data privacy protection, medical centers are generally not allowed to share data, which limits the scale of the data. Unfortunately, robust and accurate deep learning models require a large amount of data for training; otherwise, overfitting is prone to occur, leading to a decline in the generalization ability of deep learning models.

Federated learning facilitates multi-clients collaborative training by aggregating local model parameters of each client into the shared global model, without sharing data from different clients (12). This approach fully utilizes information of each hospital without sharing raw CT image data, thus addressing privacy concerns and limiting overfitting. The federated averaging algorithm of most federated learning methods weights the parameters of each local model according to the sample sizes of different medical institution (13, 14). However, Additionally, data heterogeneity caused by differences in data collection across medical institutions (such as scanning equipment, imaging parameters, population characteristics, etc.) significantly restricts the performance of federated learning models in multi-medical institution medical image analysis (15, 16). Therefore, when there are differences in the data distributions across multiple centers, it is challenging for a single global model obtained merely by aggregating the parameters of each local model to perform consistently well across all centers (17, 18).

In this paper, a meta-learning-based robust federated learning approach is proposed to leverage heterogeneous CT imaging datasets from multiple medical institutions for the diagnosis of TBG and LAC in SPSNs. The reptile algorithm of meta-learning is deployed to aggregate gradients of parameters of each local model. This improves the performance and robustness of the global model on data from each local medical institution. Finally, each center fine-tunes the global model based on local data to complete model personalization.

Materials and methods

Patients

This retrospective study was approved by the Institutional Review Boards of the participating hospitals, with a waiver of informed consent. Detailed inclusion and exclusion criteria are provided in Supplementary S1. Finally, a total of 1,026 samples from six medical institutions. Since one medical institution has only 17 cases, we merged the data of this medical institution into another hospital, so there are a total of 5 cohorts. These five cohorts include: cohort 1 (2014–2020): 270 patients (training set: 161; test set: 109), cohort 2 (2013–2016): 87 patients (training set: 51; test set: 36), cohort 3 (2014–2019): 119 patients (training set: 70; test set: 49), cohort 4 (2011–2020): 471 patients (training set: 282; test set: 189), cohort 5 (2018–2020): 79 patients (training set: 46; test set: 33).

CT image acquisition and evaluation

Chest CT images were acquired from six different scanners (Siemens, Toshiba, GE, Philips) with patients in the supine position, covering the entire chest from the thoracic inlet to the adrenal glands during a breath-hold. Scans were performed in spiral mode with a tube voltage of 120 kVp and automatic mAs adjustment. Images were reconstructed with standard and high-resolution algorithms at 1.0–3.0 mm slice thickness and 0.8–3.0 mm interslice gap. Two independent chest radiologists, blinded to clinical information, assessed the images using lung and mediastinal window settings, evaluating nodule location, size, margin, lobulation, and spiculation; discrepancies were resolved by consensus. Detailed information is provided in Supplementary S2.

Pathological diagnosis

All samples were fixed in formalin and subsequently stained with hematoxylin and eosin (HE). The experienced pathologists performed the pathological analysis of the surgical specimens in accordance with the 2011 International Association for the Study of Lung Cancer/American Thoracic Society/European Respiratory Society classification system, and the 2015 World Health Organization (WHO) classification of lung neoplasms (19, 20). These pathologists were blinded to the CT findings.

Image preprocessing

For neural network processing, preprocessing operations are applied to the CT images. An experienced radiologist utilizes a rectangular bounding box to crop the region of interest (ROI) from each CT slice initially. All ROIs are then interpolated and standardized to 224×224 pixels. Next, the ROIs from three sequential single-channel CT slices for the same patient are merged to form a three-channel image with the dimensions 224×224×3. Finally, these three-channel images are used as input data for the neural network. Detailed information is provided in Supplementary Figure S1.

Building the meta-learning-based personalized federated learning signature

In order to adapt to the data situation of each medical institution, we train a personalized federated learning signature for each medical institution. This usually involves three steps: feature extraction, feature selection, and classifier training.

During the feature extraction process, a federated learning based on model agnostic meta-learning is used to extract the CT features of each hospital. The entire training process of federated learning encompassed three stages.

FedAvg stage: In the initial iteration of the FedAvg stage, both local and global models start with identical parameters pre-trained on ImageNet. Each local client trains its model using its own dataset. After all local clients complete training, they upload their model gradients to the global server. The global server aggregates these gradients by weighting them according to each client’s sample size relative to the total samples across all clients. The global model is then updated using these weighted gradients and distributed back to the local clients as the initial parameters for the next iteration. This process repeats for several iterations, and the final global model parameters are passed to the Reptile stage.

Reptile stage: Unlike the FedAvg stage, the Reptile stage employs the Adam optimizer for local model updates. The aggregation method also differs: instead of sample-size-based weighting, the global server treats each local client as a distinct meta-learning task and applies the Reptile algorithm to compute the combined gradient direction. The global model is then updated with momentum based on this aggregated gradient. After multiple iterations, the final global model parameters are delivered to each local client for the subsequent personalized stage.

Personalized stage: In the Personalize stage, the local clients do not share any data to the global server, and only fine-tune the local models with their own data sets based on the stochastic gradient descent algorithm. And the initial parameters of the local models are the final parameters of the global model of the Reptile stage.

During the whole training process, the raw data of a local client or hospital is never shared with the global server and other local clients, which ensures the security and privacy of the local data. The global server performs aggregation operations on the parameters of the local model so that the local clients can share the training results, effectively avoiding overfitting when the data samples of a single client are too small. The Reptile stage creates ideal conditions for rapid fine-tuning of the local model, and the Personalize stage can effectively solve the problem of data heterogeneity among different hospitals or centers.

More detailed information regarding the model and training details can be found in Supplementary S3 and Figure 1. The local hospitals utilizes the robust personalized local models, trained by the proposed method, to extract 3904 features from the CT images at each layer of the ROI. Subsequently, the features from all layers are fused (refer to Supplementary S4 for detailed information).

Figure 1
Diagram of a federated learning system with cohorts. Each cohort processes a local model with training and validation sets to create a personalized model. These models update a global model on a server through the FedAvg and Reptile stages using an aggregator. Arrows indicate data flow between models and processes.

Figure 1. The training process of the meta-learning-based robust federated learning model.

The classifier can utilize numerous features obtained from the above operations to diagnose TBG or LAC. However, most of these features are not conducive for diagnosing pulmonary nodules and may introduce noise, negatively affecting diagnostic accuracy. Therefore, in the process of feature selection and classifier training, the Mann-Whitney U test is employed to evaluate the diagnostic significance of features, retaining only those with a p-value < 0.05. Finally, a Bayesian extreme learning machine is employed to building the personalized federated learning signature (PFLS) using the selected features (21). To validate its effectiveness, we further performed systematic comparisons with several widely used classifiers, including logistic regression (LR), support vector machine (SVM), and random forest (RF). These models are representative in medical image analysis and AI classification tasks, covering linear, kernel-based, and ensemble learning approaches, respectively. All models were trained and evaluated under identical data splits and preprocessing settings to ensure fair comparison. The pseudocode of the algorithm is provided in Supplementary S5.

Personalized federated learning signature comparison FedAvg model

The FedAvg (22) model is the federated learning model and the global model trained through the federated averaging algorithm. In the training iteration of FedAvg, each client accepts the global model parameters, initiating local training based on this global model. After training by the local clients on local data, the parameters of the local models are uploaded, and the parameters of each local model are averagely weighted by the global server to achieve collaborative training of the ResNet18 global model. More model parameter Settings can be found in Supplementary S6. Subsequently, each local hospital uses the same global model to extract 3904 features from the CT images, followed by utilization of Mann-Whitney U test to select features with significant difference from the extracted features. Finally, a Bayesian Extreme Learning Machine is employed for classification.

Personalized federated learning signature comparison independent local models

Independent local models(ILM) are the ResNet18 and trained exclusively with local data, with no data interaction occurring among the local models from other hospitals. The training process of this model first involves pre-training using ImageNet data, and then training respective models with each local dataset. More model parameter Settings can be found in Supplementary S5. Through the ResNet18 model, 3904 deep learning features are extracted from the CT image of each case. Features with significant differences are identified using the Mann-Whitney U test. Eventually, a Bayesian Extreme Learning Machine is applied to perform classification using these selected features.

Personalized federated learning signature comparison building the clinical model

CT image data are collected from a total of five cohorts, with data from each hospital divided into training and test sets. The patient distribution and clinical features of the CT images are outlined in Table 1. Thus, this study selects clinical features (gender, age, nodule size, shape of lesion margin, lobulated shape, and spiculated sign to build the clinical model(CM) based on Bayesian Extreme Learning Machine.

Table 1
www.frontiersin.org

Table 1. The patient distribution and clinical features.

Personalized federated learning signature comparison merged data centralized model

To validate the necessity and advantages of the proposed Personalized Federated Learning Signature (PFLS) framework, we established a Merged Data Centralized Model (MDCM) as a comparative benchmark. This model integrates training data from all participating centers to train a single deep learning model without any privacy constraints—simulating an ideal scenario where data sharing faces no regulatory or ethical barriers. After training, the centralized MDCM was independently evaluated on the local test sets of each hospital to assess its generalization performance across heterogeneous data distributions. This approach enables a quantitative comparison between the centrally trained model and the personalized federated models, highlighting the impact of data heterogeneity and demonstrating the effectiveness of federated learning in maintaining model performance while preserving data privacy.

Personalized federated learning signature comparison with personalized federated model

To further evaluate the effectiveness of the proposed PFLS framework, we selected several representative personalized federated learning methods for comparison, including FedProx (23), FedBN (24), and Moon (25). FedProx introduces a proximal term into the local objective function to constrain local updates from deviating excessively from the global model, thereby stabilizing the optimization process under non-IID data distributions. FedBN retains the Batch Normalization (BN) parameters locally while aggregating the remaining parameters globally, which alleviates performance degradation caused by feature distribution shifts across centers. Moon incorporates a contrastive learning objective during local training to encourage consistency between local and global representations, thus improving robustness in heterogeneous data scenarios. After federated training, each method employed its respective personalized model to extract features from the local data. Finally, a Bayesian Extreme Learning Machine is employed for classification.

Ablation experiments on PFLS

To quantitatively verify the effectiveness of the Reptile step (26) and the personalization step in PFLS, we designed ablation experiments. Specifically, we constructed different algorithm variants by selectively removing these two steps: (1) removing the Reptile step while retaining the personalization step, where each site was validated using its own personalized model; (2) removing the personalization step while retaining the Reptile update, where all centers were validated using the global model after the Reptile update. All variants were trained and evaluated under the same experimental settings. By comparing their performance with the complete PFLS, we were able to assess the contribution of each component.

Statistical analysis

The performance evaluation of the models involved calculating various metrics, including the receiver operating characteristic curve (ROC), area under the curve (AUC), sensitivity, specificity, accuracy, positive probability value (PPV), and negative probability value (NPV). The net reclassification improvement (NRI) and integrated discrimination improvement (IDI) were used to measure the degree of improvement of PFLS in overall discriminative ability compared with FedAvg, ILM, and CM. P-values less than 0.05 were considered a significant difference.

Results

Clinical factors and subjective CT findings analysis

The patient distribution and clinical features of the CT images are outlined in Table 1.The table details various clinical parameters such as gender, age, lesion size, location, margin, lobulated shape, and spiculated sign, with a clear distinction between training and testing sets within each cohort. A notable observation is the inconsistent distribution of these clinical features across different cohorts. For instance, the proportion of males and females varies significantly, with some cohorts having a higher male prevalence (e.g., Cohort 1 and Cohort 4) while others show a more balanced or female-dominant distribution (e.g., Cohort 3). Similarly, the distribution of lesion location, margin, lobulated shape, and spiculated sign further underscores the heterogeneity among cohorts. For example, the presence of lobulated and spiculated lesions varies widely, suggesting differences in disease characteristics or diagnostic practices across cohorts.

The performance of PFLS identifies LAC and TBG

As shown in Table 2, all models were trained and validated using the same feature set to ensure fairness in comparison. The results revealed that SVM and RF experienced severe overfitting during training, as indicated by the large performance gap between the training and test sets. In contrast, logistic regression (LR) did not show obvious overfitting; however, its classification performance was still inferior to that of the Bayesian extreme learning machine (Bayesian ELM). By comparison, Bayesian ELM not only maintained high training efficiency but also demonstrated stronger generalization ability on the test set. The performance of the personalized federated learning signature (PFLS) across the five cohorts is presented in Figures 2, 3 and Table 3. On the test sets, PFLS achieved AUCs of 0.846 (95% CI, 0.748–0.944), 0.889 (95% CI, 0.771–1.000), 0.922 (95% CI, 0.845–0.999), 0.876 (95% CI, 0.825–0.927), and 0.893 (95% CI, 0.770–1.000), with corresponding accuracies of 0.807, 0.861, 0.878, 0.788, and 0.818. These results indicate that PFLS consistently demonstrated excellent predictive performance across different cohorts, effectively distinguishing lung adenocarcinoma from tuberculosis granulomas. Furthermore, decision curve analysis (Figure 4) showed that PFLS provided a higher net benefit than other models in cohorts 2, 3, and 5. Supplementary Table S1 in the supplementary materials for model details.

Table 2
www.frontiersin.org

Table 2. Performance of logistic regression, SVM, random forest and ELM.

Figure 2
Five ROC curve graphs labeled A to E each display five algorithms: CM (red), ILM (green), MDCM (blue), FedAvg (yellow), and PFLS (purple). Sensitivity is plotted against 1 - Specificity for all models, indicating varying performance and accuracy. A diagonal line represents random chance.

Figure 2. ROC of training set of five cohorts. (A) Cohort 1, (B) Cohort 2, (C) Cohort 3, (D) Cohort 4, (E) Cohort 5.

Figure 3
Five ROC curve graphs labeled A to E, compare the performance of different models: CM, ILM, MDCM, FedAvg, and PFLS. Sensitivity is plotted against 1-specificity. Each curve is color-coded: red for CM, green for ILM, blue for MDCM, yellow for FedAvg, and purple for PFLS. All graphs show various degrees of curve separation, indicating differing model performances.

Figure 3. ROC of test set of five cohorts. (A) Cohort 1, (B) Cohort 2, (C) Cohort 3, (D) Cohort 4, (E) Cohort 5.

Table 3
www.frontiersin.org

Table 3. Performance of the of models on the each cohort.

Figure 4
Graphs A to E show net benefit versus threshold probability for different models: None, All, CM, ILM, MDCM, FedAvg, and PFLS. Each graph displays overlapping colored lines, with the gray line consistently lower across all threshold probabilities.

Figure 4. Decision curve analysis of test set of five cohorts. (A) Cohort 1, (B) Cohort 2, (C) Cohort 3, (D) Cohort 4, (E) Cohort 5.

Comparison of the PFLS with the FedAvg model

As shown in Table 3, the AUC of the FedAvg model on the test sets from the five cohorts are 0.740 (95% CI, 0.637-0.843), 0.823 (95% CI, 0.672-0.974), 0.839 (95% CI, 0.724-0.955), 0.737 (95% CI, 0.664-0.810), and 0.728 (95% CI, 0.537-0.919). The FedAvg model achieved accuracy of 0.560, 0.694, 0.837, 0.698, and 0.667 on the test sets of each cohort. Compared with FedAvg, the AUC of PFLS at each cohort increased by 6.6%-16.5%, and the accuracy rate increased by 4.1%-25.1%. Supplementary Table S2 and Supplementary Table S3 respectively present the results of NRI and IDI. The results of NRI and IDI show that the performance of PFLS on each central test set is improved compared with the FedAvg model. The range values of NRI at each cohort were 0.287 to 1.263. The range values of IDI at each cohort were 0.016 to 0.069. Supplementary Table S4 in the supplementary materials for FedAvg model details.

Comparison of the PFLS with ILM

The AUC of ILM on the test sets from each cohort are 0.773(95% CI, 0.672-0.873), 0.808 (95% CI, 0.640-0.975), 0.857 (95% CI, 0.745-0.969), 0.778 (95% CI, 0.707-0.848), and 0.824 (95% CI, 0.676-0.972). The ILM achieved accuracy of 0.716, 0.833, 0.735, 0.698, and 0.636 on the test sets of each cohort. Compared to ILM, the PFLS achieved an AUC improvement of 6.5%- 9.4% across the cohorts, and the PFLS showed an improvement of 2.8%-19.1% in the prediction accuracy for LAC and TBG at each cohort. More details are provided in Table 3 and Figure 2, 3. As shown in Supplementary Table S2 and Supplementary Table S3, the performance of PFLS on each central test set is improved compared with the ILM. The range values of NRI at each cohort were 0.324 to 969. The range values of IDI at each cohort were 0.022 to 0.061. Supplementary Table S5 in the supplementary materials for ILM details.

Comparison of the PFLS with the CM

As shown in Table 3, the AUC of the CMmodel on the test sets from the five cohorts are 0.692(95% CI, 0.569-0.815), 0.719(95% CI, 0.523-0.915), 0.759(95% CI, 0.618-0.900), 0.679(95% CI, 0.587-0.770), and 0.665(95% CI, 0.471-0.860). In comparison, the experimental results indicate that the PFLS outperforms the CM in all metrics. As shown in Supplementary Table S2, Supplementary Table S3, in the test sets, PFLS exhibits higher NRI and IDI indices with significant p-values (p < 0.05) compared to CM across cohorts, indicating its superiority.

Comparison of the PFLS with MDCM

As shown in Table 3, the AUC of the MDCM on the test sets from the five cohorts are 0.752, 0.842, 0.825, 0.746, and 0.820. The experimental results indicate that the MDCM exhibits relatively poor consistency in performance across different centers. This performance variability may be attributed to the inherent heterogeneity in the data from various centers. When training on merged data, such heterogeneity can lead to suboptimal model generalization, as the model may be biased toward certain center-specific characteristics rather than capturing universally representative features. Consequently, the model’s ability to perform consistently well across diverse and unseen datasets is compromised.

Comparison of the PFLS with personalized federated model

As shown in Table 4, the three personalized federated models, FedProx, FedBN, and Moon, achieved AUC values ranging from 0.746 to 0.834 and accuracies between 0.619 and 0.749 across the five cohorts. However, all three methods exhibited unstable performance when confronted with heterogeneous multi-center data. In contrast, our proposed PFLS consistently outperformed them, with AUC improvements of approximately 4%-15% and accuracy gains of 6%-22% across different cohorts. The performance of PFLS and other personalized federated learning algorithms on the training and test sets across the five cohorts is shown in Supplementary Figure S2, Supplementary Figure S3. Additionally, the Decision Curve Analysis are shown in Supplementary Figure S4.

Table 4
www.frontiersin.org

Table 4. Performance comparison of models trained under different FL algorithms.

Ablation experiments

As shown in Table 5, we present the AUC values on the training and test sets for different ablation variants. When the Reptile step was removed, the performance across centers showed little variation but remained at a relatively low level, indicating that the absence of meta-update limited the global model’s ability to provide a good initialization. When the personalization step was removed, some centers achieved relatively good results, while others showed significantly lower AUC values, leading to large performance discrepancies across sites. This suggests that without personalization, relying solely on the global model cannot effectively adapt to heterogeneous data distributions. In contrast, the complete PFLS achieved both the best overall performance and balanced results across centers, further demonstrating the complementary roles of the Reptile step and the personalization step in enhancing model generalization and adaptability.

Table 5
www.frontiersin.org

Table 5. AUC results of ablation experiments.

Discussion

The analysis of lung CT images to accurately differentiate between patients with TBG and LAC in a non-invasive manner holds considerable clinical value. In this study, a PFLS is used to collaboratively use CT image data of TBG and LAC from five cohorts while maintaining patient privacy, enabling the training of robust models for each medical institution. The proposed method shows superior predictive performance than the compared methods on the data from each medical institution for distinguishing between TBG and LAC.

Research shows that gender, age, morphology, and spiculation are significantly different between patients with TBG and LAC (27). As malignant tumors predominantly grow in lung parenchyma, nodules of LAC patients are more likely to exhibit irregular margins, lobulation, and spiculation (28). Although lobulation is a distinct feature of malignant lung nodules, several studies have shown that 25% of benign nodules also exhibit lobulation. Spiculation presents a more significant correlation with LAC (29). Pathologically, spiculation is attributed to fibrous tissue proliferation induced by interstitial thickening and peripheral vascular occlusion. However, identification based on morphologic features of nodules is highly subjective, and the criteria for determination vary among radiologists, limiting the utility of shape features in distinguishing between benign and malignant nodules (30). Therefore, the performance of the CM we constructed based on the above features was not satisfactory.

The convolutional neural networks (CNNs) are capable of automatically extracting features from images and generating features at various levels of abstraction. Among CNNs, Low-level layers produce details like edges, textures, and corners, while high-level layers produce globally abstracted features. Deep CNNs are extensively applied in medical imaging and achieving commendable results (3133). Nevertheless, deep CNNs are susceptible to overfitting, particularly when training with a limited number of samples. Therefore, when training the ILM, we used the transfer learning strategy to pre-train the model with Imagnet data, and then fine-tune the model with the CT data of this study to alleviate the problem of overfitting. However, perhaps due to the smaller number of training samples, the performance of ILM on the test sets of various medical institutions is generally worse than that of PFLS.

Federated learning is a distributed machine learning approach that enables collaborative training of machine learning models using data from multiple hospitals, while eliminating data leakage. It efficiently addresses the data island issue and mitigates model overfitting due to insufficient training samples from a single medical institution. However, due to differences of CT equipment between hospitals, imaging results from different hospitals are heterogeneous, meaning that using the same machine learning model to infer CT images from different hospitals does not ensure satisfactory performance for all hospitals. Except for the slightly better performance of fedag on the test set of institution 2 compared to ILM, the performance of other institutions was worse than that of ILM. This is primarily due to the apparent heterogeneity of the data across hospitals, resulting in apparent discrepancies between the global model and the actual optimal model of a local hospital, and then leading to poorer predictive performance of the global model in certain hospitals. In addition, we also compared our framework with a centralized model (MDCM) trained by directly merging data from all centers. Although this setting represents an ideal scenario without privacy constraints, the MDCM exhibited unstable performance and large variations across sites. This inconsistency can be attributed to the substantial heterogeneity in imaging protocols, scanner vendors, and patient populations among different hospitals. When data are simply pooled, the model may become biased toward dominant site-specific features, thereby limiting its generalizability. In contrast, PFLS achieved more stable and consistent performance across centers, further underscoring the necessity of federated and personalized federated strategies for real-world multi-center applications.

The proposed PFLS employs the Reptile algorithm by treating the local models of federated learning as the different task of meta learning to collaboratively train the global model, and then fine-tunes global models for personalizing local model of each medical institution. The meta-learning-based federated learning frameworks of the proposed method effectively alleviates overfitting. And the robust personalized local models, which are fine-tuned global models by local hospitals, enhance the generalization ability of the local models while effectively mitigating the performance decrease caused by data heterogeneity among different hospitals. In terms of classification performance, the proposed method shows remarkable advantages on all datasets, except for slightly lower AUC values compare to ILM, FedAvg, and CM. NRI and IDI show that, except for medical institutions 2 and 5 with relatively less test data, the PFLS performance of other institutions has significantly improved compared with ILM, FedAvg, and CM.

Compared with traditional machine learning models, Bayesian ELM has significant advantages in alleviating overfitting and balancing model complexity with generalization ability, thereby providing more robust and clinically valuable predictive performance. From a theoretical perspective, extreme learning machine (ELM) randomly generates hidden layer weights and analytically solves the output weights, avoiding the complex gradient-based iterative process in traditional neural networks, which grants it faster training speed and stronger representation capacity. Building on this, the introduction of the Bayesian framework not only enables probabilistic modeling of model parameters and provides uncertainty estimation but also effectively suppresses overfitting through prior and posterior constraints. This combination allows Bayesian ELM to maintain efficient training while better balancing model complexity and generalization, thereby demonstrating stronger robustness and stability when applied to heterogeneous multi-center medical data.

Despite the promising results, our study has some limitations. First, the implementation of strict inclusion and exclusion criteria for samples could introduce bias in sample selection, potentially affecting model training. Second, the study includes only TBG, a specific type of benign nodule, and misses other benign nodules such as inflammatory pseudotumors, hamartomas, and fibromas. Third, the aggregation of local models in the Reptile stages dose not account for differences in data distribution across hospitals, potentially leading to suboptimal global models in the Reptile stage and affecting the performance of the robust local models trained in the next stage.

Conclusion

The PFLS proposed in this study facilitates collaborative training across multiple hospitals while maintaining the data privacy of each hospital. It effectively mitigates the model overfitting caused by insufficient samples from a single hospital. Moreover, the personalizing process of local model address the heterogeneity of data across hospitals, which cannot be adequately performed by a single global model. The resulting robust local models show excellent discrimination between LAC and TBG, providing invaluable assistance to clinicians in improving diagnostic accuracy.

Data availability statement

Due to institutional policies and patient privacy regulations, the data are not publicly available. Access to the dataset is restricted and can only be granted upon reasonable request and with approval from the corresponding ethics committees of the participating institutions. Requests to access the datasets should be directed to XMC: Mzg5NzAwMTI1NEBxcS5jb20=.

Ethics statement

The study was approved by the Ethics Committee of Jiangmen Central Hospital, and ethical approvals were obtained from all participating institutions. 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

CY: Supervision, Writing – original draft, Data curation, Project administration, Resources, Writing – review & editing. LL: Formal analysis, Writing – review & editing, Conceptualization, Investigation, Writing – original draft. BF: Methodology, Writing – review & editing, Funding acquisition, Supervision. YC: Project administration, Writing – review & editing, Data curation, Validation. JX: Visualization, Formal analysis, Methodology, Writing – review & editing. HL: Writing – review & editing, Resources, Data curation. KL: Writing – review & editing, Supervision, Resources, Data curation. XDC: Writing – review & editing, Data curation, Project administration. YK: Resources, Writing – review & editing, Supervision, Data curation. HZ: Writing – review & editing, Supervision, Project administration, Methodology. QH: Writing – review & editing, Data curation, Resources. QJ: Conceptualization, Visualization, Writing – review & editing. WL: Formal analysis, Visualization, Supervision, Writing – review & editing, Methodology. QL: Writing – review & editing, Project administration, Data curation, Resources. XMC: Writing – original draft, Resources, Investigation, Funding acquisition, Data curation.

Funding

The author(s) declare financial support was received for the research and/or publication of this article. This work was supported by the National Natural Science Foundation of China (82460361, 62176104, 12261027), GUAT Special Research Project on the Strategic Development of Distinctive Interdisciplinary Fields (TS2024231) and The Bagui Youth Top Talent Training Program.

Conflict of interest

The authors declare that the research 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) declare that no Generative AI was 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.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fonc.2025.1666937/full#supplementary-material

References

1. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Baseline and annual repeat rounds of screening: implications for optimal regimens of screening. Eur Radiol. (2017) 28:1085–94. doi: 10.1007/s00330-017-5029-z

PubMed Abstract | Crossref Full Text | Google Scholar

2. Vishal K, Sagar K, David P, William D, Jeremy A, Richard R, et al. A practical algorithmic approach to the diagnosis and management of solitary pulmonary nodules: part 1: radiologic characteristics and imaging modalities. Chest. (2013) 143:825–39. doi: 10.1378/chest.12-0960

PubMed Abstract | Crossref Full Text | Google Scholar

3. Vishal K, Sagar K, David P, William D, Jeremy A, Richard R, et al. A practical algorithmic approach to the diagnosis and management of solitary pulmonary nodules: part 2: pretest probability and algorithm. Chest. (2013) 143:840–6. doi: 10.1378/chest.12-1487

PubMed Abstract | Crossref Full Text | Google Scholar

4. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Current trends and emerging diagnostic techniques for lung cancer. BioMed Pharmacother. (2018) 106:1586–99. doi: 10.1016/j.biopha.2018.07.145

PubMed Abstract | Crossref Full Text | Google Scholar

5. Tiberi S, du Plessis N, Walzl G, Vjecha MJ, Rao M, Ntoumi F, et al. Tuberculosis: progress and advances in development of new drugs, treatment regimens, and host-directed therapies. Lancet Infect Dis. (2018) 18:e183–98. doi: 10.1016/S1473-3099(18)30110-5

PubMed Abstract | Crossref Full Text | Google Scholar

6. Dennie C, Bayanati H, Souza CA, Peterson R, and Shamji FM. Role of the thoracic radiologist in the evaluation and management of solid and subsolid lung nodules. Thorac Surg Clin. (2021) 31:283–92. doi: 10.1016/j.thorsurg.2021.04.004

PubMed Abstract | Crossref Full Text | Google Scholar

7. Groheux D, Quere G, Blanc E, Lemarignier C, Vercellino L, de Margerie-Mellon C, et al. FDG PET-CT for solitary pulmonary nodule and lung cancer: Literature review. Diagn Interv Imaging. (2016) 97:1003–17. doi: 10.1016/j.diii.2016.06.020

PubMed Abstract | Crossref Full Text | Google Scholar

8. Ng YL, Patsios D, Roberts H, Walsham A, Paul NS, Chung T, et al. CT-guided percutaneous fine-needle aspiration biopsy of pulmonary nodules measuring 10mm or less. Clin Radiol. (2007) 63:272–7. doi: 10.1016/j.crad.2007.09.003

PubMed Abstract | Crossref Full Text | Google Scholar

9. Dominguez-Konicki L, Karam AR, Furman MS, and Grand DJ. CT-guided biopsy of pulmonary nodules ≤10 mm: Diagnostic yield based on nodules’ lobar and segmental distribution. Clin Imag. (2020) 66:7–9. doi: 10.1016/j.clinimag.2020.04.040

PubMed Abstract | Crossref Full Text | Google Scholar

10. Yu H, Yang LT, Zhang Q, Armstrong D, and Deen MJ. Convolutional neural networks for medical image analysis: State-of-the-art, comparisons, improvement and perspectives. Neurocomputing. (2021) 444:92–110. doi: 10.1016/j.neucom.2020.04.157

Crossref Full Text | Google Scholar

11. Litjens G, Kooi T, Bejnordi BE, Setio AAA, Ciompi F, Ghafoorian M, et al. A survey on deep learning in medical image analysis. Med Image Anal. (2017) 42:60–88. doi: 10.1016/j.media.2017.07.005

PubMed Abstract | Crossref Full Text | Google Scholar

12. Kalra S, Wen J, Cresswell JC, Volkovs M, and Tizhoosh HR. Decentralized federated learning through proxy model sharing. Nat Commun. (2023) 14:2899. doi: 10.1038/s41467-023-38569-4

PubMed Abstract | Crossref Full Text | Google Scholar

13. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Federated learning and differential privacy for medical image analysis. Sci Rep. (2022) 12:1953. doi: 10.1038/s41598-022-05539-7

PubMed Abstract | Crossref Full Text | Google Scholar

14. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Federated learning for multi-center imaging diagnostics: a simulation study in cardiovascular disease. Sci Rep. (2022) 12:3551. doi: 10.1038/s41598-022-07186-4

PubMed Abstract | Crossref Full Text | Google Scholar

15. Shen T, Zhang J, Jia X, Zhang F, Lv Z, Kuang K, et al. Federated mutual learning: a collaborative machine learning method for heterogeneous data, models, and objectives. Front Inform Technol Electron Eng. (2023) 24:1390–402. doi: 10.1631/FITEE.2300098

Crossref Full Text | Google Scholar

16. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. HarmoFL: harmonizing local and global drifts in federated learning on heterogeneous medical images. Proc Conf AAAI Artif Intell. (2022) 36:1087–95. doi: 10.1609/aaai.v36i1.19993

Crossref Full Text | Google Scholar

17. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Federated optimization in heterogeneous networks. Proc Mach Learn Syst. (2020) 2:429–50. doi: 10.48550/arXiv.1812.06127

Crossref Full Text | Google Scholar

18. Karimireddy SP, Kale S, Mohri M, Reddi SJ, Stich SU, Suresh AT, et al. Scaffold: Stochastic controlled averaging for on-device federated learning. arXiv preprint arXiv. (2019) 2:1910.06378. doi: 10.48550/arXiv.1910.06378

Crossref Full Text | Google Scholar

19. Marx A, Chan JK, Coindre JM, Detterbeck F, Girard N, Harris NL, et al. The 2015 world health organization classification of tumors of the thymus: continuity and changes. J Thorac Oncol. (2015) 10:1383–95. doi: 10.1097/JTO.0000000000000654

PubMed Abstract | Crossref Full Text | Google Scholar

20. McKee BJ, Regis SM, McKee AB, Flacke S, and Wald C. Performance of ACR lung-RADS in a clinical CT lung screening program. J Am Coll Radiol. (2016) 13:R25–9. doi: 10.1016/j.jacr.2015.12.009

PubMed Abstract | Crossref Full Text | Google Scholar

21. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Sparse Bayesian extreme learning committee machine for engine simultaneous fault diagnosis. Neurocomputing. (2016) 174:331–43. doi: 10.1016/j.neucom.2015.02.097

Crossref Full Text | Google Scholar

22. McMahan B, Moore E, Ramage D, Hampson S, and Arcas BA. Communication-efficient learning of deep networks from decentralized data. In: Artificial intelligence and statistics. Fort Lauderdale, FL, USA: PMLR (2017). p. 1273–82.

Google Scholar

23. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Federated optimization in heterogeneous networks. Proc Mach Learn Syst. (2020) 2:429–50. doi: 10.48550/arXiv.1812.06127

Crossref Full Text | Google Scholar

24. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Fedbn: Federated learning on non-iid features via local batch normalization. arXiv preprint arXiv. (2021) 2102:07623. doi: 10.48550/arXiv.2102.07623

Crossref Full Text | Google Scholar

25. Henschke CI, Salvatore M, Cham M, Powell CA, DiFabrizio L, Flores R, et al. Model-contrastive federated learning. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. Piscataway, NJ, USA: IEEE (2021). p. 10713–22.

Google Scholar

26. Jiang Y, Konecny J, Rush K, and Kannan S. Improving federated learning personalization via model agnostic meta learning. arXiv. (2019). doi: 10.48550/arXiv.1909.12488

Crossref Full Text | Google Scholar

27. Feng B, Chen X, Chen Y, Lu S, Liu K, Li K, et al. Solitary solid pulmonary nodules: a CT-based deep learning nomogram helps differentiate tuberculosis granulomas from lung adenocarcinomas. Eur Radiol. (2020) 30:6497–507. doi: 10.1007/s00330-020-07024-z

PubMed Abstract | Crossref Full Text | Google Scholar

28. Yanagawa M, Johkoh T, Noguchi M, Morii E, Shintani Y, Okumura M, et al. Radiological prediction of tumor invasiveness of lung adenocarcinoma on thin-section CT. Med (Baltimore). (2017) 96:e6331. doi: 10.1097/MD.0000000000006331

PubMed Abstract | Crossref Full Text | Google Scholar

29. Hawkins S, Wang H, Liu Y, Garcia A, Stringfield O, Krewer H, et al. Predicting Malignant nodules from screening CT scans. J Thorac Oncol. (2016) 11:2120–8. doi: 10.1016/j.jtho.2016.07.002

PubMed Abstract | Crossref Full Text | Google Scholar

30. Xu DM, van Klaveren RJ, de Bock GH, Leusveld A, Zhao Y, Wang Y, et al. Limited value of shape, margin and CT density in the discrimination between benign and Malignant screen detected solid pulmonary nodules of the NELSON trial. Eur J Radiol. (2008) 68:347–52. doi: 10.1016/j.ejrad.2007.08.027

PubMed Abstract | Crossref Full Text | Google Scholar

31. Ashraf SF, Yin K, Meng CX, Wang Q, Wang Q, Pu J, et al. Predicting benign, preinvasive, and invasive lung nodules on computed tomography scans using machine learning. J Thorac Cardiovasc Surg. (2022) 163:1496–1505.e10. doi: 10.1016/j.jtcvs.2021.02.010

PubMed Abstract | Crossref Full Text | Google Scholar

32. Wang S, Shi J, Ye Z, Dong D, Yu D, Zhou M, et al. Predicting EGFR mutation status in lung adenocarcinoma on computed tomography image using deep learning. Eur Respir J. (2019) 53:1800986. doi: 10.1183/13993003.00986-2018

PubMed Abstract | Crossref Full Text | Google Scholar

33. Zhao W, Yang J, Ni B, Bi D, Sun Y, Xu M, et al. Toward automatic prediction of EGFR mutation status in pulmonary adenocarcinoma with 3D deep learning. Cancer Med. (2019) 8:3532–43. doi: 10.1002/cam4.2233

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: lung adenocarcinoma, tuberculosis granuloma, solitary pulmonary solid nodules, SPSNs, meta-learning, federated learning, CT images, personalized federated learning signatures

Citation: Chen Y, Liu L, Feng B, Chen Y, Xu J, Lin H, Li K, Chen X, Ke Y, Zhou H, Hu Q, Jin Q, Long W, Li Q and Chen X (2025) A meta-learning-based robust federated learning for diagnosing lung adenocarcinoma and tuberculosis granulomas. Front. Oncol. 15:1666937. doi: 10.3389/fonc.2025.1666937

Received: 16 July 2025; Accepted: 09 September 2025;
Published: 26 September 2025.

Edited by:

Vishwa S. Parekh, University of Texas Health Science Center at Houston, United States

Reviewed by:

Pranav Kulkarni, University of Maryland, United States
Guangyao Zheng, Johns Hopkins University, United States

Copyright © 2025 Chen, Liu, Feng, Chen, Xu, Lin, Li, Chen, Ke, Zhou, Hu, Jin, Long, Li and Chen. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Qiong Li, bGlxaW9uZ0BzeXN1Y2Mub3JnLmNu; Xiangmeng Chen, Mzg5NzAwMTI1NEBxcS5jb20=

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.