Posts by Collection

blogs

portfolio

publications

Solar synthetic imaging: Introducing denoising diffusion probabilistic models on SDO/AIA data

Published in Astronomy & Astrophysics, 2024

For the luck of humanity, there are way less big solar flares than small ones. Even if these are good news, this makes it challenging to train machine learning algorithms able to model solar activity. As a result, solar monitoring applications, including flare forecasting, suffer from this lack of input data. To overcome this issue, generative deep learning models can be utilised to produce synthetic images representing solar activity and thus compensating the rarity of big events. This study aims to develop a method that can generate synthetic images of the Sun with the ability to include flare of a specific intensity. To achieve our goals, we introduce a Denoising Diffusion Probabilistic Model (DDPM). We train it with a carefully crafted dataset from the Atmospheric Image Assembly (AIA) instrument on the SDO spacecraft, specifically the 171 Å band, which captures images of coronal loops, filaments, flares, and active regions. GOES X-ray measurements are employed to classify each image based on the solar flare scale (A, B, C, M, X), after selecting the flaring images from AIA using the Heliophysics Event Knowledgebase, which allows for temporal localisation of the flaring events. The generative model performance is evaluated using cluster metrics, Fréchet Inception Distance (FID), and the F1-score. We demonstrate state-of-the-art results in generating solar images and conduct two experiments that use the synthetic images. The first experiment trains a supervised classifier to identify those events. The second experiment trains a basic solar flare predictor. The experiments demonstrate the effectiveness of additional synthetic samples to addressing the problem of imbalanced datasets. We believe this is only the beginning of DDPM use with solar data. It remains to gain a better understanding of the generation capabilities of the denoising diffusion probabilistic models in the contest of solar flare predictions and apply them to other deep learning and physical tasks, such as AIA to HMI (Helioseismic and Magnetic Imager) image translation.

Recommended citation: Ramunno, F. P., Hackstein, S., Kinakh, V., Drozdova, M., Quétant, G., Csillaghy, A., & Voloshynovskiy, S. (2024). "Solar synthetic imaging: Introducing denoising diffusion probabilistic models on SDO/AIA data." Astronomy & Astrophysics, 686, A285. arXiv:2404.02552.
Download Paper

Magnetogram-to-Magnetogram: Generative Forecasting of Solar Evolution

Published in Proceedings of SPAICE2024: The First Joint European Space Agency / IAA Conference on AI in and for Space, 17-19 September 2024, 2024

Investigating the solar magnetic field is crucial to understand the physical processes in the solar interior as well as their effects on the interplanetary environment. We introduce a novel method to predict the evolution of the solar line-of-sight (LoS) magnetogram using image-to-image translation with Denoising Diffusion Probabilistic Models (DDPMs). Our approach combines “computer science metrics” for image quality and “physics metrics” for physical accuracy to evaluate model performance. The results indicate that DDPMs are effective in maintaining the structural integrity, the dynamic range of solar magnetic fields, the magnetic flux and other physical features such as the size of the active regions, surpassing traditional persistence models, also in flaring situation. We aim to use deep learning not only for visualisation but as an integrative and interactive tool for telescopes, enhancing our understanding of unexpected physical events like solar flares. Future studies will aim to integrate more diverse solar data to refine the accuracy and applicability of our generative model. Visit https://github.com/fpramunno/MAG2MAG for the code and https://huggingface.co/spaces/fpramunno/mag2mag for the interactive tool.

Recommended citation: Ramunno, F. P., Jeong, H.-J., Hackstein, S., Csillaghy, A., Voloshynovskiy, S., & Georgoulis, M. K. (2024). "Magnetogram-to-Magnetogram: Generative Forecasting of Solar Evolution." Proceedings of SPAICE2024: The First Joint European Space Agency / IAA Conference on AI in and for Space, 75-80. doi: 10.5281/zenodo.13885515 | arXiv:2407.11659.
Download Paper

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

Published in Astronomy and Astrophysics, 2025

The spatial properties of the solar magnetic field are crucial to decoding the physical processes in the solar interior and their interplanetary effects. However, observations from older instruments, such as the Michelson Doppler Imager (MDI), have limited spatial or temporal resolution, which hinders the ability to study small-scale solar features in detail. Super-resolving these older datasets is essential for uniform analysis across different solar cycles, enabling better characterization of solar flares, active regions, and magnetic network dynamics. In this work, we introduce a novel diffusion model approach for Super-Resolution and we apply it to MDI magnetograms to match the higher-resolution capabilities of the Helioseismic and Magnetic Imager (HMI). By training a Latent Diffusion Model (LDM) with residuals on downscaled HMI data and fine-tuning it with paired MDI/HMI data, we can enhance the resolution of MDI observations from 2”/pixel to 0.5”/pixel. We evaluate the quality of the reconstructed images by means of classical metrics (e.g., PSNR, SSIM, FID and LPIPS) and we check if physical properties, such as the unsigned magnetic flux or the size of an active region, are preserved. We compare our model with different variations of LDM and Denoising Diffusion Probabilistic models (DDPMs), but also with two deterministic architectures already used in the past for performing the Super-Resolution task. Furthermore, we show with an analysis in the Fourier domain that the LDM with residuals can resolve features smaller than 2”, and due to the probabilistic nature of the LDM, we can assess their reliability, in contrast with the deterministic models. Future studies aim to super-resolve the temporal scale of the solar MDI instrument so that we can also have a better overview of the dynamics of the old events.

