completed Jul 2024 - Jul 2025

CSM-SR: Conditional Structure-Informed Multi-Scale GAN for Scientific Image Super-Resolution

#Computer Vision #Super-Resolution #Generative Adversarial Networks #Scientific Imaging #Microscopy #Deep Learning
CSM-SR: Conditional Structure-Informed Multi-Scale GAN for Scientific Image Super-Resolution

Overview

High-resolution image reconstruction is essential in scientific imaging, where accurate analysis in nanotechnology, materials science and biomedical research depends on preserving structural integrity. Microscopic imaging techniques face resolution limits and high costs, and although deep learning super-resolution (SR) models such as VDSR, ESRGAN, SPSR, SwinIR and HMA-Net improve perceptual quality, they often distort or lose the fine structures that scientists need to measure, such as cellular boundaries and nanoscale textures.

This project introduces CSM-SR (Conditional Structure-Informed Multi-Scale Super-Resolution GAN). The generator extracts shallow features from the low-resolution input and conditions them on global semantic priors from a pre-trained EfficientNet encoder, removing the need for high-resolution feature maps at inference time. The combined features are processed at three scales through Residual-in-Residual Dense Blocks (RRDBs) and Super-Resolution Dense Blocks (SRDBs), merged by a learnable Adaptive Feature Fusion (AFF) module, and reconstructed through PixelShuffle-based progressive upsampling. A multi-scale, progressively growing PatchGAN discriminator enforces both texture realism and global structural consistency. Training is guided by a novel Semantic Structural Loss that combines perceptual, contextual, gradient, second-order gradient, structural similarity, texture-matching and colour-consistency terms.

Motivation & Objectives

Existing SR methods rely heavily on pixel-wise losses or handcrafted priors, are mostly trained on general-purpose images, and trade structural accuracy for perceptual realism, which makes them unreliable for precision-critical scientific applications. The project set out to integrate structural information directly into super-resolution:

Structure-Informed Model – Develop a conditional GAN guided by a structure-informed loss function to improve structural similarity over standard SR methods while reducing artifacts.

Quantitative Gains – Improve PSNR, SSIM and LPIPS over conventional SR techniques while maintaining structural integrity.

Scientific Evaluation – Evaluate the technique on scientific imaging data, including scanning electron microscopy (SEM) images for nanoscience, alongside standard SR benchmarks.

Practical Applicability – Reconstruct fine detail from low-resolution inputs alone, without requiring high-resolution references during inference.

Impact & Results

Performance

On the SEM dataset of 22,000 nanoscale images across 10 classes, CSM-SR outperformed retrained state-of-the-art models (VDSR, ESRGAN, SPSR, DSR-VAE, SwinIR and HMA-Net), achieving up to 2.8 dB higher PSNR, a 20% increase in SSIM and a 20% reduction in LPIPS; for example, it reached 40.72 dB PSNR and 0.971 SSIM on the Particles category at 4× upscaling, compared with 34.00 dB and 0.937 for HMA-Net. On classical ×4 benchmarks it achieved 33.15 dB/0.9060 on Set5, 29.32 dB/0.7996 on Set14, 28.05 dB/0.7530 on BSD100, 28.42 dB/0.8450 on Urban100 and 32.97 dB/0.9312 on Manga109, surpassing HAT, SwinIR and SRFormer. Ablation studies showed that encoder conditioning raises PSNR from 33.12 to 37.98 dB, multi-scale feature learning improves PSNR from 35.29 to 37.98 dB, and adaptive fusion outperforms direct concatenation (32.82 dB) and weighted summation (35.79 dB). The team also reports a 65% reduction in artifacts from the multi-scale architecture and a 47% lower computational cost than HMA-Net.

Key Contributions

Encoder-Conditioned Multi-Scale Generator

A generator that fuses EfficientNet-derived global structural priors with three-scale RRDB/SRDB features through a learnable Adaptive Feature Fusion module, reconstructing fine details without high-resolution feature maps.

Semantic Structural Loss

A hybrid loss combining content preservation (perceptual and contextual), structural fidelity (gradient, second-order gradient and SSIM) and texture preservation (texture matching and colour consistency) terms to balance visual quality with structural accuracy.

Multi-Scale PatchGAN Discriminator

A progressively growing discriminator that evaluates images across multiple resolutions to enforce both local texture realism and large-scale structural coherence.

Real-world Impact

CSM-SR sets a strong baseline for high-fidelity structural preservation in microscopy and nanoscience imaging, where enhanced images support tasks such as material characterisation and high-resolution cellular imaging. By working from low-resolution inputs alone, it is practical for real-world scientific workflows. Future directions include self-supervised learning to remove the dependence on pre-trained encoders, efficiency optimisation for edge deployment, and extension to other scientific imaging domains such as cryo-EM, X-ray and astronomical imaging.

Gallery

Project Poster - Team LeviOsa (Final Year Project Showcase 2025)

Project Poster - Team LeviOsa (Final Year Project Showcase 2025)

CSM-SR generator architecture with encoder-based feature conditioning and multi-scale feature extraction

CSM-SR generator architecture with encoder-based feature conditioning and multi-scale feature extraction

Multi-scale PatchGAN discriminator architecture of CSM-SR

Multi-scale PatchGAN discriminator architecture of CSM-SR

Project Team

Oshadi Perera

Oshadi Perera

Undergraduate Researcher

Team LeviOsa member working on structure-informed super-resolution for scientific imaging.

Randika Prabashwara

Randika Prabashwara

Undergraduate Researcher

Team LeviOsa member working on the CSM-SR architecture and its implementation repository.

Gayani Wickramarathna

Gayani Wickramarathna

Undergraduate Researcher

Team LeviOsa member working on structure-informed super-resolution for scientific imaging.