Spectropolarimetric Inversion in Four Dimensions with Deep Learning (SPIn4D): II. A Physics-Informed Machine Learning Method for 3D Solar Photosphere Reconstruction
Kai E. Yang, Xudong Sun, Lucas A. Tarr, Jiayi Liu, Peter Sadowski, S. Curt Dodds, Matthias Rempel, Sarah A. Jaeggli, Thomas A. Schad, Ian Cunnyngham, Yannik Glaser, Linnea Wolniewicz
TL;DR
SPIn4D introduces a physics-informed, 3D UNet-based approach (HDD) to reconstruct the lower solar atmosphere from multi-height spectropolarimetric inversions by jointly resolving azimuthal ambiguity and geometric height while enforcing a divergence-free magnetic field, $\nabla\cdot\mathbf{B}=0$. The method predicts the disambiguated vector field $\mathbf{B}$ and the height field $Z$ on a deformable grid, using a suite of losses including $loss_{div}$, $loss_{div,0}$, $loss_{smooth}$, and $loss_{mon}$, and a post-processing step to finalize azimuth orientation. Tests on MURaM simulations of quiet Sun, plage, and sunspot show high azimuth-recovery in strong-field regions, accurate geometric heights with correlations up to $R\approx 0.98$, and reliable 3D distributions of electric current density $\mathbf{J}$ and Lorentz force $\mathbf{F}$. The approach provides a general, adaptable framework for obtaining physically consistent 3D magnetic structures from inversion outputs, with potential applications to DKIST observations and time-series analyses.
Abstract
Inferring the three-dimensional (3D) solar atmospheric structures from observations is a critical task for advancing our understanding of the magnetic fields and electric currents that drive solar activity. In this work, we introduce a novel, Physics-Informed Machine Learning method to reconstruct the 3D structure of the lower solar atmosphere based on the output of optical depth sampled spectropolarimetric inversions, wherein both the fully disambiguated vector magnetic fields and the geometric height associated with each optical depth are returned simultaneously. Traditional techniques typically resolve the 180-degree azimuthal ambiguity assuming a single layer, either ignoring the intrinsic non-planar physical geometry of constant optical-depth surfaces (e.g., the Wilson depression in sunspots), or correcting the effect as a post-processing step. In contrast, our approach simultaneously maps the optical depths to physical heights, and enforces the divergence-free condition for magnetic fields fully in 3D. Tests on magnetohydrodynamic simulations of quiet Sun, plage, and a sunspot demonstrate that our method reliably recovers the horizontal magnetic field orientation in locations with appreciable magnetic field strength. By coupling the resolutions of the azimuthal ambiguity and the geometric heights problems, we achieve a self-consistent reconstruction of the 3D vector magnetic fields and, by extension, the electric current density and Lorentz force. This physics-constrained, label-free training paradigm is a generalizable, physics-anchored framework that extends across solar magnetic environments while improving the understanding of various solar puzzles.
