Deep learning for kidney cancer screening using non-contrast CT

Ethics declaration

This retrospective study used anonymized imaging data from public sources and private research datasets. All clinical trial data were collected with informed consent and the study was conducted in accordance with the Declaration of Helsinki. The retrospective analysis of data from Cambridge University Hospital (CUH), and the storage and analysis of YKST scans at Cambridge, was approved by the University of Cambridge Human Biology Research Ethics Committee (HBREC.2022.19). YKST (ISRCTN18055040) was approved by the North West-Preston Research Ethics Committee (21/NW/0021) and the ARTIST study by the East of England-South Cambridge Research Ethics Committee (20/EE/0200; IRAS ID 258855). Sex and gender were not considered in the study design or analysis because these variables were not consistently available in de-identified imaging datasets, and no sex- or gender-stratified analysis was performed.

Datasets and cohort construction

Data was collected from public datasets, the Kidney and Tumor Segmentation Challenge 2023 (KiTS23)43The Cancer Imaging Archives (TCIA)44,45,46,47,48,49,50,51,52,53,54CT-ORG55 and AbdomenCT-1K56as well as the CUH and the ARTIST clinical trial57.58. From these, we constructed the following datasets (Fig. 1a and Supplementary Table 3): “CECT Pretrain” (610 CECT scans from KiTS23 and CUH), used to train the CECT teacher models; “RADAR Pretrain” (581 co-registered CECT-NCCT pairs from TCIA and ARTIST), used to pre-train NCCT student models; “NCCT fine tuning” (n= 138), used to refine the NCCT models; and the internal test set (n= 94). KiTS23 CECT labels distinguish between background, kidney, kidney cancer and kidney cyst; CUH CECT labels distinguish between background cancer and renal cancer. Since the CUH data lacks labels on healthy kidneys, the stage 1 kidney segmentation teacher was trained only on the KiTS23 subset of CECT Pretrain (“CECT PretrainK‘; n= 381).

For RADAR Pretrain, all available multiphasic CT studies (n= 1,045, out of 747 patients) were extracted from TCIA and ARTIST before quality control and co-registration. Of the TCIA studies, 345 contained CECT-NCCT image pairs; after co-registration and quality control, 163 pairs were included in RADAR Pretrain and 20 HCC-TACE-Seg cases in the internal test set. Of 546 ARTIST pairs from 571 patients, 418 were included.

NCCT Finetune included 98 KiTS23 scans, whose CECT-drawn labels were transferred to NCCT by co-registration, and 40 CUH scans for which co-registration failed and were therefore manually labeled. The internal test set included 49 CUH scans with successfully co-registered labels, 10 KiTS23 scans for which co-registration failed, and 35 scans with healthy kidneys: 20 HCC-TACE-Seg cases, included if at least one kidney was fully imaged, slice thickness was ≤5 mm, and no visible hepatocellular carcinoma was near the kidneys, and 15 NCCT images from CT-ORG and AbdomenCT-1K.

Co-registration

Each NCCT (moving) volume was co-registered to its matched CECT (fixed) volume with SimpleITK in two steps: a rigid 3D (Euler) alignment with a three-level multiresolution scheme, followed by a single-resolution deformable B-spline refinement with 20 mm control point spacing. Both steps used a mean squares metric calculated in soft tissue masks (voxels greater than -50 HU after windowing to -200 to 300 HU) to reduce air and background weight; All optimizer parameters are listed in Supplementary Table 4. Co-registration success was assessed visually from the alignment of the renal segmentation overlaid on the resampled NCCT, and a case was marked as failed if the renal cortex was visibly misaligned or if the displacement of an organ exceeded 1 cm. Failures were mainly due to large anatomical differences between scans, incomplete renal coverage, or phase-to-phase mismatch. Co-registration was used only to transfer supervision during training, not during inference or evaluation of a test set. Representative successes and failures are shown in Figure 4 of the extended data.

LDCT synthesis

Low-dose NCCT images were synthesized from NCCT using the photon counting dose simulation of Yu et al.35which has been used and validated in several studies59,60,61. Each axial slice is projected forward into a virtual sinogram with the tomosipo Python package62Poisson distributed noise is added and the slice is reconstructed by back projection filtered with a Ram-Lak filter. Because air scans to calibrate the photon number–dose relationship were not available for the KiTS23 and CUH scanners, we assumed a constant dose of 500 mAs for each normal dose image and scaled it by a dose fraction. α∈ (0,1), as in Yu et al.35. Low dose internal test images were synthesized at α= 0.8 (see details in “Quality assurance for the synthesis of the TPMD”), and α=0.7 was used for data augmentation during training.

