We develop and deploy advanced forward modelling and inference methods to understand the processes that control the formation of critical mineral resources needed for a global low emission energy transition.