Abstract
Deep learning has thrived by training on large-scale datasets. However, in many applications, as for medical image diagnosis, getting massive amount of data is still prohibitive due to privacy, lack of acquisition homogeneity and annotation cost. In this scenario, transfer learning from natural image collections is a standard practice that attempts to tackle shape, texture and color discrepancies all at once through pretrained model fine-tuning. In this work, we propose to design a dedicated network module that focuses on color adaptation, thus preprocessing the input into a form (RGB) that is closer to the domain the classification backbone was trained on. We combine learning from scratch of the color module with transfer learning of different classification backbones, obtaining an end-to-end, easy-to-train architecture for diagnostic image recognition on x-ray images. Extensive experiments showed how our approach is particularly efficient in case of data scarcity and provides a new path for further transferring the learned color information across multiple medical datasets.
Introduction
Deep learning's success is heavily dependent on the availability of massive, high-quality datasets. In the medical domain, however, researchers often face a "small data" challenge. Privacy regulations, the high cost of expert annotations, and variations in imaging equipment make it difficult to assemble datasets comparable in scale to ImageNet.
To bridge this gap, the standard approach is transfer learning: taking a model pre-trained on millions of natural RGB images (e.g., cats, dogs, cars) and fine-tuning it on medical images. However, a significant "domain gap" exists. Natural images are 3-channel RGB with specific textures, while medical images like X-rays are single-channel grayscale with distinct structural properties. Standard fine-tuning forces the model to adapt to new shapes, textures, and the absence of color simultaneously, which is often inefficient, particularly when data is scarce.
Methodology
The core innovation is a dedicated colorization module ($T$) placed before a standard classification backbone ($E$). Instead of feeding grayscale images directly into the backbone, the colorization module learns to transform them into a three-channel "hallucinated" color space optimized for the backbone's pre-existing ImageNet knowledge.
The training process follows a multi-stage pipeline:
- Color Module Training: The pre-trained backbone is frozen. Only the colorization module is trained from scratch to map grayscale X-rays to a pseudo-RGB space that maximizes classification accuracy.
- Fine-tuning ("All"): The entire network (module and backbone) is fine-tuned together.
- Cross-Dataset Transfer: The learned colorization module can be re-used as a specialized pre-processor for other medical datasets.
The researchers evaluated three module architectures: DECONV (transpose convolutions), PixelShuffle (super-resolution technique), and ColorU (a lightweight U-Net inspired variant).
Experimental Setup
The approach was validated using three major benchmark datasets:
- CheXpert: 224,316 chest radiographs, focusing on five pathologies (Atelectasis, Cardiomegaly, Consolidation, Edema, and Pleural Effusion).
- ChestX-ray14: 112,000 images used to test cross-dataset transferability.
- MURA (Musculoskeletal Radiographs): Specifically the shoulder subset (8,379 images) to test cross-anatomical transfer limits.
Results and Discussion
The "hallucinated" colors generated by the module are not intended for human interpretation; they often appear as vibrant heatmaps. These colors represent a mathematical translation aligning medical features with the visual filters the backbone learned from ImageNet.
Key Findings:
- Efficiency in Scarcity: The module is most effective when data is extremely limited. Using only 0.1% of CheXpert data (~224 images), the colorization approach significantly outperformed standard fine-tuning.
- Performance Gains: On CheXpert, adding the module to a frozen ResNet18 backbone improved the Mean Area Under the Curve (AUC) from 78.4% to 84.0%.
- Architecture Efficiency: The ColorU variant proved most efficient, requiring only 1/3 of the parameters of other modules while maintaining high performance.
- Transferable Pre-processing: A module trained on CheXpert can be plugged into a model for ChestX-ray14, providing an immediate performance boost as a specialized "medical lens."
Conclusion
By decoupling color adaptation from feature extraction, the proposed architecture prevents the model from prematurely "unlearning" robust features gained from ImageNet. While highly effective for 2D radiographs, future work will explore extending this to 3D modalities (CT/MRI) and improving the clinical interpretability of the generated colorizations. The current findings suggest that optimal color mapping is specific to the anatomical site, as transfer from chest to musculoskeletal images was less effective.
Summary updated