Artificial Intelligence spotlights the importance of forest communities in afforestation