Single Image Super-Resolution Based on Capsule Neural Networks

George Corrêa de Araújo, Hélio Pedrini

Introduction

Single Image Super-Resolution (SISR) aims to reconstruct a high-resolution (HR) image from a single low-resolution (LR) counterpart. While Convolutional Neural Networks (CNNs) have set benchmarks in this field, they primarily rely on scalar activations. This fundamental design choice often fails to capture the intricate spatial hierarchies and geometric interrelationships between image features. Consequently, CNN-based models frequently resort to increasing network depth and width to improve performance, leading to high computational costs.

This paper presents SRCaps (Super-Resolution Capsules), a novel architecture that leverages Capsule Neural Networks to address these limitations. By representing entities as vectors rather than scalars, SRCaps better preserves spatial information, achieving competitive results with a more efficient, layer-light architecture.

Proposed Method: SRCaps Architecture

The SRCaps framework is designed to move beyond traditional scalar-based feature extraction. The architecture consists of four primary stages: an initial convolution, a series of Residual Dense Capsule Blocks (RDCBs), a "no-routing" capsule processing phase, and a final upscaling module (UPNet).

Overview of the SRCaps architecture, illustrating the flow from low-resolution input through Residual Dense Capsule Blocks (RDCBs) to the final upscaled output.

The initial convolution layer transforms pixel intensities into local feature activations. These activations are then processed by the core innovation of the model: the Residual Dense Capsule Blocks (RDCBs). Unlike standard residual blocks, RDCBs utilize convolutional capsules where neurons are vectors. These vectors encapsulate "instantiation parameters" such as pose, texture, and orientation, allowing the network to learn more robust representations of image components.

Residual Dense Capsule Blocks

The RDCB architecture integrates dense connections and residual scaling to optimize gradient flow and feature reuse. Within each block, convolutional capsules process the input, followed by a concatenation step that aggregates features from multiple layers to ensure maximum information retention.

Detailed structure of the Residual Dense Capsule Block (RDCB), featuring convolutional capsules and dense concatenations to preserve spatial hierarchy.

A significant departure from original Capsule Network designs is the adoption of a "no-routing" strategy. In traditional capsule networks, "dynamic routing" is used to establish agreement between parts and wholes, but this process is computationally expensive. The authors found that for the pixel-level reconstruction required in SISR, setting coupling coefficients as constants improved both generalization and efficiency.

Adaptive Loss and Upscaling

To further enhance reconstruction quality, SRCaps employs an Adaptive Loss Function based on Barron’s general loss. Rather than using static L1 or L2 metrics, the network learns the optimal robustness and scale parameters during training. This allows the model to dynamically tune its error metric, balancing sharpness against artifact reduction.

The final resolution increase is handled by UPNet, a subpixel convolution layer (PixelShuffle). This module performs the upscaling in a single step, effectively avoiding the checkerboard artifacts often associated with traditional deconvolution layers.

Results and Discussion

The model was evaluated on standard benchmarks including Set5, Set14, B100, Urban100, and DIV2K, focusing on a 4x upscaling factor.

Performance Metrics

SRCaps demonstrated competitive performance, outperforming classic baselines like SRCNN and matching the results of much deeper networks like EDSR. While massive state-of-the-art models like RCAN or RDN may hold a slight edge in pure Peak Signal-to-Noise Ratio (PSNR), SRCaps remains highly competitive while maintaining a more compact architecture.

Furthermore, the authors utilized the FLIP metric, which is specifically designed to align with human visual perception. SRCaps achieved notably low FLIP scores, suggesting that the errors it produces are less perceptible to the human eye compared to those of traditional CNN-based models.

Qualitative Analysis

Qualitatively, the model excels at reconstructing rounded edges and complex textures. However, the authors noted a slight deficiency in perfectly linear or diagonal edges, where some jaggedness was observed compared to the most advanced CNN models. This suggests that while capsules are excellent for complex geometry, further refinement is needed for perfectly straight structural elements.

Conclusion

SRCaps demonstrates that Capsule Neural Networks offer a viable and efficient alternative to traditional CNNs for super-resolution tasks. By utilizing vector-based representations and an adaptive loss framework, the model captures spatial hierarchies more effectively than scalar-based counterparts. Future work will focus on exploring advanced upscaling modules and developing non-linearities specifically optimized for capsule-based image reconstruction.

Summary updated

BibTeX
@inproceedings{araujo2023single,
  author = {George Corrêa de Araújo and Hélio Pedrini},
  title = {{Single Image Super-Resolution Based on Capsule Neural Networks}},
  booktitle = {BRACIS},
  year = {2023},
  doi = {10.1007/978-3-031-45392-2\_8},
}
Figure