AI and the World's Hard Problems · Life sciences · Nature (computational biology) · 2026-10-30
Comparative and explainable deep learning for cherry (Prunus avium L.) cultivar classification using convolutional neural networks (CNN) and transformer architectures

The study compared ResNet50, EfficientNet-B0, and Swin Transformer V2 to classify eight visually similar cherry cultivars under controlled imaging conditions. EfficientNet-B0 reached the highest accuracy at 0.970, followed by Swin Transformer V2 at 0.955 and ResNet50 at 0.895. Most errors occurred between cultivars 10–22 and Lapins, and Grad-CAM showed that EfficientNet-B0 focused most tightly on the fruit.