Halide perovskites
have emerged as one of the most interesting
materials for optoelectronic applications due to their favorable properties,
such as defect tolerance and long charge carrier lifetimes, which
are attributed to their dynamic softness. However, this softness has
led to apparent disagreements between the local instantaneous and
global average structures of these materials. In this study, we rationalize
this situation through an assessment of the local tilt angles of octahedra
in the perovskite structure using large-scale molecular dynamics simulations
based on machine-learned potentials trained using density functional
theory calculations. We compare structural properties given by different
density functionals [local density approximation, PBE, PBE + D3, PBEsol,
strongly constrained and appropriately normed (SCAN), SCAN + rVV10,
and van der Waals density functional with consistent exchange] and
establish trends across a family of CsMX3 perovskites with
M = Sn or Pb and X = Cl, Br or I. Notably, we demonstrate strong short-range
ordering in the cubic phase of halide perovskites. This ordering is
reminiscent of the tetragonal phase and provides the bridge between
the disordered local structure and the global cubic arrangement. Our
results provide a deeper understanding of the structural properties
of halide perovskites and their local distortions, which is crucial
for further understanding their optoelectronic properties.