Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-025-01919-0, published online 26 March 2025.

In the version of this article initially published, the first name of Shengjin Xu was misspelled (Shengjing) and is now corrected in the HTML and PDF versions of the article.