NNHMC: An Efficient Stokes Inversion Method Using a Neural Network (NN) Model Combined with the Hamiltonian Monte Carlo (HMC) Algorithm
Abstract The Milne–Eddington (M-E) atmosphere model is commonly adopted in the inversion of the magnetic fields in the solar photosphere. By applying the Levenberg–Marquardt algorithm or training a neural network (NN) model, the magnetic field vector can be quickly inferred from the Stokes profile but lacks reliable and statistically well-defined confidence intervals for parameters. To address this, we present an efficient Bayesian inference method called NNHMC, combining the NN model with the Hamiltonian Monte Carlo (HMC) algorithm. The NN model is used to speedily synthesize batches of synthetic Stokes profiles, accelerating the inference process. The HMC algorithm significantly improves sampling efficiency in high-dimensional parameter spaces and can handle large-scale data sets in batches. The spectropolarimetric observation of an active region obtained by the Hinode/spectropolarimeter (SP) is used to demonstrate the capability of the NNHMC method. The strength, inclination, and azimuth of the magnetic field and the line-of-sight velocity inferred with the NNHMC method are very similar to those derived with the MERLIN code. Furthermore, this study provided posterior distributions and uncertainties for these parameters. A test on the same hardware and software platform shows a speed increase of up to 2.5 orders of magnitude with respect to the traditional Markov Chain Monte Carlo method (without the NN, using the M-E atmosphere model), establishing the NNHMC method as a highly effective tool for Stokes inversion based on Bayesian inference.
Authors
- Xianyong Bai (ORCID: https://orcid.org/0000-0003-2686-9153)
- Hui Liu (ORCID: https://orcid.org/0000-0003-2714-6811)
- Ziyao Hu (ORCID: https://orcid.org/0000-0003-4582-5383)
- Kaifan Ji (ORCID: https://orcid.org/0000-0001-8950-3875)
- Zhenyu Jin (ORCID: https://orcid.org/0000-0003-0245-0622)
- JinLiang Wang (ORCID: https://orcid.org/0009-0002-1546-8442)
- Hao Li (ORCID: https://orcid.org/0000-0001-5612-4457)
- Chong Xu
- Jiaben Lin (ORCID: https://orcid.org/0000-0001-9489-0101)
Institutions
- Chinese Academy of Sciences (CN)
- Yunnan Observatories (CN)
- National Space Science Center (CN)
- National Astronomical Observatories (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Journal
- The Astrophysical Journal
- Published
- 2024-12-01
- DOI
- https://doi.org/10.3847/1538-4357/ad8b2b
- Citations
- 2
- Primary Topic
- Solar and Space Plasma Dynamics
- Type
- article
- Field-Weighted Citation Impact
- 0.66
Funders
- National Aeronautics and Space Administration
- National Natural Science Foundation of China
- Nuclear Safety and Security Commission
- National Astronomical Observatory of Japan
- Science and Technology Facilities Council
- Japan Aerospace Exploration Agency