Abstract
Using each part of an image's spatial information to generate better local details is a key challenge in super-resolution (SR) reconstruction. Currently, mainstream SR networks are built on Convolutional Neural Networks (CNNs). While Generative Adversarial Networks (GANs) have improved high-frequency details, CNN-based discriminators often lack the necessary attention to local spatial information, leading to artifacts like excessive brightness and unnatural pixel regions. To address this, we propose CSRGAN, a super-resolution reconstruction method based on a capsule network. By leveraging the capsule network's ability to perceive hierarchical spatial information and local feature relationships, CSRGAN achieves a PSNR value of 32.58 on the Set5 dataset, outperforming pure convolutional methods like RDN and providing results closer to the original image.
Introduction
Super-resolution is the process of recovering a high-resolution (HR) image from a low-resolution (LR) input. This is an "ill-conditioned" problem because a single LR pixel can correspond to multiple possible HR configurations. While CNNs and GANs have advanced the field, they suffer from translation invariance. CNNs excel at detecting the presence of features but often fail to account for the precise spatial relationships between them. This lack of spatial awareness frequently results in over-smoothed textures or artificial grid-like patterns, known as the "raster effect."
Methodology
CSRGAN addresses these limitations by combining a high-performance generator with a spatially-aware capsule discriminator.
The Generator: Residual Dense Network (RDN)
The generator utilizes a Residual Dense Network (RDN) architecture. RDNs are designed for maximum feature reuse, extracting hierarchical information from every convolutional layer. This ensures that fine details are preserved throughout the upscaling process. A critical component of this architecture is Local Residual Learning within the Residual Dense Blocks (RDB), which allows the network to focus on learning the high-frequency residuals.
The Discriminator: Capsule Network
Unlike standard CNN discriminators that use scalar neurons, the CSRGAN discriminator uses capsules. Capsules represent features as vectors; the length of the vector indicates the probability of a feature's existence, while its orientation encodes "posture" (position, size, and orientation).
The discriminator employs a Dual-Route Routing process (coarse-grained and fine-grained) to classify features. Additionally, the authors introduced a Vector Inner Product Loss function. This forces the generator to produce local details that align with the high-dimensional spatial understanding of the capsule discriminator, significantly reducing the unnatural artifacts common in traditional GANs.
Datasets and Evaluation
The model was trained on the DIV2K dataset (800 training images) and evaluated using the Set5 benchmark. Performance was measured using Peak Signal-to-Noise Ratio (PSNR) and the Structural Similarity Index (SSIM).
Key Results
CSRGAN demonstrated significant quantitative and qualitative improvements over baseline models:
- Quantitative Performance: On the Set5 dataset, CSRGAN achieved a PSNR of 32.58, surpassing the pure RDN baseline (32.44) and dramatically outperforming SRGAN (29.43). The SSIM reached 0.9003.
- Visual Fidelity: The model effectively mitigated the "raster effect." In architectural images, such as the Roman Colosseum, CSRGAN accurately reconstructed straight lines and tile boundaries that were blurred or distorted by other methods. In natural textures, such as animal fur, the transitions between colors appeared more organic and less pixelated.
Conclusion and Future Work
CSRGAN demonstrates that incorporating geometric and spatial relationships via capsule networks can significantly enhance super-resolution quality. While the model achieves superior reconstruction, the computational complexity of dynamic routing remains a challenge. Future research will focus on deepening the capsule architecture and optimizing clustering algorithms to improve training efficiency and feature extraction capabilities.
Summary updated