Improving the reliability of machine learned potentials for modeling inhomogeneous liquids | Synapse