The supplementary material contains Sec. S1: machine learning interatomic potential simulation details, Sec. S2: Green-Kubo molecular dynamics simulation details, Sec. S3: Phonon spectral energy density analysis details, Sec. S4: First principles calculations, Figs. S1 & S2: validation of MTPs, Fig. S3: temperature-dependent thermal conductivity of BAs and diamond obtained by solving Boltzmann transport equation using different statistics.