Prediction of the Initial Magnetic Field Properties of the CMEs Based on Simulated L1 Dynamics
Coronal Mass Ejections (CMEs) are among the primary drivers of space weather impacts, but physics-based forecasting of their terrestrial effects depends on a magnetic field structure that is not directly observable routinely and must be prescribed at initialization. Analytical flux rope models such as the Gibson-Low (GL) formulation reduce this structure to a set of physical parameters: field strength (Bpar), topology/morphology (TOPMORPH), orientation, and chirality. Nevertheless, constraining these parameters for a given event still relies on iterative, computationally expensive forward modeling. This work poses the inverse problem instead: given the CME's in-situ time series at L1, its kinematic properties, and background solar wind conditions, can its initial GL parameters be recovered directly? We train and compare a range of predictive models (from time-series-forest and recurrent (LSTM-based) architectures to Transformers) on a grid of over 23,000 GAMERA-GL MHD simulations spanning the GL parameter space, mapping L1 time series and background solar wind spherical harmonic context to the GL parameters. The Transformer architecture was selected as the final one because it outperformed the other approaches on every target, while the comparison across architectures showed that chirality cannot be predicted above chance level, which led the final model to focus on the three continuous flux-rope parameters. Prediction accuracy proved strongly dependent on CME magnetic imprints at L1, reaching R2 values of 0.967, 0.860, and 0.833 for the CME TOPMORPH, Bpar, and orientation, correspondingly for the CMEs delivering peak |B| > 20 nT impact. These results show L1 in-situ dynamics carry substantial, recoverable information about a CME's initial magnetic structure in case of CMEs with strong magnetic field, offering a fast, data-driven complement to trial-and-error forward-model fitting.