Correction to: Nature Machine Intelligence https://doi.org/10.1038/s42256-024-00837-3, published online 8 May 2024.

In the version of the article initially published, Jiyan He was listed as having two affiliations; this has now been amended in the HTML and PDF versions of the article so that University of Science and Technology of China, Hefei, China is their only affiliation.