TLDR: A new framework allows AI to diagnose medical images while they remain encrypted, addressing patient privacy concerns. Developed by Abdullah Al Siam and Sadequzzaman Shohan, it uses AES-CBC encryption and JPEG2000 compression alongside a specialized Masked-CNN. The system demonstrates diagnostic accuracy comparable to unencrypted methods, with minimal performance trade-offs, efficient storage, and strong resistance to privacy leakage, offering a practical solution for secure AI in healthcare.
The integration of Artificial Intelligence (AI) into medical diagnostics has brought about incredible advancements, but it also introduces significant concerns regarding patient privacy. When sensitive medical imaging data, such as X-rays or CT scans, needs to be transferred, stored, or processed, ensuring its confidentiality is paramount. Regulations like HIPAA and GDPR mandate strict control over this personally identifiable information.
Traditionally, encrypting medical images to protect privacy has posed a challenge for AI systems. These systems usually require data to be decrypted before analysis, which reintroduces privacy risks. To address this critical gap, researchers Abdullah Al Siam and Sadequzzaman Shohan have proposed a novel framework that allows AI to perform diagnostic inference directly on encrypted medical images, eliminating the need for full decryption.
A Secure and Practical Framework
Their innovative approach combines several key technologies to achieve a pragmatic balance between privacy, performance, and deployment feasibility. The framework leverages AES-CBC (Advanced Encryption Standard in Cipher Block Chaining mode) encryption, coupled with JPEG2000 compression, to protect medical images. This ensures pixel-level confidentiality while maintaining the images’ suitability for AI analysis.
At the heart of their system is a modified convolutional neural network (CNN) called Masked-CNN. This specialized AI model is designed to operate on transformed or ciphered image formats. Instead of requiring precise pixel-level information, the Masked-CNN learns robust features from these privacy-protected representations, enabling it to make accurate predictions.
The process begins with image acquisition and preprocessing, where medical images from public datasets like NIH ChestX-ray14 and LIDC-IDRI are converted into formats like JPEG2000. These standardized images are then encrypted using AES-CBC. The encrypted images can be uploaded to a secure storage system, with access controlled to ensure only authorized users can retrieve and process them. Crucially, the Masked-CNN then performs its diagnostic inference on these encrypted or partially masked images, approximating diagnosis without full decryption. For validation, images can be decrypted to compare predictions and quantify any fidelity loss.
Performance and Privacy
The researchers rigorously evaluated their system using public DICOM datasets, focusing on diagnostic accuracy, inference latency, storage efficiency, and resistance to privacy leakage. The experimental results are highly promising: the encrypted inference model achieved performance comparable to its unencrypted counterpart, with only marginal trade-offs in accuracy and latency. For instance, on the NIH ChestX-ray14 dataset, the Masked-CNN on encrypted images showed an AUC of 0.894 compared to 0.921 for unencrypted images, a minimal reduction that remains clinically viable.
In terms of storage, AES-encrypted JPEG2000 images consumed only 18–25% more storage than their original counterparts, which is manageable within typical clinical infrastructure. More importantly, privacy leakage assessment confirmed the robustness of the encryption. Metrics like Structural Similarity Index (SSIM) between plaintext and ciphertext were extremely low (less than 0.01), and perceptual hash functions showed no structural resemblance. Adversarial visualization techniques also failed to reconstruct any medically relevant features from the ciphertext, affirming strong privacy protection.
Also Read:
- Optimizing Large Multimodal AI for Medical Applications
- New AI Approach Boosts Accuracy in Identifying Lung Nodules
Bridging the Gap
This framework represents a significant step forward in bridging the gap between data privacy and clinical utility. It offers a practical, scalable solution for secure AI-driven diagnostics, particularly valuable for cloud-based healthcare infrastructures and telemedicine systems where patient privacy and computational performance are equally critical. While the current system uses simulated encryption workflows, future work will explore real-world key management, federated learning on encrypted datasets, and the integration of more advanced homomorphic encryption techniques for full computation on encrypted data.
This research provides a promising foundation for the development of privacy-respecting AI systems in sensitive domains like healthcare. For more details, you can refer to the full research paper: Privacy-Preserving AI for Encrypted Medical Imaging: A Framework for Secure Diagnosis and Learning.


