Note that although we refer to the value in Eq. 1 as a loss function, and it is computed from a PyTorch model, it currently does not have any trainable parameters and thus requires no training data. The target features F T are pre-computed prior to the simulation and the ghost-particle features F GP are deterministic functions of the coordinates X GP . This loss is transformed into a perturbative energy according to: