Correction to: Nature Machine Intelligence https://doi.org/10.1038/s42256-025-01042-6, published online 16 June 2025.

In the version of the article initially published, in the third paragraph of the “Sequence recovery performance” section, the text “Notably, MapDiff is the only model achieving over 50% recovery rate in predicting hydrophobic amino acids…” should have read “Notably, MapDiff is the only model achieving over 50% recovery rate in predicting hydrophilic amino acids…” and has now been corrected in the HTML and PDF versions of the article.