Correction to: Nature Neuroscience https://doi.org/10.1038/s41593-021-00966-7, published online 16 December 2021.

At the time of writing, the authors were not aware of the prior work of van Gerven et al. (End-to-end neural system identification with neural information flow. PLOS Comput. Biol. https://doi.org/10.1371/journal.pcbi.1008558 (2021)) in end-to-end modeling while describing the work in this News & View. The second sentence of the sixth paragraph has been amended to acknowledge that work, and a new reference provided.

The changes have been made to the online version of the article.