Recommended citation: Ramunno, F. P., Massa, P., Kinakh, V., Panos, B., Csillaghy, A., & Voloshynovskiy, S. (2025). "Enhancing Image Resolution of Solar Magnetograms: A Latent Diffusion Model Approach." Astronomy & Astrophysics, 698, A140. doi:10.1051/0004-6361/202453205 | arXiv:2503.24271.
Download Paper

Predicting Partially Observable Dynamical Systems via Diffusion Models with a Multiscale Inference Scheme

Published in Advances in Neural Information Processing Systems 38 (NeurIPS 2025), Main Track, 2025

Conditional diffusion models provide a natural framework for probabilistic prediction of dynamical systems and have been successfully applied to fluid dynamics and weather prediction. However, in many settings, the available information at a given time represents only a small fraction of what is needed to predict future states, either due to measurement uncertainty or because only a small fraction of the state can be observed. This is true for example in solar physics, where we can observe the Sun’s surface and atmosphere, but its evolution is driven by internal processes for which we lack direct measurements. In this paper, we tackle the probabilistic prediction of partially observable, long-memory dynamical systems, with applications to solar dynamics and the evolution of active regions. We show that standard inference schemes, such as autoregressive rollouts, fail to capture long-range dependencies in the data, largely because they do not integrate past information effectively. To overcome this, we propose a multiscale inference scheme for diffusion models, tailored to physical processes. Our method generates trajectories that are temporally fine-grained near the present and coarser as we move farther away, which enables capturing long-range temporal dependencies without increasing computational cost. When integrated into a diffusion model, we show that our inference scheme significantly reduces the bias of the predicted distributions and improves rollout stability.

Recommended citation: Morel, R., Ramunno, F. P., Shen, J., Bietti, A., Cho, K., Cranmer, M., Golkar, S., Gugnin, O., Krawezik, G., Marwah, T., McCabe, M., Meyer, L., Mukhopadhyay, P., Ohana, R., Parker, L., Qu, H., Rozet, F., Leka, K. D., Lanusse, F., Fouhey, D., & Ho, S. (2025). "Predicting partially observable dynamical systems via diffusion models with a multiscale inference scheme." Advances in Neural Information Processing Systems 38, 66787–66805. arXiv:2511.19390.
Download Paper

Electric Potential Patterns Forecasting in the Southern Hemisphere with Deep Learning Techniques

Published in arXiv preprint (submitted to Journal of Geophysical Research: Machine Learning and Computation), 2026

Space weather disturbances driven by the solar wind can degrade satellite navigation, disrupt radio communications, and threaten power infrastructure, making accurate forecasting of the high-latitude ionosphere’s response a critical operational need. Existing approaches, empirical climatological models and physics-based magnetohydrodynamic simulations, either smooth out the ionosphere’s time-dependent, non-linear response or are too computationally expensive for real-time use, while prior machine learning efforts have mostly targeted scalar indices rather than the full spatial structure of ionospheric convection. Here we train and compare three deep learning architectures, a probabilistic diffusion model conditioned on multi-variate solar wind and interplanetary magnetic field measurements at the L1 Lagrange point, an unconditioned diffusion ablation, and a deterministic U-Net baseline, to forecast Southern Hemisphere high-latitude electric potential maps derived from SuperDARN radar observations. Using five years (2020–2025) of SuperDARN data synchronised with DSCOVR L1 measurements, we evaluate the models under a single-pass regime, an extended autoregressive rollout of up to 350 frames, and an out-of-distribution case study on the intense March 2015 St. Patrick’s Day storm, unseen during training. We find that the relative advantage of the deterministic and probabilistic approaches is not fixed: the deterministic model is competitive over short horizons and calm conditions, while the diffusion model’s advantage grows and eventually dominates as the forecast horizon lengthens and the event becomes more dynamic, evidence that probabilistic, sample-based generative models are the more promising direction for operational, long-horizon space weather forecasting.

Recommended citation: Ramunno, F. P., Mestici, S., Coco, I., Walach, M., Massetti, S., Marcucci, M. F., Panos, B., & Csillaghy, A. (2026). "Electric Potential Patterns Forecasting in the Southern Hemisphere with Deep Learning Techniques." arXiv preprint. arXiv:2609.31804.
Download Paper

talks

teaching