Skip to content
Open access

Self-Supervised Contrastive Learning with Vision Transformers for Data-Efficient Medical Image Classification

2026 · Journal of Machine Learning Innovations and Artificial Intelligence Horizons · Vol 01, pp. 113-130 · 0 citations

TL;DR

A self-supervised contrastive learning framework that integrates Vision Transformers to address data efficiency challenge and forces the encoder to learn transformation-invariant representations that capture high-level semantic content rather than superficial statistics.

Abstract

Medical image classification often suffers from the scarcity of labeled data, which limits the performance of deep learning models. We propose a self-supervised contrastive learning framework that integrates Vision Transformers to address this data efficiency challenge. The method first applies rigorous image preprocessing, including resizing, intensity normalization, and contrast enhancement, to ensure input consistency. A stochastic data augmentation module then generates two distinct views of each input image through transformations such as random cropping, rotation, and intensity modifications, all carefully constrained to preserve anatomical integrity. The core novelty lies in the self-supervised pretraining phase, where a Vision Transformer encoder maps these augmented views into a latent feature space. A contrastive loss function maximizes agreement between positive pairs derived from the same image while minimizing similarity between negative pairs from different images. This objective forces the encoder to learn transformation-invariant representations that capture high-level semantic content rather than superficial statistics. After pretraining, the encoder weights initialize a downstream supervised classification task, where a fully connected head is appended and fine-tuned on limited labeled data. A strategic freezing mechanism prevents catastrophic forgetting by keeping initial encoder layers fixed while gradually unfreezing deeper layers

Read PDF

Similar papers

Open access Sep 2026

MedFuse: dual-stream fusion of convolutional and vision transformer-based features for enhanced medical image classification

Introduction Medical image classification is fundamental to computer-aided diagnosis. Limited labeled samples, subtle inter-class differences, and heterogeneous lesion morphology make it difficult for a single representation to capture all relevant cues. This study investigates MedFuse, a simple dual-stream framework t...

Ya-Jing Ren, Hai Ling, Zheng Gu et al. · 0 citations
Open access Nov 2026

DINOv3-SAM: Fusing Semantic and Anatomical Foundation Models for Robust Medical Image Classification.

Robust medical image classification remains a persistent challenge due to heterogeneous acquisition protocols, label noise, and subtle inter-class variability. In chest radiography, these difficulties are compounded by shortcut learning from non-anatomical artifacts and projection variability, which severely undermine...

Saeed Al Gharib, F. Dornaika, J. Charafeddine et al. · 0 citations
Review Open access Oct 2026

Variational Autoencoders for Medical Image Segmentation: A Review

Overall, the studies reviewed here suggest that VAEs can serve as parts of larger systems, where they provide structured representations and help handle missing modalities.

Nabil Marzoug, M. Akhloufi · 0 citations
Preprint Oct 2026

SAP-ViT: A Self-Attributing Patch Vision Transformer for Medical Image Classification

Vision Transformer (ViT) classifiers commonly rely on a global classification (CLS) token for image-level prediction, which is poorly aligned with local interpretability requirements in medical imaging. We propose SAP-ViT, a Self-Attributing Patch Vision Transformer that replaces CLS-based classification with direct ag...

Wei Zhang, W. Nejdl, Ming Tang · 0 citations
Open access Oct 2026

Designing a Hybrid CNN-Transformer Architecture for Robust Medical Image Diagnosis

Medical image diagnosis increasingly relies on deep learning against a background where convolutional neural networks capture local texture well but miss long-range spatial relationships, while transformer models need large labeled datasets and heavy computation that clinical settings rarely have. This study pursues th...

Amelia Evans, Agung Rizky, M. Rodriguez et al. · 0 citations
Preprint Sep 2026

Learning Where to Focus: Self-Supervised Multi-Scale ViTs for Histopathology

CRAFT (Coarse-to-fine Region-Adaptive Feature Tokenization), a DINO-based framework that learns image-dependent mixed-scale representations by using self-supervised attention to selectively refine informative regions while preserving coarse context, together with a symmetric cross-scale regularization objective that en...

Anabel Stammer, Valay Bundele, Mehran Hosseinzadeh et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.