LoopResNet as a Weight Shared Looped Residual Network for Image Classification
Residual networks build deep image representations by stacking many blocks, each with its own weights, although consecutive blocks within a stage often make small and similar refinements to the same feature map. This suggests that a stage could be implemented as one block applied repeatedly. In this study, we describe LoopResNet-50, a looped variant of the 50-layer residual network (ResNet-50) for image classification. Each stage of LoopResNet-50 keeps its transition block and replaces the remaining blocks with one shared bottleneck block that is applied several times. Every iteration has its own batch normalisation, a learned iteration embedding, an input injection from the stage input, and a learned step size. The model is trained with a randomly sampled number of iterations, and its normalisation statistics are recalibrated before evaluation. Because the convolution weights are shared, the network also stores about 40\% fewer parameters than ResNet-50 at the same nominal compute, and its depth can be changed at test time. All models were trained from scratch with one identical recipe on four public benchmarks with different image statistics: PlantVillage and PlantDoc (leaf images), the NIH Malaria Cell Images dataset (microscopy), and the Magnetic Tile Surface Defects dataset (grayscale industrial images). Compared with ResNet-26, ResNet-50, ResNet-101, DenseNet-121, EfficientNet-B0, ViT-S/16, and MaxViT-T, LoopResNet-50 obtained the highest mean test accuracy on all four datasets (PlantVillage 99.69\%, PlantDoc 93.0\%, NIH Malaria 98.62\%, and Magnetic Tile 95.52\%, with a macro-F1 of 0.912). These findings suggest that sharing one block within each residual stage is a simple design that performs well on quite different types of images.
Authors
- Subham Divakar (ORCID: https://orcid.org/0000-0003-0635-1058)
- Rojalina Priyadarshini (ORCID: https://orcid.org/0000-0002-5481-5251)
Institutions
- Indian Institute of Technology Bhubaneswar (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-02
- DOI
- https://doi.org/10.21203/rs.3.rs-11828606/v1
- Primary Topic
- Advanced Neural Network Applications
- Type
- preprint