It found that while males often have more distinct shapes and patterns, both males and females contribute to the overall diversity.
The research showed evolutionary patterns predicted by both Darwin and Wallace were found in the butterflies.
Showing that both males and females contribute to diversity among species.
The males showed more variation in appearance, which fits with Darwin's idea that females choose mates based on these traits.
However, the deep learning also found subtle variation in females, matching Wallace's predictions about natural selection allowing diversity in female phenotypes.
Remarkable but endangered
Dr Hoyal Cuthill said: “Birdwings have been described as among the most beautiful butterflies in the world. This study gives us new insights into the evolution of their remarkable but endangered diversity.
“In this case study of birdwing butterfly photographs, it is sex that appears to have driven the greatest evolutionary change, including extreme male shapes, colours and patterns.
“However, within the group of birdwing butterflies, we found contrasting examples where female birdwing butterflies are more diverse in visible phenotype than males, and vice versa.
“High visible diversity among male butterflies supports the real-word importance of sexual selection from female mate choice on male variation, as originally suggested by Darwin.
“Cases where female butterflies are more visibly diverse than the males of their species, support an additional, important role for naturally selected female variation in inter-species diversity, as suggested by Wallace.
“Large-scale studies of evolution using machine learning offer new opportunities to resolve debates that have been outstanding since the founding of evolutionary science.”
Butterfly images copyright - Natural History Museum. 2024. Birdwing butterflies (from Collection specimens). Licensed under CC-BY-4.0.