Automated pipeline and model development

Our pipeline consists of two convolutional neural networks, inspired by the main cancer detection algorithms of the NCCT23.39. Stage 1 segments the kidneys and all associated cystic and solid tissues into a single leading class, limiting the search for lesions to an anatomically relevant region and thus limiting false positives. This mask is dilated by 20 mm and applied to the scanner, setting the background voxels to -500 HU. Step 2 predicts a voxel probability map of suspicious renal masses in the masked image; after application of a confidence threshold, any contiguous volume greater than 500 mm3 is counted as a positive detection.

Each stage was formed in three stages. For step 1, a CECT teacher was trained on kidney segmentation, their predictions on the co-registered CECT-NCCT pairs were used as labels to pre-train an NCCT student through supervised learning, and the student was fine-tuned on the labeled NCCT. For step 2, a CECT teacher was trained in renal mass segmentation, an NCCT student was pre-trained by this teacher with the RADAR method, and the student was refined on the labeled NCCT. All models were implemented in PyTorch, trained with five-fold cross-validation and optimized with Adam (β= (0.95, 0.9)). Supervised segmentation used dice averaging and categorical cross-entropy losses. Except during RADAR pretraining, learning rates followed a linear warm-up over 15 epochs and an exponential decay thereafter. The preprocessing and training hyperparameters for each step are listed in Supplementary Table 4.

Phase 1 model training

CECT Stage 1 teacher trained with labels drawn by a radiologist on CECT PretrainKwith the KiTS23 labels of kidneys, cancers and cysts merged into a single top class. Its architecture follows a previously published 6-layer 3D U-Net.30 (Supplementary Figures 2 and 3), with 32 convolutional filters doubling at each level up to 1,024 at the bottleneck. Images were resampled into 4 mm isotropic voxels and attenuation was adjusted between -200 and 300 HU and divided by 100. The teacher was trained for 500 epochs with a batch size of 32 and a patch size of 64.3 (initial learning rate 1 × 10−4; maximum 4 × 10−3).

Since foreground-background segmentation is much easier than kidney mass segmentation, RADAR pretraining was not used for step 1. Instead, the teacher’s CECT predictions were transferred to the paired NCCT images from RADAR Pretrain by co-registration and used as labels to pretrain an NCCT student by supervised learning, with the same architecture and preprocessing, except that the NCCT attenuation was reduced to -200 to 200 HU (200 epochs; initial learning rate 1 × 10−5; maximum 1 × 10−4). The student was then fine-tuned on the NCCT Finetune kidney labels for 150 epochs (initial learning rate 1 × 10−6; maximum 5 × 10−5); for CUH cases, which lack healthy kidney labels drawn by radiologists, AI-derived kidney labels were used. Each focus image was supplemented with a low-dose synthetic copy (α= 0.7) to make the model robust to CT noise.

Phase 2 model training

CECT pretraining

The CECT stage 2 teacher was trained to segment kidney tumors on all 610 cases in CECT Pretrain (KitS23 and CUH cancer labels in foreground; kidney and cyst labels in background). Images were resampled to 2 mm isotropic voxels, masked within 10 voxels of kidney-associated tissues, and cropped at -200 to 300 HU before division by 100. The teacher architecture is the U-Net described above.30 with an additional feature aggregate classification head inspired by previous work23so that the model learns the presence of patch-level lesions in parallel with voxel-level segmentation. This helps capture evidence of global lesions, particularly useful for small or subtle lesions, for which segmentation alone may provide weak or spatially fragmented monitoring. The head characteristics were grouped by power pooling (the L2 standard per channel on the 643 patch) rather than maximum pooling, such that features of highly activated lesions contribute significantly while remaining less sensitive to isolated noisy voxels. Patch-level labels were derived from segmentation labels, with patches containing less than 500 mm.3 of cancer labeled as non-cancerous, and the cross-entropy loss per patch was weighted equally with the segmentation losses. The teacher was trained for 500 epochs with 24 cancer-containing patches in each mini-batch of 32, then refined for 100 epochs on cancer cases smaller than 33,512 mm.3 (n= 258), with a maximum learning rate of 2 × 10−4 and 16 cancer-containing patches per mini-batch.

RADAR pre-training

During RADAR pre-training, an NCCT student learns to reproduce the CECT Level 2 teacher’s segmentation results and latent features from co-registered CECT-NCCT pairs. This provides pseudo-supervision for NCCT, where labeled data is sparse, from CECT, where labels are plentiful and model accuracy is high. The student shares that of the teacher…

Gn Health

Logo