AKGNet: A Spatially Adaptive Kernel Gating Network for Parameter- Efficient Histopathological Image Classification
Compact convolutional networks are attractive for digital-pathology deployment, but fixed-kernel designs apply the same receptive field at every location of tissue images whose diagnostic content varies in scale. This paper presents AKGNet, a 0.28 M-parameter network whose Smoothed Adaptive Kernel Gating (S-AKG) blocks weight 1×1 to 7×7 convolutional experts with spatially varying, temperature-scaled and smoothed routing maps, combined with a group-normalized stem, a background-suppressing spatial attention module and dual global pooling. Under a unified protocol with stain-aware augmentation and single-use test sets, AKGNet attains \(\:97.02\pm\:0.25\%\) accuracy on LC25000 over three seeds, above a size-matched conventional CNN with 40% more parameters (94.84%) and below ImageNet-pretrained ResNet-50, EfficientNet-B4 and ViT-Base, which reach 99.9–100%. On BreakHis under a patient-disjoint split, AKGNet reaches 82.0% accuracy and 78.3% balanced accuracy, but its ROC-AUC (0.743) is below that of the size-matched CNN (0.798) and well below those of EfficientNet-B4 (0.892) and ResNet-50 (0.913); with about twelve test patients in a single split, these BreakHis comparisons are indicative only. The efficiency of AKGNet lies in parameters and memory rather than arithmetic: all experts are evaluated densely, so the model requires 1.84 GFLOPs, more than the size-matched CNN, while running 3–10× faster than the large baselines on a GPU with a 1.07 MB footprint and the lowest peak inference memory of the models tested. Single-seed ablations indicate that learned routing adds 1.36 points over uniform expert averaging on LC25000, whereas gate smoothing has no detectable effect. Because LC25000 was generated by augmenting 1,250 source images without source identifiers, a perceptual-hash analysis of its duplicate structure is also reported; it detects many near-duplicate pairs across random splits but, being insensitive to arbitrary-angle rotation, it does not bound the resulting accuracy inflation.
Authors
- Chandrapal Singh
- Sumit Gupta
Publication Details
- Journal
- Research Square
- Published
- 2026-11-27
- DOI
- https://doi.org/10.21203/rs.3.rs-11554436/v1
- Primary Topic
- AI in cancer detection
- Type
- preprint