Enhancing Image Resolution of Solar Magnetograms: A Latent Diffusion Model Approach

Francesco P. Ramunno, Paolo Massa, Vitaliy Kinakh, Brandon Panos, André Csillaghy, Slava VoloshynovskiyarXiv 2025 · DOI

Abstract

Long-term solar activity studies are often hindered by the varying resolutions of historical and modern instruments. This paper presents a novel Latent Diffusion Model (LDM) that utilizes residual learning to super-resolve solar magnetograms. By upgrading lower-resolution data from the Michelson Doppler Imager (MDI) to match the high-fidelity output of the Helioseismic and Magnetic Imager (HMI), the model recovers critical high-frequency magnetic features often lost in deterministic approaches. Our results demonstrate significant improvements in both physical accuracy—preserving unsigned magnetic flux with only 7.5% error—and perceptual quality, facilitating more consistent cross-instrumental solar analysis.

Introduction

The Sun’s magnetic field drives solar flares and space weather, yet our observational capabilities have evolved significantly over time. The Michelson Doppler Imager (MDI), operational from 1995 to 2011, provided data at 2 arcseconds per pixel. Its successor, the Helioseismic and Magnetic Imager (HMI), offers a fourfold increase in sharpness at 0.5 arcseconds per pixel. This resolution gap creates a discontinuity in long-term solar cycle analysis.

Standard Super-Resolution (SR) techniques struggle with this "ill-posed" problem, as multiple high-resolution configurations can correspond to a single low-resolution input. Traditional deterministic AI models often produce "blurry" averages to minimize pixel-wise error, failing to reconstruct the fine-scale magnetic structures essential for scientific research.

Methodology

The proposed approach introduces a Latent Diffusion Model (LDM) with residuals, designed to prioritize physical fidelity over simple pixel interpolation.

Architecture of the Latent Diffusion Model (LDM) for residual-based super-resolution.

Key Components:

  • Latent Space Processing: To manage computational complexity, the model utilizes a pre-trained VQGAN to compress 4096x4096nd pixel grids into a lower-dimensional latent space. This allows the diffusion process to operate efficiently while maintaining high-resolution details.
  • Residual Learning: Instead of generating the entire high-resolution image from scratch, the model is trained to predict the residual—the specific difference between the low-resolution input and the high-resolution target. This focus ensures the model recovers missing high-frequency information.
  • Probabilistic Framework: As a stochastic model, the LDM can generate multiple plausible high-resolution outputs for a single input. This allows researchers to create uncertainty maps, identifying regions where the model's reconstruction is most or least confident.

Datasets and Training

The model was developed using two primary datasets:

  1. HMI/SDO Data (2013–2019): A large-scale pre-training set of 43,912 images. High-resolution HMI data was artificially downscaled to simulate MDI resolution, providing ground-truth pairs for initial learning.
  2. MDI/HMI Overlap (2010–2011): A calibration set of 4,126 image pairs captured when both instruments were active. This was used to fine-tune the model to the specific instrumental characteristics and noise profiles of the original MDI sensor.

Results and Discussion

The LDM-residual approach significantly outperforms deterministic models in both visual and physical metrics.

Comparison between Ground Truth, Downscaled (input), and Upscaled (model output) solar magnetograms.

Physical Accuracy

While deterministic models often achieve high Peak Signal-to-Noise Ratio (PSNR) by being conservatively blurry, they fail to preserve magnetic flux. The LDM with residuals maintained an Unsigned Magnetic Flux error of only 7.52%, whereas other models saw errors exceeding 50%. Fourier domain analysis confirmed that the LDM successfully recovers signals beyond the 2-arcsecond limit of the original MDI data.

Perceptual Quality and Speed

Using the LPIPS metric (which mimics human perception), the LDM-residual model scored 0.03, a substantial improvement over the 0.19 score of deterministic "Enhance" architectures. Furthermore, by operating in latent space, the model is 2.5x faster than standard pixel-space diffusion models, processing full-sized images in approximately 40 seconds.

Conclusion and Future Work

This research demonstrates that latent diffusion models can effectively bridge the resolution gap between generations of solar instruments. While the model shows high accuracy, the authors note potential biases related to the solar cycle phase of the training data and the inherent risk of "hallucination" in generative models. Future work will focus on super-resolving the temporal dimension to match HMI’s high cadence and further mitigating hallucination risks through refined uncertainty quantification.

Summary updated

BibTeX
@misc{ramunno2025enhancing,
  author = {Francesco P. Ramunno and Paolo Massa and Vitaliy Kinakh and Brandon Panos and André Csillaghy and Slava Voloshynovskiy},
  title = {{Enhancing Image Resolution of Solar Magnetograms: A Latent Diffusion Model Approach}},
  year = {2025},
  eprint = {2503.24271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.24271},
}
Figure