Abstract
Data imbalance and inter-patient staining variability pose significant challenges for machine learning models in digital pathology. This paper proposes a novel data augmentation (DA) technique using Gaussian-Laplacian pyramid blending (GLPB) to create hybrid training samples. By merging images from different patients at multiple frequency levels, the method balances datasets while forcing models to learn robust biological features rather than staining artifacts. Experimental results on the BreakHis dataset demonstrate that GLPB significantly improves classification accuracy, particularly at 200× magnification.
Introduction
Machine learning models for histopathological image (HI) analysis often suffer from two primary issues:
- Data Imbalance: Clinical datasets typically contain more malignant than benign samples, leading to biased models that favor the majority class.
- Inter-patient Variability: Variations in staining processes (H&E), slide preparation, and storage lead to massive color variations. Models often "cheat" by learning these color artifacts rather than actual biological structures.
Standard augmentation techniques like rotation or simple color jittering often fail to address the underlying structural and color biases inherent in multi-patient datasets.
Methodology: Gaussian-Laplacian Pyramid Blending
The proposed GLPB method creates new training samples by blending images from two different patients of the same diagnostic class. This process involves three main steps:
- Decomposition: Each image is decomposed into a Gaussian pyramid (a sequence of low-pass filtered, downsampled versions) and a Laplacian pyramid (capturing band-pass detail at each level).
- Blending: A mask (e.g., a vertical split) is applied at every level of the Laplacian pyramid to join the left half of one patient's image with the right half of another's.
- Reconstruction: The blended Laplacian levels are combined with the top-level Gaussian image to reconstruct a high-resolution hybrid image.
This multi-scale approach ensures a smooth transition between the two source images, avoiding sharp edges that a neural network could easily identify as artifacts. By blending across frequencies, the resulting image contains the staining characteristics of two different patients in one frame.
Experimental Results
The method was evaluated using the BreakHis (Breast Cancer Histopathological Image) dataset, which contains 7,909 images across four magnifications (40×, 100×, 200×, and 400×). The dataset is naturally imbalanced, with 5,429 malignant images versus 2,368 benign images.
Key findings include:
- Optimal Magnification: The GLPB method achieved its highest patient-level accuracy of 89.6% at 200× magnification.
- Robustness to Staining: By blending images from different patients, the model is exposed to multiple staining styles within single samples, effectively "distributing" the variability and preventing color-based overfitting.
- Comparison: GLPB outperformed standard color augmentation and GAN-based methods in balanced accuracy metrics, showing gains of nearly 6 percentage points over standard color augmentation at 200×.
Conclusion
Gaussian-Laplacian Pyramid Blending offers a robust solution for data augmentation in digital pathology. By leveraging classical computer vision techniques to create frequency-aware hybrid images, the approach mitigates both class imbalance and inter-patient staining bias. Future work will explore non-linear blending masks and the generalizability of the method across diverse cancer types and staining methods.
Summary updated