Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-023-01358-9. Published online 8 June 2023.

In the version of this article initially published, in Fig. 1, the header labels now reading “Negative” and “Positive” (left to right) were interchanged. The figure has been updated in the HTML and PDF versions of the article.