The integration of deep learning technologies in medical imaging aims to enhance the efficiency and accuracy of cancer diagnosis, particularly for pancreatic and breast cancers, which present significant diagnostic challenges due to their high mortality rates and complex imaging characteristics. This paper introduces Diffusion-Driven Diagnosis (D-Cube), a novel approach that leverages hyper-features from a diffusion model combined with contrastive learning to improve cancer diagnosis. D-Cube employs advanced feature selection techniques that utilize the robust representational capabilities of diffusion models, enhancing classification performance on medical datasets under challenging conditions such as data imbalance and limited sample availability. The feature selection process optimizes the extraction of clinically relevant features, significantly improving classification accuracy and demonstrating resilience in imbalanced and limited data scenarios. Experimental results validate the effectiveness of D�Cube across multiple medical imaging modalities, including CT, MRI, and X-ray, showing superior performance compared to existing baseline models. D-Cube represents a new strategy in cancer detection, employing advanced deep learning techniques to achieve state-of-the-art diagnostic accuracy and efficiency.
Inputs: .PNG images
└── <dataset name>
├── class1
│ ├── 001.png
│ ├── 002.png
│ ├── 003.png
│ ├── ...
│
└── class2
├── 001.png
├── 002.png
└── 003.png
...
-
> python main_step1.py --dataset_path dataset dir --num_classes number of classes
-
> python main_step2.py --dataset_path dataset dir --pretrained pretrained diffusion model path --num_classes number of classes
-
- e.g.,) If you need to generate 5,000 synthetic images in case of pancreatic cancer,
> python opt_augmentation.py --pretrained ./models/pretrained_pancreas.pt --num_classes 3 --num_synthetic 5000