Abstract
The classification of glomerular lesions is a routine and essential task in renal pathology. Recently, machine learning approaches, especially deep learning algorithms, have been used to perform computer-aided lesion characterization of glomeruli. However, one major challenge of developing such methods is the naturally imbalanced distribution of different lesions. In this paper, we propose CircleMix, a novel data augmentation technique, to improve the accuracy of classifying globally sclerotic glomeruli with a hierarchical learning strategy. Different from the recently proposed CutMix method, the CircleMix augmentation is optimized for the ball-shaped biomedical objects, such as glomeruli. 6,861 glomeruli with five classes (normal, periglomerular fibrosis, obsolescent glomerulosclerosis, solidified glomerulosclerosis, and disappearing glomerulosclerosis) were employed to develop and evaluate the proposed methods. From five-fold cross-validation, the proposed CircleMix augmentation achieved superior performance (Balanced Accuracy=73.0%) compared with the EfficientNet-B0 baseline (Balanced Accuracy=69.4%).
Introduction
In renal pathology, identifying various glomerular lesions is critical for diagnosing kidney disease and predicting clinical outcomes. While deep learning has shown promise in automating this task, it faces two major hurdles: extreme data imbalance and morphological destruction during data augmentation.
Some types of lesions, such as "obsolescent" sclerosis, are naturally much more common than others, like "solidified" or "disappearing" sclerosis. Standard AI models tend to become biased toward the common classes, failing to identify rare but clinically significant ones. Furthermore, popular data augmentation techniques like CutMix—which blends two images by cutting a rectangular patch from one and pasting it onto another—often destroy the essential circular structure of glomeruli. Since these biological "filters" are ball-shaped and usually centered in the image, rectangular cuts can inadvertently remove the most discriminative features.
Methods
CircleMix Augmentation
Inspired by CutMix, CircleMix is optimized for the "ball-shaped" nature of glomeruli. Instead of using a random rectangle, CircleMix creates a polygon mask based on the image center and two random points on the image's edges. This creates a "wedge" or "fan" shaped mixture.
By mixing images along radial lines rather than arbitrary boxes, the central morphological features of both the source and target glomeruli are better preserved. This allows the model to learn from "mixed" labels without losing the structural integrity of the biological object.
Hierarchical Learning Strategy
To tackle the imbalanced classes, the researchers implemented a hierarchical framework rather than a simple flat classification. A parent classifier first categorizes the image into five broad classes. Specialized child classifiers then "re-verify" specific difficult groups, such as distinguishing between the three fine-grained types of global sclerosis. The final prediction is determined by the child classifier if the parent's prediction falls within a specific "confusing" subset.
Dataset
The study utilized a substantial dataset of 6,861 glomeruli extracted from whole slide images (WSI) of human nephrectomy tissues from 23 patients. The images were manually labeled into five classes:
- Normal: 2,757 images
- Periglomerular Fibrosis: 2,206 images
- Global Obsolescent: 1,525 images
- Global Solidified: 135 images (Rare)
- Global Disappearing: 238 images (Rare)
All images were resized to 256×256 pixels for training and evaluation.
Results
The researchers used Balanced Accuracy (ACC) and Balanced F1 Score to account for the lopsided dataset. The results demonstrate that geometry matters in bio-imaging. General-purpose computer vision augmentations like CutMix assume that features can be anywhere in a frame. In medical imaging, where anatomy has a consistent orientation and shape, "shape-aware" augmentation is far more effective.
Interestingly, standard CutMix actually decreased performance compared to the baseline on the five-class task (67.9% vs 69.4%). This suggests that for centered, circular objects, rectangular cropping is actively harmful to the learning process. The combination of CircleMix and the hierarchical strategy provided the best overall performance, particularly in distinguishing non-sclerotic from sclerotic glomeruli, where it achieved over 99% accuracy in binary classification.
Discussion and Conclusion
The primary benefit of CircleMix was not just a general accuracy boost; it specifically improved the classification of the "least populated classes." This is vital for clinical applications where missing a rare disease state is a high-stakes error.
While highly effective for glomeruli, CircleMix is specifically optimized for ball-shaped objects. Its utility in other types of pathology, such as elongated vessels or irregular nerve structures, remains to be tested. Future work could involve multi-institutional data to further bolster the representation of rare classes like "solidified" sclerosis. In conclusion, shape-aware data augmentation combined with hierarchical learning offers a robust solution for imbalanced medical image classification tasks.
Summary updated