Sunday 23 February 2025
A new approach has been developed to improve the accuracy of computer algorithms used in medical diagnosis, specifically in the field of digital pathology. The method, called Supervised Contrastive Domain Adaptation (SCDA), aims to overcome the limitations of current systems by enabling them to better generalize across different hospitals and imaging protocols.
Digital pathology is a rapidly growing field that relies on computers to analyze digital images of tissues and diagnose diseases such as cancer. However, the quality of these images can vary significantly depending on the hospital or scanning protocol used, which can affect the accuracy of diagnoses. This variability is known as domain shift, and it’s a major challenge in developing reliable computer algorithms for medical diagnosis.
The SCDA method addresses this issue by introducing a new type of constraint during model training that encourages similar samples from different centers to cluster together while separating samples from different classes. This approach is based on supervised contrastive learning, which has been shown to improve the performance of machine learning models in various applications.
In digital pathology, supervised contrastive learning involves comparing pairs of images with the same label (i.e., the same disease) and contrasting them with pairs of images with different labels. The model learns to distinguish between these two types of pairs, which enables it to better generalize across different domains.
The SCDA method was tested on a dataset of skin cancer images from two hospitals in Spain, using a foundation model trained on a large dataset of histological images with paired textual descriptions. The results showed that the SCDA approach significantly improved the accuracy of diagnoses compared to current methods, particularly when only a few reference images were available.
One of the key advantages of SCDA is its ability to adapt to new data sources without requiring additional training or retraining. This makes it a promising solution for real-world applications where data from different centers may be limited or unavailable.
The development of SCDA highlights the importance of addressing domain shift in medical diagnosis and demonstrates the potential of supervised contrastive learning to improve the accuracy of computer algorithms in digital pathology. As the field continues to grow, this approach is likely to play a crucial role in enabling more accurate and reliable diagnoses for patients around the world.
Cite this article: “Improving Medical Diagnosis with Supervised Contrastive Domain Adaptation”, The Science Archive, 2025.
Digital Pathology, Scda, Supervised Contrastive Learning, Domain Shift, Computer Algorithms, Medical Diagnosis, Skin Cancer, Histological Images, Machine Learning Models, Foundation Model.







