“…In recent years, machine learning has emerged as an alternative to classical methods of analysing surface scattering data (Hinderhofer et al, 2023), being attractive due to its very fast prediction times and its ability to be incorporated into the operating pipelines of large-scale measurement facilities. In particular, fast machine-learning-based solutions are ideal for enabling an experimental feedback loop during reflectometry measurements to be performed in real time (Pithan et al, 2023;Ritley et al, 2001). While many machine learning approaches dedicated to reflectivity exist (Greco et al, 2019(Greco et al, , 2021(Greco et al, , 2022Mironov et al, 2021;Doucet et al, 2021;Aoki et al, 2021;Kim & Lee, 2021;Andrejevic et al, 2022), most of them do not directly address the inherent ambiguity of the reflectivity data, instead training neural networks over specific parameter domains where the ambiguity is not prominent enough to prevent convergence.…”