# SWXAI: A Unified Multimodal Explainability Library for Space Weather Forecasting and Heliophysics

arXiv: https://arxiv.org/abs/2611.10861 · HTML: https://mlsanity.com/paper/2611.10861/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 19 of its 45 references that are in the map.
- Submitted 7 Nov 2026.

## Builds on (most cited first, 19 of 19)

- [Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization](https://mlsanity.com/paper/1610.02391/) (2016)
- [XGBoost: A Scalable Tree Boosting System](https://mlsanity.com/paper/1603.02754/) (2016)
- ["Why Should I Trust You?": Explaining the Predictions of Any Classifier](https://mlsanity.com/paper/1602.04938/) (2016)
- [Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Maps](https://mlsanity.com/paper/1312.6034/) (2013)
- [Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AI](https://mlsanity.com/paper/1910.10045/) (2019)
- [SmoothGrad: removing noise by adding noise](https://mlsanity.com/paper/1706.03825/) (2017)
- [Captum: A unified and generic model interpretability library for PyTorch](https://mlsanity.com/paper/2009.07896/) (2020)
- [MINIROCKET: A Very Fast (Almost) Deterministic Transform for Time Series Classification](https://mlsanity.com/paper/2012.08791/) (2020)
- [aeon: a Python toolkit for learning from time series](https://mlsanity.com/paper/2406.14231/) (2024)
- [OmniXAI: A Library for Explainable AI](https://mlsanity.com/paper/2206.01612/) (2022)
- [Predicting Solar Flares Using CNN and LSTM on Two Solar Cycles of Active Region Data](https://mlsanity.com/paper/2204.03710/) (2022)
- [Explaining Full-disk Deep Learning Model for Solar Flare Prediction using Attribution Methods](https://mlsanity.com/paper/2307.15878/) (2023)
- [Explainable Deep Learning-based Solar Flare Prediction with post hoc Attention for Operational Forecasting](https://mlsanity.com/paper/2308.02682/) (2023)
- [Active Region-based Flare Forecasting with Sliding Window Multivariate Time Series Forest Classifiers](https://mlsanity.com/paper/2402.03474/) (2024)
- [Machine Learning in Heliophysics and Space Weather Forecasting: A White Paper of Findings and Recommendations](https://mlsanity.com/paper/2006.12224/) (2020)
- [Towards Hybrid Embedded Feature Selection and Classification Approach with Slim-TSF](https://mlsanity.com/paper/2409.04542/) (2024)
- [Uncertainty-Aware Solar Flare Regression](https://mlsanity.com/paper/2603.06712/) (2026)
- [Large Scale Evaluation of Deep Learning-based Explainable Solar Flare Forecasting Models with Attribution-based Proximity Analysis](https://mlsanity.com/paper/2411.18070/) (2024)
- [Physics-Guided Counterfactual Explanations for Large-Scale Multivariate Time Series: Application in Scalable and Interpretable SEP Event Prediction](https://mlsanity.com/paper/2601.08999/) (2026)

## Abstract (arXiv)

Space weather forecasting and heliophysics increasingly rely on machine learning models that process heterogeneous inputs such as multi-viewpoint multi-wavelength solar images and rasters, multivariate time series, spatial annotations, and tabular event-level data. However, explainability workflows remain fragmented across libraries, model interfaces, and output formats, limiting reuse and reproducibility. We present SWXAI, an open-source library that unifies explainable AI (XAI) workflows for image, time-series, and tabular data in space weather forecasting and heliophysics. SWXAI provides a common, extensible interface across commonly used vision, time-series, and tabular learning models, with validation, adaptation, and persistent explanation objects. It also includes domain-grounded examples, reproducible notebooks, tests, and documentation, enabling users to inspect outputs, swap models or explainers, and extend workflows to new heliophysics datasets. SWXAI reduces modality-specific engineering overhead and supports comparable, reusable explanations across heterogeneous scientific machine learning pipelines. A benchmark against direct backend implementations shows that SWXAI substantially reduces the code users write to produce an explanation, with no practical runtime cost.
